/* Base styles */
:root {
    /* Light mode colors */
    --primary: #9333ea;
    --primary-light: #a855f7;
    --primary-dark: #7e22ce;
    --secondary: #3b82f6;
    --secondary-light: #60a5fa;
    --secondary-dark: #2563eb;
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --text-light: #9ca3af;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --bg-dark: #111827;
    --card-bg: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  }
  
  /* Dark mode colors */
  .dark {
    --primary: #a855f7;
    --primary-light: #c084fc;
    --primary-dark: #7e22ce;
    --secondary: #60a5fa;
    --secondary-light: #93c5fd;
    --secondary-dark: #3b82f6;
    --text-primary: #f9fafb;
    --text-secondary: #e5e7eb;
    --text-light: #9ca3af;
    --bg-light: #111827;
    --bg-white: #1f2937;
    --bg-dark: #030712;
    --card-bg: #1f2937;
    --border-color: #374151;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-light);
    line-height: 1.5;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
  }

  /* Add this to your existing CSS */
.logo-container {
    position: relative;
    width: 16rem;
    height: 16rem;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: pulse 3s infinite;
  }
  
  .logo-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: contain;
    box-shadow: var(--shadow-lg);
  }
  
  /* Remove these styles if they exist in your CSS */
  .logo-animation,
  .logo-outer-circle,
  .logo-inner-circle,
  .logo-text-container,
  .floating-icon,
  .floating-icon-1,
  .floating-icon-2 {
    /* These will be overridden by the new logo */
  }
  
  /* Typography */
  h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  ul {
    list-style-position: inside;
  }
  
  .section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
  }
  
  @media (min-width: 768px) {
    .section-title {
      font-size: 2.5rem;
    }
  }
  
  .gradient-text {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  
  /* Header */
  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 1rem 0;
  }
  
  .header.scrolled {
    padding: 0.5rem 0;
  }
  
  .header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .logo-circle {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
  }
  
  .logo-circle.small {
    width: 2rem;
    height: 2rem;
    font-size: 0.75rem;
  }
  
  .logo-text {
    font-weight: 700;
    font-size: 1.25rem;
  }
  
  .header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  
  .dark-mode-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.3s ease;
  }
  
  .dark-mode-toggle:hover {
    background-color: rgba(0, 0, 0, 0.05);
  }
  
  .dark .dark-mode-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
  
  .sun-icon {
    display: none;
  }
  
  .moon-icon {
    display: block;
  }
  
  .dark .sun-icon {
    display: block;
  }
  
  .dark .moon-icon {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
  }
  
  .desktop-nav {
    display: none;
  }
  
  .mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    padding: 1rem;
    transition: all 0.3s ease;
  }
  
  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  .nav-link:hover {
    color: var(--primary);
  }
  
  .hidden {
    display: none;
  }
  
  @media (min-width: 768px) {
    .mobile-menu-toggle {
      display: none;
    }
    
    .desktop-nav {
      display: flex;
      align-items: center;
      gap: 1.5rem;
    }
  }
  
  /* Hero Section */
  .hero {
    padding-top: 6rem;
    padding-bottom: 4rem;
    background: linear-gradient(to bottom, var(--bg-white), var(--bg-light));
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  
  .hero-image {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  .logo-animation {
    position: relative;
    width: 16rem;
    height: 16rem;
  }
  
  .logo-outer-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 3s infinite;
  }
  
  .logo-inner-circle {
    width: 95%;
    height: 95%;
    border-radius: 50%;
    background-color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .logo-text-container {
    text-align: center;
  }
  
  .logo-text-container .gradient-text {
    font-size: 1.75rem;
    font-weight: 700;
  }
  
  .small-text {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.5rem;
  }
  
  .floating-icon {
    position: absolute;
    background-color: var(--bg-white);
    border-radius: 50%;
    padding: 0.5rem;
    box-shadow: var(--shadow);
    animation: bounce 3s infinite;
  }
  
  .floating-icon svg {
    color: var(--primary);
  }
  
  .floating-icon-1 {
    top: -1rem;
    right: -1rem;
  }
  
  .floating-icon-2 {
    bottom: -1rem;
    left: -1rem;
    animation-delay: 0.5s;
  }
  
  .hero-text {
    text-align: center;
    max-width: 32rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
  }
  
  .hero-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
  }
  
  .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }
  
  @media (min-width: 768px) {
    .hero {
      padding-top: 8rem;
      padding-bottom: 6rem;
    }
    
    .hero-content {
      flex-direction: row;
      gap: 4rem;
    }
    
    .hero-image {
      width: 50%;
      justify-content: flex-end;
    }
    
    .hero-text {
      width: 50%;
      text-align: left;
    }
    
    .hero-title {
      font-size: 3.5rem;
    }
    
    .hero-buttons {
      justify-content: flex-start;
    }
  }
  
  /* Buttons */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
  }
  
  .btn-primary {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    box-shadow: var(--shadow);
  }
  
  .btn-primary:hover {
    transform: translateY(-0.25rem);
    box-shadow: var(--shadow-md);
  }
  
  .btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
  }
  
  .btn-outline:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-0.25rem);
  }
  
  .btn-download {
    background-color: var(--bg-white);
    border: 2px solid var(--secondary);
    color: var(--secondary);
  }
  
  .btn-download:hover {
    background-color: var(--secondary);
    color: white;
    transform: translateY(-0.25rem);
  }
  
  .download-icon {
    transition: transform 0.3s ease;
  }
  
  .btn-download:hover .download-icon {
    transform: translateY(2px);
  }
  
  .btn-full {
    width: 100%;
  }
  
  /* About Section */
  .about {
    padding: 4rem 0;
  }
  
  .about-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  
  .about-text, .about-cards {
    width: 100%;
  }
  
  .card {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    transition: all 0.5s ease;
  }
  
  .card:hover {
    box-shadow: var(--shadow-lg);
  }
  
  .card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
  }
  
  .card p:last-child {
    margin-bottom: 0;
  }
  
  .grid-2 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
  }
  
  .feature-card {
    background-color: var(--card-bg);
    padding: 1.25rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
  }
  
  .feature-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: var(--shadow-lg);
  }
  
  .feature-icon {
    color: var(--primary);
    margin-bottom: 0.75rem;
  }
  
  .feature-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
  }
  
  .feature-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
  }
  
  @media (min-width: 768px) {
    .about-content {
      flex-direction: row;
      gap: 4rem;
    }
    
    .about-text, .about-cards {
      width: 50%;
    }
    
    .grid-2 {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  /* Skills Section */
  .skills {
    padding: 4rem 0;
    background-color: var(--bg-light);
  }
  
  .skills-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
    max-width: 48rem;
    margin: 0 auto;
  }
  
  .skill-card {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
  }
  
  .skill-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: var(--shadow-lg);
  }
  
  .skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
  }
  
  .skill-header h3 {
    font-size: 1.125rem;
  }
  
  .skill-header span {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
  }
  
  .skill-bar-bg {
    width: 100%;
    height: 0.625rem;
    background-color: var(--border-color);
    border-radius: 9999px;
    overflow: hidden;
  }
  
  .skill-bar {
    height: 100%;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 9999px;
    width: 0;
    animation: skillBar 1s ease-out forwards;
  }
  
  .languages {
    margin-top: 4rem;
  }
  
  .languages-title {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .language-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }
  
  .language-badge {
    background-color: var(--card-bg);
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
  }
  
  .language-badge:hover {
    transform: translateY(-0.5rem);
    box-shadow: var(--shadow-lg);
  }
  
  .language-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
  }
  
  .native {
    background-color: #10b981;
  }
  
  .fluent {
    background-color: #3b82f6;
  }
  
  .intermediate {
    background-color: #f59e0b;
  }
  
  @media (min-width: 768px) {
    .skills-container {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  /* Experience Section */
  .experience {
    padding: 4rem 0;
  }
  
  .timeline {
    position: relative;
    max-width: 48rem;
    margin: 0 auto;
  }
  
  .timeline-line {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0.125rem;
    background-color: var(--border-color);
  }
  
  .timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 2rem;
  }
  
  .timeline-dot {
    position: absolute;
    left: 0;
    top: 0;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transform: translateX(-0.5625rem);
    z-index: 10;
  }
  
  .timeline-date {
    margin-bottom: 1rem;
  }
  
  .timeline-date span {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(147, 51, 234, 0.1);
    color: var(--primary);
    border-radius: 9999px;
    font-weight: 500;
  }
  
  .timeline-content {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
  }
  
  .timeline-content:hover {
    transform: translateY(-0.5rem);
    box-shadow: var(--shadow-lg);
  }
  
  .timeline-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }
  
  .timeline-company {
    color: var(--text-secondary);
    margin-bottom: 1rem;
  }
  
  .timeline-description {
    color: var(--text-secondary);
    list-style-type: disc;
    padding-left: 1rem;
  }
  
  .timeline-description li {
    margin-bottom: 0.5rem;
  }
  
  @media (min-width: 768px) {
    .timeline-line {
      left: 50%;
      transform: translateX(-50%);
    }
    
    .timeline-item {
      padding-left: 0;
      display: flex;
      justify-content: flex-end;
    }
    
    .timeline-item.right {
      justify-content: flex-start;
    }
    
    .timeline-dot {
      left: 50%;
      transform: translateX(-50%);
    }
    
    .timeline-date {
      width: 50%;
      text-align: right;
      padding-right: 2rem;
    }
    
    .timeline-item.right .timeline-date {
      order: 2;
      text-align: left;
      padding-right: 0;
      padding-left: 2rem;
    }
    
    .timeline-content {
      width: 50%;
      padding-left: 2rem;
    }
    
    .timeline-item.right .timeline-content {
      padding-left: 0;
      padding-right: 2rem;
    }
  }
  
  /* Education Section */
  .education {
    padding: 4rem 0;
    background-color: var(--bg-light);
  }
  
  .education-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
    max-width: 48rem;
    margin: 0 auto;
  }
  
  .education-card {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    display: flex;
    gap: 1rem;
    transition: all 0.3s ease;
  }
  
  .education-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: var(--shadow-lg);
  }
  
  .education-icon {
    padding: 0.75rem;
    background-color: rgba(147, 51, 234, 0.1);
    border-radius: 0.5rem;
    color: var(--primary);
  }
  
  .education-details h3 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
  }
  
  .education-period {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
  }
  
  .education-description {
    color: var(--text-secondary);
  }
  
  @media (min-width: 768px) {
    .education-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  /* Contact Section */
  .contact {
    padding: 4rem 0;
  }
  
  .contact-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 64rem;
    margin: 0 auto;
  }
  
  .contact-form-container, .contact-info-container {
    width: 100%;
    margin: auto;
  }
  
  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
  }
  
  .form-group input, .form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    outline: none;
    transition: all 0.3s ease;
    background-color: var(--bg-white);
    color: var(--text-primary);
  }
  
  .form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(147, 51, 234, 0.2);
  }
  
  .h-full {
    height: 100%;
  }
  
  .contact-info {
    margin-bottom: 2rem;
  }
  
  .contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .contact-icon {
    padding: 0.75rem;
    background-color: rgba(147, 51, 234, 0.1);
    border-radius: 0.5rem;
    color: var(--primary);
  }
  
  .contact-item h4 {
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
  }
  
  .social-links h4 {
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 1rem;
  }
  
  .social-icons {
    display: flex;
    gap: 1rem;
  }
  
  .social-icon {
    padding: 0.75rem;
    background-color: var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all 0.3s ease;
  }
  
  .social-icon:hover {
    background-color: rgba(147, 51, 234, 0.1);
    color: var(--primary);
  }
  
  @media (min-width: 768px) {
    .contact-container {
      flex-direction: row;
    }
    
    .contact-form-container, .contact-info-container {
      width: 50%;
    }
  }
  
  /* Footer */
  .footer {
    padding: 2rem 0;
    background-color: var(--bg-dark);
    color: white;
  }
  
  .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .footer-copyright {
    color: #9ca3af;
    text-align: center;
  }
  
  @media (min-width: 768px) {
    .footer-content {
      flex-direction: row;
      justify-content: space-between;
    }
    
    .footer-copyright {
      text-align: right;
    }
  }
  
  /* Back to top button */
  .back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    padding: 0.75rem;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
  }
  
  .back-to-top.visible {
    opacity: 1;
    visibility: visible;
  }
  
  .back-to-top:hover {
    transform: translateY(-0.25rem);
    box-shadow: var(--shadow-lg);
  }
  
  /* Animations */
  @keyframes pulse {
    0%, 100% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.05);
    }
  }
  
  @keyframes bounce {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-10px);
    }
  }
  
  @keyframes skillBar {
    0% {
      width: 0;
    }
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }