/* ========================================
   EMPLEOS ECUADOR 2026 - Professional Theme
   Inspired by leading job platforms
   ======================================== */

:root {
    /* Primary Colors - Clean White Theme */
    --primary-color: #0d6efd;
    --primary-dark: #0a58ca;
    --primary-light: #6ea8fe;
    --secondary-color: #198754;
    --accent-color: #fd7e14;
    
    /* Neutral Colors */
    --dark-color: #1a1a2e;
    --text-primary: #212529;
    --text-secondary: #6c757d;
    --text-muted: #adb5bd;
    --light-bg: #ffffff;
    --white: #ffffff;
    --border-color: #e9ecef;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    --gradient-hero: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    --gradient-card: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.12);
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

body {
    font-family: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--white);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark-color);
}

/* ========================================
   NAVBAR STYLES
   ======================================== */
.navbar-custom {
    background: var(--white);
    padding: unset !important;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border-bottom: 1px solid var(--border-color);
}

.navbar-custom.navbar-scrolled {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

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

.navbar-custom .navbar-brand img {
    height: 55px;
    width: auto;
}

.navbar-custom .navbar-toggler {
    border: none;
    padding: 8px;
    border-radius: var(--radius-sm);
}

.navbar-custom .navbar-toggler:focus {
    box-shadow: none;
}

.navbar-custom .nav-link {
    color: var(--text-primary);
    font-weight: 500;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.navbar-custom .nav-link:hover {
    color: var(--primary-color);
    background: rgba(13, 110, 253, 0.08);
}

.navbar-custom .btn-nav-primary {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 10px 24px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    border: none;
    transition: all var(--transition-normal);
}

.navbar-custom .btn-nav-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ========================================
   HERO SECTION
   ======================================== */
header {
    background: var(--white);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230d6efd' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 1;
}

header .container {
    position: relative;
    z-index: 1;
}

header h1,
header h2 {
    color: var(--dark-color);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 16px;
}

header p {
    color: var(--text-secondary);
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    font-weight: 400;
    margin-bottom: 24px;
    max-width: 600px;
}

header .hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 32px;
    padding: 0 20px;
}

header .stat-item {
    text-align: center;
    padding: 16px 24px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

header .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
}

header .stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

header .hero-image {
    position: relative;
}

header .hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
    animation: float 6s ease-in-out infinite;
}

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

/* Hero Buttons */
.btn-daftar,
.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 14px 36px;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    box-shadow: var(--shadow-md);
}

.btn-daftar:hover,
.btn-hero-primary:hover {
    background: linear-gradient(135deg, #0a58ca 0%, #084298 100%);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: transparent;
    color: var(--primary-color);
    padding: 14px 36px;
    font-size: 1.1rem;
    font-weight: 700;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    box-shadow: var(--shadow-md);
}

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

/* Search Box in Hero */
.hero-search-box {
    background: var(--white);
    padding: 8px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    margin-top: 32px;
}

.hero-search-box .form-control {
    border: none;
    padding: 16px 20px;
    font-size: 1rem;
    background: transparent;
}

.hero-search-box .form-control:focus {
    box-shadow: none;
}

.hero-search-box .btn-search {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 16px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    border: none;
    transition: all var(--transition-normal);
}

.hero-search-box .btn-search:hover {
    transform: scale(1.02);
}

/* ========================================
   MAIN SECTION - JOB LISTINGS
   ======================================== */
main {
    padding: 80px 0;
    background: var(--white);
}

main .section-title {
    text-align: center;
    margin-bottom: 48px;
}

main .section-title h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 12px;
}

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

main .section-title .badge-featured {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 6px 16px;
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

/* ========================================
   JOB CARDS
   ======================================== */
.card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

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

.card .card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card .card-image {
    position: relative;
    width: 100%;
    height: 180px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.card:hover .card-image img {
    transform: scale(1.08);
}

.card .card-image .badge-new {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: var(--radius-xl);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.card .card-image .badge-urgent {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #dc3545;
    color: var(--white);
    padding: 4px 12px;
    border-radius: var(--radius-xl);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.card .card-content {
    flex: 1;
    margin-bottom: 20px;
}

.card .card-content h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 16px;
    line-height: 1.4;
    min-height: 50px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left;
}

.card .card-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Job Info Items */
.card .job-info,
.card .card-content .ps-2 {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    border: 1px solid var(--border-color);
}

.card .card-content .ps-2 i {
    color: var(--primary-color);
    font-size: 1rem;
    width: 20px;
}

.card .card-content .ps-2:first-of-type {
    background: rgba(25, 135, 84, 0.08);
    border-color: rgba(25, 135, 84, 0.2);
    color: var(--secondary-color);
    font-weight: 600;
}

.card .card-content .ps-2:first-of-type i {
    color: var(--secondary-color);
}

/* Card Footer */
.card .card-bottom {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn-yellow,
.btn-apply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-yellow:hover,
.btn-apply:hover {
    background: linear-gradient(135deg, #0a58ca 0%, #084298 100%);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: var(--primary-color);
    padding: 12px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
}

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

/* ========================================
   LOGIN/FORM CARDS
   ======================================== */
.middle-card {
    padding: 32px 28px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.middle-card .icon-wrapper {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #e8f4fd 0%, #dbeafe 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.middle-card .icon-wrapper i {
    font-size: 2rem;
    color: var(--primary-color);
}

.middle-card .icon-wrapper.telegram {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.middle-card .icon-wrapper.telegram i {
    color: #0088cc;
}

.middle-card .icon-wrapper.security {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

.middle-card .icon-wrapper.security i {
    color: #2e7d32;
}

.middle-card .icon-wrapper.lock {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
}

.middle-card .icon-wrapper.lock i {
    color: #ef6c00;
}

.middle-card h1,
.middle-card h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.middle-card .subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.middle-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.middle-card .divider {
    height: 1px;
    background: var(--border-color);
    margin: 24px 0;
    border: none;
}

.middle-card .form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.middle-card .form-label i {
    color: var(--primary-color);
}

.middle-card .form-control {
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all var(--transition-fast);
    background: #fafbfc;
}

.middle-card .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
    background: var(--white);
}

.middle-card .form-control::placeholder {
    color: #a0aec0;
}

/* Code Input Styles */
.middle-card .code-input {
    width: 56px !important;
    height: 60px !important;
    text-align: center;
    font-size: 1.5rem !important;
    font-weight: 700;
    border-radius: var(--radius-md) !important;
    border: 2px solid var(--border-color);
    background: #fafbfc;
    transition: all var(--transition-fast);
}

.middle-card .code-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
    background: var(--white);
    transform: scale(1.05);
}

/* Phone Display */
.middle-card .phone-display {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, #e8f4fd 0%, #dbeafe 100%);
    border-radius: var(--radius-full);
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

/* Info Text */
.middle-card .info-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-top: 24px;
    padding: 14px 16px;
    background: #f8f9fa;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.middle-card .info-text i {
    color: #0d6efd;
    font-size: 1rem;
}

/* Security Badge */
.middle-card .security-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    color: #2e7d32;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 16px;
}

/* Progress Bar */
.middle-card .progress {
    height: 8px;
    border-radius: var(--radius-full);
    background: #e9ecef;
    overflow: hidden;
}

.middle-card .progress-bar {
    background: var(--gradient-primary);
}

/* Alert Styles */
.middle-card .alert-custom {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border-radius: var(--radius-md);
    border: none;
}

.middle-card .alert-custom.alert-info {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1565c0;
}

.middle-card .alert-custom.alert-danger {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    color: #c62828;
}

.middle-card .alert-custom i {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.btn-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all var(--transition-normal);
    width: 100%;
}

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

.btn-login:active {
    transform: translateY(0);
}

/* Input Group Addon */
.middle-card .input-group .btn-outline-secondary {
    border: 2px solid var(--border-color);
    border-left: none;
    background: #fafbfc;
    color: var(--text-secondary);
    padding: 14px 16px;
}

.middle-card .input-group .btn-outline-secondary:hover {
    background: #f0f0f0;
    color: var(--text-primary);
}

.middle-card .input-group .form-control {
    border-right: none;
}

.middle-card .input-group .form-control:focus + .btn-outline-secondary {
    border-color: var(--primary-color);
}

/* Top Card Banner */
.top-card {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
}

.top-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ========================================
   FEATURES/BENEFITS SECTION
   ======================================== */
.features-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.feature-card {
    text-align: center;
    padding: 32px 24px;
}

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

.feature-card .feature-icon i {
    font-size: 2rem;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 30px;
}

footer h5 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 20px;
}

footer p,
footer a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

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

footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    margin-top: 40px;
    text-align: center;
}

/* ========================================
   LOADING OVERLAY
   ======================================== */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loader {
    width: 56px;
    height: 56px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* ========================================
   SCROLL TO TOP BUTTON
   ======================================== */
#scrollTopBtn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
}

#scrollTopBtn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* ========================================
   CATEGORY BADGES
   ======================================== */
.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(13, 110, 253, 0.1);
    color: var(--primary-color);
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 600;
}

/* ========================================
   TRUST INDICATORS
   ======================================== */
.trust-section {
    padding: 40px 0;
    background: #f8f9fa;
    border-bottom: 1px solid var(--border-color);
}

.trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text-secondary);
}

.trust-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.trust-item span {
    font-weight: 600;
}

/* ========================================
   INTL TEL INPUT CUSTOMIZATION
   ======================================== */
.iti {
    width: 100%;
}

.iti__flag-container {
    padding: 0 12px;
}

.iti__selected-flag {
    padding: 0 12px;
    background: var(--light-bg);
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

/* .iti--allow-dropdown input {
    padding-left: 90px !important;
} */

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 991.98px) {
    header {
        padding: 80px 0 10px;
        text-align: center;
    }
    
    header .hero-stats {
        justify-content: center;
        width: 100%;
    }
    
    header .hero-image {
        margin-top: 40px;
    }
    
    header p {
        margin: 0 auto 24px;
    }
}

@media (max-width: 767.98px) {
    header h1,
    header h2 {
        font-size: 1.75rem;
    }
    
    header p {
        font-size: 1rem;
    }
    
    main {
        padding: 50px 0;
    }
    
    .card .card-image {
        height: 150px;
    }
    
    .btn-daftar,
    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 12px 28px;
        font-size: 1rem;
        width: 100% !important;
    }
    
    .hero-stats {
        justify-content: space-between !important;
        gap: 12px;
        width: 100%;
        padding: 0 !important;
    }
    
    .hero-stats .stat-item {
        flex: 1;
        padding: 12px 8px;
        min-width: 0;
    }
    
    .hero-stats .stat-number {
        font-size: 1.25rem;
    }
    
    .hero-stats .stat-label {
        font-size: 0.7rem;
    }
    
    .middle-card {
        padding: 24px 20px;
    }
    
    .middle-card h1,
    .middle-card h2 {
        font-size: 1.2rem;
    }
    
    .middle-card .subtitle,
    .middle-card p {
        font-size: 0.85rem;
    }
    
    .middle-card .icon-wrapper {
        width: 64px;
        height: 64px;
    }
    
    .middle-card .icon-wrapper i {
        font-size: 1.75rem;
    }
    
    .middle-card .code-input {
        width: 46px !important;
        height: 52px !important;
        font-size: 1.2rem !important;
    }
    
    .middle-card .info-text {
        font-size: 0.75rem;
        padding: 12px;
    }
    
    .middle-card .divider {
        margin: 20px 0;
    }
    
    .btn-login {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

@media (max-width: 575.98px) {
    .card .card-body {
        padding: 16px;
    }
    
    .card .card-content h2 {
        font-size: 1rem;
        min-height: auto;
    }
    
    .hero-search-box {
        padding: 4px;
    }
    
    .hero-search-box .btn-search {
        padding: 12px 20px;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: var(--gradient-primary);
}

.shadow-custom {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--white);
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

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

.slide-up {
    animation: slideUp 0.6s ease forwards;
}

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

/* Stagger animations for cards */
.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(6) { animation-delay: 0.6s; }