body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    background-color: #f9f9f9;
    color: #1e1e1e;
  }
  
  h1, h2, h3 {
    margin: 0;
  }
  
  .hero {
    background: url('../assets/backgroundWMP.webp') no-repeat center center/cover;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
  }

  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: inherit; 
    background-size: cover;
    background-position: center;
    filter: blur(8px) brightness(0.5); 
    z-index: 0;
  }
  
  .hero .overlay {
    position: relative;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.7); 
    color: white;
    padding: 3rem;
    border-radius: 10px;
    max-width: 90%;
  }
  
  
  .subtitle {
    font-size: 1.3rem;
    margin-top: 1rem;
  }
  
  .countdown {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 1rem;
  }
  
  /* CTA Button */
  .cta-button {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 2rem;
    background: #5096d3;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: background 0.3s;
  }
  .cta-button:hover {
    background:  #2e78ba;
}
  
  /* Main */
  main {
    padding: 3rem 2rem;
  }
  
  .info {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
  }
  
  .feature {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }
  
  /* Footer */
  footer {
    text-align: center;
    padding: 2rem;
    background: #eeeeee;
    font-size: 0.9rem;
  }
  
  .profile-setup {
    background: #ffffff;
    padding: 3rem 2rem;
    max-width: 700px;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
  }
  
  .profile-setup h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
  }
  
  .runner-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
  }
  
  .form-group input,
  .form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 1rem;
  }
  
  .sex-options {
    display: flex;
    gap: 2rem;
    padding-top: 0.5rem;
  }
  
  .sex-options label {
    font-weight: normal;
  }
  

  .marathon-grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }
  
  .marathon-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 180px;
    border-radius: 20px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 1.4rem;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
    overflow: hidden;   
  }

  .marathon-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.1);
    transition: background 0.4s ease;
    border-radius: inherit;
  }
  
  .marathon-card:hover {
  transform: scale(1.05);
  }

  .marathon-card:hover::after {
    background: rgba(0,0,0,0.2);     
  }
  
  .marathon-card .label {
    background: none;        
    padding: 0;              
    border-radius: 0;        
    font-size: 3rem;         
    font-weight: bold;       
    color: white;            
    text-shadow: 3px 3px 3px rgba(0,0,0,1); 
}
  
  .marathon-card.london {
    background-image: url('../assets/london.jpg');
  }
  .marathon-card.tokyo {
    background-image: url('../assets/tokyo.png');
  }
  .marathon-card.boston {
    background-image: url('../assets/boston.jpg');
  }

  .card-countdown {
    position: static; 
    margin-bottom: 1px; 
    display: inline-block; 
    
    color: white; 
    font-weight: bold;       
    text-shadow: 3px 3px 3px rgba(0, 0, 0, 1); 
    
    font-size: 1.1rem; 
    padding: 5px 12px; 
    
    z-index: 2; 
    bottom: auto;
    left: auto;   
    right: auto; 
  }

  .choose-sub {
    margin-top: 2rem;
    font-size: 1rem;
    opacity: 0.9;
  }

  .team {
    padding: 4rem 2rem;
    background-color: #f5f5f5;
    text-align: center;
    color: #333;
  }
  
  .team h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  
  .team-members {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
  }
  
  .member {
    max-width: 250px;
  }
  
  .image-wrapper {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid #002D72;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
  }
  
  .profile-pic {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top; 
  }
  
  .member h4 {
    margin: 0.5rem 0;
    font-size: 1.25rem;
    color: #002D72;
  }
  
  .member p {
    font-size: 0.95rem;
    line-height: 1.4;
  }
  
  .linkedin-link {
    display: inline-block;
    margin-top: 0.5rem;
  }
  
  .linkedin-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.2s ease;
  }
  
  .linkedin-icon:hover {
    transform: scale(1.2);
  }
  
  
  .jhu {
    padding: 2rem;
    text-align: center;
    background-color: #fff;
  }
  
  .jhu-logo {
    max-width: 90%;
    width: 600px;
    height: auto;
  }
  
  .member a {
    color: #002D72;
    text-decoration: underline;
  }
  
  .member a:hover {
    text-decoration: none;
    color: #2e78ba;
  }
  
  @media (max-width: 768px) {
  /* Hero overlay adjustments */
  .hero {
    align-items: flex-start;  
    padding-top: 5rem;       
  }

  .hero .overlay {
    padding: 2rem 1rem;       
    margin-top: 3rem;         
  }

  .marathon-card {
    font-size: 1.5rem;   
    height: 120px;       
    padding: 0.5rem;     
  }

  .marathon-grid {
    grid-template-columns: 1fr;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    gap: 1rem;
  }
}