/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #64ffda;
    --secondary-color: #112240;
    --text-color: #a6adc0;
    --background-color: #0a192f;
    --heading-color: #ccd6f6;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Calibre', 'Inter', 'San Francisco', 'SF Pro Text', -apple-system, system-ui, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1;
    overflow-x: hidden;
}

/* Custom Cursor */
.cursor {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 999;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 999;
    transition: transform 0.1s;
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.1rem 3%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    color: var(--primary-color);
    font-size: 4rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin-left: auto;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    color: var(--heading-color);
    margin-bottom: 1rem;
}

.highlight {
    color: var(--primary-color);
}

.typing-text {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    margin-right: 1rem;
}

.primary {
    background-color: var(--primary-color);
    color: var(--background-color);
}

.secondary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.2);
}

/* About Section */
.about {
    padding: 3rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.about h2 {
    color: var(--heading-color);
    font-size: 3rem;
    margin-bottom: 3rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.skill-tags span {
    background-color: var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    color: var(--primary-color);
}

/* Projects Section */
.projects {
    padding: 5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.projects h2 {
    color: var(--heading-color);
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.project-card {
    background-color: var(--secondary-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-image img {
    width: 30%;
    height: 180px;
    object-fit: cover;
}
.project1-image img {
    width: 100%;
    height: 60px;
    object-fit: cover;
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    color: var(--heading-color);
    margin-bottom: 0.5rem;
}

.project-links {
    margin-top: 1rem;
}

.project-links a {
    color: var(--text-color);
    margin-right: 1rem;
    transition: color 0.3s;
}

.project-links a:hover {
    color: var(--primary-color);
}

/* Contact Section */
.contact {
    padding: 5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.contact h2 {
    color: var(--heading-color);
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    background-color: var(--secondary-color);
    border: 1px solid var(--text-color);
    border-radius: 4px;
    color: var(--text-color);
}

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

/* Footer */
footer {
    padding: 2rem 5%;
    text-align: center;
    background-color: var(--secondary-color);
}

.social-links {
    margin-bottom: 1rem;
}

.social-links a {
    color: var(--text-color);
    font-size: 1.5rem;
    margin: 0 1rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .burger {
        display: block;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.about-content,
.project-card,
.contact-content {
    animation: fadeIn 1s ease-out;
}
/* profile picture */
.profile-image {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 10%;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.profile-image:hover {
    transform: scale(2.2);
}

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

.profile-image:hover img {
    transform: scale(0.5);
}

.profile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-overlay span {
    color: var(--primary-color);
    font-size: 0.8rem;
    text-align: center;
}

.profile-image:hover .profile-overlay {
    opacity: 1;
}

/* Add a subtle animation for the profile image */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(100, 255, 218, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(100, 255, 218, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(100, 255, 218, 0);
    }
}

.profile-image {
    animation: pulse 2s infinite;
} 
/* .academic{
    padding: 5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.academic h2 {
    color: var(--heading-color);
    font-size: 2.5rem;
    margin-bottom: 3rem;
} */
.menu-button {
    position: relative;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1000;
}

.menu-button i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.menu-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--secondary-color);
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    padding: 1rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.menu-button:hover .menu-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-dropdown li {
    padding: 0.5rem 1.5rem;
    transition: background-color 0.3s ease;
}

.menu-dropdown li:hover {
    background-color: rgba(100, 255, 218, 0.1);
}

.menu-dropdown a {
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.menu-dropdown a:hover {
    color: var(--primary-color);
}

.menu-dropdown i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
} 
/* Quote Section */
.quote-section {
    padding: 4rem 7%;
    margin-top: 100px; /* To account for fixed header */
    position: relative;
}

.quote-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgb(0, 0, 0);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quote-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgb(0, 0, 0);
}

blockquote {
    font-size: 1.5rem;
    color: var(--heading-color);
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    padding-left: 2rem;
    line-height: 1.6;
}

blockquote::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    position: absolute;
    left: -1rem;
    top: -0.5rem;
    opacity: 0.3;
}

.signature {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 2rem;
    position: relative;
}

.signature-line {
    width: 150px;
    height: 2px;
    background-color: var(--primary-color);
    margin-bottom: 0.5rem;
    position: relative;
}

.signature-line::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    border-radius: 50%;
    top: -4px;
    left: 0;
}

.signature p {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 500;
    font-family: 'Dancing Script', cursive;
}
