/* Modern ASEAN Jobs Style */
:root {
    --primary-purple: #7c3aed;
    --primary-purple-dark: #5b21b6;
    --primary-purple-light: #a855f7;
    --secondary-purple: #8b5cf6;
    --accent-gold: #f59e0b;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --border-light: #e5e7eb;
    --success-green: #10b981;
    --warning-orange: #f59e0b;
    --danger-red: #ef4444;
}

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

body {
    background-color: var(--bg-light);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Header & Navigation */
.navbar {
    background: var(--white) !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.75rem;
    color: var(--primary-purple) !important;
    display: flex;
    align-items: center;
}

.navbar-brand i {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-purple-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-right: 0.5rem;
}

.navbar-nav .nav-link {
    color: var(--text-gray) !important;
    font-weight: 500;
    margin: 0 1rem;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-purple) !important;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-purple-light));
    border: none;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
    background: linear-gradient(135deg, var(--primary-purple-dark), var(--primary-purple));
}

/* Hero Section */
.hero-section {
    background: 
        linear-gradient(135deg, rgba(124, 58, 237, 0.7) 0%, rgba(139, 92, 246, 0.6) 40%, rgba(91, 33, 182, 0.8) 100%),
        url('https://2j7qvo8rrp.space.minimax.io/images/hero-banner.jpg') center center;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 120px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(168, 85, 247, 0.4) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 70%, rgba(124, 58, 237, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 90%, rgba(139, 92, 246, 0.25) 0%, transparent 40%),
        linear-gradient(45deg, rgba(124, 58, 237, 0.1) 0%, rgba(168, 85, 247, 0.15) 50%, rgba(91, 33, 182, 0.2) 100%);
    animation: heroGlow 8s ease-in-out infinite alternate;
    z-index: 1;
}

@keyframes heroGlow {
    0% { 
        opacity: 1;
        transform: scale(1) rotate(0deg);
        filter: hue-rotate(0deg);
    }
    50% { 
        opacity: 0.8;
        transform: scale(1.05) rotate(1deg);
        filter: hue-rotate(10deg);
    }
    100% { 
        opacity: 1;
        transform: scale(1) rotate(-1deg);
        filter: hue-rotate(-5deg);
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    animation: fadeInUp 1.2s ease-out;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes titleGlow {
    0% {
        filter: brightness(1) drop-shadow(0 0 10px rgba(168, 85, 247, 0.3));
    }
    100% {
        filter: brightness(1.1) drop-shadow(0 0 20px rgba(168, 85, 247, 0.5));
    }
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(
        to bottom, 
        transparent 0%, 
        rgba(248, 250, 252, 0.1) 30%,
        rgba(248, 250, 252, 0.5) 70%,
        var(--bg-light) 100%
    );
    z-index: 2;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 30%, #e0e7ff 70%, #f3e8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 3.5rem;
    opacity: 0.95;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 
        1px 2px 6px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(124, 58, 237, 0.2);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
}

/* Search Section */
.search-section {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 3rem;
    margin: -80px auto 20px;
    position: relative;
    z-index: 10;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    max-width: 1000px;
    border: 1px solid rgba(124, 58, 237, 0.1);
}

.search-form {
    display: flex;
    gap: 1rem;
    align-items: end;
}

.search-input-group {
    flex: 1;
}

.search-input-group label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    display: block;
}

.form-control, .form-select {
    border: 2px solid var(--border-light);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
    outline: none;
}

.search-btn {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-purple-light));
    border: none;
    border-radius: 12px;
    padding: 1rem 2.5rem;
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
}

/* Country Stats */
.stats-section {
    padding: 4rem 0;
}

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

.stat-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-purple), var(--primary-purple-light));
}

.stat-card.indonesia::before { background: linear-gradient(90deg, #ef4444, #f87171); }
.stat-card.malaysia::before { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
.stat-card.singapore::before { background: linear-gradient(90deg, #10b981, #34d399); }
.stat-card.brunei::before { background: linear-gradient(90deg, #f59e0b, #fbbf24); }

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.country-flag {
    width: 48px;
    height: 32px;
    border-radius: 6px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-gray);
    font-weight: 500;
}

.country-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

/* Job Cards */
.job-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-purple);
}

.job-title {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    display: block;
}

.job-title:hover {
    color: var(--primary-purple-dark);
    text-decoration: none;
}

.company-name {
    color: var(--text-gray);
    font-weight: 600;
    margin-bottom: 1rem;
}

.region-badge {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-purple-light));
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
}

.apply-btn {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-purple-light));
    border: none;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    color: var(--white);
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.2);
}

.apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3);
}

.apply-btn:disabled,
.apply-btn.btn-success {
    background: linear-gradient(135deg, var(--success-green), #34d399);
    cursor: not-allowed;
}

/* Job Meta Information */
.job-meta {
    margin-bottom: 1rem;
}

.job-meta .badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-weight: 500;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.job-meta .badge.bg-light {
    border: 1px solid #e9ecef;
    color: #495057 !important;
}

.job-meta .badge.bg-success {
    background-color: #198754 !important;
}

.job-meta .badge.bg-primary {
    background-color: var(--primary-purple) !important;
}

.job-meta .badge.bg-info {
    background-color: #0dcaf0 !important;
}

/* Job Meta Info for Apply Page */
.job-meta-info {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
}

.job-meta-info .d-flex {
    margin-bottom: 0.75rem;
}

.job-meta-info .d-flex:last-child {
    margin-bottom: 0;
}

.job-meta-info i {
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.job-meta-info strong {
    min-width: 80px;
    display: inline-block;
}

/* Salary Highlighting */
.text-success.fw-bold {
    color: #198754 !important;
    font-weight: 600 !important;
}

/* Enhanced Badge Styling */
.badge {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.badge i {
    font-size: 0.7rem;
    margin-right: 0.25rem;
}

/* Filter Section */
.filter-section {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 80px;
        min-height: 65vh;
        background-attachment: scroll;
    }

    .hero-title {
        font-size: 3rem;
        margin-bottom: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
        margin-bottom: 3rem;
        padding: 0 1rem;
        line-height: 1.6;
    }

    .hero-content {
        padding: 0 1.5rem;
    }

    .search-section {
        margin: -60px auto 20px;
        padding: 2rem 1.5rem;
        border-radius: 20px;
        max-width: 90%;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    }
    
    .search-form {
        flex-direction: column;
        gap: 1.5rem;
        align-items: stretch;
    }
    
    .search-input-group {
        width: 100%;
    }
    
    .search-input-group label {
        margin-bottom: 0.75rem;
        font-size: 0.95rem;
    }
    
    .form-control, .form-select {
        padding: 1rem;
        font-size: 1rem;
        border-radius: 10px;
        width: 100%;
    }
    
    .search-btn {
        width: 100%;
        padding: 1.25rem 2rem;
        font-size: 1.1rem;
        border-radius: 10px;
        margin-top: 0.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 80px 0 60px;
        min-height: 55vh;
    }

    .hero-title {
        font-size: 2.5rem;
        padding: 0 1rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        padding: 0 1.5rem;
        line-height: 1.5;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .search-section {
        margin: -50px 1rem 20px;
        padding: 1.5rem 1rem;
        border-radius: 16px;
        max-width: calc(100% - 2rem);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
    }
    
    .search-form {
        gap: 1.25rem;
    }
    
    .search-input-group label {
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
    }
    
    .form-control, .form-select {
        padding: 0.875rem;
        font-size: 0.95rem;
        border-radius: 8px;
    }
    
    .search-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        border-radius: 8px;
        margin-top: 0.25rem;
    }

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

/* Extra small devices optimization */
@media (max-width: 360px) {
    .search-section {
        margin: -40px 0.5rem 20px;
        padding: 1.25rem 0.75rem;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    }
    
    .search-form {
        gap: 1rem;
    }
    
    .search-input-group label {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }
    
    .form-control, .form-select {
        padding: 0.75rem;
        font-size: 0.9rem;
        border-radius: 6px;
    }
    
    .search-btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
        border-radius: 6px;
    }
}

/* Loading and animations */
.loading {
    text-align: center;
    padding: 3rem;
    color: var(--text-gray);
}

.loading i {
    animation: spin 1s linear infinite;
    color: var(--primary-purple);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Alert styles */
.alert {
    border-radius: 12px;
    border: none;
    padding: 1rem 1.5rem;
}

.alert-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(52, 211, 153, 0.1));
    color: var(--success-green);
    border-left: 4px solid var(--success-green);
}

.alert-danger {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(248, 113, 113, 0.1));
    color: var(--danger-red);
    border-left: 4px solid var(--danger-red);
}

.alert-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(251, 191, 36, 0.1));
    color: var(--warning-orange);
    border-left: 4px solid var(--warning-orange);
}

/* No jobs state */
.no-jobs {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-gray);
}

.no-jobs i {
    font-size: 4rem;
    margin-bottom: 2rem;
    opacity: 0.3;
    color: var(--primary-purple);
}

/* Cards and forms */
.card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.card-header {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-purple-light));
    color: var(--white);
    border-radius: 16px 16px 0 0 !important;
    border: none;
    padding: 1.5rem 2rem;
}

/* Footer */
footer {
    background: var(--text-dark) !important;
    margin-top: 4rem;
}

/* About Page Styles */
.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-purple-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-purple-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}

.feature-icon-small {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-purple-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.country-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

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

.flag-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.bg-gradient {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-purple-light)) !important;
    color: var(--white) !important;
}

.bg-gradient .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

.btn-outline-primary {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-purple) !important;
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-white {
    background: var(--white);
    color: var(--primary-purple);
    border: 2px solid var(--white);
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-white:hover {
    background: transparent;
    color: var(--white) !important;
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

/* Enhanced Job Cards */
.job-card .region-badge {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-purple-light));
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

/* Removed duplicate styles for .job-card .company-name and .job-card .job-title 
   These are already defined at lines 362-381 */

/* Pagination Styling */
.pagination .page-link {
    border: 2px solid var(--border-light);
    color: var(--primary-purple);
    font-weight: 600;
    margin: 0 0.25rem;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background: var(--primary-purple);
    border-color: var(--primary-purple);
    color: var(--white);
    transform: translateY(-2px);
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-purple-light));
    border-color: var(--primary-purple);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

/* Loading State Enhancement */
.loading i.fa-spinner {
    color: var(--primary-purple) !important;
}

/* Enhanced Form Controls - Removed duplicate (already defined at line 247) */

/* Stats Cards Enhancement */
.card .text-primary {
    color: var(--primary-purple) !important;
}

.card .text-success {
    color: var(--success-green) !important;
}

.card .text-warning {
    color: var(--warning-orange) !important;
}

.card .text-info {
    color: #06b6d4 !important;
}

/* Language Switcher */
#languageDropdown {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    position: relative;
}

#languageDropdown:hover {
    color: var(--primary-purple) !important;
}

/* Language Auto-Detection Indicator */
#languageDropdown .text-success {
    font-size: 0.7rem;
    opacity: 0.8;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

.dropdown-menu .dropdown-header {
    background: rgba(124, 58, 237, 0.05);
    border-radius: 8px;
    margin: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-purple) !important;
    border: 1px solid rgba(124, 58, 237, 0.1);
}

.dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.dropdown-menu .dropdown-item:hover {
    background-color: var(--bg-light);
    color: var(--primary-purple);
}

.dropdown-menu .dropdown-item.active {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-purple-light));
    color: white !important;
    font-weight: 600;
}

/* Enhanced Footer Styles */
.footer-section {
    background: linear-gradient(135deg, var(--primary-purple-dark) 0%, var(--primary-purple) 50%, var(--secondary-purple) 100%);
    position: relative;
    margin-top: 5rem;
    overflow: hidden;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-purple-light), transparent);
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.6);
}

.footer-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        linear-gradient(45deg, rgba(124, 58, 237, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    position: relative;
    margin-bottom: 1.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-purple-light), var(--secondary-purple));
    border-radius: 1px;
    box-shadow: 0 0 8px rgba(168, 85, 247, 0.5);
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-link:hover {
    color: var(--primary-purple-light);
    transform: translateX(5px);
    text-shadow: 0 0 8px rgba(168, 85, 247, 0.6);
}

.footer-link::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%) scaleX(0);
    width: 8px;
    height: 1px;
    background: var(--primary-purple-light);
    transition: transform 0.3s ease;
    box-shadow: 0 0 6px rgba(168, 85, 247, 0.8);
}

.footer-link:hover::before {
    transform: translateY(-50%) scaleX(1);
}

.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.footer-contact i {
    width: 20px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: linear-gradient(135deg, var(--primary-purple-light), var(--secondary-purple));
    border-color: var(--primary-purple-light);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: end;
}

.footer-bottom-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-bottom-link:hover {
    color: var(--primary-purple-light);
    text-shadow: 0 0 8px rgba(168, 85, 247, 0.6);
}

/* Enhanced Mobile Footer Responsiveness */
@media (max-width: 768px) {
    .footer-section {
        margin-top: 3rem;
    }
    
    .footer-section .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    .footer-brand {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .footer-brand h3 {
        font-size: 1.5rem;
    }
    
    .footer-brand p {
        padding: 0 1rem;
    }
    
    .social-links {
        justify-content: center;
        gap: 0.8rem;
        margin-top: 1rem;
    }
    
    .footer-title {
        text-align: center;
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .footer-contact {
        text-align: center;
    }
    
    .footer-contact li {
        justify-content: center;
        margin-bottom: 0.8rem;
    }
    
    .footer-bottom {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .footer-bottom-link {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .footer-section .container {
        padding: 0 1rem;
    }
    
    .footer-section .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .footer-brand h3 {
        font-size: 1.3rem;
    }
    
    .footer-brand p {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }
    
    .social-links {
        gap: 0.6rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .footer-title {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .footer-links {
        margin-bottom: 1.5rem;
    }
    
    .footer-link {
        font-size: 0.9rem;
    }
    
    .footer-contact {
        margin-bottom: 1.5rem;
    }
    
    .footer-contact li {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }
    
    .footer-contact i {
        width: 18px;
        font-size: 0.85rem;
    }
    
    .footer-bottom {
        text-align: center;
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .footer-bottom-link {
        font-size: 0.8rem;
        margin: 0.2rem 0;
    }
    
    .footer-bottom p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .footer-section .py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    .footer-brand {
        margin-bottom: 1.5rem;
    }
    
    .footer-brand h3 {
        font-size: 1.2rem;
    }
    
    .footer-brand p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .footer-title {
        font-size: 0.95rem;
    }
    
    .footer-links {
        margin-bottom: 1rem;
    }
    
    .footer-link {
        font-size: 0.85rem;
    }
    
    .footer-contact {
        margin-bottom: 1rem;
    }
    
    .footer-contact li {
        font-size: 0.85rem;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }
}

@media (max-width: 360px) {
    .footer-section .container {
        padding: 0 0.8rem;
    }
    
    .footer-brand h3 {
        font-size: 1.1rem;
    }
    
    .footer-brand p {
        font-size: 0.8rem;
    }
    
    .footer-title {
        font-size: 0.9rem;
    }
    
    .footer-link {
        font-size: 0.8rem;
    }
    
    .footer-contact li {
        font-size: 0.8rem;
    }
    
    .footer-bottom-link {
        font-size: 0.75rem;
    }
    
    .social-link {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }
}

/* Enhanced Mobile Footer Layout - 2 Column Responsive Design */
@media (max-width: 767px) {
    /* Mobile-first footer restructuring */
    .footer-section .col-lg-8 .row {
        display: flex;
        flex-wrap: wrap;
    }
    
    /* Two-column layout for mobile */
    .footer-section .col-lg-4.col-md-6.col-sm-6.col-12:nth-child(1),
    .footer-section .col-lg-4.col-md-6.col-sm-6.col-12:nth-child(2) {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 0 0.75rem;
        margin-bottom: 2rem;
    }
    
    /* Full width for regions & contact section */
    .footer-section .col-lg-4.col-md-12.col-12:nth-child(3) {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0 0.75rem;
    }
    
    /* Enhanced mobile footer styling */
    .footer-section {
        background: linear-gradient(135deg, var(--primary-purple-dark) 0%, var(--primary-purple) 40%, var(--secondary-purple) 100%);
        position: relative;
        overflow: hidden;
    }
    
    /* Add subtle mobile pattern overlay */
    .footer-section::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: 
            radial-gradient(circle at 25% 25%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 75% 75%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
        pointer-events: none;
        z-index: 1;
    }
    
    /* Ensure content is above overlay */
    .footer-section .container {
        position: relative;
        z-index: 2;
    }
    
    /* Mobile footer titles with better spacing */
    .footer-title {
        text-align: left;
        font-size: 1rem;
        font-weight: 700;
        margin-bottom: 1rem;
        color: white;
        position: relative;
    }
    
    .footer-title::after {
        left: 0;
        transform: none;
        width: 25px;
        background: linear-gradient(90deg, var(--primary-purple-light), rgba(168, 85, 247, 0.5));
    }
    
    /* Mobile footer links styling */
    .footer-links {
        text-align: left;
        margin-bottom: 0;
    }
    
    .footer-links li {
        margin-bottom: 0.6rem;
    }
    
    .footer-link {
        font-size: 0.9rem;
        padding: 0.2rem 0;
        display: inline-block;
        transition: all 0.3s ease;
    }
    
    .footer-link:hover {
        transform: translateX(3px);
        color: var(--primary-purple-light);
    }
    
    /* Regions section mobile styling */
    .footer-section .col-lg-4.col-md-12.col-12:nth-child(3) .mb-4 {
        margin-bottom: 1.5rem !important;
    }
    
    .footer-section .col-lg-4.col-md-12.col-12:nth-child(3) .footer-links li {
        margin-bottom: 0.5rem;
    }
    
    /* Contact section mobile styling */
    .footer-contact {
        text-align: left;
    }
    
    .footer-contact li {
        justify-content: flex-start;
        margin-bottom: 0.8rem;
        font-size: 0.9rem;
    }
    
    .footer-contact i {
        width: 20px;
        margin-right: 0.5rem;
        color: var(--primary-purple-light);
    }
    
    /* Mobile company info section */
    .footer-brand {
        text-align: center;
        margin-bottom: 2.5rem;
        padding: 0 1rem;
    }
    
    .footer-brand h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
        color: white;
    }
    
    .footer-brand p {
        font-size: 0.9rem;
        line-height: 1.5;
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 1.5rem;
    }
    
    /* Social links mobile layout */
    .social-links {
        justify-content: center;
        gap: 1rem;
        margin-top: 0;
        margin-bottom: 1.5rem;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        font-size: 1rem;
        background: rgba(255, 255, 255, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.3);
        backdrop-filter: blur(10px);
    }
    
    .social-link:hover {
        background: linear-gradient(135deg, var(--primary-purple-light), var(--secondary-purple));
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(168, 85, 247, 0.4);
    }
    
    /* Contact info in company section mobile */
    .footer-brand .mt-4 {
        margin-top: 2rem !important;
    }
    
    .footer-brand .footer-title {
        text-align: center;
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .footer-brand .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
        width: 25px;
    }
    
    .footer-brand .footer-contact {
        text-align: center;
    }
    
    .footer-brand .footer-contact li {
        justify-content: center;
        margin-bottom: 0.8rem;
        font-size: 0.9rem;
    }
    
    /* Mobile footer bottom */
    .footer-bottom {
        margin-top: 2.5rem;
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }
    
    .footer-bottom p {
        text-align: center;
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.7);
        margin-bottom: 1rem;
    }
    
    .footer-bottom-links {
        justify-content: center;
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    
    .footer-bottom-link {
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.7);
        margin: 0.2rem 0;
    }
    
    .footer-bottom-link:hover {
        color: var(--primary-purple-light);
    }
}

/* Extra small mobile optimization */
@media (max-width: 480px) {
    .footer-section .col-lg-4.col-md-6.col-sm-6.col-12:nth-child(1),
    .footer-section .col-lg-4.col-md-6.col-sm-6.col-12:nth-child(2) {
        padding: 0 0.5rem;
    }
    
    .footer-title {
        font-size: 0.95rem;
    }
    
    .footer-link {
        font-size: 0.85rem;
    }
    
    .footer-contact li {
        font-size: 0.85rem;
    }
    
    .footer-brand h3 {
        font-size: 1.3rem;
    }
    
    .footer-brand p {
        font-size: 0.85rem;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }
    
    .footer-bottom-links {
        gap: 1rem;
    }
    
    .footer-bottom-link {
        font-size: 0.8rem;
    }
} 