/* CSS Variables */
:root {
    --primary-pink: #d63384;
    --secondary-pink: #e83e8c;
    --tech-accent: #6f42c1;
    --code-bg: #f8f9fa;
    --gradient-tech: linear-gradient(135deg, var(--primary-pink), var(--secondary-pink));
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fefefe;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(240, 192, 200, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: #d63384;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #555;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #d63384;
}

/* Hero Section with Tech Elements */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #ffeef8 0%, #fff5f8 100%);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

/* Techy Grid Background */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(214, 51, 132, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(214, 51, 132, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

/* Binary Animation */
@keyframes binaryRain {
    0% { transform: translateY(-100vh); }
    100% { transform: translateY(100vh); }
}

.hero::after {
    content: '01101001 01101100 01101111 01110110 01100101 01100001 01101001';
    position: absolute;
    top: -50px;
    right: 10%;
    color: rgba(214, 51, 132, 0.1);
    font-family: 'Courier New', monospace;
    font-size: 12px;
    white-space: nowrap;
    animation: binaryRain 20s linear infinite;
    pointer-events: none;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: #333;
}

.highlight {
    color: #d63384;
    font-weight: 500;
}

/* Code-style Typography */
.hero-subtitle {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 1rem;
    font-weight: 400;
    font-family: 'Courier New', monospace;
    background: linear-gradient(135deg, #d63384, #e83e8c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    color: #777;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

/* AI/ML Specific Additions */
.ai-highlight {
    background: linear-gradient(135deg, #d63384, #e83e8c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

/* Tech Button Styling */
.cta-button {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(135deg, #d63384, #e83e8c);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(214, 51, 132, 0.3);
    position: relative;
    overflow: hidden;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-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: left 0.5s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(214, 51, 132, 0.4);
}

.cta-button:hover::before {
    left: 100%;
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
    font-weight: 300;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #d63384, #e83e8c);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* Matrix-style Text Effect */
.section-title::before {
    content: '// ' attr(data-section) ' section';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: rgba(214, 51, 132, 0.6);
    font-weight: 400;
}

/* About Section with Circuit Board Pattern */
.about {
    padding: 100px 0;
    background: white;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(214, 51, 132, 0.05) 2px, transparent 2px),
        radial-gradient(circle at 80% 20%, rgba(232, 62, 140, 0.05) 2px, transparent 2px);
    background-size: 100px 100px;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.skills {
    margin-top: 2rem;
}

/* Tech Skills with Icons */
.skill-tag {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(214, 51, 132, 0.1), rgba(232, 62, 140, 0.05));
    color: #d63384;
    border-radius: 25px;
    margin: 5px 10px 5px 0;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    border: 1px solid rgba(214, 51, 132, 0.2);
    font-family: 'Courier New', monospace;
    font-weight: 400;
}

.skill-tag::before {
    content: '◆ ';
    color: #d63384;
    font-size: 0.8rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 250px;
    height: 300px;
    margin: 0 auto;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
    border: 2px solid rgba(214, 51, 132, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
}

.about-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(214, 51, 132, 0.3);
}


.image-placeholder {
    width: 250px;
    height: 300px;
    background: linear-gradient(135deg, #ffeef8, #fff5f8);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d63384;
    font-weight: 500;
    border: 2px solid rgba(214, 51, 132, 0.2);
}

/* Neural Network Animation */
@keyframes pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}


/* Work Experience Section */
.experience {
    padding: 100px 0;
    background: #fafafa;
}

.experience-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 150px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #d63384, #e83e8c);
    border-radius: 2px;
}

.experience-item {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
}

.experience-item::before {
    content: '';
    position: absolute;
    left: 142px;
    top: 20px;
    width: 20px;
    height: 20px;
    background: #d63384;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 3px rgba(214, 51, 132, 0.2);
}

.experience-date {
    color: #d63384;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: right;
    padding-top: 1rem;
}

.experience-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #d63384;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.experience-content h3 {
    color: #333;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.experience-content h4 {
    color: #d63384;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.experience-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: rgba(214, 51, 132, 0.1);
    color: #d63384;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-family: 'Courier New', monospace;
    font-weight: 500;
    border: 1px solid rgba(214, 51, 132, 0.2);
}

/* Projects Section */
.projects {
    padding: 100px 0;
    background: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-item {
    background: #fafafa;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(214, 51, 132, 0.1);
    position: relative;
}

.project-item::before {
    content: '</>';
    position: absolute;
    top: 10px;
    right: 15px;
    color: #d63384;
    font-family: 'Courier New', monospace;
    font-size: 18px;
    opacity: 0.7;
    z-index: 2;
}

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}

/* Glitch Effect on Hover */
.project-item:hover h3 {
    animation: glitch 0.3s ease-in-out;
}

@keyframes glitch {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    75% { transform: translateX(2px); }
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, #ffeef8, #fff5f8);
    border-bottom: 1px solid rgba(214, 51, 132, 0.1);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    transition: transform 0.3s ease;
}

.project-item:hover .project-image img {
    transform: scale(1.05);
}


.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.project-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    color: #d63384;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 5px 15px;
    border: 1px solid #d63384;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: #d63384;
    color: white;
}

/* Publications Section */
.publications {
    padding: 100px 0;
    background: #fafafa;
}

.publications-list {
    max-width: 800px;
    margin: 0 auto;
}

/* Publications with Code Styling */
.publication-item {
    background: linear-gradient(135deg, white, #f8f9fa);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    border-left: 4px solid #d63384;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.publication-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.publication-info h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.publication-meta {
    color: #d63384;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.publication-meta::before {
    content: '> ';
    font-family: 'Courier New', monospace;
    color: #d63384;
}

.publication-description {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.publication-link {
    color: #d63384;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.publication-link:hover {
    color: #b02a5b;
    text-decoration: underline;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: white;
}

.contact-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-intro {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    line-height: 1.7;
}

/* Contact Form Styles with Tech Touch */
.contact-form-container {
    background: #fafafa;
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Details Section */
.contact-details {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 2rem 0 3rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(214, 51, 132, 0.05), rgba(232, 62, 140, 0.03));
    border-radius: 15px;
    border: 1px solid rgba(214, 51, 132, 0.1);
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-detail-item:hover {
    color: #d63384;
}

.contact-detail-icon {
    color: #d63384;
    flex-shrink: 0;
}


/* Responsive Design */
@media (max-width: 768px) {
    .contact-details {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .contact-detail-item {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .contact-details {
        padding: 1rem;
        margin: 1.5rem 0 2rem 0;
    }
    
    .contact-detail-item {
        font-size: 0.8rem;
    }
    
    .contact-detail-icon {
        width: 16px;
        height: 16px;
    }
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

/* Social Icons Row */
.social-icons-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
    margin: 2rem 0 3rem 0;
}

.social-icon {
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px solid rgba(214, 51, 132, 0.2);
    border-radius: 50%;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(214, 51, 132, 0.1);
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(214, 51, 132, 0.3);
}

/* Individual Platform Colors on Hover */
.social-icon.linkedin:hover {
    border-color: #0077b5;
    color: #0077b5;
    background: rgba(0, 119, 181, 0.1);
}

.social-icon.github:hover {
    border-color: #333;
    color: #333;
    background: rgba(51, 51, 51, 0.1);
}

.social-icon.twitter:hover {
    border-color: #333;
    color: #333;
    background: rgba(51, 51, 51, 0.1);
}

/* Tooltip Styles */
.social-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-family: 'Courier New', monospace;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.social-icon::before {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid #333;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.social-icon:hover::after,
.social-icon:hover::before {
    opacity: 1;
    visibility: visible;
}

/* Responsive Design */
@media (max-width: 768px) {
    .social-icons-row {
        gap: 1.5rem;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
    }
    
    .social-icon svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .social-icons-row {
        gap: 1rem;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .social-icon svg {
        width: 18px;
        height: 18px;
    }
}

/* Form with Tech Touch */
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(214, 51, 132, 0.1);
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Courier New', monospace;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d63384;
    box-shadow: 0 0 0 3px rgba(214, 51, 132, 0.1), 
                0 0 20px rgba(214, 51, 132, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.submit-button {
    width: 100%;
    padding: 15px 35px;
    background: linear-gradient(135deg, #d63384, #e83e8c);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    font-family: 'Courier New', monospace;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(214, 51, 132, 0.3);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-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: left 0.5s;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(214, 51, 132, 0.4);
}

.submit-button:hover::before {
    left: 100%;
}

/* Contact Info Styles */
.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
}

.contact-item h3 {
    color: #d63384;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.contact-item p {
    color: #666;
    font-size: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-links a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #d63384;
}

/* Footer */
.footer {
    padding: 2rem 0;
    background: #fafafa;
    text-align: center;
    color: #999;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .experience-timeline::before {
        left: 30px;
    }
    
    .experience-item {
        grid-template-columns: 1fr;
        padding-left: 60px;
    }
    
    .experience-item::before {
        left: 22px;
    }
    
    .experience-date {
        text-align: left;
        margin-bottom: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .publication-item {
        padding: 1.5rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 20px 60px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .publication-item {
        padding: 1rem;
    }
    
    .experience-content {
        padding: 1.5rem;
    }
    
    .tech-stack, .project-tech {
        gap: 0.3rem;
    }
}
