
    :root {
      --primary: #6C63FF;
      --secondary: #4A44C6;
      --accent: #FF6584;
      --dark: #121212;
      --dark-card: #1E1E1E;
      --light: #F5F5F7;
      --text: #E0E0E0;
      --text-light: #A0A0A0;
      --success: #2ECC71;
      --warning: #F39C12;
      --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
      --gradient-accent: linear-gradient(135deg, var(--accent), #FF8E53);
      --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
      --transition: all 0.3s ease;
    }

    /* Light Theme */
    [data-theme="light"] {
      --dark: #F5F5F7;
      --dark-card: #FFFFFF;
      --text: #333333;
      --text-light: #666666;
      --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    /* Electric Theme */
    [data-theme="electric"] {
      --primary: #00D4FF;
      --secondary: #0099CC;
      --accent: #FFAA00;
      --dark: #0A0A1A;
      --dark-card: #1A1A2E;
      --text: #E6F7FF;
      --text-light: #A0C8FF;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background-color: var(--dark);
      color: var(--text);
      line-height: 1.6;
      overflow-x: hidden;
      transition: var(--transition);
    }

    /* Circuit Board Background Pattern */
    body::before {
      content: '';
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-image: 
        linear-gradient(rgba(18, 18, 18, 0.9), rgba(18, 18, 18, 0.9)),
        url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%236c63ff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
      z-index: -1;
      opacity: 0.7;
    }

    [data-theme="light"] body::before {
      background-image: 
        linear-gradient(rgba(245, 245, 247, 0.9), rgba(245, 245, 247, 0.9)),
        url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%236c63ff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    }

    [data-theme="electric"] body::before {
      background-image: 
        linear-gradient(rgba(10, 10, 26, 0.9), rgba(10, 10, 26, 0.9)),
        url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%2300d4ff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    }

    /* Header & Navigation */
    header {
      background: var(--dark);
      position: fixed;
      width: 100%;
      top: 0;
      z-index: 1000;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
      transition: var(--transition);
    }

    .navbar {
      padding: 1rem 0;
    }

    .navbar-brand {
      font-weight: 700;
      font-size: 1.5rem;
      color: var(--primary);
    }

    .nav-link {
      color: var(--text) !important;
      font-weight: 500;
      margin: 0 0.5rem;
      transition: var(--transition);
      position: relative;
    }

    .nav-link:hover {
      color: var(--primary) !important;
    }

    .nav-link::after {
      content: '';
      position: absolute;
      bottom: -5px;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--gradient);
      transition: var(--transition);
    }

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

    .navbar-toggler {
      border: none;
      color: var(--text);
    }

    .navbar-toggler:focus {
      box-shadow: none;
    }

    /* Theme Switcher */
    .theme-switcher {
      display: flex;
      align-items: center;
      margin-left: 1rem;
    }

    .theme-btn {
      background: none;
      border: none;
      color: var(--text);
      font-size: 1.2rem;
      margin: 0 0.3rem;
      cursor: pointer;
      transition: var(--transition);
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .theme-btn:hover {
      background: rgba(108, 99, 255, 0.1);
      color: var(--primary);
    }

    .theme-btn.active {
      background: var(--gradient);
      color: white;
    }

    /* Hero Section */
    .hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      padding-top: 80px;
      background: linear-gradient(rgba(18, 18, 18, 0.9), rgba(18, 18, 18, 0.9)), 
                  url('https://images.unsplash.com/photo-1550745165-9bc0b252726f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
      background-size: cover;
      background-position: center;
      position: relative;
      overflow: hidden;
    }

    [data-theme="light"] .hero {
      background: linear-gradient(rgba(245, 245, 247, 0.9), rgba(245, 245, 247, 0.9)), 
                  url('https://images.unsplash.com/photo-1550745165-9bc0b252726f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
    }

    [data-theme="electric"] .hero {
      background: linear-gradient(rgba(10, 10, 26, 0.9), rgba(10, 10, 26, 0.9)), 
                  url('https://images.unsplash.com/photo-1550745165-9bc0b252726f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
    }

    .hero::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: var(--gradient);
      opacity: 0.1;
      z-index: -1;
    }

    .hero-content {
      max-width: 800px;
      margin: 0 auto;
      text-align: center;
    }

    .hero h1 {
      font-size: 3.5rem;
      font-weight: 700;
      margin-bottom: 1rem;
      background: var(--gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .hero .typewriter {
      font-size: 1.8rem;
      margin-bottom: 1.5rem;
      min-height: 2.5rem;
    }

    .hero p {
      font-size: 1.2rem;
      margin-bottom: 2rem;
      color: var(--text-light);
    }

    .btn-primary {
      background: var(--gradient);
      border: none;
      padding: 0.8rem 2rem;
      border-radius: 50px;
      font-weight: 600;
      transition: var(--transition);
      box-shadow: var(--shadow);
    }

    .btn-primary:hover {
      transform: translateY(-3px);
      box-shadow: 0 15px 30px rgba(108, 99, 255, 0.4);
    }

    .btn-outline-light {
      border: 2px solid var(--text);
      color: var(--text);
      padding: 0.8rem 2rem;
      border-radius: 50px;
      font-weight: 600;
      transition: var(--transition);
    }

    .btn-outline-light:hover {
      background: var(--text);
      color: var(--dark);
    }

    /* Resume Button */
    .btn-resume {
      background: var(--gradient-accent);
      border: none;
      padding: 0.8rem 2rem;
      border-radius: 50px;
      font-weight: 600;
      transition: var(--transition);
      box-shadow: var(--shadow);
      color: white;
      text-decoration: none;
      display: inline-block;
    }

    .btn-resume:hover {
      transform: translateY(-3px);
      box-shadow: 0 15px 30px rgba(255, 101, 132, 0.4);
      color: white;
    }

    /* Stats Section */
    .stats {
      padding: 5rem 0;
      background: var(--dark-card);
    }

    .stat-box {
      text-align: center;
      padding: 2rem;
      border-radius: 15px;
      transition: var(--transition);
      background: var(--dark);
      box-shadow: var(--shadow);
    }

    .stat-box:hover {
      transform: translateY(-10px);
      background: var(--gradient);
    }

    .stat-number {
      font-size: 3rem;
      font-weight: 700;
      margin-bottom: 0.5rem;
    }

    .stat-label {
      font-size: 1.1rem;
      color: var(--text-light);
    }

    /* Section Headers */
    .section-header {
      text-align: center;
      margin-bottom: 3rem;
    }

    .section-header h2 {
      font-size: 2.5rem;
      font-weight: 700;
      margin-bottom: 1rem;
      position: relative;
      display: inline-block;
    }

    .section-header h2::after {
      content: '';
      position: absolute;
      bottom: -10px;
      left: 50%;
      transform: translateX(-50%);
      width: 80px;
      height: 4px;
      background: var(--gradient);
      border-radius: 2px;
    }

    .section-header p {
      color: var(--text-light);
      max-width: 600px;
      margin: 0 auto;
    }

    /* Projects Carousel */
    .projects {
      padding: 5rem 0;
      background: var(--dark);
    }

    .project-carousel {
      position: relative;
      overflow: hidden;
      padding: 0 50px;
    }

    .project-track {
      display: flex;
      transition: transform 0.5s ease;
    }

    .project-slide {
      min-width: 33.333%;
      padding: 0 15px;
    }

    @media (max-width: 992px) {
      .project-slide {
        min-width: 50%;
      }
    }

    @media (max-width: 768px) {
      .project-slide {
        min-width: 100%;
      }
    }

    .project-card {
      background: var(--dark-card);
      border-radius: 15px;
      overflow: hidden;
      transition: var(--transition);
      height: 100%;
      box-shadow: var(--shadow);
    }

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

    .project-img {
      height: 200px;
      overflow: hidden;
    }

    .project-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: var(--transition);
    }

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

    .project-content {
      padding: 1.5rem;
    }

    .project-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin: 1rem 0;
    }

    .project-tag {
      background: rgba(108, 99, 255, 0.2);
      color: var(--primary);
      padding: 0.3rem 0.8rem;
      border-radius: 50px;
      font-size: 0.8rem;
      font-weight: 600;
    }

    .project-link {
      display: inline-block;
      color: var(--primary);
      font-weight: 600;
      text-decoration: none;
      transition: var(--transition);
      margin-top: 1rem;
    }

    .project-link:hover {
      color: var(--accent);
    }

    .carousel-button {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(108, 99, 255, 0.7);
      color: white;
      border: none;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 10;
      transition: var(--transition);
    }

    .carousel-button:hover {
      background: var(--primary);
    }

    .carousel-button--left {
      left: 0;
    }

    .carousel-button--right {
      right: 0;
    }

    /* Articles Section */
    .articles {
      padding: 5rem 0;
      background: var(--dark-card);
    }

    .article-card {
      background: var(--dark);
      border-radius: 15px;
      overflow: hidden;
      transition: var(--transition);
      height: 100%;
      box-shadow: var(--shadow);
    }

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

    .article-img {
      height: 200px;
      overflow: hidden;
    }

    .article-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: var(--transition);
    }

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

    .article-content {
      padding: 1.5rem;
    }

    .article-link {
      display: inline-block;
      color: var(--primary);
      font-weight: 600;
      text-decoration: none;
      transition: var(--transition);
      margin-top: 1rem;
    }

    .article-link:hover {
      color: var(--accent);
    }

    /* Skills Section */
    .skills {
      padding: 5rem 0;
      background: var(--dark-card);
    }

    .skill-item {
      text-align: center;
      padding: 1.5rem;
      border-radius: 15px;
      transition: var(--transition);
      background: var(--dark);
      margin-bottom: 1.5rem;
      box-shadow: var(--shadow);
    }

    .skill-item:hover {
      transform: translateY(-5px);
      background: var(--gradient);
    }

    .skill-icon {
      font-size: 3rem;
      margin-bottom: 1rem;
      color: var(--primary);
    }

    .skill-item:hover .skill-icon {
      color: white;
    }

    .skill-name {
      font-weight: 600;
      font-size: 1.1rem;
    }

    /* Achievements Section */
    .achievements {
      padding: 5rem 0;
      background: var(--dark);
    }

    .achievement-card {
      background: var(--dark-card);
      border-radius: 15px;
      padding: 2rem;
      text-align: center;
      transition: var(--transition);
      height: 100%;
      box-shadow: var(--shadow);
    }

    .achievement-card:hover {
      transform: translateY(-10px);
      background: var(--gradient);
    }

    .achievement-icon {
      font-size: 3rem;
      margin-bottom: 1.5rem;
      color: var(--primary);
    }

    .achievement-card:hover .achievement-icon {
      color: white;
    }

    .achievement-title {
      font-weight: 700;
      margin-bottom: 1rem;
    }

    .achievement-desc {
      color: var(--text-light);
      margin-bottom: 1.5rem;
    }

    /* Positions Section */
    .positions {
      padding: 5rem 0;
      background: var(--dark-card);
    }

    .position-box {
      display: flex;
      align-items: center;
      background: var(--dark);
      border-radius: 15px;
      padding: 1.5rem;
      margin-bottom: 1.5rem;
      box-shadow: var(--shadow);
      transition: var(--transition);
    }

    .position-box:hover {
      transform: translateY(-5px);
    }

    .position-img {
      width: 80px;
      height: 80px;
      border-radius: 50%;
      overflow: hidden;
      margin-right: 1.5rem;
      border: 3px solid var(--primary);
    }

    .position-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .position-info h4 {
      margin-bottom: 0.5rem;
      color: var(--text);
    }

    .position-info p {
      color: var(--text-light);
      margin: 0;
    }

    /* Spotlight Section */
    .spotlight {
      padding: 5rem 0;
      background: var(--dark);
    }

    .video-container {
      position: relative;
      padding-bottom: 56.25%; /* 16:9 aspect ratio */
      height: 0;
      overflow: hidden;
      border-radius: 15px;
      box-shadow: var(--shadow);
    }

    .video-container iframe {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      border: none;
    }

    /* Media Coverage Section */
    .media {
      padding: 5rem 0;
      background: var(--dark-card);
    }

    .media-card {
      background: var(--dark);
      border-radius: 15px;
      overflow: hidden;
      transition: var(--transition);
      height: 100%;
      box-shadow: var(--shadow);
    }

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

    .media-img {
      height: 200px;
      overflow: hidden;
    }

    .media-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: var(--transition);
    }

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

    .media-content {
      padding: 1.5rem;
    }

    .media-link {
      display: inline-block;
      color: var(--primary);
      font-weight: 600;
      text-decoration: none;
      transition: var(--transition);
      margin-top: 1rem;
    }

    .media-link:hover {
      color: var(--accent);
    }

    /* Enhanced Contact Section */
    .contact {
      padding: 5rem 0;
      background: var(--dark-card);
      position: relative;
      overflow: hidden;
    }

    .contact::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: var(--gradient);
      opacity: 0.05;
      z-index: 0;
    }

    .contact-form {
      background: var(--dark);
      padding: 2.5rem;
      border-radius: 15px;
      box-shadow: var(--shadow);
      position: relative;
      z-index: 1;
    }

    .form-control {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.1);
      color: var(--text);
      padding: 0.8rem 1rem;
      margin-bottom: 1.5rem;
      border-radius: 10px;
      transition: var(--transition);
    }

   

    .form-control:focus {
      background: rgba(255, 255, 255, 0.08);
      border-color: var(--primary);
      box-shadow: 0 0 0 0.2rem rgba(108, 99, 255, 0.25);
      color: var(--text);
    }

    .contact-info {
      padding-left: 2rem;
      position: relative;
      z-index: 1;
    }

    .contact-item {
      display: flex;
      align-items: center;
      margin-bottom: 1.5rem;
      background: var(--dark);
      padding: 1rem;
      border-radius: 10px;
      box-shadow: var(--shadow);
      transition: var(--transition);
    }

    .contact-item:hover {
      transform: translateX(5px);
    }

    .contact-icon {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: var(--gradient);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-right: 1rem;
      font-size: 1.2rem;
    }

    .contact-map {
      border-radius: 15px;
      overflow: hidden;
      box-shadow: var(--shadow);
      margin-top: 2rem;
    }

    /* Footer */
    footer {
      background: var(--dark);
      padding: 3rem 0 1.5rem;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

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

    .social-link {
      width: 45px;
      height: 45px;
      border-radius: 50%;
      background: var(--dark-card);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text);
      font-size: 1.2rem;
      transition: var(--transition);
    }

    .social-link:hover {
      background: var(--gradient);
      color: white;
      transform: translateY(-5px);
    }

    .copyright {
      text-align: center;
      color: var(--text-light);
      font-size: 0.9rem;
    }

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

    .fade-in-up {
      animation: fadeInUp 0.8s ease forwards;
    }

    .delay-1 {
      animation-delay: 0.2s;
    }

    .delay-2 {
      animation-delay: 0.4s;
    }

    .delay-3 {
      animation-delay: 0.6s;
    }

    /* Responsive Design */
    @media (max-width: 992px) {
      .hero h1 {
        font-size: 2.8rem;
      }
      
      .hero .typewriter {
        font-size: 1.5rem;
      }
      
      .contact-info {
        padding-left: 0;
        margin-top: 3rem;
      }
    }

    @media (max-width: 768px) {
      .hero h1 {
        font-size: 2.3rem;
      }
      
      .hero .typewriter {
        font-size: 1.3rem;
      }
      
      .hero p {
        font-size: 1rem;
      }
      
      .section-header h2 {
        font-size: 2rem;
      }
      
      .stat-number {
        font-size: 2.5rem;
      }
      
      .position-box {
        flex-direction: column;
        text-align: center;
      }
      
      .position-img {
        margin-right: 0;
        margin-bottom: 1rem;
      }
    }

    @media (max-width: 576px) {
      .hero h1 {
        font-size: 2rem;
      }
      
      .hero .typewriter {
        font-size: 1.1rem;
        min-height: 2rem;
      }
      
      .btn-primary, .btn-outline-light, .btn-resume {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
        margin-top: 13px;
      }
      
      .project-card, .achievement-card, .skill-item {
        margin-bottom: 1.5rem;
      }
    }

    /* Skills responsive - 3 per row on mobile */
    @media (max-width: 768px) {
      .skills .col-sm-6 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
      }
    }

    /* Back to Top Button */
    .back-to-top {
      position: fixed;
      bottom: 30px;
      right: 30px;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: var(--gradient);
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
      box-shadow: var(--shadow);
      z-index: 99;
      transition: var(--transition);
      opacity: 0;
      visibility: hidden;
    }

    .back-to-top.active {
      opacity: 1;
      visibility: visible;
    }

    .back-to-top:hover {
      transform: translateY(-5px);
    }

    /* ------------------------- */
    /* Update mobile breakpoint for carousel */
@media (max-width: 768px) {
  .project-slide {
    min-width: 100%;
  }
  
  /* Skills - 2 per row on mobile */
  .skills .col-sm-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* Ensure carousel buttons are visible on mobile */
.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(108, 99, 255, 0.7);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition);
}

.carousel-button:hover {
  background: var(--primary);
}

.carousel-button--left {
  left: 10px;
}

.carousel-button--right {
  right: 10px;
}

/* Mobile-specific adjustments */
@media (max-width: 576px) {
  .project-carousel {
    padding: 0 40px;
  }
  
  .carousel-button {
    width: 35px;
    height: 35px;
  }
}

  

