/* ===== CSS Variables ===== */
:root {
    --primary-color: #ff6b35;
    --secondary-color: #f7931e;
    --accent-color: #ffa500;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #fff8f0;
    --bg-white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(255, 107, 53, 0.08);
    --shadow-md: 0 4px 16px rgba(255, 107, 53, 0.12);
    --shadow-lg: 0 8px 32px rgba(255, 107, 53, 0.16);
    --shadow-xl: 0 16px 48px rgba(255, 107, 53, 0.20);
    --gradient-primary: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    --gradient-secondary: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%);
    --gradient-success: linear-gradient(135deg, #ffb347 0%, #ffcc33 100%);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo img {
    height: 35px;
    margin-left: -25px;
    transform: scale(1.8);
    transform-origin: left center;
    transition: var(--transition-smooth);
}

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

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition-smooth);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-smooth);
}

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

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition-smooth);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 50%, #f3f4f6 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    opacity: 1;
    z-index: 0;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

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

.feature-icon {
    font-size: 1.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

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

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

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

/* ===== Floating Cards ===== */
.hero-image {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition-smooth);
}

.floating-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.card-1 {
    top: 10%;
    left: 0;
    animation: float 3s ease-in-out infinite;
}

.card-2 {
    top: 40%;
    right: 10%;
    animation: float 3s ease-in-out 1s infinite;
}

.card-3 {
    bottom: 10%;
    left: 20%;
    animation: float 3s ease-in-out 2s infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.card-icon {
    font-size: 2rem;
}

/* Icon Image Styling */
.icon-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
    transition: var(--transition-smooth);
}

.icon-img:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.25));
}

.feature-icon .icon-img {
    width: 40px;
    height: 40px;
}

.loan-icon .icon-img {
    width: 80px;
    height: 80px;
}

.card-icon .icon-img {
    width: 50px;
    height: 50px;
}

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

.card-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* ===== Loan Types Section ===== */
.loan-types {
    padding: 6rem 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
}

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

.loan-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    position: relative;
    border: 2px solid transparent;
}

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

.loan-card.featured {
    background: var(--gradient-primary);
    color: white;
}

.loan-card.featured .loan-title,
.loan-card.featured .loan-description,
.loan-card.featured .loan-features {
    color: white;
}

.featured-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

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

.loan-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.loan-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.loan-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.loan-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.loan-card.featured .loan-features li {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.loan-btn {
    display: block;
    text-align: center;
    padding: 0.875rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: var(--transition-smooth);
}

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

.loan-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

/* ===== About Section ===== */
.about {
    padding: 6rem 0;
    background: var(--bg-light);
}

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

.about-description {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-light);
    margin-top: 0.5rem;
}

.about-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.about-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.about-features {
    list-style: none;
}

.about-features li {
    padding: 0.75rem 0;
    font-size: 1.125rem;
    color: var(--text-light);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* ===== Application Form Section ===== */
.application-section {
    padding: 6rem 0;
    background: white;
}

.application-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
}

.application-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

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

.form-group input,
.form-group select {
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.btn-submit {
    margin-top: 1rem;
    width: 100%;
}

/* ===== Status Section ===== */
.status-section {
    padding: 6rem 0;
    background: var(--bg-light);
}

.status-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.status-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.status-result {
    margin-top: 2rem;
}

.status-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.status-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.status-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.status-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 10px;
}

.status-label {
    font-weight: 600;
    color: var(--text-dark);
}

.status-value {
    color: var(--text-light);
}

.status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-approved {
    background: #d1fae5;
    color: #065f46;
}

.status-rejected {
    background: #fee2e2;
    color: #991b1b;
}

.status-documents-required {
    background: #dbeafe;
    color: #1e40af;
}

/* ===== Footer ===== */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-logo {
    height: 90px;
    margin-bottom: 1rem;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-links,
.footer-contact {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: white;
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.7);
}

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

/* ===== Modal ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-xl);
    animation: modalSlideIn 0.3s ease;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.modal-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
}

.modal-buttons .btn {
    flex: 1;
}

/* ===== Responsive Design ===== */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .hero-content {
        gap: 40px;
    }

    .loan-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .ai-content {
        gap: 50px;
    }

    .section-title {
        font-size: 2.2rem;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .logo img {
        transform: scale(1.5);
        margin-left: -15px;
    }

    .hero {
        padding: 70px 0 40px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .hero-text {
        padding: 0 10px;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.15;
        margin-top: 0;
        margin-bottom: 12px;
        font-weight: 800;
    }

    .hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: 25px;
        line-height: 1.5;
        padding: 0 5px;
    }

    .hero-image {
        display: none;
    }

    .hero-buttons {
        display: flex;
        gap: 10px;
        justify-content: center;
        flex-wrap: wrap;
        margin-bottom: 25px;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        flex: 0 1 auto;
        min-width: 135px;
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .hero-title {
        font-size: 2.7rem;
        line-height: 1.15;
        margin-top: 0;
        margin-bottom: 12px;
        font-weight: 800;
    }

    .hero-features {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        justify-items: center;
        margin-top: 0;
        padding: 0 10px;
    }

    .hero-feature {
        width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .hero-feature:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 200px;
        margin: 0 auto;
    }

    .hero-feature span {
        font-size: 0.9rem;
        line-height: 1.3;
    }

    .feature-icon {
        margin-bottom: 0;
    }

    .feature-icon img {
        width: 45px;
        height: 45px;
    }

    .loan-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .loan-card {
        padding: 2rem 1.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .application-form-wrapper {
        padding: 2rem 1.5rem;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .carousel-card {
        padding: 40px 20px;
    }

    .carousel-icon img {
        width: 120px;
        height: 120px;
    }

    .carousel-title {
        font-size: 1.5rem;
    }

    .carousel-text {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .floating-cards {
        display: none;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .hero {
        padding: 60px 0 35px;
    }

    .hero-title {
        font-size: 2.4rem;
        margin-bottom: 10px;
    }

    .hero-subtitle {
        font-size: 0.98rem;
        margin-bottom: 20px;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        padding: 11px 22px;
        font-size: 0.9rem;
        min-width: 130px;
    }

    .hero-features {
        gap: 12px;
    }

    .hero-feature span {
        font-size: 0.85rem;
    }

    .feature-icon img {
        width: 42px;
        height: 42px;
    }

    .loan-card {
        padding: 1.5rem 1rem;
    }

    .loan-title {
        font-size: 1.3rem;
    }

    .application-form-wrapper {
        padding: 1.5rem 1rem;
    }

    .ai-title {
        font-size: 1.5rem;
    }

    .ai-hand-img {
        max-width: 250px;
    }

    .carousel-card {
        padding: 30px 15px;
    }

    .carousel-icon img {
        width: 100px;
        height: 100px;
    }

    .carousel-title {
        font-size: 1.3rem;
    }

    .carousel-apply-btn {
        padding: 14px 40px;
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .logo img {
        transform: scale(1.3);
        margin-left: -10px;
    }
}

/* ===== Features Carousel Section ===== */
.features-carousel {
    padding: 80px 0;
    background: #ffffff;
    position: relative;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: none;
}

.carousel-slide.active {
    opacity: 1;
    display: block;
}

.carousel-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 600px;
    margin: 0 auto;
}

.carousel-icon {
    margin-bottom: 30px;
}

.carousel-icon img {
    width: 180px;
    height: 180px;
    object-fit: contain;
}

.carousel-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.carousel-text {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.dot {
    width: 40px;
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dot.active {
    background: var(--gradient-primary);
    width: 60px;
}

.carousel-apply-btn {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 16px 50px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
}

.carousel-apply-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* ===== AI Technology Section ===== */
.ai-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #fff8f0 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

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

.ai-text {
    padding: 20px 0;
}

.ai-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.ai-title .highlight {
    color: var(--primary-color);
    position: relative;
}

.ai-title .highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.ai-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.ai-btn {
    display: inline-block;
    padding: 14px 40px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

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

.ai-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai-hand-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    border-radius: 30px;
    filter: drop-shadow(0 10px 30px rgba(255, 107, 53, 0.2));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Mobile AI Section - Stack vertically */
@media (max-width: 768px) {
    .ai-section {
        padding: 60px 0;
    }

    .ai-content {
        display: flex;
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .ai-image {
        order: 1;
        width: 100%;
    }

    .ai-text {
        order: 2;
        padding: 0;
    }

    .ai-title {
        font-size: 1.8rem;
    }

    .ai-description {
        font-size: 1rem;
    }

    .ai-hand-img {
        max-width: 280px;
    }

    .ai-btn {
        display: inline-block;
    }
}


/* ===== Animations ===== */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ===== Toast Notifications ===== */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
}

.toast {
    background: white;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideIn 0.3s ease-out;
    border-left: 4px solid;
}

.toast.success {
    border-left-color: #10b981;
}

.toast.error {
    border-left-color: #ef4444;
}

.toast.info {
    border-left-color: #3b82f6;
}

.toast.warning {
    border-left-color: #f59e0b;
}

.toast-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.toast.success .toast-icon {
    color: #10b981;
}

.toast.error .toast-icon {
    color: #ef4444;
}

.toast.info .toast-icon {
    color: #3b82f6;
}

.toast.warning .toast-icon {
    color: #f59e0b;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.toast-message {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text-light);
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.toast-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-dark);
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

.toast.removing {
    animation: slideOut 0.3s ease-in forwards;
}

@media (max-width: 480px) {
    .toast-container {
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .toast {
        padding: 14px 16px;
    }
}

/* ===== Urgency Message ===== */
.urgency-message {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 12px;
    margin-bottom: 2rem;
    animation: pulse 2s ease-in-out infinite;
}

.urgency-icon {
    font-size: 1.5rem;
    animation: bounce 1s ease-in-out infinite;
}

.urgency-text {
    font-weight: 600;
    color: #92400e;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(251, 191, 36, 0);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* ===== Trust Badges Section ===== */
.trust-badges-section {
    padding: 3rem 0;
    background: white;
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.trust-badge:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.trust-icon {
    font-size: 2.5rem;
    min-width: 50px;
    text-align: center;
}

.trust-content h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.trust-content p {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* ===== Application Success Card ===== */
.application-success {
    max-width: 600px;
    margin: 0 auto;
}

.success-card {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    text-align: center;
    animation: fadeInScale 0.5s ease;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 1.5rem;
    animation: successPop 0.6s ease;
}

@keyframes successPop {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.success-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.success-message {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.application-id-display {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.id-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.id-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Courier New', monospace;
}

.success-note {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* ===== Professional Status Display ===== */
.status-card-modern {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    animation: fadeInScale 0.5s ease;
}

.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--bg-light);
}

.status-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.close-status-btn {
    background: var(--bg-light);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-status-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: rotate(90deg);
}

/* Status Timeline */
.status-timeline {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    position: relative;
    padding: 1rem 0;
}

.status-timeline::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e5e7eb;
    z-index: 0;
}

.timeline-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e5e7eb;
    border: 3px solid white;
    margin-bottom: 0.5rem;
    transition: var(--transition-smooth);
}

.timeline-item.completed .timeline-dot {
    background: #10b981;
}

.timeline-item.active .timeline-dot {
    background: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

.timeline-item.rejected .timeline-dot {
    background: #ef4444;
}

.timeline-status {
    font-size: 0.75rem;
    color: var(--text-light);
    text-align: center;
    font-weight: 500;
}

.timeline-item.active .timeline-status {
    color: var(--primary-color);
    font-weight: 700;
}

/* Status Info Grid */
.status-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-item {
    background: var(--bg-light);
    padding: 1.25rem;
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.info-item:hover {
    background: #fef3c7;
    transform: translateY(-2px);
}

.info-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.info-value {
    display: block;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    word-break: break-all;
}

/* ===== Document Upload Section ===== */
.document-upload-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--bg-light);
}

.document-upload-section h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.upload-area {
    border: 2px dashed #d1d5db;
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    background: var(--bg-light);
}

.upload-area:hover,
.upload-area.drag-over {
    border-color: var(--primary-color);
    background: #fff8f0;
    transform: scale(1.02);
}

.upload-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.upload-text {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

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

/* Upload Progress */
.upload-progress {
    margin-top: 1.5rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Uploaded Documents */
.uploaded-documents {
    margin-top: 1.5rem;
}

.status-section h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.documents-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.document-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.document-item:hover {
    background: #fef3c7;
    transform: translateX(5px);
}

.doc-icon {
    font-size: 1.5rem;
    min-width: 30px;
}

.doc-info {
    flex: 1;
}

.doc-name {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.doc-date {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
}

.doc-view-btn {
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.doc-view-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}