/* Enhanced UI Styles for Project and Contact Sections */

/* ===== PROJECT SECTION ENHANCEMENTS ===== */




/* Project Card Enhancements */
.project-item {
    transition: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.project-item::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: rgb(16, 29, 176);
    z-index: -1;
    border-radius: 14px;
    opacity: 1;
    transition: opacity 0.4s ease;
    background-size: 200%;
    animation: gradient-shift 3s linear infinite;
}



.project-item:hover::before {
    opacity: 1;
}

.project-image {
    position: relative;
    overflow: hidden;
}

.project-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.8));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-item:hover .project-image::after {
    opacity: 1;
}

/* Technology Tags Enhancement */
.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-tag {
    padding: 0.3rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--gray-text);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}



/* Project Count Badge */

/* ===== CONTACT SECTION ENHANCEMENTS ===== */

/* Contact Container */
.contact-container {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.contact-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.1), transparent 30%);
    z-index: -1;
    animation: pulse 15s infinite linear;
}

@keyframes pulse {
    0% { transform: translate(0, 0); }
    25% { transform: translate(5%, 5%); }
    50% { transform: translate(0, 10%); }
    75% { transform: translate(-5%, 5%); }
    100% { transform: translate(0, 0); }
}

/* Contact Info Items */
.contact-item {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.2rem;
    color: var(--darker-bg);
    transition: all 0.3s ease;
}

.contact-item:hover .icon {
    transform: rotate(360deg) scale(1.1);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--gray-text);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.social-icon:hover {
    color: var(--darker-bg);
    transform: translateY(-5px) rotate(360deg);
}

.social-icon:hover::before {
    opacity: 1;
}

/* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.form-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--light-text);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.3);
    outline: none;
    background: rgba(255, 255, 255, 0.05);
}

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

.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
    opacity: 0;
    transform: translateX(10px);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Submit Button Animation */
.contact-form button {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s ease;
}

.contact-form button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.4s ease;
    z-index: -1;
}

.contact-form button:hover::before {
    left: 100%;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0.1;
    filter: blur(20px);
    z-index: -1;
}

.float-1 {
    width: 150px;
    height: 150px;
    top: -50px;
    left: -50px;
    animation: float 15s infinite ease-in-out;
}

.float-2 {
    width: 100px;
    height: 100px;
    bottom: 50px;
    right: -30px;
    animation: float 20s infinite ease-in-out reverse;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(10px, 10px) rotate(90deg); }
    50% { transform: translate(0, 20px) rotate(180deg); }
    75% { transform: translate(-10px, 10px) rotate(270deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}