html {
    scroll-behavior: smooth;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  /*Header*/
  .container-menu{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 100%;
    z-index: 10;
    top: 35px;
  }
  /* Navigation bar styling */
  nav {
    background: #ffffff;
    border-radius: 50px;
    padding: 10px;
    box-shadow: 0 25px 20px -20px rgba(0,0,0,0.4);
    z-index: 1;
  }
  /* list items styling */
nav ul li {
    list-style: none;
    display: inline-block;
    padding: 13px 25px;
    margin: 6px;
    font-weight: 500;
    color: #777;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: color 1s, font-weight 0.5s;
    font-size: 15px;
}

nav ul li:hover {
    font-weight: 800;
}
/*Footer*/
.footer {
  background-color: #0047AB;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 1rem;
  font-family: "Montserrat", sans-serif;
  position: relative;
  width: 100%;
  box-shadow: 0 -5px 10px rgba(0,0,0,0.2);
}

.footer p {
  margin: 5px 0;
  opacity: 0.8;
}
a {
    text-decoration: none;
    font-size: 20px;
    color: black;
}
  
  /*index page content styling*/
  .content {
    text-align: center;
    position: absolute;
    z-index: 1;
  }
  
  .content h1 {
    font-size: 7rem;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    letter-spacing: 3px;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
    margin-bottom: 30px;
    transform: scale(1);
    animation: pulse 2s infinite;
  }
  
  @keyframes pulse {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.05);
    }
    100% {
      transform: scale(1);
    }
  }
  
  .hero-btn {
    text-decoration: none;
    display: inline-block;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    background: rgba(0, 71, 171, 0.7);
    padding: 15px 40px;
    border-radius: 50px;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
  }
  
  .hero-btn:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: rgba(255, 255, 255, 0.3);
    transition: width 0.3s ease;
  }
  
  .hero-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    background: rgba(0, 71, 171, 0.9);
  }
  
  .hero-btn:hover:before {
    width: 100%;
  }

/* Intro banner */
.intro-banner {
  background: linear-gradient(135deg, #0047AB 0%, #002c67 100%);
  color: white;
  padding: 60px 20px;
  text-align: center;
  position: relative;
}

.intro-text h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: 2px;
  font-family: 'Poppins', sans-serif;
}

.intro-paragraph {
  max-width: 800px;
  margin: 0 auto 30px;
  font-size: 1.2rem;
  line-height: 1.6;
  opacity: 0.9;
}

.stat-counter {
  position: relative;
  margin: 0 auto;
}

.counter {
  font-size: 6rem;
  font-weight: 800;
  color: white;
  display: block;
  line-height: 1;
  margin-bottom: 10px;
}

.stat-counter p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Story Grid */
.story-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 40px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.story-card {
  height: 500px;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  background: url('../images/drug.jpg') center/cover;
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
  transition: all 0.4s ease;
}

.seatbelt-card {
  background: url('../images/seatbelt.jpg') center/cover;
}

.story-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.8));
  display: flex;
  align-items: flex-end;
  padding: 40px;
  transition: background 0.4s ease;
}

.story-card:hover .card-overlay {
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.9));
}

.card-content {
  color: white;
}

.card-content h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: 'Poppins', sans-serif;
  position: relative;
}

.card-content h3:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 3px;
  background: white;
}

.card-stat {
  font-size: 3.5rem;
  font-weight: 800;
  margin: 20px 0;
  color: white;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.card-content p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  opacity: 0.9;
  line-height: 1.5;
}

.card-button {
  display: inline-flex;
  align-items: center;
  color: white !important;
  font-size: 1rem;
  background: transparent;
  border: 2px solid white;
  padding: 10px 25px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.card-button span {
  margin-right: 10px;
}

.card-button i {
  transition: transform 0.3s ease;
}

.card-button:hover {
  background: white;
  color: #0047AB !important;
}

.card-button:hover i {
  transform: translateX(5px);
}

/* Impact Section */
.impact-section {
  background: url('../images/crash.jpg') center/cover fixed;
  height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  margin: 60px 0;
}

.impact-section:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
}

.impact-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding-top: 30px;
  padding: 0 20px;
}

.impact-content h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 30px;
  font-family: 'Poppins', sans-serif;
}

.impact-paragraph {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.impact-stat {
  font-size: 1.8rem;
  margin-bottom: 40px;
  line-height: 1.5;
}

.highlight {
  font-size: 4rem;
  font-weight: 800;
  color: #0047AB;
  display: block;
  margin-bottom: 10px;
  text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.impact-button {
  display: inline-flex;
  align-items: center;
  color: white !important;
  font-size: 1.2rem;
  background: #0047AB;
  padding: 15px 40px;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.impact-button i {
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.impact-button:hover {
  background: white;
  color: #0047AB !important;
  transform: translateY(-5px);
}

.impact-button:hover i {
  transform: translateX(5px);
}

/* Final Message Section */
.final-message {
  background-color: #f8f9fa;
  padding: 80px 20px;
  text-align: center;
}

.message-content {
  max-width: 800px;
  margin: 0 auto;
}

.message-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0047AB;
  margin-bottom: 30px;
  font-family: 'Poppins', sans-serif;
}

.message-content p {
  font-size: 1.3rem;
  line-height: 1.6;
  color: #333;
}

/*Responsive*/
@media (max-width: 991px) {
  .story-grid {
    grid-template-columns: 1fr;
  }
  
  .content h1 {
    font-size: 4rem;
  }
  
  .intro-text h2,
  .impact-content h2,
  .cta-content h2 {
    font-size: 2rem;
  }
  
  .counter {
    font-size: 4rem;
  }
  
  .card-content h3 {
    font-size: 1.5rem;
  }
  
  .card-stat {
    font-size: 2.5rem;
  }
  
  .highlight {
    font-size: 3rem;
  }
}

@media (max-width: 800px) {
    nav ul li {
        padding: 10px 20px;
    }
    .content a {
        font-size: 18px;
    }
    .logo {
        top: 10px;
        left: 10px;
    }
    .logo img {
        width: 80px;
    }
    
    .content h1 {
      font-size: 3.5rem;
    }
    
    .hero-btn {
      padding: 12px 30px;
    }
    
    .cta-buttons {
      flex-direction: column;
      max-width: 250px;
      margin: 0 auto;
    }
}

.footer p {
  margin: 5px 0;
  opacity: 0.8;
}
a {
    text-decoration: none;
    font-size: 20px;
    color: black;
}
.body {
    background-color: rgb(253, 253, 253);
    max-width: 100%;
    min-height: 100vh;
    font-family: 'Montserrat', sans-serif;
  }
  
  .video {
    max-width: 100%;
    height: 103vh;
    position: relative;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .bgvideo {
    position: absolute;
    right: 0;
    z-index: -1;
  }
  
  /* Adjust background video size based on aspect ratio (for responsive use) */
  @media (min-aspect-ratio: 16/9) {
    .bgvideo {
      width: 100%;
      height: auto;
    }
  }
  
  @media (max-aspect-ratio: 16/9) {
    .bgvideo {
      width: auto;
      height: 100%;
    }
  }
  /*index page content styling*/
  .content {
    text-align: center;
    position: absolute;
  }
  
  .content h1 {
    font-size: clamp(200px, 4vw, 100px);
    color: white;
    font-family: 'Poppins', sans-serif;
  }
  
  .content a {
    text-decoration: none;
    display: inline-block;
    color: white;
    font-size: 24px;
    border: 2px solid white;
    padding: 15px 25px;
    border-radius: 50px;
    margin-top: 10px;
    transition: 0.5s ease;
  }
  
  .content a:hover {
    padding: 15px 70px;
    background: rgb(0, 0, 0);
  }

/* Story section styling */
.about {
  padding: 80px 0;
  background-color: #f8f8f8;
}

.story-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.story-container h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  text-align: center;
  color: #333;
  font-family: 'Poppins', sans-serif;
}

.story-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
  line-height: 1.6;
  font-size: 1.2rem;
  color: #555;
}

.story-section {
  display: flex;
  margin-bottom: 80px;
  align-items: center;
  gap: 40px;
}

.story-section.reverse {
  flex-direction: row-reverse;
}

.story-content {
  flex: 1;
}

.story-image {
  flex: 1;
  height: 350px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.drug-image {
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../images/drug.jpg') center/cover;
}

.seatbelt-image {
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../images/seatbelt.jpg') center/cover;
}

.crash-image {
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../images/crash.jpg') center/cover;
}

.story-content h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #333;
  font-family: 'Poppins', sans-serif;
}

.story-content p {
  margin-bottom: 15px;
  line-height: 1.6;
  color: #555;
  font-size: 1.1rem;
}

.story-button {
  display: inline-block;
  background-color: #333;
  color: white !important;
  padding: 12px 25px;
  border-radius: 50px;
  margin-top: 15px;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 2px solid #333;
}

.story-button:hover {
  background-color: transparent;
  color: #333 !important;
  transform: translateY(-3px);
}

.story-conclusion {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  border-top: 1px solid #ddd;
}

.story-conclusion h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #333;
  font-family: 'Poppins', sans-serif;
}

.story-conclusion p {
  line-height: 1.6;
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: #555;
}

/*Responsive*/
@media (max-width: 800px) {
    nav ul li {
        padding: 10px 20px;
    }
    .content a {
        font-size: 20px;
    }
    .logo {
        top: 10px;
        left: 10px;
    }
    .logo img {
        width: 80px;
    }
    .story-section {
        flex-direction: column;
    }
    .story-section.reverse {
        flex-direction: column;
    }
    .story-image {
        width: 100%;
        margin-top: 20px;
    }
    .story-container h2 {
        font-size: 2rem;
    }
    .story-content h3 {
        font-size: 1.5rem;
    }
}

.view-data-btn-container {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    margin-top: 32px;
    margin-bottom: 32px;
}

.view-data-btn {
    display: inline-block;
    padding: 12px 32px;
    background-color: #264ba9;
    color: #fff;
    font-size: 1.1rem;
    font-family: 'Montserrat', 'Poppins', Arial, sans-serif;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(38, 75, 169, 0.08);
    transition: background 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.view-data-btn:hover {
    background-color: #19336e;
    box-shadow: 0 4px 16px rgba(38, 75, 169, 0.15);
}