/* ========== GLOBAL STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #e0e0e0;
    background: #0a0e27;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ========== LOADING INDICATOR ========== */
.loading-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 39, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeOutLoading 0.8s ease-out forwards;
}

.loader {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid #00d4ff;
    border-right: 3px solid #ff006e;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeOutLoading {
    from { opacity: 1; visibility: visible; }
    to { opacity: 0; visibility: hidden; }
}

/* ========== ANIMATED BACKGROUND ========== */
.portfolio-wrapper {
    position: relative;
    min-height: 100vh;
}

.animated-bg, .animated-bg-2, .animated-bg-3 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.animated-bg {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1a4d 50%, #0d0d2d 100%);
}

.animated-bg-2 {
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 0, 110, 0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

.animated-bg-3 {
    background: 
        radial-gradient(circle at 50% 20%, rgba(100, 200, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(255, 150, 0, 0.05) 0%, transparent 40%);
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(30px); }
}

/* ========== PORTFOLIO CONTAINER ========== */
.portfolio-container {
    position: relative;
    z-index: 1;
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* ========== HEADER ========== */
.glass-header {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 80px 40px;
    text-align: center;
    margin-bottom: 80px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.glass-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translate(-100%, -100%) rotate(45deg); }
    100% { transform: translate(100%, 100%) rotate(45deg); }
}

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

.glass-header h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    color: #e0e0e0;
    font-weight: 700;
    letter-spacing: 1px;
}

.subtitle {
    font-size: 1rem;
    color: #8b8ba8;
    margin-bottom: 0;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.header-divider {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff, #ff006e);
    margin: 20px auto;
    border-radius: 2px;
}

.glitch-text {
    position: relative;
}

.glitch-text:hover {
    animation: glitch 0.3s ease-in-out;
}

@keyframes glitch {
    0%, 100% { text-shadow: 0 0 10px #00d4ff; }
    50% { text-shadow: 3px 3px 10px #ff006e; }
}

/* ========== PROFESSION CARDS ========== */
.profession-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.profession-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(0, 212, 255, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 0 20px rgba(0, 212, 255, 0.05);
    display: flex;
    flex-direction: column;
}

.profession-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(255, 0, 110, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.profession-card:hover::before {
    opacity: 1;
}

.profession-card:hover {
    transform: translateY(-20px);
    border-color: rgba(0, 212, 255, 0.8);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.3), 0 0 30px rgba(0, 212, 255, 0.2), inset 0 0 20px rgba(0, 212, 255, 0.1);
}

.card-image-wrapper {
    position: relative;
    width: 100%;
    flex-shrink: 0;
    height: 180px;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.profession-card:hover .card-image {
    transform: scale(1.1) rotate(2deg);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3), rgba(255, 0, 110, 0.3));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.profession-card:hover .card-overlay {
    opacity: 1;
}

.card-content {
    padding: 20px 20px;
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-content h2 {
    font-size: 1.2rem;
    margin-bottom: 6px;
    color: #e0e0e0;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    white-space: nowrap;
}

.card-content h2::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, transparent);
    transition: width 0.6s ease;
}

.profession-card:hover .card-content h2::after {
    width: 60%;
}

.card-content p {
    color: #8b8ba8;
    font-size: 0.85rem;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.profession-card:hover .card-content p {
    color: #a8a8c0;
}

.card-cta {
    display: inline-block;
    color: #00d4ff;
    font-size: 0.8rem;
    margin-top: auto;
    padding-top: 15px;
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.profession-card:hover .card-cta {
    color: #64c8ff;
    transform: translateX(3px);
}

.card-link {
    display: inline-block;
    color: #00d4ff;
    text-decoration: none;
    font-size: 0.8rem;
    margin-top: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.card-link:hover {
    color: #ff006e;
    transform: translateX(5px);
}

.card-clickable {
    display: block;
    text-decoration: none;
    color: inherit;
}

.card-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff, #ff006e);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.profession-card:hover .card-border {
    width: 100%;
}

/* ========== CTA SECTION ========== */
.cta-section {
    text-align: center;
    padding: 40px 40px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    margin-bottom: 80px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.cta-section h2 {
    margin-bottom: 60px;
}

.cta-button {
    background: linear-gradient(135deg, #00d4ff, #ff006e);
    color: #fff;
    border: none;
    padding: 15px 50px;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
    position: relative;
    overflow: hidden;
    display: inline-block;
    text-decoration: none;
}

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

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.6);
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-section p {
    color: #8b8ba8;
    margin-top: 15px;
    font-size: 0.9rem;
}

/* ========== FOOTER ========== */
.glass-footer {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    margin: 80px 0 0 0;
    width: 100%;
    max-width: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.footer-item {
    text-align: center;
}

.footer-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.footer-item h3 {
    color: #00d4ff;
    margin-bottom: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.footer-item p {
    color: #a0a0c0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-item a {
    color: #00ff99;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-item a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 255, 153, 0.8);
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: #8b8ba8;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.glass-footer p {
    color: #a0a0c0;
    margin-bottom: 15px;
}

.glass-footer a {
    color: inherit;
    text-decoration: none;
}

.glass-footer a[href^="tel:"] {
    color: #00d4ff;
    transition: color 0.3s ease;
}

.glass-footer a[href^="tel:"]:hover {
    color: #ff006e;
}

.highlight {
    background: linear-gradient(135deg, #00d4ff, #ff006e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 15px;
}

.social-link {
    color: #00d4ff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.social-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #ff006e);
    transition: width 0.3s ease;
}

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

.social-link:hover {
    color: #ff006e;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.animate-in {
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.animate-card {
    animation: fadeInScale 0.6s ease-out both;
}

.card-1 { animation-delay: 0.5s; }
.card-2 { animation-delay: 0.7s; }
.card-3 { animation-delay: 0.9s; }

/* ========== SCROLL ANIMATIONS ========== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal.visible.card-1 {
    animation-delay: 0s;
}

.scroll-reveal.visible.card-2 {
    animation-delay: 0.2s;
}

.scroll-reveal.visible.card-3 {
    animation-delay: 0.4s;
}

.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.scroll-reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.scroll-reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
    .glass-header h1 {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .profession-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .profession-card:hover {
        transform: translateY(-15px) scale(1);
    }

    .cta-button {
        padding: 12px 40px;
        font-size: 1rem;
    }
}

/* ========== WEB DESIGN PAGE STYLES ========== */
.back-link {
    display: inline-block;
    color: #8b8ba8;
    text-decoration: none;
    margin-bottom: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.back-link:hover {
    color: #00d4ff;
    transform: translateX(-5px);
}

/* Tech Stack Section */
.tech-stack-section {
    margin-bottom: 80px;
}

.tech-stack-section h2 {
    font-size: 2rem;
    color: #e0e0e0;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 600;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.tech-card {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 0 20px rgba(0, 212, 255, 0.05);
}

.tech-card:hover {
    border-color: rgba(0, 212, 255, 0.8);
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.3), 0 0 30px rgba(0, 212, 255, 0.2), inset 0 0 20px rgba(0, 212, 255, 0.1);
}

.tech-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.tech-card h3 {
    font-size: 1.3rem;
    color: #e0e0e0;
    margin-bottom: 10px;
    font-weight: 500;
}

.tech-card p {
    color: #8b8ba8;
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Features Section */
.features-section {
    margin-bottom: 80px;
}

.features-section h2 {
    font-size: 2rem;
    color: #e0e0e0;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 600;
}

.section-description {
    font-size: 0.95rem;
    color: #8b8ba8;
    text-align: center;
    margin-bottom: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    font-weight: 300;
    letter-spacing: 0.3px;
}

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

.feature-item {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 0 20px rgba(0, 212, 255, 0.05);
}

.feature-item:hover {
    border-color: rgba(0, 212, 255, 0.8);
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.3), 0 0 30px rgba(0, 212, 255, 0.2);
}

.feature-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00d4ff, #ff006e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 1.3rem;
    color: #e0e0e0;
    margin-bottom: 10px;
    font-weight: 500;
}

.feature-item p {
    color: #8b8ba8;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Timeline Section */
.process-section {
    margin-bottom: 80px;
}

.process-section h2 {
    font-size: 2rem;
    color: #e0e0e0;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 600;
}

.timeline {
    display: grid;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    padding: 25px 30px;
    position: relative;
    padding-left: 80px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 0 20px rgba(0, 212, 255, 0.05);
}

.timeline-item:hover {
    border-color: rgba(0, 212, 255, 0.8);
    transform: translateX(15px);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.3), 0 0 30px rgba(0, 212, 255, 0.2);
}

.timeline-marker {
    position: absolute;
    left: 20px;
    top: 25px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #00d4ff, #ff006e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.timeline-item h3 {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-bottom: 8px;
    font-weight: 500;
}

.timeline-item p {
    color: #8b8ba8;
    font-size: 0.9rem;
    line-height: 1.6;
}
/* ========== PAGE TRANSITION ANIMATIONS ========== */

/* Loading Spinner */
.page-transition-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 39, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    pointer-events: none;
}

.page-transition-loader.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.transition-spinner {
    width: 80px;
    height: 80px;
    position: relative;
}

.transition-spinner::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70px;
    height: 70px;
    margin-top: -35px;
    margin-left: -35px;
    border: 4px solid transparent;
    border-top-color: #00d4ff;
    border-right-color: #ff006e;
    border-radius: 50%;
    animation: transitionSpin 1s linear infinite;
}

.transition-spinner::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    margin-left: -20px;
    border: 3px solid transparent;
    border-bottom-color: #00d4ff;
    border-left-color: #ff006e;
    border-radius: 50%;
    animation: transitionSpin 1.5s linear infinite reverse;
}

@keyframes transitionSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Transition Overlay */
.page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(255, 0, 110, 0.1));
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    pointer-events: none;
}

.page-transition-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Page Exit Animation */
@keyframes pageExit {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.95);
    }
}

/* Page Enter Animation */
@keyframes pageEnter {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Fade out body on page exit */
body.page-exiting {
    animation: pageExit 0.4s ease forwards;
}

/* Content fade in effect */
.portfolio-wrapper {
    animation: pageEnter 0.6s ease-out;
}

/* Back link styling s hover efektem */
.back-link {
    display: inline-block;
    color: #00d4ff;
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    position: relative;
}

.back-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #ff006e);
    transition: width 0.3s ease;
}

.back-link:hover::before {
    width: 100%;
}

/* ========== CONTACT PAGE ========== */
.contact-info-section {
    margin-bottom: 80px;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 20px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 0 20px rgba(0, 212, 255, 0.05);
}

.contact-card:hover {
    border-color: rgba(0, 212, 255, 0.8);
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.3), 0 0 30px rgba(0, 212, 255, 0.2);
}

.contact-card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.contact-card h3 {
    color: #00d4ff;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.contact-card p {
    color: #a0a0c0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-card a {
    color: #00ff99;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-card a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 255, 153, 0.8);
}

/* Contact Form Section */
.contact-form-section {
    max-width: 700px;
    margin: 0 auto 80px;
}

.contact-form-section h2 {
    font-size: 2rem;
    color: #e0e0e0;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 600;
}

.form-success,
.form-error {
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-success {
    background: rgba(0, 255, 153, 0.1);
    border: 2px solid rgba(0, 255, 153, 0.4);
    color: #00ff99;
}

.form-error {
    background: rgba(255, 0, 110, 0.1);
    border: 2px solid rgba(255, 0, 110, 0.4);
    color: #ff006e;
}

.success-icon,
.error-icon {
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.contact-form {
    background: rgba(255, 255, 255, 0.02);
    border: 2px solid rgba(0, 212, 255, 0.15);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: #e0e0e0;
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    color: #e0e0e0;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #6b6b7a;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.6);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.submit-btn {
    width: 100%;
    padding: 14px 30px;
    background: linear-gradient(135deg, #00d4ff, #00ff99);
    color: #000;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.submit-btn:active {
    transform: translateY(-1px);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ========== LOADING BUTTON ========== */
.btn-loading {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-loading .btn-content {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.3s ease;
}

.btn-loading.is-loading .btn-content {
    opacity: 0;
    pointer-events: none;
}

.btn-loading .btn-spinner {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.btn-loading.is-loading .btn-spinner {
    opacity: 1;
    visibility: visible;
}

.btn-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: spinLoader 0.8s linear infinite;
}

@keyframes spinLoader {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Form Field Validation */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes pulse-error {
    0%, 100% { box-shadow: 0 0 15px rgba(255, 107, 107, 0.15); }
    50% { box-shadow: 0 0 30px rgba(255, 107, 107, 0.4); }
}

.form-error-message {
    display: block;
    color: #ff4757;
    font-size: 0.9rem;
    margin-top: 8px;
    min-height: 1.5em;
    animation: slideDown 0.3s ease-out;
    font-weight: 600;
    letter-spacing: 0.3px;
    position: relative;
    padding-left: 24px;
}

.error-icon {
    font-size: 1rem;
    font-weight: 700;
    margin-right: 6px;
}

.form-group input.has-error:not(:placeholder-shown),
.form-group textarea.has-error {
    border-color: #ff4757 !important;
    background: rgba(255, 71, 87, 0.08) !important;
    box-shadow: 0 0 20px rgba(255, 71, 87, 0.25) !important;
    animation: shake 0.4s ease-out 1, pulse-error 2s ease-in-out infinite;
}

.form-group input.has-error::placeholder,
.form-group textarea.has-error::placeholder {
    color: #ff7788;
}

.form-group {
    position: relative;
}

.form-group input.has-error,
.form-group textarea.has-error {
    border-width: 2px !important;
}

/* Success animation na fieldu */
.form-group input:valid:not(:placeholder-shown):not(.has-error),
.form-group textarea:valid:not(:placeholder-shown):not(.has-error) {
    border-color: rgba(0, 255, 153, 0.6) !important;
    box-shadow: 0 0 20px rgba(0, 255, 153, 0.25) !important;
}.back-link:hover {
    color: #ff006e;
    padding-left: 5px;
}

.btn-link {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
    transition: color 0.3s ease;
}

.btn-link:hover {
    color: var(--text-color);
}

/* ========== ERROR PAGE STYLES ========== */
.error-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
}

.error-code {
    font-size: 10rem;
    font-weight: 900;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #00d4ff, #ff006e);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 30px;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
    line-height: 1;
}

.error-message {
    font-size: 1.8rem;
    color: #e0e0e0;
    margin-bottom: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.error-description {
    color: #8b8ba8;
    font-size: 1.05rem;
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-link {
    display: inline-block;
    background: linear-gradient(135deg, #00d4ff, #ff006e);
    color: #fff;
    border: none;
    padding: 15px 50px;
    font-size: 1.05rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 0.8px;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    max-width: fit-content;
}

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

.cta-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.6);
}

.cta-link:hover::before {
    width: 300px;
    height: 300px;
}

@media (max-width: 768px) {
    .error-code {
        font-size: 5rem;
    }

    .error-message {
        font-size: 1.5rem;
    }

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

    .cta-link {
        padding: 12px 40px;
        font-size: 0.95rem;
    }
}