/* ========================================
   BPU Foundation Standalone Landing Page Styles
   ======================================== */

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

.landing-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.landing-nav.scrolled {
    padding: 10px 0;
    background: white;
}

.landing-nav .navbar-brand {
    font-weight: 800;
    color: #5B73E8;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.landing-nav .navbar-brand img {
    height: 40px;
    width: 40px;
    object-fit: cover;
    border-radius: 8px;
}

.nav-link-custom {
    color: #444;
    font-weight: 600;
    margin: 0 15px;
    transition: color 0.3s ease;
    text-decoration: none;
}

.nav-link-custom:hover {
    color: #5B73E8;
}

.landing-footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 30px;
}

.footer-logo {
    height: 50px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #5B73E8;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(91, 115, 232, 0.3);
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
    border: none;
}

.scroll-top-btn.visible {
    opacity: 1;
}

.scroll-top-btn:hover {
    transform: translateY(-5px);
    background: #4A5EE0;
}

@media (max-width: 991px) {
    .landing-nav .navbar-collapse {
        background: white;
        margin-top: 15px;
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .nav-link-custom {
        display: block;
        margin: 10px 0;
    }
}

/* BPU Section Styles (Extracted from style.css) */

.bpu-foundation-page .bpu-hero-section {
    background: linear-gradient(135deg, #5B73E8 0%, #4A5EE0 50%, #3949ab 100%);
    padding: 29px 0 76px;
    position: relative;
    overflow: hidden;
}

.bpu-foundation-page .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 165, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.bpu-foundation-page .hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
}

.bpu-foundation-page .hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 10px 25px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.bpu-foundation-page .min-vh-75 {
    min-height: 75vh;
}

.bpu-foundation-page .text-white-75 {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Animations */
.bpu-foundation-page .animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.bpu-foundation-page .animate-fade-up {
    animation: fadeInUp 1s ease-out forwards;
}

.bpu-foundation-page .animate-slide-left {
    animation: slideInLeft 1s ease-out forwards;
}

.bpu-foundation-page .animate-slide-right {
    animation: slideInRight 1s ease-out forwards;
}

.bpu-foundation-page .animate-scale-in {
    animation: scaleIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.bpu-foundation-page .animate-float {
    animation: float 6s ease-in-out infinite;
}

.bpu-foundation-page .delay-1 {
    animation-delay: 0.2s;
}

.bpu-foundation-page .delay-2 {
    animation-delay: 0.4s;
}

.bpu-foundation-page .delay-3 {
    animation-delay: 0.6s;
}

.bpu-foundation-page .delay-4 {
    animation-delay: 0.8s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Eligibility Cards */
.bpu-foundation-page .eligibility-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(91, 115, 232, 0.1);
}

.bpu-foundation-page .eligibility-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(91, 115, 232, 0.15);
}

.bpu-foundation-page .card-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 1.5rem;
}

.bpu-foundation-page .bg-primary-gradient {
    background: linear-gradient(135deg, #5B73E8, #4A5EE0);
}

.bpu-foundation-page .bg-warning-gradient {
    background: linear-gradient(135deg, #FFA500, #ff8c00);
}

.bpu-foundation-page .bg-success-gradient {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.bpu-foundation-page .bg-primary-soft {
    background: rgba(91, 115, 232, 0.1);
}

.bpu-foundation-page .bg-danger-soft {
    background: rgba(220, 53, 69, 0.1);
}

/* Modern Process Section Refactor */
.bpu-foundation-page .process-step {
    display: flex;
    flex-direction: column;
    padding: 2.5rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
}

.bpu-foundation-page .process-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(91, 115, 232, 0.1);
    border-color: rgba(91, 115, 232, 0.15);
}

.bpu-foundation-page .process-step::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 2rem;
    right: 2rem;
    height: 4px;
    background: linear-gradient(90deg, #5B73E8, transparent);
    border-radius: 2px 2px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bpu-foundation-page .process-step:hover::after {
    opacity: 1;
}

.bpu-foundation-page .step-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.bpu-foundation-page .step-number {
    width: 45px;
    height: 45px;
    min-width: 45px;
    background: rgba(91, 115, 232, 0.1);
    color: #5B73E8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    border: 2px solid rgba(91, 115, 232, 0.1);
    transition: all 0.4s ease;
}

.bpu-foundation-page .process-step:hover .step-number {
    background: #5B73E8;
    color: white;
    transform: scale(1.1);
}

/* Promise Section */
.bpu-foundation-page .promise-section {
    background: linear-gradient(135deg, #5B73E8 0%, #3949ab 100%);
    position: relative;
    overflow: hidden;
}

.bpu-foundation-page .promise-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.bpu-foundation-page .promise-icon-wrapper {
    position: relative;
    z-index: 2;
}

.bpu-foundation-page .promise-icon {
    font-size: 8rem;
    animation: pulse 2s infinite;
}

.bpu-foundation-page .promise-circle {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 3px dashed rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: spin 20s linear infinite;
}

.bpu-foundation-page .promise-points {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bpu-foundation-page .promise-point {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.bpu-foundation-page .promise-point i {
    font-size: 1.3rem;
    margin-top: 3px;
}

.bpu-foundation-page .promise-quote {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #FFA500;
}

.bpu-foundation-page .promise-quote blockquote p {
    color: white;
    font-size: 1.2rem;
}

/* Why Section & Cards Modern Refactor */
.bpu-foundation-page .why-section {
    background: #fdfdfd;
    position: relative;
    z-index: 1;
}

.bpu-foundation-page .why-card {
    background: white;
    padding: 2.5rem 1.5rem;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.bpu-foundation-page .why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(91, 115, 232, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.bpu-foundation-page .why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(91, 115, 232, 0.08);
    border-color: rgba(91, 115, 232, 0.2);
}

.bpu-foundation-page .why-card:hover::before {
    opacity: 1;
}

.bpu-foundation-page .why-icon-box {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 15px rgba(91, 115, 232, 0.1);
    position: relative;
    transition: all 0.4s ease;
}

.bpu-foundation-page .why-card:hover .why-icon-box {
    transform: rotateY(180deg);
    background: #5B73E8;
}

.bpu-foundation-page .why-icon-box i {
    font-size: 2rem;
    color: #5B73E8;
    transition: all 0.4s ease;
}

.bpu-foundation-page .why-card:hover .why-icon-box i {
    color: white;
    transform: rotateY(-180deg);
}

/* Donate Card */
.bpu-foundation-page .donate-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.bpu-foundation-page .donate-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bpu-foundation-page .donate-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.bpu-foundation-page .donate-option:hover {
    background: rgba(91, 115, 232, 0.1);
    transform: translateX(5px);
}

.bpu-foundation-page .donate-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.bpu-foundation-page .donor-list li {
    padding: 0.5rem 0;
    font-size: 1rem;
}

/* CTA Section */
.bpu-foundation-page .cta-section {
    background: linear-gradient(135deg, #5B73E8 0%, #3949ab 100%);
}

/* Responsive */
@media (max-width: 768px) {
    .bpu-foundation-page .bpu-hero-section {
        padding: 80px 0 120px;
    }

    .bpu-foundation-page .display-3 {
        font-size: 2rem;
    }

    .bpu-foundation-page .display-5 {
        font-size: 1.5rem;
    }

    .bpu-foundation-page .promise-icon {
        font-size: 5rem;
    }

    .bpu-foundation-page .promise-circle {
        width: 150px;
        height: 150px;
    }
}

/* Application Form Section */
.form-section {
    background: #fdfdfd;
    padding: 30px 0;
}

.form-container {
    background: white;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin: 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.form-header {
    background: linear-gradient(135deg, #5B73E8 0%, #3949ab 100%);
    padding: 40px;
    color: white;
    text-align: center;
}

.form-header h3 {
    font-weight: 800;
    margin-bottom: 10px;
}

.form-header p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

/* Multi-step Progress Bar */
.form-progress {
    display: flex;
    justify-content: space-between;
    padding: 30px 60px;
    background: #f8faff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.form-progress::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 100px;
    right: 100px;
    height: 2px;
    background: #e1e7ff;
    z-index: 1;
}

.progress-step-item {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.step-dot {
    width: 40px;
    height: 40px;
    background: white;
    border: 2px solid #e1e7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: 700;
    color: #a0a0a0;
    transition: all 0.3s ease;
}

.progress-step-item.active .step-dot {
    background: #5B73E8;
    border-color: #5B73E8;
    color: white;
    box-shadow: 0 0 0 5px rgba(91, 115, 232, 0.15);
}

.progress-step-item.completed .step-dot {
    background: #28a745;
    border-color: #28a745;
    color: white;
}

.step-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #a0a0a0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.progress-step-item.active .step-label {
    color: #5B73E8;
}

/* Form Steps */
.form-step-content {
    padding: 50px 60px;
    display: none;
}

.form-step-content.active {
    display: block;
    animation: fadeInSlide 0.5s ease-out forwards;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title-inline {
    font-weight: 800;
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-title-inline::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #eee;
}

.form-group-custom {
    margin-bottom: 25px;
}

.form-group-custom label {
    font-weight: 600;
    color: #444;
    margin-bottom: 8px;
    display: block;
}

.form-control-custom {
    border-radius: 12px;
    padding: 12px 20px;
    border: 2px solid #eee;
    transition: all 0.3s ease;
    font-weight: 500;
    width: 100%;
}

.form-control-custom:focus {
    border-color: #5B73E8;
    box-shadow: none;
    background: #f8faff;
    outline: none;
}

/* Custom Select Styling */
.form-select-custom {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
}

/* Custom File Upload */
.file-upload-wrapper {
    position: relative;
    border: 2px dashed #eee;
    padding: 40px;
    text-align: center;
    border-radius: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-upload-wrapper:hover {
    border-color: #5B73E8;
    background: #f8faff;
}

.file-upload-wrapper i {
    font-size: 2.5rem;
    color: #5B73E8;
    margin-bottom: 15px;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* Form Actions */
.form-footer {
    padding: 30px 60px;
    background: #f8faff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
}

.btn-form {
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
}

.btn-prev {
    background: white;
    border: 2px solid #eee;
    color: #777;
}

.btn-prev:hover {
    background: #eee;
    color: #444;
}

.btn-next,
.btn-submit {
    background: #5B73E8;
    color: white;
}

.btn-next:hover,
.btn-submit:hover {
    background: #3949ab;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(91, 115, 232, 0.3);
}

/* Radio Group Styling */
.income-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.income-option {
    position: relative;
}

.income-option input {
    position: absolute;
    opacity: 0;
}

.income-option label {
    display: block;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
}

.income-option input:checked+label {
    border-color: #5B73E8;
    background: #f8faff;
    color: #5B73E8;
}

/* Reference Repeater */
.reference-item {
    background: #fdfdfd;
    padding: 20px;
    border-radius: 15px;
    border: 1px solid #eee;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .form-progress {
        padding: 20px;
    }

    .form-progress::before {
        left: 40px;
        right: 40px;
    }

    .step-label {
        display: none;
    }

    .form-step-content {
        padding: 30px 20px;
    }

    .form-footer {
        padding: 20px;
    }

    .income-options {
        grid-template-columns: 1fr;
    }
}