/* Apply Page - Modern Dynamic Design */

/* CSS Variables */
:root {
    --primary-cyan: #00C2D8;
    --primary-pink: #FF2E88;
    --black: #000000;
    --white: #FFFFFF;
    --dark-bg: #0F0F15;
    --soft-gray: #F5F5F5;
    --gradient-primary: linear-gradient(135deg, #00C2D8 0%, #FF2E88 100%);
    --gradient-reverse: linear-gradient(135deg, #FF2E88 0%, #00C2D8 100%);
}

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

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    color: var(--black);
    background-color: var(--white);
}

html {
    scroll-behavior: smooth;
}

/* Navbar Styles */
.navbar {
    padding: 1.2rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
    z-index: 1000;
}

.navbar.scrolled {
    padding: 0.8rem 0;
    background: rgba(15, 15, 21, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar-brand {
    display: flex;
    align-items: center;
    height: 80px;
    padding: 0.5rem 0;
    margin-right: 2rem;
    position: relative;
    z-index: 10;
}

.navbar.scrolled .navbar-brand {
    height: 70px;
}

.navbar-logo {
    height: 70px;
    width: auto;
    max-width: 320px;
    min-width: auto;
    object-fit: contain;
    object-position: left center;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3)) brightness(1.5) contrast(1.8) saturate(1.3);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: translateZ(0);
    will-change: transform;
    position: relative;
    z-index: 2;
}

.navbar.scrolled .navbar-logo {
    height: 65px;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.4)) brightness(1.6) contrast(2) saturate(1.4);
}

.navbar-brand::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: calc(100% + 30px);
    height: calc(100% + 15px);
    border-radius: 12px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.navbar.scrolled .navbar-brand::before {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.3);
}

.navbar-toggler {
    border: none;
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 194, 216, 0.25);
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 1.8em;
    height: 1.8em;
    transition: all 0.3s ease;
}

.navbar-toggler:hover .navbar-toggler-icon {
    opacity: 0.8;
}

.nav-link {
    color: var(--white) !important;
    font-weight: 500;
    font-size: 0.85rem;
    margin: 0 0.8rem;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-link.active {
    color: var(--primary-cyan) !important;
}

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

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

.btn-cta-nav {
    background: var(--gradient-primary);
    border: none;
    color: var(--white);
    padding: 0.65rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-left: 1rem;
    box-shadow: 0 4px 15px rgba(0, 194, 216, 0.2);
    text-decoration: none;
    display: inline-block;
}

.btn-cta-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-reverse);
    transition: left 0.3s ease;
}

.btn-cta-nav:hover::before {
    left: 0;
}

.btn-cta-nav span {
    position: relative;
    z-index: 1;
}

.btn-cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 194, 216, 0.3);
    color: var(--white);
    text-decoration: none;
}

.btn-login-nav {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(0, 229, 255, 0.3);
    color: var(--white);
    padding: 0.65rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-left: 0.5rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-login-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.3s ease;
    z-index: 0;
}

.btn-login-nav:hover::before {
    left: 0;
}

.btn-login-nav span,
.btn-login-nav i {
    position: relative;
    z-index: 1;
}

.btn-login-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 229, 255, 0.3);
    border-color: transparent;
    color: var(--white);
    text-decoration: none;
}

/* Modern Hero Section */
.apply-hero {
    min-height: 70vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--dark-bg);
    padding-top: 100px;
    padding-bottom: 3rem;
}

.apply-hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(0, 194, 216, 0.3), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(255, 46, 136, 0.3), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.2), transparent);
    background-size: 200% 200%;
    animation: particleMove 20s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes particleMove {
    0%, 100% {
        background-position: 0% 0%, 100% 100%, 50% 50%;
    }
    50% {
        background-position: 100% 100%, 0% 0%, 50% 50%;
    }
}

.apply-hero-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 194, 216, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 46, 136, 0.15) 0%, transparent 50%);
    z-index: 1;
    animation: gradientShift 15s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(30px, -30px);
    }
}

.apply-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.apply-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 2rem;
    animation: badgeFloat 3s ease-in-out infinite;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

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

.apply-hero-title {
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--white);
    letter-spacing: -0.02em;
}

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

.apply-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

/* Form Section */
.apply-form-section {
    position: relative;
    padding: 3rem 0;
    background: linear-gradient(180deg, #FAFAFA 0%, var(--white) 100%);
    overflow: hidden;
}

.apply-form-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 194, 216, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 46, 136, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.contact-form-wrapper {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(0, 0, 0, 0.05);
    border-radius: 25px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.contact-form-wrapper:hover {
    box-shadow: 0 30px 80px rgba(0, 194, 216, 0.15);
    transform: translateY(-5px);
}

.contact-form-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.contact-form-header h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 0.4rem;
}

.contact-form-header p {
    font-size: 0.95rem;
    color: rgba(0, 0, 0, 0.6);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group-modern {
    margin-bottom: 1rem;
    position: relative;
}

.form-label-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.6rem;
    transition: all 0.3s ease;
}

.form-label-modern i {
    font-size: 1.1rem;
    color: var(--primary-cyan);
    transition: all 0.3s ease;
}

.form-group-modern:focus-within .form-label-modern {
    color: var(--primary-cyan);
}

.form-group-modern:focus-within .form-label-modern i {
    transform: scale(1.2);
    color: var(--primary-pink);
}

.form-input-modern {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
    color: var(--black);
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.form-input-modern:focus {
    border-color: var(--primary-cyan);
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 194, 216, 0.15);
}

.form-input-modern::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.form-textarea-modern {
    resize: vertical;
    min-height: 90px;
}

.form-check {
    margin-top: 0.5rem;
    padding: 0.8rem;
    background: rgba(0, 194, 216, 0.05);
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.form-check:hover {
    background: rgba(0, 194, 216, 0.08);
    border-color: rgba(0, 194, 216, 0.2);
}

.form-check-input {
    width: 20px;
    height: 20px;
    margin-top: 0.2rem;
    cursor: pointer;
    border: 2px solid rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.form-check-input:checked {
    background-color: var(--primary-cyan);
    border-color: var(--primary-cyan);
    box-shadow: 0 0 15px rgba(0, 194, 216, 0.4);
}

.form-check-label {
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.6;
    cursor: pointer;
    margin-left: 0.5rem;
}

.form-check-label a {
    color: var(--primary-cyan);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.form-check-label a:hover {
    color: var(--primary-pink);
}

.btn-submit-modern {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    background: var(--gradient-primary);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
    box-shadow: 0 10px 30px rgba(0, 194, 216, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.btn-submit-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-reverse);
    transition: left 0.4s ease;
    z-index: 0;
}

.btn-submit-modern span,
.btn-submit-modern i {
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease;
}

.btn-submit-modern:hover::before {
    left: 0;
}

.btn-submit-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 194, 216, 0.4);
}

.btn-submit-modern:hover i {
    transform: translateX(5px);
}

/* ==================== */
/* Hero Floating Icons  */
/* ==================== */
.hero-floating-icons {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.hero-float-icon {
    position: absolute;
    color: rgba(255, 255, 255, 0.08);
    animation: heroIconFloat 8s ease-in-out infinite;
}

.hero-float-1 { top: 15%; left: 6%; font-size: 5rem; animation-delay: 0s; animation-duration: 10s; color: rgba(255, 255, 255, 0.07); }
.hero-float-2 { top: 20%; right: 8%; font-size: 4rem; animation-delay: 2s; animation-duration: 8s; color: rgba(0, 194, 216, 0.08); }
.hero-float-3 { bottom: 20%; left: 10%; font-size: 4.5rem; animation-delay: 1s; animation-duration: 9s; color: rgba(0, 229, 255, 0.06); }
.hero-float-4 { bottom: 15%; right: 6%; font-size: 3.5rem; animation-delay: 3s; animation-duration: 7s; color: rgba(255, 46, 136, 0.07); }

@keyframes heroIconFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.6; }
    25% { transform: translateY(-20px) rotate(5deg); opacity: 1; }
    50% { transform: translateY(-10px) rotate(-3deg); opacity: 0.8; }
    75% { transform: translateY(-25px) rotate(7deg); opacity: 1; }
}

/* ==================== */
/* Step Icons           */
/* ==================== */
.step-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--white);
    margin: 0 auto 1.2rem;
    box-shadow: 0 8px 25px rgba(0, 194, 216, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.process-step:hover .step-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 12px 35px rgba(0, 194, 216, 0.5);
}

/* ========================= */
/* Form Floating Icons       */
/* ========================= */
.form-floating-icons {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.form-float-icon {
    position: absolute;
    font-size: 3rem;
    color: rgba(0, 194, 216, 0.06);
    animation: formIconFloat 8s ease-in-out infinite;
}

.form-float-1 { top: 10%; left: 3%; font-size: 4rem; animation-delay: 0s; animation-duration: 10s; color: rgba(0, 0, 0, 0.04); }
.form-float-2 { top: 50%; right: 3%; font-size: 2.5rem; animation-delay: 2s; animation-duration: 8s; }
.form-float-3 { bottom: 20%; left: 5%; font-size: 2rem; animation-delay: 1s; animation-duration: 9s; color: rgba(255, 46, 136, 0.05); }
.form-float-4 { bottom: 10%; right: 5%; font-size: 1.8rem; animation-delay: 3s; animation-duration: 7s; color: rgba(0, 194, 216, 0.05); }

@keyframes formIconFloat {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
    33% { transform: translateY(-15px) rotate(8deg) scale(1.05); }
    66% { transform: translateY(-8px) rotate(-5deg) scale(0.95); }
}

/* Process Steps */
.process-section {
    padding: 3rem 0;

    position: relative;
}

.process-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 30px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

.process-card:hover::before {
    transform: scaleX(1);
}

.process-card:hover {
    box-shadow: 0 20px 60px rgba(0, 194, 216, 0.12);
    border-color: rgba(0, 194, 216, 0.2);
}

.process-card h2 {
    font-size: 2.2rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--black);
    position: relative;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    position: relative;
    z-index: 1;
    counter-reset: step-counter;
}

.process-step {
    position: relative;
    padding: 2.4rem 2rem;
    min-height: 260px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    text-align: center;
    cursor: pointer;
}

.process-step::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.process-step:hover::before {
    opacity: 0.05;
}

.process-step::after {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2.8rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.2;
    line-height: 1;
    transition: all 0.4s ease;
    z-index: 1;
}

.process-step:hover {
    transform: translateY(-8px);
    border-color: var(--primary-cyan);
    box-shadow: 0 15px 50px rgba(0, 194, 216, 0.2);
}

.process-step:hover::after {
    transform: scale(1.08);
    opacity: 0.35;
}

.process-step > * {
    position: relative;
    z-index: 2;
}

.process-step h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.8rem;
    margin-top: 0;
    line-height: 1.3;
}

.process-step p {
    font-size: 1rem;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.7;
    margin: 0;
}

/* Why Apply Section */
.why-apply-section {
    padding: 3rem 0;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.why-apply-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 194, 216, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 46, 136, 0.15) 0%, transparent 50%);
    z-index: 0;
    animation: whyGradientShift 15s ease-in-out infinite;
}

@keyframes whyGradientShift {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-3%, 3%); }
}

.why-apply-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.why-apply-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

.why-apply-card:hover::before {
    transform: scaleX(1);
}

.why-apply-card:hover {
    box-shadow: 0 20px 60px rgba(0, 194, 216, 0.15);
    border-color: rgba(0, 194, 216, 0.3);
}

.why-apply-card h2 {
    font-size: 2.2rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--white);
    position: relative;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    position: relative;
    z-index: 1;
}

.feature-item {
    position: relative;
    padding: 2rem 1.8rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.feature-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.feature-item::after {
    content: counter(feature-counter);
    counter-increment: feature-counter;
    position: absolute;
    top: 0.9rem;
    right: 1rem;
    font-size: 2.3rem;
    font-weight: 900;
    line-height: 1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.35;
    z-index: 1;
    transition: all 0.4s ease;
}

.feature-item:hover::before {
    opacity: 0.05;
}

.feature-item i {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    background: var(--gradient-primary);
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0, 194, 216, 0.3);
    margin: 0 auto 1.2rem;
    z-index: 1;
    transition: all 0.4s ease;
}

.feature-item:hover i {
    transform: scale(1.1) rotate(4deg);
    box-shadow: 0 12px 35px rgba(0, 194, 216, 0.4);
}

.feature-item:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 194, 216, 0.4);
    box-shadow: 0 15px 50px rgba(0, 194, 216, 0.25);
    background: rgba(255, 255, 255, 0.08);
}

.feature-item:hover::after {
    transform: scale(1.1);
    opacity: 0.55;
}

.feature-item > div {
    position: relative;
    z-index: 2;
    width: 100%;
}

.feature-item h5 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.8rem;
    margin-top: 0;
    line-height: 1.3;
}

.feature-item p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
}

/* Footer Styles */
.footer-modern {
    background: #0B0B0E;
    color: #EDEDED;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00E5FF, #FF2E88, transparent);
    opacity: 0.5;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.footer-logo:hover {
    transform: translateY(-2px);
}

.footer-logo-img {
    height: 100px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    filter: brightness(1.2) contrast(1.2);
    image-rendering: crisp-edges;
    border-radius: 10px;
}

.footer-tagline {
    color: #9AA0A6;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
    font-weight: 300;
}

.footer-nav {
    display: flex;
    flex-direction: column;
}

.footer-nav-title {
    color: #EDEDED;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-nav-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #00E5FF, #FF2E88);
    border-radius: 2px;
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav-link {
    color: #9AA0A6;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.footer-nav-link::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00E5FF, #FF2E88);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.footer-nav-link:hover {
    color: #EDEDED;
    padding-left: 15px;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
    text-decoration: none;
}

.footer-nav-link:hover::before {
    width: 10px;
}

.footer-social {
    display: flex;
    flex-direction: column;
}

.footer-social-icons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-social-link {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9AA0A6;
    font-size: 1.3rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.footer-social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #00E5FF, #FF2E88);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.footer-social-link i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.footer-social-link:hover {
    color: #EDEDED;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 229, 255, 0.3);
    text-decoration: none;
}

.footer-social-link:hover::before {
    opacity: 1;
}

.footer-social-link:hover i {
    transform: scale(1.1) rotate(5deg);
}

.footer-bottom {
    margin-top: 3rem;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
        margin-bottom: 2rem;
    }
    
.footer-copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright p {
    color: #9AA0A6;
    font-size: 0.9rem;
    margin: 0;
    font-weight: 300;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-legal-link {
    color: #9AA0A6;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-legal-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #00E5FF;
    transition: width 0.3s ease;
}

.footer-legal-link:hover {
    color: #EDEDED;
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
    text-decoration: none;
}

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

.footer-legal-separator {
    color: #9AA0A6;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .navbar-nav {
        background: rgba(15, 15, 21, 0.98);
        backdrop-filter: blur(20px);
        padding: 1.5rem;
        border-radius: 15px;
        margin-top: 1rem;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    }

    .nav-link {
        margin: 0.5rem 0;
        padding: 0.8rem 1rem;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .nav-link:hover {
        background: rgba(255, 255, 255, 0.05);
    }

    .btn-cta-nav {
        margin-left: 0;
        margin-top: 0.5rem;
        width: 100%;
        text-align: center;
    }

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

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

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

    .process-step,
    .feature-item {
        padding: 1.8rem 1.4rem;
    }

    .process-step {
        min-height: 230px;
        padding: 2rem 1.6rem;
    }

    .process-step::after {
        font-size: 2rem;
    }

    .process-step h4,
    .feature-item h5 {
        font-size: 1.05rem;
    }

    .process-step p,
    .feature-item p {
        font-size: 0.88rem;
    }

    .feature-item i {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
        border-radius: 16px;
    }

    .feature-item::after {
        font-size: 2rem;
        top: 0.8rem;
        right: 0.8rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 0;
    }

    .navbar.scrolled {
        padding: 0.7rem 0;
    }

    .navbar-logo {
        height: 60px;
        max-width: 280px;
        min-width: 200px;
    }

    .navbar.scrolled .navbar-logo {
        height: 55px;
    }

    .apply-hero {
        padding-top: 80px;
        min-height: auto;
        padding-bottom: 3rem;
    }

    .apply-hero-content {
        padding: 2rem 1rem;
    }

    .apply-hero-title {
        font-size: 2.2rem;
    }

    .apply-hero-subtitle {
        font-size: 1rem;
    }

    .hero-floating-icons {
        display: none;
    }

    .form-floating-icons {
        display: none;
    }

    .step-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        border-radius: 14px;
        margin-bottom: 1rem;
    }

    .apply-hero {
        min-height: auto;
        padding-top: 80px;
        padding-bottom: 2rem;
    }

    .apply-hero-content {
        padding: 1.5rem 0;
    }

    .apply-form-section,
    .process-section,
    .why-apply-section {
        padding: 2rem 0;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .contact-form-header h3 {
        font-size: 1.5rem;
    }

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

    .form-group-modern {
        margin-bottom: 0.8rem;
    }

    .form-label-modern {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }

    .form-input-modern {
        padding: 0.75rem 0.9rem;
        font-size: 0.9rem;
    }

    .form-textarea-modern {
        min-height: 80px;
    }

    .btn-submit-modern {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }

    .process-card,
    .why-apply-card {
        padding: 2rem 1.5rem;
    }

    .process-card h2,
    .why-apply-card h2 {
        font-size: 1.8rem;
        margin-bottom: 2.5rem;
    }

    .process-grid,
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .process-step,
    .feature-item {
        padding: 1.6rem 1.2rem;
    }

    .process-step {
        min-height: 210px;
        padding: 1.9rem 1.4rem;
    }

    .process-step::after {
        font-size: 1.9rem;
        top: 0.8rem;
        right: 0.8rem;
    }

    .process-step h4,
    .feature-item h5 {
        font-size: 1rem;
    }

    .process-step p,
    .feature-item p {
        font-size: 0.85rem;
    }

    .feature-item i {
        width: 56px;
        height: 56px;
        font-size: 1.45rem;
        border-radius: 14px;
        margin-bottom: 1rem;
    }

    .feature-item::after {
        font-size: 1.8rem;
        top: 0.7rem;
        right: 0.7rem;
    }

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

    .footer-brand {
        grid-column: 1;
    }

    .footer-logo-img {
        height: 45px;
    }

    .footer-nav-title {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .footer-social-icons {
        gap: 0.75rem;
    }

    .footer-social-link {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .footer-copyright {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .apply-hero-title {
        font-size: 1.8rem;
    }

    .contact-form-header h3 {
        font-size: 1.3rem;
    }

    .form-input-modern {
        padding: 0.9rem 1rem;
        font-size: 0.95rem;
    }

    .btn-submit-modern {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .process-step,
    .feature-item {
        padding: 1.4rem 1rem;
    }

    .feature-item::after {
        font-size: 1.6rem;
        top: 0.6rem;
        right: 0.6rem;
    }

    .process-step {
        min-height: 190px;
        padding: 1.7rem 1.1rem;
    }

    .footer-modern {
        padding: 2.5rem 0 1.5rem;
    }

    .footer-logo-img {
        height: 40px;
    }

    .footer-tagline {
        font-size: 0.9rem;
    }

    .footer-social-link {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

/* ==================== */
/* Referans Info Button */
/* ==================== */
.ref-info-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: none;
    background: rgba(0, 194, 216, 0.12);
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    margin-left: 0.4rem;
    transition: all 0.3s ease;
    vertical-align: middle;
}

.ref-info-btn i {
    font-size: 0.75rem;
    color: var(--primary-cyan);
    line-height: 1;
}

.ref-info-btn:hover {
    background: var(--primary-cyan);
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(0, 194, 216, 0.3);
}

.ref-info-btn:hover i {
    color: var(--white);
}

/* ==================== */
/* Referans Info Modal  */
/* ==================== */
.ref-info-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.ref-info-modal.active {
    opacity: 1;
    visibility: visible;
}

.ref-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
}

.ref-modal-content {
    position: relative;
    width: 90%;
    max-width: 480px;
    background: var(--white);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    max-height: 90vh;
    overflow-y: auto;
}

.ref-info-modal.active .ref-modal-content {
    transform: translateY(0) scale(1);
}

.ref-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.ref-modal-close:hover {
    background: rgba(255, 46, 136, 0.1);
    color: var(--primary-pink);
    transform: rotate(90deg);
}

.ref-modal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.ref-modal-icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--white);
    box-shadow: 0 8px 20px rgba(0, 194, 216, 0.25);
    flex-shrink: 0;
}

.ref-modal-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--black);
    margin: 0;
}

.ref-modal-body p {
    font-size: 0.92rem;
    color: rgba(0, 0, 0, 0.6);
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

/* ==================== */
/* Referans Gallery     */
/* ==================== */
.ref-modal-gallery {
    width: 100%;
    margin-bottom: 1.2rem;
}

.ref-gallery-slider {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(0, 0, 0, 0.06);
    background: #F8F9FA;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ref-gallery-slide {
    display: none;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.ref-gallery-slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    max-height: 500px;
    margin: 0 auto;
}

.ref-gallery-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.ref-gallery-prev,
.ref-gallery-next {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(0, 194, 216, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--primary-cyan);
    font-size: 1.1rem;
}

.ref-gallery-prev:hover,
.ref-gallery-next:hover {
    background: var(--primary-cyan);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 194, 216, 0.3);
}

.ref-gallery-dots {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ref-gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 194, 216, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.ref-gallery-dot.active {
    background: var(--primary-cyan);
    width: 12px;
    height: 12px;
    box-shadow: 0 0 0 3px rgba(0, 194, 216, 0.2);
}

.ref-gallery-dot:hover {
    background: var(--primary-cyan);
    transform: scale(1.2);
}

.ref-modal-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.8rem 1rem;
    background: rgba(0, 194, 216, 0.06);
    border: 1px solid rgba(0, 194, 216, 0.12);
    border-radius: 12px;
    font-size: 0.82rem !important;
    color: rgba(0, 0, 0, 0.55) !important;
    margin-bottom: 0 !important;
}

.ref-modal-note i {
    color: var(--primary-cyan);
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

@media (max-width: 576px) {
    .ref-modal-content {
        padding: 1.8rem;
        border-radius: 20px;
        margin: 0 1rem;
    }

    .ref-modal-header h3 {
        font-size: 1.05rem;
    }

    .ref-modal-icon {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }

    .ref-gallery-slider {
        min-height: 300px;
    }

    .ref-gallery-slide img {
        max-height: 350px;
    }

    .ref-gallery-prev,
    .ref-gallery-next {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .ref-gallery-dot {
        width: 8px;
        height: 8px;
    }

    .ref-gallery-dot.active {
        width: 10px;
        height: 10px;
    }
}
