/* Header Styles */
.header {
    background-color: #2a5298;
    padding: 15px 30px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
  
    position: sticky;   /* 👈 Makes it stick */
    top: 0;             /* 👈 Stick to the top of the page */
    z-index: 1000;      /* 👈 Stay above other elements */
  }
  
  
  .logo {
    font-size: 22px;
    font-weight: bold;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
  }
  
  .nav-links li {
    position: relative;
  }
  
  .nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
  }
  
  .nav-links a:hover {
    text-decoration: underline;
  }
  
  /* Dropdown Menu */
  .dropdown-menu {
    display: none;
    position: absolute;
    background-color: white;
    top: 100%;
    left: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    list-style: none;
    margin: 0;
    padding: 10px 0;
    min-width: 150px;
    z-index: 999;
  }
  
  .dropdown-menu li {
    padding: 8px 16px;
  }
  
  .dropdown-menu li a {
    color: #2a5298;
  }
  
  .dropdown:hover .dropdown-menu {
    display: block;
  }

  
  /* 
   */
   body {
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    margin: 0;
    padding: 20px;
  }
  
  .container {
    max-width: 1000px;
    margin: auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
  }
  
  h2 {
    text-align: center;
    color: #2a5298;
  }
  
  .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 20px;
  }
  
  .card {
    background-color: #eaf1ff;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    font-weight: bold;
    color: #2a5298;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
  }
  
  .card:hover {
    background-color: #d5e4ff;
  }


  /* sections */

  /* Content Sections like #webb, #automation */
  #automation,
#cypress,
#qaengineer
#webb {
  max-width: 900px;
  margin: 50px auto;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

#automation h1,
#cypress h1,
#qaengineer h1,
#webb h1 {
  font-size: 26px;
  margin-bottom: 15px;
  color: #2a5298;
  text-align: center;
}

#automation p,
#cypress p,
#qaengineer p,
#webb p {
  margin-bottom: 20px;
  text-align: justify;
}

#automation img,
#cypress img,
#qaengineer img,
#webb img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto 0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#webb, #automation, #qaengineer {
    max-width: 900px;
    margin: 50px auto;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    font-size: 16px;
    line-height: 1.6;
    color: #333;
  }
  
  #webb h1,
  #automation h1 {
    font-size: 26px;
    margin-bottom: 15px;
    color: #2a5298;
    text-align: center;
  }
  
  #webb p,
  #automation p {
    margin-bottom: 20px;
    text-align: justify;
  }
  
  #webb img,
  #automation img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  
  /* cards */
  /* Default card */
.card {
    background-color: #eaf1ff;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    font-weight: bold;
    color: #2a5298;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
  }
  
  /* Custom colored cards */
  .card-blue {
    background-color: #4594e9; /* light blue */
  }
  
  .card-green {
    background-color: #36ef61; /* light green */
  }
  
  .card-orange {
    background-color: #ffe5b4; /* light orange */
  }
.card-red{
    background-color: tomato;
}  
.card-yellow{
    background-color: yellow;
}
.card a {
    text-decoration: none;
    color: inherit;
    display: block;
  }

  /* Section backgrounds */
#testing {
    background-color: #4b9ff3; /* light blue */
  }
  
  #frontend {
    background-color: #92e8e5; /* light peach */
  }
  
  #java {
    background-color: #a7e129; /* very light green */
  }
  
  #cloud {
    background-color: #a7a7e9; /* very light violet/gray */
  }
  
  /* Common container spacing */
  .container {
    max-width: 1000px;
    margin: 40px auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
  }
  
  /* Card link remove underline */
  .card a {
    text-decoration: none;
    color: inherit;
    display: block;
  }
  
  #testing {
    background-color: #ea7915; /* Light blueish background */
  }
  
  