/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Body Styling */
  body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f4f4f4;
  }
  
  /* Header and Hero Section */
  header {
    position: relative;
    background: url('https://source.unsplash.com/1600x900/?cybersecurity,technology') no-repeat center center/cover;
    height: 100vh;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
  }
  
  /* Dark overlay for header */
  header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
  }
  
  /* Navigation */
  header nav {
    position: absolute;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
  }
  
  header nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 15px;
    margin: 0;
  }
  
  header nav ul li {
    margin: 0 15px;
  }
  
  header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
  }
  
  header nav ul li a:hover {
    color: #3498db;
  }
  
  /* Hero content */
  header .hero {
    position: relative;
    z-index: 3;
    padding: 20px;
  }
  
  header .hero h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
  }
  
  header .hero .tagline {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
  }
  
  /* Contact info in header */
  header .hero .contact-info p {
    margin: 5px 0;
    font-size: 1rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
  }
  
  header .hero .contact-info a {
    color: #3498db;
    text-decoration: none;
  }
  
  header .hero .contact-info a:hover {
    text-decoration: underline;
  }
  
  /* Bounce animation for scroll indicator */
  @keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
      transform: translateY(0);
    }
    40% {
      transform: translateY(-10px);
    }
    60% {
      transform: translateY(-5px);
    }
  }
  
  /* Section Styling */
  section {
    padding: 60px 20px;
    background: #fff;
    margin: 20px 0;
  }
  
  section:nth-of-type(even) {
    background: #f9f9f9;
  }
  
  section h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.5rem;
    color: #333;
  }
  
  /* Experience and Education Items */
  .experience-item,
  .education-item {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    border-left: 4px solid #3498db;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }
  
  .experience-item h3,
  .education-item h3 {
    margin-bottom: 10px;
    font-size: 1.8rem;
    color: #333;
  }
  
  .location,
  .date {
    font-style: italic;
    color: #777;
    margin-bottom: 10px;
  }
  
  ul {
    list-style-type: disc;
    margin-left: 20px;
  }

  #about p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
 }
  
  /* Certifications and Skills */
  #certifications ul,
  #skills ul {
    max-width: 600px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  #certifications ul li,
  #skills ul li {
    background: #3498db;
    color: #fff;
    padding: 10px 15px;
    margin: 5px;
    border-radius: 5px;
  }
  
  /* Contact Section */
  #contact p {
    text-align: center;
    margin: 10px 0;
  }
  
  #contact a {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
  }
  
  #contact a:hover {
    text-decoration: underline;
  }
  
  /* Footer Styling */
  footer {
    text-align: center;
    padding: 20px;
    background: #333;
    color: #fff;
  }
  
  
  @media (max-width: 768px) {
    /* Keep the nav horizontal */
    header nav ul {
      flex-direction: row;       /* Force row layout */
      flex-wrap: nowrap;         /* Prevent wrapping */
      overflow-x: auto;          /* Allow horizontal scrolling if needed */
      padding: 10px;
    }
  
    header nav ul li {
      margin: 0 8px;            /* Reduce spacing so it fits */
      font-size: 0.9rem;        /* Slightly smaller text */
      white-space: nowrap;      /* Prevent line breaks within items */
    }
  
    /* Adjust hero if needed to prevent overlap */
    header .hero {
      padding-top: 100px; /* Increase if the nav overlaps your hero text */
    }
  
    /* Optional: Hide scroll indicator if you don't want it on mobile */
    .scroll-indicator {
      display: none;
    }
  }
  
