/* ===== CSS VARIABLES ===== */
:root {
    /* Portfolio Theme (Default - Dark) */
    --primary-color: #0ef;
    --secondary-color: #08c4c4;
    --accent-color: #0ef;
    --bg-dark: #1f242d;
    --bg-darker: #161a20;
    --second-bg-color: #323946;
    --bg-light: #323946;
    --text-primary: #fff;
    --text-secondary: #a1a1aa;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --gradient-1: linear-gradient(135deg, #0ef 0%, #08c4c4 100%);
    --gradient-2: linear-gradient(135deg, #0ef 0%, #4facfe 100%);
    --gradient-3: linear-gradient(135deg, #00f2fe 0%, #0ef 100%);
    --shadow-light: 0 4px 20px rgba(0, 238, 255, 0.1);
    --shadow-medium: 0 8px 30px rgba(0, 238, 255, 0.15);
    --shadow-heavy: 0 15px 50px rgba(0, 238, 255, 0.2);
    --border-light: rgba(0, 238, 255, 0.1);
    --border-medium: rgba(0, 238, 255, 0.2);
    --bg-primary: var(--bg-dark);
    --bg-secondary: var(--second-bg-color);
    --bg-tertiary: var(--bg-darker);
    --text-muted: var(--text-secondary);
  }
  
  /* Light Theme */
  [data-theme="light"] {
    --primary-color: #0ef;
    --secondary-color: #08c4c4;
    --accent-color: #0ef;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #f1f3f4;
    --text-primary: #000000;
    --text-secondary: #6c757d;
    --text-muted: #868e96;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.1);
    --gradient-1: linear-gradient(135deg, #0ef 0%, #08c4c4 100%);
    --gradient-2: linear-gradient(135deg, #0ef 0%, #4facfe 100%);
    --gradient-3: linear-gradient(135deg, #00f2fe 0%, #0ef 100%);
    --shadow-light: 0 2px 10px rgba(0, 238, 255, 0.08);
    --shadow-medium: 0 4px 20px rgba(0, 238, 255, 0.12);
    --shadow-heavy: 0 8px 30px rgba(0, 238, 255, 0.15);
    --border-light: rgba(0, 238, 255, 0.1);
    --border-medium: rgba(0, 238, 255, 0.2);
  }
  
  /* ===== RESET & BASE STYLES ===== */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
    position: relative;
  }
  
  /* ===== ANIMATED BACKGROUND ===== */
  .bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
    pointer-events: none;
    overflow: hidden;
  }
  
  .bg-animation::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
      radial-gradient(circle at 20% 80%, rgba(0, 238, 255, 0.4) 0%, transparent 50%),
      radial-gradient(circle at 80% 20%, rgba(8, 196, 196, 0.3) 0%, transparent 50%),
      radial-gradient(circle at 40% 40%, rgba(6, 214, 160, 0.2) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
    will-change: transform;
  }
  
  .bg-animation::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
      radial-gradient(circle at 70% 70%, rgba(0, 238, 255, 0.2) 0%, transparent 60%),
      radial-gradient(circle at 30% 30%, rgba(8, 196, 196, 0.15) 0%, transparent 60%),
      radial-gradient(circle at 90% 10%, rgba(79, 172, 254, 0.25) 0%, transparent 40%);
    animation: rotate 30s linear infinite reverse;
    mix-blend-mode: screen;
  }
  
  /* Light theme background adjustment */
  [data-theme="light"] .bg-animation {
    opacity: 0.15;
  }
  
  [data-theme="light"] .bg-animation::before {
    background: 
      radial-gradient(circle at 20% 80%, rgba(0, 238, 255, 0.2) 0%, transparent 50%),
      radial-gradient(circle at 80% 20%, rgba(8, 196, 196, 0.15) 0%, transparent 50%),
      radial-gradient(circle at 40% 40%, rgba(6, 214, 160, 0.1) 0%, transparent 50%);
  }
  
  [data-theme="light"] .bg-animation::after {
    background: 
      radial-gradient(circle at 70% 70%, rgba(0, 238, 255, 0.1) 0%, transparent 60%),
      radial-gradient(circle at 30% 30%, rgba(8, 196, 196, 0.08) 0%, transparent 60%),
      radial-gradient(circle at 90% 10%, rgba(79, 172, 254, 0.12) 0%, transparent 40%);
  }
  
  /* ===== NAVIGATION ===== */
  .navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 8px 20px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-light);
    opacity: 1;
    visibility: visible;
  }
  
  /* Hide navbar when profile is visible */
  .navbar.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-20px);
  }
  
  .nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
  }
  
  .nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
  }
  
  .nav-links a:hover,
  .nav-links a.active {
    color: var(--text-primary);
    background: var(--glass-bg);
    box-shadow: 0 4px 15px rgba(0, 238, 255, 0.3);
  }
  
  /* ===== CONTAINER ===== */
  .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background: var(--bg-primary);
    min-height: 100vh;
    position: relative;
    box-shadow: var(--shadow-medium);
    border-radius: 10px;
  }
  
  /* ===== HEADER SECTION ===== */
  .header {
    background: var(--bg-primary);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-light);
    animation: fadeInUp 1s ease;
  }
  
  .header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.05) 100%);
    z-index: 1;
  }
  
  .header-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: center;
  }
  
  .profile-section {
    display: flex;
    align-items: center;
    gap: 30px;
  }
  
  .profile-picture {
    flex-shrink: 0;
  }
  
  .profile-img-container {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 238, 255, 0.3);
    animation: float 6s ease-in-out infinite;
  }
  
  .profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
  }
  
  .profile-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 238, 255, 0.1) 0%, rgba(8, 196, 196, 0.1) 100%);
    opacity: 0;
    transition: all 0.3s ease;
  }
  
  .profile-img-container:hover .profile-img-overlay {
    opacity: 1;
  }
  
  .profile-img-container:hover .profile-img {
    transform: scale(1.05);
  }
  
  .profile-img-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-1);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 2s ease-in-out infinite;
  }
  
  .profile-info .name {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-primary);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease;
  }
  
  .profile-info .title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s both;
  }
  
  .profile-info .subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    opacity: 0.9;
  }
  
  .contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    font-weight: 500;
  }
  
  .contact-item i {
    width: 20px;
    font-size: 1.1rem;
  }
  
  .contact-item a {
    color: var(--text-primary);
    text-decoration: none;
    transition: opacity 0.3s ease;
  }
  
  .contact-item a:hover {
    opacity: 0.8;
  }
  
  .social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
  }
  
  .social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--gradient-1);
    border-radius: 50px;
    color: #0b0f16;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 238, 255, 0.3);
  }
  
  .social-link:hover {
    background: var(--gradient-2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 238, 255, 0.5);
  }
  
  /* ===== SECTION STYLES ===== */
  section {
    margin-bottom: 40px;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
  }
  
  section:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-color);
  }
  
  .section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--accent-color);
    animation: fadeInUp 1s ease;
  }
  
  .section-header i {
    font-size: 1.5rem;
    color: var(--accent-color);
  }
  
  .section-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
  }
  
  /* ===== SKILLS SECTION ===== */
  .skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
  }
  
  .skill-category {
    background: var(--bg-primary);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
  }
  
  .skill-category:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-light);
    border-color: var(--accent-color);
  }
  
  .skill-category h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
  }
  
  .skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .skill-tag {
    background: var(--gradient-1);
    color: #0b0f16;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 238, 255, 0.3);
  }
  
  .skill-tag:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 238, 255, 0.5);
  }
  
  /* ===== EXPERIENCE SECTION ===== */
  .experience-item {
    background: var(--bg-primary);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
  }
  
  .experience-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-light);
    border-color: var(--accent-color);
  }
  
  .experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .experience-title h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
  }
  
  .company {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1.1rem;
  }
  
  .experience-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
  }
  
  .duration {
    background: var(--text-primary);
    color: var(--bg-primary);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
  }
  
  .location {
    color: var(--text-secondary);
    font-size: 0.9rem;
  }
  
  .experience-achievements {
    list-style: none;
    margin-top: 15px;
  }
  
  .experience-achievements li {
    color: var(--text-secondary);
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
  }
  
  .experience-achievements li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--text-primary);
    font-size: 0.8rem;
  }
  
  /* ===== PROJECTS SECTION ===== */
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 25px;
  }
  
  .project-card {
    background: var(--bg-primary);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-light);
  }
  
  .project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
  }
  
  .project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
  }
  
  .project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .project-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
  }
  
  .project-tech {
    background: var(--text-primary);
    color: var(--bg-primary);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
  }
  
  .project-description {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 1rem;
  }
  
  .project-achievements {
    list-style: none;
  }
  
  .project-achievements li {
    color: var(--text-secondary);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
  }
  
  .project-achievements li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--text-primary);
    font-size: 1.2rem;
  }
  
  /* ===== EDUCATION SECTION ===== */
  .education-item {
    background: var(--bg-primary);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
  }
  
  .education-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-light);
    border-color: var(--accent-color);
  }
  
  .education-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .education-header h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
  }
  
  .education-period {
    background: var(--text-primary);
    color: var(--bg-primary);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
  }
  
  .education-institution {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1.1rem;
    margin: 0;
  }
  
  /* ===== CERTIFICATIONS SECTION ===== */
  .certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
  
  .cert-item {
    background: var(--bg-primary);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
  }
  
  .cert-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-light);
    border-color: var(--accent-color);
  }
  
  .cert-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #0b0f16;
    flex-shrink: 0;
  }
  
  .cert-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
  }
  
  .cert-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
  }
  
  /* ===== LEADERSHIP SECTION ===== */
  .leadership-item {
    background: var(--bg-primary);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
  }
  
  .leadership-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-light);
    border-color: var(--accent-color);
  }
  
  .leadership-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
  }
  
  .leadership-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
  }
  
  /* ===== FOOTER ===== */
  .footer {
    background: var(--bg-primary);
    border-radius: 20px;
    padding: 30px;
    margin-top: 40px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-light);
  }
  
  .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .footer-content p {
    color: var(--text-secondary);
    margin: 0;
  }
  
  .footer-links {
    display: flex;
    gap: 15px;
  }
  
  .footer-links a {
    width: 45px;
    height: 45px;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
  }
  
  .footer-links a:hover {
    background: var(--gradient-1);
    color: #0b0f16;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 238, 255, 0.3);
  }
  
  /* ===== SUMMARY SECTION ===== */
  .summary-content {
    background: var(--bg-primary);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-light);
  }
  
  .summary-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.1rem;
    margin: 0;
  }
  
  /* ===== THEME TOGGLE ===== */
  .theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-light);
  }
  
  .theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-medium);
  }
  
  .theme-toggle i {
    font-size: 1.2rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
  }
  
  /* Ensure theme toggle visibility */
  [data-theme="light"] .theme-toggle i {
    color: #000000 !important;
  }
  
  [data-theme="dark"] .theme-toggle i {
    color: #ffffff !important;
  }
  
  /* ===== ANIMATIONS ===== */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes float {
    0%, 100% { 
      transform: translateY(0px) rotate(0deg); 
    }
    33% { 
      transform: translateY(-10px) rotate(1deg); 
    }
    66% { 
      transform: translateY(5px) rotate(-1deg); 
    }
  }
  
  @keyframes pulse {
    0%, 100% { 
      box-shadow: 0 0 20px rgba(0, 238, 255, 0.4);
    }
    50% { 
      box-shadow: 0 0 30px rgba(0, 238, 255, 0.6);
    }
  }
  
  @keyframes rotate {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  
  /* Section staggered animations */
  section {
    animation: fadeInUp 0.6s ease forwards;
  }
  
  section:nth-child(2) { animation-delay: 0.1s; }
  section:nth-child(3) { animation-delay: 0.2s; }
  section:nth-child(4) { animation-delay: 0.3s; }
  section:nth-child(5) { animation-delay: 0.4s; }
  section:nth-child(6) { animation-delay: 0.5s; }
  section:nth-child(7) { animation-delay: 0.6s; }
  section:nth-child(8) { animation-delay: 0.7s; }
  
  /* ===== SCROLLBAR STYLES ===== */
  ::-webkit-scrollbar {
    width: 8px;
  }
  
  ::-webkit-scrollbar-track {
    background: var(--bg-secondary);
  }
  
  ::-webkit-scrollbar-thumb {
    background: var(--text-secondary);
    border-radius: 4px;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: var(--text-primary);
  }
  
  /* ===== RESPONSIVE DESIGN ===== */
  @media (max-width: 768px) {
    .container {
      padding: 15px;
    }
    
    .navbar {
      top: 15px;
      padding: 6px 15px;
    }
    
    .nav-links {
      gap: 15px;
    }
    
    .nav-links a {
      padding: 8px 12px;
      font-size: 0.8rem;
    }
    
    .theme-toggle {
      top: 15px;
      right: 15px;
      width: 45px;
      height: 45px;
    }
    
    .theme-toggle i {
      font-size: 1rem;
    }
    
    .projects-grid {
      grid-template-columns: 1fr;
      gap: 20px;
    }
    
    .project-card {
      padding: 20px;
    }
    
    .header {
      padding: 30px 20px;
    }
    
    .header-content {
      grid-template-columns: 1fr;
      gap: 20px;
      text-align: center;
    }
    
    .profile-section {
      flex-direction: column;
      text-align: center;
      gap: 20px;
    }
    
    .profile-img-container {
      width: 70px;
      height: 70px;
    }
    
    .profile-info .name {
      font-size: 2.5rem;
    }
    
    .contact-info {
      align-items: center;
    }
    
    .social-links {
      justify-content: center;
    }
    
    .skills-grid {
      grid-template-columns: 1fr;
    }
    
    .certifications-grid {
      grid-template-columns: 1fr;
    }
    
    .experience-header {
      flex-direction: column;
      align-items: flex-start;
    }
    
    .experience-meta {
      align-items: flex-start;
    }
    
    .footer-content {
      flex-direction: column;
      text-align: center;
    }
    
    section {
      padding: 20px;
    }
    
    .section-header h2 {
      font-size: 1.5rem;
    }
  }
  
  @media (max-width: 480px) {
    .navbar {
      top: 10px;
      padding: 4px 10px;
    }
    
    .nav-links {
      gap: 10px;
    }
    
    .nav-links a {
      padding: 6px 8px;
      font-size: 0.7rem;
    }
    
    .theme-toggle {
      top: 10px;
      right: 10px;
      width: 40px;
      height: 40px;
    }
    
    .theme-toggle i {
      font-size: 0.9rem;
    }
    
    .project-card {
      padding: 15px;
    }
    
    .profile-info .name {
      font-size: 2rem;
    }
    
    .profile-info .title {
      font-size: 1.2rem;
    }
    
    .profile-info .subtitle {
      font-size: 1rem;
    }
    
    .social-link {
      padding: 10px 15px;
      font-size: 0.9rem;
    }
    
    .skill-tag {
      padding: 6px 12px;
      font-size: 0.8rem;
    }
    
    .project-header {
      flex-direction: column;
      align-items: flex-start;
    }
    
    .education-header {
      flex-direction: column;
      align-items: flex-start;
    }
  }
  
  /* ===== PRINT STYLES ===== */
  @media print {
    body {
      background: white;
      color: black;
    }
    
    .container {
      max-width: none;
      margin: 0;
      padding: 0;
      background: white;
    }
    
    .header {
      background: #f8f9fa;
      border: 2px solid #000000;
      color: black;
    }
    
    .profile-info .name,
    .profile-info .title,
    .profile-info .subtitle {
      color: black;
    }
    
    .contact-item {
      color: black;
    }
    
    .contact-item a {
      color: black;
    }
    
    section {
      background: white;
      border: 1px solid #ddd;
      break-inside: avoid;
      margin-bottom: 20px;
    }
    
    .section-header h2 {
      color: #000000;
    }
    
    .skill-category,
    .experience-item,
    .project-card,
    .education-item,
    .cert-item,
    .leadership-item,
    .summary-content {
      background: #f8f9fa;
      border: 1px solid #ddd;
    }
    
    .skill-tag {
      background: #000000;
      color: white;
    }
    
    .project-tech,
    .duration,
    .education-period {
      background: #000000;
      color: white;
    }
    
    .cert-icon {
      background: #000000;
      color: white;
    }
    
    .footer {
      background: #f8f9fa;
      border: 1px solid #ddd;
    }
    
    .footer-links {
      display: none;
    }
    
    .social-links {
      display: none;
    }
    
    a {
      color: #000000;
      text-decoration: underline;
    }
    
    .bg-animation {
      display: none;
    }
  }
  
  /* ===== SELECTION STYLES ===== */
  ::selection {
    background: var(--accent-color);
    color: var(--bg-primary);
  }
  
  ::-moz-selection {
    background: var(--accent-color);
    color: var(--bg-primary);
  }