/* Edupin Teknoloji - Custom Styles */

.nav-link {
    color: rgb(75 85 99);
    font-weight: 500;
    transition: color 0.2s;
}
.dark .nav-link { color: rgb(209 213 219); }
.nav-link:hover { color: rgb(79 70 229); }
.dark .nav-link:hover { color: rgb(129 140 248); }

.nav-on-hero .nav-link {
    color: white;
}
.nav-on-hero .nav-link:hover {
    color: rgba(255, 255, 255, 0.8);
}
.nav-on-hero .nav-link.text-primary-600,
.nav-on-hero .nav-link.dark\:text-primary-400 {
    color: white;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(to right, rgb(79 70 229), rgb(99 102 241));
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.25);
    transition: all 0.3s;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -3px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    color: rgb(79 70 229);
    border: 2px solid rgba(99, 102, 241, 0.3);
    transition: all 0.3s;
}
.btn-secondary:hover {
    border-color: rgb(99 102 241);
    background: rgba(99, 102, 241, 0.05);
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}
.dark .glass-card {
    background: rgba(17, 24, 39, 0.7);
    border-color: rgba(55, 65, 81, 0.5);
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
@media (min-width: 768px) { .section-title { font-size: 2.5rem; } }

.section-subtitle {
    font-size: 1.125rem;
    color: rgb(107 114 128);
    max-width: 42rem;
    margin: 0 auto;
}
.dark .section-subtitle { color: rgb(156 163 175); }

.hero-gradient {
    background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 50%, #8b5cf6 100%);
}

.stat-card, .service-card, .testimonial-card {
    transition: all 0.3s;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(99, 102, 241, 0.15);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 1s;
}
.hero-slide.active { opacity: 1; z-index: 10; }

.admin-sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    color: rgb(156 163 175);
    transition: all 0.2s;
}
.admin-sidebar-link:hover { color: white; background: rgba(255,255,255,0.1); }
.admin-sidebar-link.active { color: white; background: rgba(79, 70, 229, 0.8); }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: rgb(243 244 246); }
.dark ::-webkit-scrollbar-track { background: rgb(17 24 39); }
::-webkit-scrollbar-thumb { background: rgb(129 140 248); border-radius: 9999px; }

.float-actions {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}
.whatsapp-float {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 9999px;
    background: #25d366;
    color: white;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    transition: transform 0.3s, box-shadow 0.3s;
}
.scroll-top-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border: none;
    border-radius: 9999px;
    background: rgb(79 70 229);
    color: white;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.4);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.25s, visibility 0.25s, transform 0.25s, box-shadow 0.25s;
}
.scroll-top-btn.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}
.scroll-top-btn:hover {
    box-shadow: 0 6px 28px rgba(79, 70, 229, 0.55);
    transform: scale(1.08);
}
.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}
.whatsapp-float-pulse {
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    background: #25d366;
    animation: whatsapp-pulse 2s ease-out infinite;
    z-index: -1;
}
@keyframes whatsapp-pulse {
    0% { transform: scale(1); opacity: 0.6; }
    70% { transform: scale(1.4); opacity: 0; }
    100% { transform: scale(1.4); opacity: 0; }
}

.career-roles-kicker {
    margin-bottom: 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgb(99 102 241);
}
.career-roles {
    display: grid;
    gap: 0.85rem;
}
@media (min-width: 768px) {
    .career-roles {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
}
.career-role-card {
    display: flex;
    flex-direction: column;
    padding: 1.35rem 1.5rem 1.2rem;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(17, 24, 39, 0.06);
    border-radius: 1.15rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.dark .career-role-card {
    background: rgba(17, 24, 39, 0.55);
    border-color: rgba(255, 255, 255, 0.06);
}
.career-role-card:hover {
    transform: translateY(-2px);
    border-color: rgba(99, 102, 241, 0.28);
    box-shadow: 0 14px 30px -18px rgba(79, 70, 229, 0.45);
}
.career-role-card--empty {
    grid-column: 1 / -1;
    text-align: center;
    color: rgb(107 114 128);
    padding: 2.25rem 1.5rem;
}
.career-role-card--empty:hover {
    transform: none;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    border-color: rgba(17, 24, 39, 0.06);
}
.career-role-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.85rem;
    margin-bottom: 0.55rem;
}
.career-role-card__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.35;
    color: rgb(17 24 39);
}
.dark .career-role-card__title {
    color: rgb(243 244 246);
}
.career-role-card__type {
    flex-shrink: 0;
    margin-top: 0.1rem;
    padding: 0.18rem 0.55rem;
    border-radius: 9999px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgb(79 70 229);
    background: rgba(99, 102, 241, 0.08);
}
.dark .career-role-card__type {
    color: rgb(165 180 252);
    background: rgba(99, 102, 241, 0.16);
}
.career-role-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.9rem;
    margin-bottom: 0.7rem;
    font-size: 0.78rem;
    color: rgb(107 114 128);
}
.career-role-card__meta span {
    position: relative;
}
.career-role-card__meta span + span::before {
    content: "";
    position: absolute;
    left: -0.52rem;
    top: 50%;
    width: 3px;
    height: 3px;
    border-radius: 9999px;
    background: rgb(156 163 175);
    transform: translateY(-50%);
}
.career-role-card__excerpt {
    margin: 0 0 1.05rem;
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgb(75 85 99);
}
.dark .career-role-card__excerpt {
    color: rgb(156 163 175);
}
.career-role-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: auto;
    width: fit-content;
    font-size: 0.84rem;
    font-weight: 600;
    color: rgb(79 70 229);
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: gap 0.22s ease, color 0.22s ease;
}
.career-role-card__cta svg {
    width: 0.95rem;
    height: 0.95rem;
}
.career-role-card__cta:hover {
    color: rgb(67 56 202);
    gap: 0.55rem;
}

.career-apply-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.85rem 1.25rem;
    overflow: hidden;
    isolation: isolate;
    border-radius: 0.9rem;
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 45%, #06b6d4 100%);
    background-size: 160% 160%;
    box-shadow: 0 10px 22px -8px rgba(79, 70, 229, 0.55);
    transition: transform 0.28s ease, box-shadow 0.28s ease, background-position 0.45s ease;
}
.career-apply-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.28) 50%, transparent 80%);
    transform: translateX(-120%);
    transition: transform 0.55s ease;
}
.career-apply-btn:hover {
    transform: translateY(-2px);
    background-position: 100% 50%;
    box-shadow: 0 16px 28px -10px rgba(79, 70, 229, 0.65);
    color: #fff;
}
.career-apply-btn:hover::before {
    transform: translateX(120%);
}
.career-apply-btn:active {
    transform: translateY(0);
}
.career-apply-btn:focus-visible {
    outline: 2px solid #6366f1;
    outline-offset: 3px;
}
.career-apply-btn__icon,
.career-apply-btn__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.career-apply-btn__icon {
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.career-apply-btn__icon svg,
.career-apply-btn__arrow svg {
    width: 1.05rem;
    height: 1.05rem;
}
.career-apply-btn__arrow {
    transition: transform 0.28s ease;
}
.career-apply-btn:hover .career-apply-btn__arrow {
    transform: translateX(4px);
}

.career-form-success {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 12rem;
    padding: 1.5rem 0.5rem;
    text-align: center;
}
.career-form-success[hidden] {
    display: none;
}
.career-form-success__text {
    margin: 0;
    font-size: 1.125rem;
    line-height: 1.7;
    font-weight: 600;
    color: #0f172a;
}
.dark .career-form-success__text {
    color: #e2e8f0;
}

.career-result {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}
.career-result.is-visible {
    opacity: 1;
    pointer-events: auto;
}
.career-result__card {
    width: min(100%, 26rem);
    padding: 2rem 1.75rem 1.5rem;
    border-radius: 1.25rem;
    text-align: center;
    background: #fff;
    box-shadow: 0 24px 60px -18px rgba(15, 23, 42, 0.45);
    transform: translateY(18px) scale(0.96);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.career-result.is-visible .career-result__card {
    transform: translateY(0) scale(1);
}
.dark .career-result__card {
    background: #111827;
    color: #f3f4f6;
}
.career-result__icon {
    width: 4.5rem;
    height: 4.5rem;
    margin: 0 auto 1rem;
}
.career-result__check,
.career-result__error-icon {
    width: 100%;
    height: 100%;
}
.career-result__card[data-state="success"] .career-result__error-icon,
.career-result__card[data-state="error"] .career-result__check {
    display: none;
}
.career-result__circle {
    stroke: #22c55e;
    stroke-width: 2.4;
    stroke-dasharray: 160;
    stroke-dashoffset: 160;
}
.career-result.is-visible .career-result__circle {
    animation: career-circle 0.55s ease forwards;
}
.career-result__circle--error {
    stroke: #ef4444;
}
.career-result__tick {
    stroke: #16a34a;
    stroke-width: 3.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
}
.career-result.is-visible .career-result__card[data-state="success"] .career-result__tick {
    animation: career-tick 0.35s 0.35s ease forwards;
}
.career-result__cross {
    stroke: #ef4444;
    stroke-width: 3.2;
    stroke-linecap: round;
    stroke-dasharray: 40;
    stroke-dashoffset: 40;
}
.career-result.is-visible .career-result__card[data-state="error"] .career-result__cross {
    animation: career-tick 0.35s 0.35s ease forwards;
}
.career-result__title {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.45rem;
}
.career-result__text {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
}
.dark .career-result__text {
    color: #9ca3af;
}
.career-result__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 8rem;
    padding: 0.7rem 1.25rem;
    border-radius: 0.85rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
}
.career-result__card[data-state="error"] .career-result__btn {
    background: #ef4444;
}
@keyframes career-circle {
    to { stroke-dashoffset: 0; }
}
@keyframes career-tick {
    to { stroke-dashoffset: 0; }
}
