/* Buttons */
/* Form Elements */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-dim);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input, 
.form-group textarea, 
.form-group select,
.form-control {
    width: 100%;
    padding: 14px 18px;
    background: #1a1a1e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus, 
.form-group textarea:focus, 
.form-group select:focus,
.form-control:focus {
    border-color: var(--primary-color);
    background: rgba(184, 140, 252, 0.05);
    box-shadow: 0 0 15px rgba(184, 140, 252, 0.1);
}

.form-group select option {
    background: #1a1a1e;
    color: #fff;
    padding: 10px;
}

.form-group input[type="file"] {
    padding: 10px;
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* magnetic-btn and others... */
.magnetic-btn {
    background: var(--primary-color);
    color: var(--bg-dark);
    padding: 18px 35px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.magnetic-btn:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(184, 140, 252, 0.2);
}

.cv-download {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.cv-download:hover {
    opacity: 0.8;
}

.submit-btn {
    background: var(--primary-color);
    color: var(--bg-dark);
    border: none;
    padding: 18px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.nav-register-btn {
    background: var(--primary-color);
    color: var(--bg-dark) !important;
    padding: 8px 20px !important;
    border-radius: 50px;
    font-weight: 700 !important;
    transition: all 0.3s ease;
    margin-left: 15px;
}

@media (max-width: 991px) {
    .nav-register-btn {
        width: 100%;
        padding: 16px !important;
        font-size: 1rem !important;
        margin-left: 0 !important;
        text-align: center;
        justify-content: center;
        border-radius: 15px !important;
        background: linear-gradient(135deg, var(--primary-color), #8e2de2) !important;
        border: none !important;
        box-shadow: 0 10px 20px rgba(184, 140, 252, 0.2) !important;
        color: #fff !important;
    }
}

.nav-register-btn:hover {
    box-shadow: 0 5px 15px rgba(184, 140, 252, 0.4);
    transform: translateY(-2px);
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideInDown 0.4s ease;
}

.alert-success {
    background: rgba(184, 140, 252, 0.1);
    color: #b88cfc;
    border: 1px solid rgba(184, 140, 252, 0.2);
}

.alert-danger {
    background: rgba(255, 95, 86, 0.1);
    color: #ff5f56;
    border: 1px solid rgba(255, 95, 86, 0.2);
}

/* Tech Icons */
.tech-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--text-dim);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    animation: float 4s ease-in-out infinite;
}

.tech-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent, rgba(255,255,255,0.05));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.tech-icon i {
    transition: all 0.4s ease;
}

/* Individual Tech Colors & Delays */
.tech-icon.html { animation-delay: 0s; }
.tech-icon.css { animation-delay: 0.1s; }
.tech-icon.js { animation-delay: 0.2s; }
.tech-icon.php { animation-delay: 0.3s; }
.tech-icon.laravel { animation-delay: 0.4s; }
.tech-icon.react { animation-delay: 0.5s; }
.tech-icon.vue { animation-delay: 0.6s; }
.tech-icon.node { animation-delay: 0.7s; }
.tech-icon.python { animation-delay: 0.8s; }
.tech-icon.bootstrap { animation-delay: 0.9s; }

.tech-icon.html:hover { color: #e34f26; border-color: rgba(227, 79, 38, 0.4); box-shadow: 0 0 20px rgba(227, 79, 38, 0.2); }
.tech-icon.css:hover { color: #264de4; border-color: rgba(38, 77, 228, 0.4); box-shadow: 0 0 20px rgba(38, 77, 228, 0.2); }
.tech-icon.js:hover { color: #f7df1e; border-color: rgba(247, 223, 30, 0.4); box-shadow: 0 0 20px rgba(247, 223, 30, 0.2); }
.tech-icon.php:hover { color: #777bb4; border-color: rgba(119, 123, 180, 0.4); box-shadow: 0 0 20px rgba(119, 123, 180, 0.2); }
.tech-icon.laravel:hover { color: #ff2d20; border-color: rgba(255, 45, 32, 0.4); box-shadow: 0 0 20px rgba(255, 45, 32, 0.2); }
.tech-icon.react:hover { color: #61dafb; border-color: rgba(97, 218, 251, 0.4); box-shadow: 0 0 20px rgba(97, 218, 251, 0.2); }
.tech-icon.vue:hover { color: #4fc08d; border-color: rgba(79, 192, 141, 0.4); box-shadow: 0 0 20px rgba(79, 192, 141, 0.2); }
.tech-icon.node:hover { color: #339933; border-color: rgba(51, 153, 51, 0.4); box-shadow: 0 0 20px rgba(51, 153, 51, 0.2); }
.tech-icon.python:hover { color: #3776ab; border-color: rgba(55, 118, 171, 0.4); box-shadow: 0 0 20px rgba(55, 118, 171, 0.2); }
.tech-icon.bootstrap:hover { color: #7952b3; border-color: rgba(121, 82, 179, 0.4); box-shadow: 0 0 20px rgba(121, 82, 179, 0.2); }

.tech-icon:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-12px) scale(1.1);
}

.tech-icon:hover i {
    animation: iconGlow 2s ease-in-out infinite;
    transform: scale(1.1);
}

/* Stat Box */
.stat-box {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px;
    transition: var(--transition);
}

.stat-icon-wrapper {
    width: 65px;
    height: 65px;
    background: rgba(184, 140, 252, 0.05);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(184, 140, 252, 0.1);
    position: relative;
    transition: all 0.4s ease;
}

.stat-icon {
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: all 0.4s ease;
    animation: float 4s ease-in-out infinite;
}

.stat-box:hover .stat-icon-wrapper {
    background: rgba(184, 140, 252, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-5px) rotate(5deg);
}

.stat-box:hover .stat-icon {
    animation: iconGlow 2s ease-in-out infinite;
    transform: scale(1.2);
}

.stat-box strong {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -1px;
}

.stat-box span {
    color: var(--text-dim);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Work Cards */
.work-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    height: 450px;
}

.work-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
}

.work-card .work-img {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
    position: relative;
    padding: 60px;
}

.work-card .work-img::before {
    content: '•••';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    z-index: 1;
    display: flex;
    align-items: center;
    padding-left: 20px;
    color: rgba(255,255,255,0.2);
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.work-card img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 150px;
    object-fit: contain;
    transition: var(--transition);
    opacity: 0.9;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

.work-card:hover img {
    opacity: 1;
    transform: scale(1.05);
}

.work-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(21, 21, 21, 0.8) !important;
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
    z-index: 5;
}

.work-info span {
    color: var(--accent-color) !important;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}

.work-info h3 {
    color: var(--text-main);
    font-size: 1.2rem;
}

.work-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 16px;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.work-link:hover {
    background: var(--primary-color);
    color: #000;
}

.work-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.work-link:hover i {
    transform: translate(3px, -3px);
}
