/* CSS Variables */
:root {
    --text: #ffffff;
    --background: #020231;
    --primary: #2f27ce;
    --secondary: #ff00cc;
    --accent: #443dff;
    --card-bg: #0a0a3d;
    --border: #333366;
    --shadow: rgba(68, 61, 255, 0.1);
    --gradient: linear-gradient(135deg, var(--primary), var(--accent));
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation Styles */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(2, 2, 49, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #333366;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Styles */
.logo a {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 2px solid #443dff;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.logo a:hover {
    background-color: #443dff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(68, 61, 255, 0.3);
}

/* Navigation Links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 5rem;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #443dff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #443dff;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Contact Button */
.contact-btn {
    background-color: transparent;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border: 2px solid #ffffff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background-color: #2f27ce;
    border-color: #2f27ce;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(47, 39, 206, 0.3);
}

/* Mobile Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #020231;
    border-top: 1px solid #333366;
    padding: 1rem 0;
}

.mobile-menu a {
    display: block;
    color: #ffffff;
    padding: 1rem 2rem;
    text-decoration: none;
    border-bottom: 1px solid #333366;
    transition: background-color 0.3s ease;
}

.mobile-menu a:hover {
    background-color: #0a0a3d;
}

/* Section Styles */
section {
    padding: 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Theme Classes */
.section-dark {
    --text: #ffffff;
    --background: #020231;
    --primary: #2f27ce;
    --secondary: #ff00cc;
    --accent: #443dff;
    --card-bg: #0a0a3d;
    --border: #333366;
    --shadow: rgba(68, 61, 255, 0.1);
    --gradient: linear-gradient(135deg, var(--primary), var(--accent));
    background-color: var(--background) !important;
    color: var(--text);
}

.section-light {
    --text: #000000;
    --background: #cecefd;
    --primary: #3a31d8;
    --secondary: #ff00cc;
    --accent: #0600c2;
    --card-bg: #e6e6ff;
    --border: #b3b3e6;
    --shadow: rgba(6, 0, 194, 0.1);
    --gradient: linear-gradient(135deg, var(--primary), var(--accent));
    background-color: var(--background) !important;
    color: var(--text);
}

/* Light theme section subtitle */
.section-light .section-subtitle {
    color: rgba(0, 0, 0, 0.6);
}

/* Hero Section */
#hero {
    padding-top: 120px;
    min-height: 100vh;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3rem;
}

.profile-image {
    position: relative;
}

.profile-pic {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent);
    box-shadow: 0 0 30px rgba(68, 61, 255, 0.3);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.4;
    max-width: 1000px;
    margin-bottom: 2rem;
}

.name-highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.heart {
    color: var(--secondary);
    font-size: 1.2em;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient);
    color: #ffffff;
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(68, 61, 255, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text);
    border: 2px solid var(--accent);
}

.btn-secondary:hover {
    background-color: var(--accent);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(68, 61, 255, 0.3);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    color: var(--text);
    transition: all 0.3s ease;
    padding: 0; 
}

.social-link:hover {
    color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--shadow);
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.skill-category {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: transform 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
}

.category-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--accent);
    text-align: center;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.9rem 1.1rem;
}

.skill-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.4rem 0;
    border: none;
}

.skill-item:last-child {
    border: none;
}

.skill-name {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 2px solid var(--accent); 
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
    background-color: rgba(68, 61, 255, 0.08); 
    box-shadow: 0 0 8px rgba(68, 61, 255, 0.15);
    transition: all 0.3s ease;
}

.skill-name:hover {
    background-color: var(--accent);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 0 18px rgba(68, 61, 255, 0.45);
}

.skill-level {
    display: none;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.project-card {
    background-color: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 250px;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-placeholder {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
}

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

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(2, 2, 49, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    color: #ffffff;
    padding: 0.75rem;
    border-radius: 50%;
    background-color: var(--accent);
    transition: all 0.3s ease;
    line-height: 0;
}

.project-link:hover {
    background-color: var(--primary);
    transform: scale(1.1);
}

.project-content {
    padding: 2rem;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text);
}

.project-description {
    color: var(--text);
    opacity: 0.7;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    padding: 0.25rem 0.75rem;
    background-color: var(--accent);
    color: #ffffff;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Education Section */
.education-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.education-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient);
}

.education-timeline .timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 80px;
}

.education-timeline .timeline-content {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: transform 0.3s ease;
    min-width: 800px;
}

.education-timeline .timeline-content:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px var(--shadow);
}

.education-timeline .timeline-header {
    margin-bottom: 1rem;
}

.education-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.education-concentration {
    color: var(--text);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.education-institution-row {
    margin-bottom: 0.5rem;
}

.education-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.education-study-abroad {
    color: var(--text);
    opacity: 0.7;
    font-size: 0.95rem;
    font-style: italic;
    margin-top: 0.25rem;
    line-height: 1.4;
}

.education-institution {
    color: var(--accent);
    font-weight: 500;
    font-size: 1.1rem;
}

.education-period {
    color: var(--text);
    opacity: 0.7;
    font-size: 0.9rem;
}

.education-description {
    color: var(--text);
    opacity: 0.7;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.education-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Experience Section */
.experience-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 80px;
}

.timeline-dot {
    position: absolute;
    left: 22px;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--gradient);
    border-radius: 50%;
    border: 4px solid var(--background);
}

.timeline-content {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px var(--shadow);
}

.timeline-header {
    margin-bottom: 1rem;
}

.experience-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.experience-company {
    color: var(--accent);
    font-weight: 500;
    font-size: 1.1rem;
}

.experience-period {
    color: var(--text);
    opacity: 0.7;
    font-size: 0.9rem;
    float: right;
}

.experience-description {
    color: var(--text);
    opacity: 0.7;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.experience-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    padding: 0.25rem 0.75rem;
    background-color: var(--primary);
    color: #ffffff;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

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



.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px; 
    height: 50px;
    background-color: var(--background);
    border-radius: 50%;
    color: var(--accent);
    padding: 0; 
}  

.contact-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-details a {
    color: var(--text);
    opacity: 0.7;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-details a:hover {
    color: var(--accent);
    opacity: 1;
}

.contact-form {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background-color: var(--background);
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--shadow);
}

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

/* Footer */
footer {
    background-color: var(--card-bg);
    border-top: 1px solid var(--border);
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text);
    opacity: 0.7;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
    opacity: 1;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--background);
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
  }
  
  .project-card:hover .project-img {
    transform: scale(1.1);
  }
  
  .project-description {
    padding-left: 0.1rem;    
    margin-top: 0.5rem;
    list-style-position: inside; 
  }
  
  .project-description li {
    margin-bottom: 0.75rem;
    line-height: 1.5;
  }

  .experience-description {
    padding-left: 0.1rem;
    margin-top: 0.5rem;
    list-style-position: inside;
  }
  
  .experience-description li {
    margin-bottom: 0.75rem;
    line-height: 1.5;
  }
  
  #education {
    padding: 60px 0;
    min-height: auto;
}

.clickable-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: var(--card-bg);
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.clickable-card:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 20px 40px var(--shadow);
    background-color: rgba(68, 61, 255, 0.4);
}

::placeholder {
    color: rgba(255, 255, 255, 0.7);
    opacity: 1;
}

.clickable-card:hover .contact-icon svg {
    fill: #fff5f5;
    transition: fill 0.3s ease;
}

.profile-pic img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--accent);
    box-shadow: 0 0 30px rgba(68, 61, 255, 0.3);
    transition: transform 0.3s ease;
}
  
  
.profile-pic {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(68, 61, 255, 0.3);
    transition: transform 0.3s ease;
}
  
.profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    user-select: none;
}

