/* Medico Admission Enquiry Page Premium CSS Stylesheet */

:root {
    --glass-light: rgba(255, 255, 255, 0.45);
    --glass-dark: rgba(15, 23, 42, 0.7);
    --glass-border-light: rgba(255, 255, 255, 0.55);
    --glass-border-dark: rgba(255, 255, 255, 0.12);
    --neon-blue: #00f2fe;
    --neon-cyan: #4facfe;
    --navy-dark: #0f172a;
    --navy-blue: #070b19;
    --accent-glow: rgba(0, 242, 254, 0.25);
    --glow-error: rgba(239, 68, 68, 0.3);
    --glow-success: rgba(16, 185, 129, 0.2);
}

/* Base Layout & Page Container */
.admission-page-container {
    background: #fafbfc;
    position: relative;
    overflow-x: hidden;
}

/* Glassmorphism Classes */
.glass-card-light {
    background: var(--glass-light);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border-light);
    box-shadow: 0 8px 32px 0 rgba(0, 76, 132, 0.04);
}

.glass-card-dark {
    background: var(--glass-dark);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border-dark);
    box-shadow: 0 20px 50px 0 rgba(0, 0, 0, 0.35);
}

/* --- Section 1: Hero Section (with Parallax & Animated Shapes) --- */
.admission-hero-section {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 7rem 0 6rem 0;
    color: #ffffff;
    overflow: hidden;
}

.admission-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(7, 11, 25, 0.88) 0%, rgba(15, 23, 42, 0.75) 100%);
    z-index: 1;
}

.admission-hero-content {
    position: relative;
    z-index: 3;
}

.admission-hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.5px;
}

.admission-hero-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Floating Animated Shapes */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.25;
    pointer-events: none;
    z-index: 2;
    animation: floatShape 12s infinite ease-in-out;
}

.shape-1 {
    width: 250px;
    height: 250px;
    background: var(--neon-blue);
    top: -50px;
    left: -50px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: #6200ee;
    bottom: -80px;
    right: -80px;
    animation-delay: 3s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: #4facfe;
    top: 40%;
    right: 15%;
    animation-delay: 6s;
    filter: blur(30px);
    opacity: 0.15;
}

@keyframes floatShape {
    0%, 100% {
        transform: translateY(0) scale(1) rotate(0deg);
    }
    50% {
        transform: translateY(-25px) scale(1.1) rotate(180deg);
    }
}

/* --- Section 2: Admission Process --- */
.process-section {
    background-color: #f8fafc;
    position: relative;
}

.process-card {
    border-radius: 24px;
    padding: 40px 30px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 76, 132, 0.08), 0 0 20px rgba(0, 147, 168, 0.15);
    border-color: rgba(0, 147, 168, 0.3);
}

.process-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2.25rem;
    font-weight: 900;
    color: rgba(0, 92, 146, 0.05);
    transition: all 0.3s ease;
    user-select: none;
}

.process-card:hover .process-badge {
    color: rgba(0, 147, 168, 0.12);
    transform: scale(1.1);
}

.process-icon-wrapper {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #005c92 0%, #0093a8 100%);
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 147, 168, 0.2);
    transition: all 0.3s ease;
}

.process-card:hover .process-icon-wrapper {
    transform: scale(1.1) rotate(8deg);
    box-shadow: 0 10px 24px rgba(0, 147, 168, 0.35);
}

.process-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.process-desc {
    font-size: 14.5px;
    color: #64748b;
    line-height: 1.6;
}

/* --- Section 3: Admission Application Form (MAIN ATTRACTION) --- */
.admission-form-section {
    position: relative;
    background-image: url('../img/university-2.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

.admission-form-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 11, 25, 0.9) 0%, rgba(15, 23, 42, 0.8) 100%);
    z-index: 1;
}

.admission-form-content {
    position: relative;
    z-index: 3;
}

.particle-canvas-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 2;
}

.glow-blob-form {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    pointer-events: none;
    z-index: 2;
}

.form-blob-1 {
    width: 500px;
    height: 500px;
    background: var(--neon-blue);
    top: 10%;
    left: -100px;
}

.form-blob-2 {
    width: 500px;
    height: 500px;
    background: #9b51e0;
    bottom: 10%;
    right: -100px;
}

/* Glassmorphism Form container styling */
.admission-form-container {
    border-radius: 28px;
    padding: 50px 40px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.form-input-wrapper {
    position: relative;
    margin-bottom: 24px;
}

.form-input-wrapper i.input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.45);
    transition: all 0.3s ease;
    z-index: 4;
    font-size: 16px;
}

.form-input-wrapper.textarea-wrapper i.input-icon {
    top: 24px;
}

.admission-form-control {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    border-radius: 14px !important;
    padding: 16px 16px 16px 48px !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    font-size: 15px !important;
    width: 100%;
}

.admission-form-control:focus {
    background: rgba(255, 255, 255, 0.09) !important;
    border-color: var(--neon-blue) !important;
    box-shadow: 0 0 20px var(--accent-glow) !important;
    outline: none !important;
}

/* Floating Label styling */
.form-input-wrapper label {
    position: absolute;
    left: 48px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: none;
    z-index: 3;
    font-size: 15px;
}

.form-input-wrapper.textarea-wrapper label {
    top: 24px;
}

.admission-form-control:focus ~ label,
.admission-form-control:not(:placeholder-shown) ~ label {
    top: 8px;
    left: 18px;
    font-size: 12px;
    color: var(--neon-blue);
    background: #0f172a;
    padding: 0 8px;
    border-radius: 4px;
}

.form-input-wrapper.textarea-wrapper .admission-form-control:focus ~ label,
.form-input-wrapper.textarea-wrapper .admission-form-control:not(:placeholder-shown) ~ label {
    top: -8px;
}

.admission-form-control:focus ~ i.input-icon {
    color: var(--neon-blue);
}

.admission-form-select {
    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='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 18px center !important;
    background-size: 12px 12px !important;
}

.admission-form-select option {
    background-color: #0f172a !important;
    color: #fff !important;
}

/* Submit and Action Buttons */
.btn-apply-submit {
    background: linear-gradient(45deg, #AE8625, #d8d164, #D2AC47, #EDC967);
    border: none;
    border-radius: 14px;
    padding: 16px 36px;
    font-weight: 700;
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 242, 254, 0.35);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.btn-apply-submit:hover {
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 12px 30px rgba(0, 242, 254, 0.55), 0 0 15px var(--neon-blue);
    background: linear-gradient(135deg, #E6C16A 0%, #D4A24C 35%, #B9832D 70%, #8E6224 100%);
}

.btn-whatsapp-consult {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border: none;
    border-radius: 14px;
    padding: 16px 36px;
    font-weight: 700;
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.25);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-whatsapp-consult:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
    color: #fff;
}

/* Success / Error Banners */
.form-status-alert {
    display: none;
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 28px;
    font-weight: 500;
    animation: slideDownFade 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes slideDownFade {
    0% { transform: translateY(-15px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* Validation animations */
.admission-form-control.is-invalid {
    border-color: #ef4444 !important;
    box-shadow: 0 0 15px var(--glow-error) !important;
    animation: formControlShake 0.4s ease;
}

.admission-form-control.is-invalid ~ i.input-icon {
    color: #ef4444;
}

.admission-form-control.is-valid {
    border-color: #10b981 !important;
    box-shadow: 0 0 15px var(--glow-success) !important;
}

.admission-form-control.is-valid ~ i.input-icon {
    color: #10b981;
}

@keyframes formControlShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

/* --- Section 4: Why Apply Through Us --- */
.why-apply-section {
    background-color: #ffffff;
    position: relative;
}

.why-apply-card {
    background: #f8fafc;
    border: 1px solid rgba(0, 76, 132, 0.05);
    border-radius: 24px;
    padding: 36px 30px;
    text-align: center;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.why-apply-card:hover {
    transform: translateY(-8px);
    background: #ffffff;
    border-color: rgba(0, 147, 168, 0.25);
    box-shadow: 0 20px 40px rgba(0, 76, 132, 0.06);
}

.why-apply-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(0, 76, 132, 0.06);
    color: #004c84;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 20px auto;
    transition: all 0.3s ease;
}

.why-apply-card:hover .why-apply-icon {
    background: linear-gradient(135deg, #004c84 0%, #0093a8 100%);
    color: #fff;
    transform: scale(1.1) rotate(360deg);
}

.why-apply-number {
    font-size: 2.25rem;
    font-weight: 800;
    color: #004c84;
    margin-bottom: 6px;
    letter-spacing: -1px;
}

.why-apply-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.why-apply-desc {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.6;
}

/* --- Section 5: Benefits --- */
.benefits-section {
    background-color: #f8fafc;
}

.benefit-card {
    border-radius: 20px;
    padding: 35px 28px;
    color: #ffffff;
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: none;
}

/* Advanced premium gradient variations */
.benefit-card-1 { background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%); }
.benefit-card-2 { background: linear-gradient(135deg, #0d9488 0%, #115e59 100%); }
.benefit-card-3 { background: linear-gradient(135deg, #f97316 0%, #c2410c 100%); }
.benefit-card-4 { background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%); }
.benefit-card-5 { background: linear-gradient(135deg, #ec4899 0%, #be185d 100%); }
.benefit-card-6 { background: linear-gradient(135deg, #06b6d4 0%, #0e7490 100%); }

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15), 0 0 20px rgba(255, 255, 255, 0.1);
}

.benefit-card::before {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    top: -40px;
    right: -40px;
    z-index: -1;
    transition: all 0.5s ease;
}

.benefit-card:hover::before {
    transform: scale(1.6);
    background: rgba(255, 255, 255, 0.15);
}

.benefit-icon {
    font-size: 32px;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.benefit-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.benefit-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.6;
    margin-bottom: 0;
}

/* --- Section 6: Student Success Statistics --- */
.stats-section {
    background: #070b19;
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

.stats-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.stats-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.15;
}

.stats-shape-1 {
    width: 600px;
    height: 600px;
    background: #00f2fe;
    top: -200px;
    left: -150px;
}

.stats-shape-2 {
    width: 500px;
    height: 500px;
    background: #6200ee;
    bottom: -150px;
    right: -100px;
}

.stats-content {
    position: relative;
    z-index: 2;
}

.stat-counter-box {
    text-align: center;
    color: #ffffff;
    padding: 30px 15px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
    letter-spacing: -1.5px;
    display: inline-block;
    filter: drop-shadow(0 4px 10px rgba(0, 242, 254, 0.3));
}

.stat-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.95;
    margin-bottom: 8px;
}

.stat-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    max-width: 250px;
    margin: 0 auto;
    line-height: 1.5;
}

/* --- Section 7: Final CTA Section --- */
.luxury-cta-section {
    background: linear-gradient(135deg, #021a30 0%, #004c84 50%, #005c92 100%);
    position: relative;
    overflow: hidden;
    padding: 6.5rem 0;
}

.cta-glow-bg {
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.18) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.btn-cta-apply {
    background: #ffffff;
    color: #004c84;
    border: 1px solid #ffffff;
    border-radius: 14px;
    padding: 16px 36px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-cta-apply:hover {
    background: transparent;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.25);
}

.btn-cta-counselor {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 14px;
    padding: 14px 34px;
    font-weight: 700;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-cta-counselor:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .admission-hero-title {
        font-size: 2.5rem;
    }
    
    .admission-form-container {
        padding: 40px 24px;
    }
    
    .stat-number {
        font-size: 2.75rem;
    }
}

@media (max-width: 575px) {
    .admission-hero-title {
        font-size: 2.1rem;
    }
    
    .btn-apply-submit,
    .btn-whatsapp-consult,
    .btn-cta-apply,
    .btn-cta-counselor {
        width: 100%;
        text-align: center;
    }
    
    .d-flex.flex-sm-row {
        flex-direction: column !important;
        gap: 15px !important;
    }
}
