/* ===== VISA APPLICATION PAGE STYLES ===== */

/* CSS Variables */
:root {
    --primary-blue: #162b47;
    --accent-orange: #f2541d;
    --white: #ffffff;
    --text-color-light: #d0e0ff;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* ===== HEADER STYLES ===== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.logo img {
    height: 45px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-button {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

/* ===== HERO SECTION ===== */
.application-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(22, 43, 71, 0.9), rgba(22, 43, 71, 0.8)), 
                url('images/bali-cover.jpg') center/cover no-repeat;
    color: white;
    overflow: hidden;
    padding-top: 88px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float var(--duration, 6s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    width: 80px;
    height: 80px;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 15%;
    width: 100px;
    height: 100px;
}

.floating-element:nth-child(3) {
    bottom: 30%;
    left: 20%;
    width: 70px;
    height: 70px;
}

.floating-element:nth-child(4) {
    top: 40%;
    right: 30%;
    width: 90px;
    height: 90px;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 25px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: pulse 2s infinite;
}

.hero-badge i {
    color: #f7931e;
    animation: rotate 2s linear infinite;
}

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

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, #ff6b35, #f7931e, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(30deg); }
}

.hero-content p {
    font-size: 0,9rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    animation: slideInUp 1s ease-out;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #f7931e;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

/* ===== APPLICATION SECTION ===== */
.application-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    position: relative;
}

.application-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, rgba(44, 62, 80, 0.1), transparent);
}

.application-form-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    animation: slideInUp 1s ease-out;
}

/* ===== SERVICE INFO SECTION ===== */
.service-info-section {
    background: linear-gradient(135deg, #162b47, #162b47);
    color: white;
    padding: 30px;
}

.selected-service {
    display: flex;
    align-items: center;
    gap: 20px;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

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

.service-details h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.service-details p {
    opacity: 0.8;
    margin-bottom: 10px;
}

.service-price {
    font-size: 2rem;
    font-weight: 800;
    color: #f7931e;
}

.selected-service.featured {
    padding: 18px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 18px;
    color: #fff;
}
.selected-service.featured .service-price {
    color: #fff;
}
.selected-service.featured .service-details h3,
.selected-service.featured .service-details p {
    color: #fff;
}
.fee-breakdown {
    font-size: 0.95rem;
    margin-top: 6px;
    color: #6b7280;
}
.selected-service.featured .fee-breakdown {
    color: rgba(255, 255, 255, 0.92);
}
.stat-item.featured {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: #fff;
    border: none;
}
.stat-item.featured .stat-number,
.stat-item.featured .stat-label {
    color: #fff;
}
/* Ensure price text is visible on gradient card */
.stat-item.featured .stat-number {
    -webkit-text-fill-color: #fff;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
.stat-breakdown {
    font-size: 0.85rem;
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.95);
}

/* ===== FORM SECTIONS ===== */
.form-section {
    padding: 40px;
    border-bottom: 1px solid #eee;
    animation: fadeIn 1s ease-out;
}

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

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 1.8rem;
    color: #162b47;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.section-header h2 i {
    color: #ff6b35;
    animation: pulse 2s infinite;
}

.section-header p {
    color: #666;
    font-size: 1rem;
    text-align: center;
}

/* ===== FORM GRID ===== */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.form-group {
    position: relative;
    animation: slideInLeft 0.8s ease-out;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #162b47;
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #ff6b35;
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
    transform: translateY(-2px);
}

/* ===== MODERN DATE INPUT (MOBILE FRIENDLY) ===== */
.date-field {
    position: relative;
}

.date-input {
    position: relative;
    padding-right: 56px;
    background: #ffffff;
    border: 2px solid #e1e8ed;
    border-radius: 12px;
}

/* Hide default indicator; we use a custom trigger */
input[type="date"].date-input::-webkit-calendar-picker-indicator {
    opacity: 0;
    display: none;
}

/* Placeholder technique for date on WebKit */
input[type="date"].date-input:required:invalid::-webkit-datetime-edit {
    color: transparent;
}
input[type="date"].date-input:required:invalid {
    color: transparent;
}
input[type="date"].date-input::before {
    content: attr(data-placeholder);
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9aa3b2;
    pointer-events: none;
}
input[type="date"].date-input:focus::before,
input[type="date"].date-input:valid::before {
    display: none;
}

/* Calendar trigger button */
.date-trigger {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 2px solid #ff6b35;
    cursor: pointer;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(22, 43, 71, 0.08);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23ff6b35' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='18' rx='3' ry='3'/><line x1='16' y1='2' x2='16' y2='6'/><line x1='8' y1='2' x2='8' y2='6'/><line x1='3' y1='10' x2='21' y2='10'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
}
.date-trigger:hover {
    filter: none;
    box-shadow: 0 8px 24px rgba(22, 43, 71, 0.12);
}
.date-trigger:active {
    transform: translateY(-50%) scale(0.98);
}

/* Mobile tweaks */
@media (max-width: 576px) {
    .date-input {
        padding-right: 64px;
        font-size: 1rem;
        min-height: 56px;
    }
    .date-trigger {
        width: 46px;
        height: 46px;
        right: 8px;
        border-radius: 14px;
    }
}

/* ===== Custom Date Picker ===== */
.dp-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(2px);
}
.dp-overlay.show { display: flex; }

.dp-container {
  width: 320px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(22,43,71,0.18);
  overflow: hidden;
  border: 1px solid #eef2f7;
}
.dp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: linear-gradient(135deg, #ff6b35 0%, #ff8a50 100%);
  color: #fff;
}
.dp-month {
  font-weight: 600;
}
.dp-nav {
  display: flex;
  gap: 8px;
}
.dp-nav button {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: none;
  background: rgba(255,255,255,0.2);
  color: #fff;
  cursor: pointer;
}

/* Year input styling for date picker */
.dp-year {
  display: flex;
  align-items: center;
  gap: 8px;
}
.dp-year input {
  width: 76px;
  border-radius: 8px;
  border: none;
  background: rgba(255,255,255,0.2);
  color: #fff;
  padding: 6px 8px;
  text-align: center;
  font-weight: 600;
}
.dp-year input:focus { outline: none; background: rgba(255,255,255,0.3); }
.dp-body { padding: 12px 16px; }
.dp-weekdays, .dp-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.dp-weekdays div { text-align: center; font-size: 0.75rem; color: #7b8794; }
.dp-days button {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid #e6edf5;
  border-radius: 10px;
  background: #f9fbfd;
  color: #162b47;
  font-weight: 500;
  cursor: pointer;
}
.dp-days button:hover { background: #fff; box-shadow: 0 6px 20px rgba(22,43,71,0.12); }
.dp-days button.selected { background: #ff6b35; color: #fff; border-color: #ff6b35; }
.dp-days button.out { opacity: 0.35; }
.dp-actions { display: flex; justify-content: space-between; gap: 10px; padding: 10px 16px 16px; }
.dp-actions button { flex: 1; padding: 12px; border-radius: 10px; border: none; cursor: pointer; }
.dp-clear { background: #f1f5f9; color: #334155; }
.dp-today { background: #162b47; color: #fff; }

@media (max-width: 576px) {
  .dp-container { width: calc(100% - 32px); border-radius: 18px; }
}

.form-group input.error,
.form-group select.error {
    border-color: #e74c3c;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===== UPLOAD SECTION ===== */
.upload-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.upload-item {
    animation: slideInRight 0.8s ease-out;
}

.upload-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.upload-header h3 {
    color: #162b47;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.upload-header h3 i {
    color: #ff6b35;
}

.required {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.upload-area {
    border: 2px dashed #bdc3c7;
    border-radius: 15px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

/* Error state for upload area */
.upload-area.error {
    border-color: #e74c3c;
    background: #fff5f5;
}
.upload-area.error .upload-content i {
    color: #e74c3c;
}
.upload-area.error .upload-content p {
    color: #c0392b;
}

/* Inline error message */
.error-msg {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 8px;
}

/* Summary error banner near submit */
.form-error-banner {
    border: 2px solid #ff8c00; /* orange border for visibility */
    background: #fff7f2;
    color: #c0392b;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 14px;
    font-weight: 600;
}

.upload-area::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.upload-area:hover::before {
    opacity: 1;
    animation: shimmer 1.5s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.upload-area:hover {
    border-color: #ff6b35;
    background: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

.upload-area.dragover {
    border-color: #f7931e;
    background: rgba(255, 107, 53, 0.1);
    transform: scale(1.02);
}

.upload-content i {
    font-size: 3rem;
    color: #ff6b35;
    margin-bottom: 15px;
    animation: bounce 2s infinite;
}

.upload-content p {
    font-size: 1.1rem;
    color: #162b47;
    margin-bottom: 5px;
    font-weight: 600;
}

.upload-content span {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.upload-area input[type="file"] {
    display: none;
}

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

/* ===== FILE PREVIEW ===== */
.upload-preview {
    margin-top: 15px;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 10px;
    animation: slideInUp 0.5s ease-out;
}

.file-item i {
    color: #ff6b35;
}

.file-item button {
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: auto;
}

.file-item button:hover {
    background: #c0392b;
    transform: scale(1.1);
}

/* ===== REVIEW SECTION ===== */
/* Review & Submit Section - Ultra Minimalist & Elegant */
.review-summary {
    background: #ffffff;
    border-radius: 12px;
    padding: 60px;
    margin-bottom: 50px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.01);
    position: relative;
}

.summary-section {
    margin-bottom: 70px;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

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

.summary-section h3 {
    color: #2c3e50;
    margin-bottom: 50px;
    font-size: 1.2rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f5f5f5;
    position: relative;
}

.summary-section h3::before {
    content: '';
    width: 3px;
    height: 18px;
    background: #ff6b35;
    border-radius: 2px;
}

.summary-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 0;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    background: transparent;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid #fafafa;
    transition: all 0.15s ease;
    box-shadow: none;
    position: relative;
    overflow: visible;
}

.summary-item::before {
    display: none;
}

.summary-item:hover {
    transform: none;
    box-shadow: none;
    background: rgba(255, 107, 53, 0.01);
    border-bottom-color: rgba(255, 107, 53, 0.1);
}

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

.summary-item .label {
    font-weight: 400;
    color: #8e8e93;
    font-size: 0.9rem;
    flex: 1;
    margin-right: 30px;
}

.summary-item .value {
    color: #1d1d1f;
    font-weight: 500;
    font-size: 0.9rem;
    text-align: right;
    flex: 1;
    word-break: break-word;
}

.summary-item .value.price {
    color: #ff6b35;
    font-weight: 600;
    font-size: 1.1rem;
    text-shadow: none;
}

/* Document List Styling - Enhanced */
.document-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.document-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 0;
    margin-bottom: 0;
    background: transparent;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid #f0f0f0;
    box-shadow: none;
    transition: all 0.2s ease;
    position: relative;
    overflow: visible;
}

.document-item:hover {
    transform: none;
    box-shadow: none;
    background: rgba(255, 107, 53, 0.02);
}

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

.document-item i {
    color: #e74c3c;
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.document-item.uploaded {
    background: rgba(255, 107, 53, 0.02);
    border-color: #27ae60;
}

.document-item.uploaded i {
    color: #27ae60;
}

.document-name {
    font-weight: 500;
    color: #6c757d;
    font-size: 0.95rem;
    flex: 1;
}

.document-status {
    color: #28a745;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.document-status::before {
    content: '✓';
    width: 16px;
    height: 16px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    box-shadow: none;
}

.document-item span {
    font-weight: 500;
    color: #162b47;
    font-size: 0.95rem;
}

/* Terms and Conditions - Ultra Minimalist & Elegant */
.terms-section {
    background: transparent;
    padding: 60px 0 40px 0;
    border: none;
    border-radius: 0;
    margin: 0;
    box-shadow: none;
    border-top: 1px solid #f5f5f5;
}

.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 50px;
}

.terms-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: #ff6b35;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.terms-checkbox input[type="checkbox"]:hover {
    border-color: #ff6b35;
}

.terms-text {
    color: #8e8e93;
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
    transition: color 0.15s ease;
}

.terms-text a {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.15s ease;
}

.terms-text a:hover {
    color: #e55a2b;
    text-decoration: underline;
}

/* Submit Button - Ultra Minimalist & Elegant */
.form-actions {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 10px;
}

.submit-btn {
    background: #ff6b35;
    color: white;
    border: none;
    padding: 18px 40px;
    background: #ff6b35;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: none;
    position: relative;
    overflow: hidden;
    text-transform: none;
    letter-spacing: 0;
}

.submit-btn::before {
    display: none;
}

.submit-btn:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.2);
    background: #e55a2b;
}

.submit-btn:active {
    transform: translateY(1px);
    box-shadow: none;
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.submit-btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

.submit-btn i {
    margin-right: 10px;
}

/* ===== SUCCESS MODAL ===== */
.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(10px);
}

.success-overlay.show {
    display: flex;
    animation: fadeIn 0.5s ease-out;
}

.success-modal {
    background: white;
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    animation: modalSlideIn 0.5s ease-out;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Orange border variant */
.success-modal.success-bordered {
    border: 4px solid #ff6b35; /* orange */
}

/* Green success banner */
.success-banner {
    background: #eaf7ee;
    color: #1f7a3a;
    border: 2px solid #27ae60;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 18px;
    font-weight: 600;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.success-animation {
    margin-bottom: 30px;
}

.success-checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #27ae60;
    stroke-miterlimit: 10;
    margin: 0 auto;
    box-shadow: inset 0px 0px 0px #27ae60;
    animation: fill 0.4s ease-in-out 0.4s forwards, scale 0.3s ease-in-out 0.9s both;
    position: relative;
}

.success-checkmark .check-icon {
    width: 80px;
    height: 80px;
    position: relative;
    border-radius: 50%;
    box-sizing: content-box;
    border: 4px solid #27ae60;
}

.success-checkmark .check-icon::before {
    top: 3px;
    left: -2px;
    width: 30px;
    transform-origin: 100% 50%;
    border-radius: 100px 0 0 100px;
}

.success-checkmark .check-icon::after {
    top: 0;
    left: 30px;
    width: 60px;
    transform-origin: 0 50%;
    border-radius: 0 100px 100px 0;
    animation: rotate-circle 4.25s ease-in;
}

.success-checkmark .check-icon::before,
.success-checkmark .check-icon::after {
    content: '';
    height: 100px;
    position: absolute;
    background: white;
    transform: rotate(-45deg);
}

.success-checkmark .icon-line {
    height: 5px;
    background-color: #27ae60;
    display: block;
    border-radius: 2px;
    position: absolute;
    z-index: 10;
}

.success-checkmark .icon-line.line-tip {
    top: 46px;
    left: 14px;
    width: 25px;
    transform: rotate(45deg);
    animation: icon-line-tip 0.75s;
}

.success-checkmark .icon-line.line-long {
    top: 38px;
    right: 8px;
    width: 47px;
    transform: rotate(-45deg);
    animation: icon-line-long 0.75s;
}

@keyframes icon-line-tip {
    0% {
        width: 0;
        left: 1px;
        top: 19px;
    }
    54% {
        width: 0;
        left: 1px;
        top: 19px;
    }
    70% {
        width: 50px;
        left: -8px;
        top: 37px;
    }
    84% {
        width: 17px;
        left: 21px;
        top: 48px;
    }
    100% {
        width: 25px;
        left: 14px;
        top: 45px;
    }
}

@keyframes icon-line-long {
    0% {
        width: 0;
        right: 46px;
        top: 54px;
    }
    65% {
        width: 0;
        right: 46px;
        top: 54px;
    }
    84% {
        width: 55px;
        right: 0px;
        top: 35px;
    }
    100% {
        width: 47px;
        right: 8px;
        top: 38px;
    }
}

.success-modal h2 {
    color: #162b47;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.success-modal p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.success-details {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: left;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

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

.detail-item i {
    color: #ff6b35;
    width: 20px;
}

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

.success-btn {
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.success-btn.primary {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
}

.success-btn.secondary {
    background: #f8f9fa;
    color: #162b47;
    border: 2px solid #e1e8ed;
}

.success-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}



/* ===== OFFICIAL DISCLAIMER SECTION ===== */
.disclaimer-section-final { 
    padding: 90px 0; 
}

.disclaimer-card-final { 
    display: grid; 
    grid-template-columns: 250px 1fr; 
    gap: 40px; 
    align-items: center; 
    padding: 30px; 
    border-radius: 20px; 
    max-width: 1000px; 
    margin: 0 auto; 
    color: var(--white); 
    background: linear-gradient(115deg, var(--primary-blue) 55%, #a13f1c); 
    background-size: 150% 150%; 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    box-shadow: 0 20px 50px -20px rgba(22, 43, 71, 0.5); 
    opacity: 0; 
    transform: translateY(30px); 
    transition: all 0.5s ease; 
}

.disclaimer-card-final:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 25px 50px -20px rgba(242, 84, 29, 0.4); 
    background-position: 100% 50%; 
}

.disclaimer-section-final.in-view .disclaimer-card-final { 
    opacity: 1; 
    transform: translateY(0); 
}

.disclaimer-visual { 
    text-align: center; 
    border-right: 1px solid rgba(255, 255, 255, 0.2); 
    padding-right: 40px; 
}

.disclaimer-icon-final { 
    width: 80px; 
    height: 80px; 
    background-color: rgba(255, 255, 255, 0.1); 
    border: 2px solid var(--accent-orange); 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin: 0 auto 20px auto; 
}

.disclaimer-icon-final svg { 
    stroke: var(--accent-orange); 
}

.disclaimer-visual h2 { 
    font-size: 1.8rem; 
    font-weight: 700; 
    color: var(--white); 
}

.disclaimer-content-final { 
    padding-top: 20px; 
    padding-bottom: 20px; 
}

.disclaimer-content-final p { 
    font-size: 1rem; 
    line-height: 1.7; 
    color: var(--text-color-light); 
    margin-bottom: 25px; 
}

.disclaimer-content-final p a { 
    color: var(--accent-orange); 
    font-weight: 600; 
    text-decoration: underline; 
    transition: color 0.3s ease; 
}

.disclaimer-content-final p a:hover { 
    color: var(--white); 
}

.disclaimer-content-final hr { 
    border: 0; 
    height: 1px; 
    background-color: rgba(255, 255, 255, 0.2); 
    margin-bottom: 25px; 
}

.company-info { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 25px; 
    font-size: 0.95rem; 
    color: var(--text-color-light); 
}

.company-info span strong { 
    color: var(--white); 
}

.disclaimer-container-final {
    display: grid; 
    grid-template-columns: 250px 1fr; 
    gap: 40px; 
    align-items: center; 
    padding: 30px; 
    border-radius: 20px; 
    max-width: 1000px; 
    margin: 0 auto; 
    color: var(--white); 
    background: linear-gradient(115deg, var(--primary-blue) 55%, #a13f1c); 
    background-size: 150% 150%; 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    box-shadow: 0 20px 50px -20px rgba(22, 43, 71, 0.5); 
}

.disclaimer-container-final:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 25px 50px -20px rgba(242, 84, 29, 0.4); 
    background-position: 100% 50%; 
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-links {
        display: none;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .upload-grid {
        grid-template-columns: 1fr;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
    }
    
    .success-actions {
        flex-direction: column;
    }
    
    .application-form-container {
        margin: 20px;
    }
    
    .form-section {
        padding: 30px 20px;
    }

    /* Hero spacing and stat cards (tablet/mobile) */
    .application-hero { padding-top: 75px; }
    .hero-content p { font-size: 1rem; margin-bottom: 20px; }
    .hero-stats { gap: 12px; margin-top: 18px; }
    .application-hero .stat-item { padding: 10px 12px; border-radius: 12px; min-height: 110px; }
    .application-hero .stat-number { font-size: 1.4rem; }
    .application-hero .stat-label { font-size: 0.75rem; letter-spacing: 0.3px; }

    /* Submit section mobile layout */
    .submit-section .checkbox-container {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        padding: 12px 14px;
    }
    .submit-section { padding: 20px; }
    .submit-section .section-header { text-align: center !important; }
    .submit-section .section-header h2 { font-size: 1.6rem; display: inline-block; margin: 0 auto; text-align: center; }
    .submit-section .section-header h2::after { left: 50%; transform: translateX(-50%); }
    .submit-section .section-header p { font-size: 0.95rem; text-align: center; margin-bottom: 8px; }
    .submit-section .checkbox-container { font-size: 0.95rem; line-height: 1.4; }
    .submit-section .checkbox-container a { font-size: 0.95rem; font-weight: 600; }

    /* Disclaimer mobile layout */
    .disclaimer-container-final {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    .disclaimer-visual { border-right: 0; padding-right: 0; text-align: center; }
    .disclaimer-visual h2 { font-size: 1.4rem; text-align: center; }
    .company-info { flex-direction: column; gap: 12px; }

    /* Upload area height tweaks (tablet/mobile) */
    .upload-area { padding: 22px 14px; }
    .upload-content i { font-size: 2.6rem; margin-bottom: 10px; }
    .upload-content p { font-size: 1rem; }
    .upload-content span { font-size: 0.85rem; }
}

@media (max-width: 576px) {
    .hero-content h1 { font-size: 2rem; }
    .container { padding: 0 15px; }
    .terms-section { padding: 24px 0; }
    .terms-checkbox { gap: 12px; margin-bottom: 20px; }
    .terms-text { font-size: 0.9rem; }

    /* Hero spacing and stat cards (ultra-mobile) */
    .application-hero { padding-top: 65px; }
    .hero-stats { gap: 10px; margin-top: 14px; }
    .application-hero .stat-item { padding: 8px 10px; border-radius: 10px; min-height: 92px; }
    .application-hero .stat-number { font-size: 1.2rem; }
    .application-hero .stat-label { font-size: 0.72rem; }
    .submit-btn { width: 100%; padding: 16px; border-radius: 10px; font-size: 1rem; }
    .form-actions { padding-top: 0; }

    /* Submit + Disclaimer tweaks */
    .submit-section .checkbox-container { gap: 6px; padding: 6px 10px; font-size: 0.82rem; flex-wrap: nowrap; white-space: nowrap; align-items: center; }
     .submit-section .checkbox-container a { font-size: 0.82rem; font-weight: 600; }
     .submit-section { padding: 12px; }
     .submit-section .section-header { text-align: center !important; }
     .submit-section .section-header h2 { display: inline-block; margin: 0 auto; text-align: center; }
     .submit-section .section-header h2::after { left: 50%; transform: translateX(-50%); }
      .submit-section .section-header p { font-size: 0.92rem; text-align: center; }
     .disclaimer-section-final { padding: 24px 0; }
     .disclaimer-content-final p { font-size: 0.95rem; }
 
     /* Upload area height tweaks (ultra-mobile) */
     .upload-area { padding: 18px 12px; }
     .upload-content i { font-size: 2.3rem; margin-bottom: 8px; }
     .upload-content p { font-size: 0.95rem; }
     .upload-content span { font-size: 0.82rem; }
 }

.success-modal {
    padding: 30px 20px;
}

/* ===== LOADING ANIMATIONS ===== */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* ===== SCROLL ANIMATIONS ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ===== FOOTER SECTION ===== */
.main-footer { 
    padding: 30px 0 0; 
    background: linear-gradient(135deg, #0a1628 0%, #16213e 30%, #1a2b4a 70%, #0f3460 100%); 
    color: var(--text-color-light); 
    border-top: 2px solid var(--accent-orange); 
    opacity: 0; 
    transform: translateY(40px); 
    transition: opacity 0.8s ease-out, transform 0.8s ease-out; 
    position: relative; 
    overflow: hidden; 
}

.main-footer::before { 
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 0; 
    right: 0; 
    height: 1px; 
    background: linear-gradient(90deg, transparent, var(--accent-orange), #ffd700, var(--accent-orange), transparent); 
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.main-footer.in-view { opacity: 1; transform: translateY(0); }

.footer-grid { 
    display: grid; 
    grid-template-columns: 2fr 1fr 1fr 1fr; 
    gap: 25px; 
    padding-bottom: 20px; 
    border-bottom: 1px solid rgba(242, 84, 29, 0.3); 
    margin-bottom: 15px;
}

.footer-col { 
    opacity: 0; 
    transform: translateY(20px); 
    background: rgba(255, 255, 255, 0.02);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.footer-col:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(242, 84, 29, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(242, 84, 29, 0.1);
}

.footer-col.animated { animation: fadeInUp 0.6s ease-out forwards; }

.footer-col h4 { 
    font-size: 1rem; 
    color: var(--white); 
    margin-bottom: 12px; 
    font-weight: 600; 
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 5px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 25px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-orange), #ffd700);
    border-radius: 1px;
}

.footer-logo { 
    max-height: 40px; 
    margin-bottom: 10px; 
    filter: brightness(1.1) drop-shadow(0 0 5px rgba(242, 84, 29, 0.2)); 
}

.footer-social-icons { 
    display: flex; 
    gap: 10px; 
    margin-top: 10px; 
}

.footer-social-icons a { 
    color: #a0a0a0; 
    transition: all 0.3s ease; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    width: 35px; 
    height: 35px; 
    background: linear-gradient(135deg, rgba(242, 84, 29, 0.1), rgba(255, 215, 0, 0.05)); 
    border-radius: 50%; 
    border: 1px solid rgba(242, 84, 29, 0.2); 
    position: relative;
    overflow: hidden;
}

.footer-social-icons a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.footer-social-icons a:hover::before {
    left: 100%;
}

.footer-social-icons a:hover { 
    color: var(--white); 
    transform: translateY(-2px) scale(1.05); 
    background: linear-gradient(135deg, var(--accent-orange), #ffd700); 
    box-shadow: 0 4px 15px rgba(242, 84, 29, 0.3); 
    border-color: #ffd700;
}

.footer-col ul li { 
    margin-bottom: 6px; 
}

.footer-col ul a { 
    color: #b0b0b0; 
    transition: all 0.3s ease; 
    font-size: 0.85rem; 
    display: flex;
    align-items: center;
    padding: 4px 0;
    border-radius: 3px;
    position: relative;
}

.footer-col ul a::before {
    content: '▶';
    opacity: 0;
    margin-right: 5px;
    transition: opacity 0.3s ease;
    color: var(--accent-orange);
    font-size: 0.7rem;
}

.footer-col ul a:hover::before {
    opacity: 1;
}

.footer-col ul a:hover { 
    color: var(--accent-orange); 
    padding-left: 8px; 
    text-shadow: 0 0 5px rgba(242, 84, 29, 0.3);
}

.footer-contact-item { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    padding: 5px 0;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.footer-contact-item:hover {
    background: rgba(242, 84, 29, 0.05);
    padding-left: 5px;
}

.footer-contact-item img { 
    width: 20px; 
    border-radius: 2px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.footer-contact-item svg {
    color: var(--accent-orange);
    filter: drop-shadow(0 0 3px rgba(242, 84, 29, 0.3));
}

.whatsapp-phone, .footer-email {
    color: #b0b0b0;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 400;
    font-size: 0.85rem;
}

.whatsapp-phone:hover {
    color: #25d366;
    text-shadow: 0 0 5px rgba(37, 211, 102, 0.3);
}

.footer-email:hover {
    color: var(--accent-orange);
    text-shadow: 0 0 5px rgba(242, 84, 29, 0.3);
}

.footer-bottom-content {
    flex: 1;
    text-align: center;
}

.legal-text {
    font-size: 0.8rem;
    color: #888;
    line-height: 1.5;
    margin: 10px 0 8px;
    text-align: center;
}

.legal-text .company-name {
    background: linear-gradient(90deg, var(--accent-orange), #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 0.9rem;
}

.company-address-footer {
    font-size: 0.75rem;
    color: #999;
    margin: 5px 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.company-address-footer svg {
    color: var(--accent-orange);
    width: 12px;
    height: 12px;
}

.copyright {
    font-size: 0.75rem;
    color: #666;
    text-align: center;
    margin: 0;
}

.footer-payments { 
    padding: 15px 0; 
    text-align: center; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); 
}

.footer-payments img { 
    max-width: 100%; 
    height: auto; 
    max-height: 30px; 
    filter: brightness(1.05) drop-shadow(0 1px 5px rgba(0, 0, 0, 0.2));
}

.footer-bottom { 
    padding: 15px 0; 
}

.footer-bottom .container { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 20px; 
    flex-direction: column;
}

.footer-bottom p { 
    font-size: 0.8rem; 
    color: #888; 
    line-height: 1.4; 
    max-width: 600px; 
    text-align: center;
    margin: 0 auto;
}

.footer-bottom p strong { 
    color: #bbb; 
    font-weight: 500;
}

.cookie-button { 
    background: linear-gradient(135deg, rgba(242, 84, 29, 0.1), rgba(255, 215, 0, 0.05)); 
    border: 1px solid rgba(242, 84, 29, 0.3); 
    color: #ccc; 
    padding: 8px 15px; 
    border-radius: 15px; 
    cursor: pointer; 
    font-weight: 500; 
    transition: all 0.3s ease; 
    white-space: nowrap; 
    backdrop-filter: blur(5px);
    font-size: 0.8rem;
    margin-top: 10px;
}

.cookie-button:hover { 
    background: linear-gradient(135deg, var(--accent-orange), #ffd700); 
    color: var(--primary-blue); 
    border-color: #ffd700; 
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(242, 84, 29, 0.3);
}

/* ===== FOOTER RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .footer-col {
        padding: 20px 15px;
        text-align: center;
    }
    
    .footer-col h4 {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-social-icons {
        justify-content: center;
        gap: 15px;
        margin-top: 15px;
    }
    
    .footer-contact-item {
        justify-content: center;
        text-align: center;
        padding: 8px 0;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 0 20px;
    }
    
    .main-footer {
        padding: 30px 0 0;
    }
    
    .legal-text,
    .company-address-footer,
    .copyright {
        text-align: center;
        max-width: 100%;
    }
    
    .cookie-button {
        margin: 15px auto 0;
        display: block;
        width: fit-content;
    }
}

@media (max-width: 576px) {
    .footer-col {
        padding: 15px 10px;
    }
    
    .footer-col h4 {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }
    
    .footer-social-icons {
        gap: 12px;
    }
    
    .footer-social-icons a {
        width: 32px;
        height: 32px;
    }
    
    .legal-text {
        font-size: 0.75rem;
        line-height: 1.4;
    }
    
    .company-address-footer {
        font-size: 0.7rem;
        flex-direction: column;
        gap: 3px;
    }
    
    .copyright {
        font-size: 0.7rem;
    }
    
    .cookie-button {
        font-size: 0.75rem;
        padding: 6px 12px;
        margin-top: 12px;
    }
}

/* Phone Input Container Styles */
.phone-input-container {
    display: flex;
    gap: 0;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
    width: 100%;
}

.phone-input-container:focus-within {
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.country-code-select {
    background: #f8f9fa;
    border: none;
    padding: 12px 10px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    min-width: 110px;
    max-width: 110px;
    outline: none;
    border-right: 1px solid #e1e5e9;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.country-code-select:hover {
    background: #e9ecef;
}

.country-code-select:focus {
    background: #e3f2fd;
}

.phone-input-container input[type="tel"] {
    flex: 1;
    border: none;
    padding: 15px;
    font-size: 16px;
    outline: none;
    background: transparent;
    min-width: 0;
    width: auto;
}

.phone-input-container input[type="tel"]::placeholder {
    color: #999;
    font-style: italic;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 10px;
    animation: slideInUp 0.5s ease-out;
}

.file-item i {
    color: #ff6b35;
}

.file-item button {
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: auto;
}

.file-item button:hover {
    background: #c0392b;
    transform: scale(1.1);
}

/* ===== REVIEW SECTION ===== */
.review-summary {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 35px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(22, 43, 71, 0.1);
    border: 1px solid rgba(22, 43, 71, 0.05);
    position: relative;
    overflow: hidden;
}

.review-summary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b35, #f7931e, #162b47);
    border-radius: 20px 20px 0 0;
}

.summary-section {
    margin-bottom: 35px;
    animation: fadeInUp 0.8s ease-out;
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(22, 43, 71, 0.05);
    border: 1px solid rgba(22, 43, 71, 0.03);
}

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

.summary-section h3 {
    color: #162b47;
    margin-bottom: 25px;
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f3f4;
}

.summary-section h3::before {
    content: '';
    width: 5px;
    height: 25px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #ff6b35;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(22, 43, 71, 0.03);
}

.summary-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(22, 43, 71, 0.08);
}

.summary-item .label {
    font-weight: 600;
    color: #162b47;
    font-size: 0.95rem;
}

.summary-item .value {
    color: #162b47;
    font-weight: 500;
    font-size: 0.95rem;
}

.summary-item .value.price {
    color: #ff6b35;
    font-weight: 700;
    font-size: 1.3rem;
    text-shadow: 0 1px 3px rgba(255, 107, 53, 0.2);
}

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

.document-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    margin-bottom: 0;
    background: transparent;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid #f0f0f0;
    box-shadow: none;
    transition: all 0.2s ease;
    position: relative;
    overflow: visible;
}

.document-item:hover {
    transform: none;
    box-shadow: none;
    background: rgba(255, 107, 53, 0.02);
}

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

.document-item i {
    color: #e74c3c;
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.document-item.uploaded {
    background: rgba(255, 107, 53, 0.02);
    border-color: #27ae60;
}

.document-item.uploaded i {
    color: #27ae60;
}

.document-name {
    font-weight: 500;
    color: #6c757d;
    font-size: 0.95rem;
    flex: 1;
}

.document-status {
    color: #28a745;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.document-status::before {
    content: '✓';
    width: 16px;
    height: 16px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    box-shadow: none;
}

.document-item span {
    font-weight: 500;
    color: #162b47;
    font-size: 0.95rem;
}

/* Terms and Conditions - Ultra Minimalist & Elegant */
.terms-section {
    background: transparent;
    padding: 60px 0 40px 0;
    border: none;
    border-radius: 0;
    margin: 0;
    box-shadow: none;
    border-top: 1px solid #f5f5f5;
}

.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 50px;
}

.terms-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: #ff6b35;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.terms-checkbox input[type="checkbox"]:hover {
    border-color: #ff6b35;
}

.terms-text {
    color: #8e8e93;
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
    transition: color 0.15s ease;
}

.terms-text a {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.15s ease;
}

.terms-text a:hover {
    color: #e55a2b;
    text-decoration: underline;
}

/* Submit Button - Ultra Minimalist & Elegant */
.form-actions {
    text-align: center;
}

.submit-btn {
    background: #ff6b35;
    color: white;
    border: none;
    padding: 18px 50px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow: 0 2px 12px rgba(255, 107, 53, 0.15);
    text-transform: none;
    letter-spacing: 0;
    width: auto;
    min-width: 200px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 auto;
}

.submit-btn:hover {
    background: #e55a2b;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.25);
}

.submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.2);
}

.submit-btn:disabled {
    background: #e0e0e0;
    color: #a0a0a0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.submit-btn i {
    margin-right: 10px;
}

/* ===== SUCCESS MODAL ===== */
.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(10px);
}

.success-overlay.show {
    display: flex;
    animation: fadeIn 0.5s ease-out;
}

.success-modal {
    background: white;
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    animation: modalSlideIn 0.5s ease-out;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.success-animation {
    margin-bottom: 30px;
}

.success-checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #27ae60;
    stroke-miterlimit: 10;
    margin: 0 auto;
    box-shadow: inset 0px 0px 0px #27ae60;
    animation: fill 0.4s ease-in-out 0.4s forwards, scale 0.3s ease-in-out 0.9s both;
    position: relative;
}

.success-checkmark .check-icon {
    width: 80px;
    height: 80px;
    position: relative;
    border-radius: 50%;
    box-sizing: content-box;
    border: 4px solid #27ae60;
}

.success-checkmark .check-icon::before {
    top: 3px;
    left: -2px;
    width: 30px;
    transform-origin: 100% 50%;
    border-radius: 100px 0 0 100px;
}

.success-checkmark .check-icon::after {
    top: 0;
    left: 30px;
    width: 60px;
    transform-origin: 0 50%;
    border-radius: 0 100px 100px 0;
    animation: rotate-circle 4.25s ease-in;
}

.success-checkmark .check-icon::before,
.success-checkmark .check-icon::after {
    content: '';
    height: 100px;
    position: absolute;
    background: white;
    transform: rotate(-45deg);
}

.success-checkmark .icon-line {
    height: 5px;
    background-color: #27ae60;
    display: block;
    border-radius: 2px;
    position: absolute;
    z-index: 10;
}

.success-checkmark .icon-line.line-tip {
    top: 46px;
    left: 14px;
    width: 25px;
    transform: rotate(45deg);
    animation: icon-line-tip 0.75s;
}

.success-checkmark .icon-line.line-long {
    top: 38px;
    right: 8px;
    width: 47px;
    transform: rotate(-45deg);
    animation: icon-line-long 0.75s;
}

@keyframes icon-line-tip {
    0% {
        width: 0;
        left: 1px;
        top: 19px;
    }
    54% {
        width: 0;
        left: 1px;
        top: 19px;
    }
    70% {
        width: 50px;
        left: -8px;
        top: 37px;
    }
    84% {
        width: 17px;
        left: 21px;
        top: 48px;
    }
    100% {
        width: 25px;
        left: 14px;
        top: 45px;
    }
}

@keyframes icon-line-long {
    0% {
        width: 0;
        right: 46px;
        top: 54px;
    }
    65% {
        width: 0;
        right: 46px;
        top: 54px;
    }
    84% {
        width: 55px;
        right: 0px;
        top: 35px;
    }
    100% {
        width: 47px;
        right: 8px;
        top: 38px;
    }
}

.success-modal h2 {
    color: #162b47;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.success-modal p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.success-details {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: left;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

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

.detail-item i {
    color: #ff6b35;
    width: 20px;
}

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

.success-btn {
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.success-btn.primary {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
}

.success-btn.secondary {
    background: #f8f9fa;
    color: #162b47;
    border: 2px solid #e1e8ed;
}

.success-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-links {
        display: none;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .upload-grid {
        grid-template-columns: 1fr;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
    }
    
    .success-actions {
        flex-direction: column;
    }
    
    .application-form-container {
        margin: 20px;
    }
    
    .form-section {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .success-modal {
        padding: 30px 20px;
    }
}

/* ===== LOADING ANIMATIONS ===== */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* ===== SCROLL ANIMATIONS ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced CTA Submit Button */
.cta-btn {
  background: linear-gradient(135deg, #ff6b35 0%, #ff8a50 50%, #ff9f68 100%);
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(255, 107, 53, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  position: relative;
  overflow: hidden;
}

.cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(255, 107, 53, 0.45);
}

.cta-btn:hover::before {
  left: 120%;
}

.cta-btn:active {
  transform: translateY(0);
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.35);
}

/* Success state when terms agreed */
.cta-btn.success {
  background: linear-gradient(135deg, #2ecc71 0%, #27ae60 50%, #1abc9c 100%);
  box-shadow: 0 10px 26px rgba(39, 174, 96, 0.35);
  color: #ffffff;
  animation: agreePulse 600ms ease;
}

@keyframes agreePulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.04); }
  100% { transform: scale(1); }
}