/* Base styles and reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
header {
    background-color: #1a1a2e;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-links {
    display: flex;
    justify-content: center;
    list-style: none;
}

.nav-links li {
    margin: 0 1.5rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #a3a3ff;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #f0f0f7;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "0101011001010111";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    font-family: monospace;
    font-size: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    color: #1a1a2e;
}

.hero-content {
    z-index: 10;
    padding: 2rem;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    color: #1a1a2e;
}

.profile-container {
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #1a1a2e;
}

#typewriter-container {
    font-family: 'Montserrat', sans-serif;   /* Same font as "Hi, I'm Jason" */
    font-size: 4rem;                       /* Adjust size as needed */
    font-weight: 1000;                        /* Match the bold style */
    color: #1a1a2e;                             /* Or any color you prefer */
    letter-spacing: 1px;                     /* Optional: For more spacing */
    text-align: center;                      /* Center align the text */
    display: inline-block;
  }
  
  #cursor {
    display: inline-block;
    margin-left: 2px;
    animation: blink 0.75s step-end infinite;
    color: #1a1a2e;
  }
  
  @keyframes blink {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
  }

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    max-width: 600px;
    margin: 0 auto;
    color: #1a1a2e;
}

/* Section Styles */
.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #1a1a2e;
}

/* Portfolio Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background-color: #f0f0f7;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-card h3 {
    margin-bottom: 1rem;
    color: #1a1a2e;
}

/* Contact Section */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

input, textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.btn {
    background-color: #1a1a2e;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #2e2e4a;
}

/* Footer */
footer {
    background-color: #1a1a2e;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section h2 {
        font-size: 1.2rem;
    }
    
    .profile-container {
        width: 200px;
        height: 200px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }

    body .visitor-counter {
        position: fixed;
        top: 70px;
        right: 10px;
    }




    
}


/* /////////////////////////////////////////// */



/* Add this to your CSS file */
.visitor-counter {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 25px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'Arial', sans-serif;
  }
  
  .counter-content {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .eye-emoji {
    font-size: 18px;
    animation: pulse 2s infinite;
  }
  
  .counter-number {
    font-size: 16px;
    font-weight: 600;
  }
  
  .visitor-counter:hover {
    transform: translateY(-3px) scale(1.05);
    background-color: rgba(0, 0, 0, 0.8);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  }
  
  /* Pulse animation for the eye emoji */
  @keyframes pulse {
    0% {
      transform: scale(1);
      opacity: 1;
    }
    50% {
      transform: scale(1.1);
      opacity: 0.8;
    }
    100% {
      transform: scale(1);
      opacity: 1;
    }
  }
  
  /* When hovered */
  .visitor-counter.hover .eye-emoji {
    animation: bounce 0.5s ease infinite alternate;
  }
  
  @keyframes bounce {
    from {
      transform: translateY(0px);
    }
    to {
      transform: translateY(-3px);
    }
  }
  
  /* Media query for mobile responsiveness */
  @media (max-width: 768px) {
    .visitor-counter {
      top: 10px;
      right: 10px;
      padding: 6px 12px;
    }
    
    .eye-emoji {
      font-size: 16px;
    }
    
    .counter-number {
      font-size: 14px;
    }
  }
  