/* ===== Reset & Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
}

/* ===== Video Banner Section ===== */
.video-banner {
  position: relative;
  width: 100%;
  min-height: 100vh;
  /* full screen height */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-banner img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* Background Video */
.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* ===== Play Button ===== */
.play-button {
  width: 90px;
  height: 90px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s ease;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
}

.play-button span {
  font-size: 2.5rem;
  color: #864f73;
  margin-left: 5px;
  /* center visual balance for triangle shape */
}

.play-button:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.4);
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 600px) {
  .play-button {
    width: 70px;
    height: 70px;
  }

  .play-button span {
    font-size: 2rem;
  }
}

/* real time features  */

.safety-section {
  margin: 120px auto;
  text-align: center;
}

.section-header {
  margin-bottom: 80px;
}

.section-header h1 {
  font-size: 48px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.section-header p {
  font-size: 18px;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 60px;
  max-width: 1500px;
  margin: 0 auto;
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 32px;
  transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.icon-green {
  background: linear-gradient(135deg, #7dd3c0 0%, #5fb8a8 100%);
}

.icon-blue {
  background: linear-gradient(135deg, #a8b8e6 0%, #8fa0d4 100%);
}

.icon-red {
  background: linear-gradient(135deg, #ff7b8f 0%, #f06479 100%);
}

.icon-purple {
  background: linear-gradient(135deg, #b87db8 0%, #a065a0 100%);
}

.feature-icon svg {
  width: 36px;
  height: 36px;
  fill: white;
}

.feature-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.feature-card p {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  max-width: 280px;
}

@media (max-width: 968px) {
  .section-header h1 {
    font-size: 36px;
  }

  .features-grid {
    gap: 50px;
  }
}

@media (max-width: 640px) {
  /* body {
    padding: 60px 20px;
  } */

  .section-header h1 {
    font-size: 32px;
  }

  .section-header p {
    font-size: 16px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* safe ride section  */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

.safety-section {
  width: 100%;
  overflow: hidden;
}

/* Top banner section */
.banner {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 400px;
  background: url("../../images/riding.png") center center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.overlay {
  position: relative;
  text-align: center;
  color: white;
  z-index: 2;
  max-width: 700px;
  padding: 0 20px;
}

.overlay h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.overlay p {
  font-size: 1rem;
  opacity: 0.9;
}

/* Safety boxes */
.tips-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  padding: 40px 20px;
  flex-wrap: wrap;
  background: #fff;
}

.tip-box {
  background: #fff;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  flex: 1 1 420px;
  max-width: 480px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.tip-header {
  text-align: center;
  color: white;
  font-weight: 600;
  padding: 12px 0;
  border-radius: 8px 8px 0 0;
}

.purple {
  background: #7e74f1;
}

.green {
  background: #48b494;
}

.tip-box ul {
  list-style: none;
  padding: 20px 30px;
}

.tip-box ul li {
  font-size: 1rem;
  color: #333;
  margin-bottom: 12px;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .banner {
    height: 50vh;
  }

  .overlay h2 {
    font-size: 1.5rem;
  }

  .overlay p {
    font-size: 0.9rem;
  }

  .tips-container {
    flex-direction: column;
    align-items: center;
  }

  .tip-box {
    width: 100%;
    max-width: 95%;
  }
}

/* Safe Section */

.safe-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1200px;
  width: 100%;
  gap: 40px;
  flex-wrap: wrap;
}

.safe-section {
  padding: 80px 20px;
  display: flex;
  justify-content: center;
  background: #fafafa;
}

.container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1200px;
  width: 100%;
  gap: 40px;
  flex-wrap: wrap;
}

/* Left Side */
.left-content {
  flex: 1 1 48%;
}

.left-content h2 {
  font-size: 2rem;
  color: #222;
  font-weight: 700;
  margin-bottom: 10px;
}

.left-content p {
  color: #555;
  font-size: 1rem;
  margin-bottom: 30px;
}

.image-grid {
  display: flex;
  align-items: center;
}

.image-grid img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

/* Right Side */
.right-content {
  flex: 1 1 48%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.card {
  background: #fff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.icon {
  width: 40px;
  height: 40px;
  background-color: #9c588d;
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 15px;
}

.card h4 {
  font-size: 1.1rem;
  color: #222;
  margin-bottom: 8px;
  font-weight: 600;
}

.card p {
  color: #555;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Tablet - Medium Screens */
@media (max-width: 1024px) {
  .container {
    gap: 20px;
  }

  .right-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablet - Stack Layout */
@media (max-width: 992px) {
  .container {
    flex-direction: column;
    align-items: center;
  }

  .left-content,
  .right-content {
    flex: 1 1 100%;
  }

  .right-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 600px) {
  .safe-section {
    padding: 50px 15px;
  }

  .left-content h2 {
    font-size: 1.6rem;
  }

  .right-content {
    grid-template-columns: 1fr;
  }

  .image-grid {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* safe riding cta  */
.safe-ride-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 50vh;
  border: 1px solid rgba(166, 90, 138, 0.3);
  background: rgba(196, 178, 207, 0.12);
  margin: 100px auto;
  padding: 20px;
  text-align: center;
}

.safe-ride-cta h1 {
  font-size: 48px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.96px;
  text-transform: capitalize;
  color: var(--text-color, rgba(39, 39, 39, 0.8));
  margin-bottom: 20px;
}

.safe-ride-cta button {
  display: flex;
  width: 228px;
  height: 52px;
  padding: 10px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  background: var(--l, linear-gradient(270deg, #6a1b9a 0%, #c11d5c 100%));
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

/* ========================
   RESPONSIVE STYLES
======================== */

/* Tablets */
@media (max-width: 992px) {
  .safe-ride-cta {
    height: auto;
    margin: 80px auto;
    padding: 60px 20px;
  }

  .safe-ride-cta h1 {
    font-size: 36px;
  }

  .safe-ride-cta button {
    width: 200px;
    height: 48px;
    font-size: 15px;
  }
}

/* Mobile (under 650px) */
@media (max-width: 650px) {
  .safe-ride-cta {
    margin: 60px auto;
    padding: 50px 16px;
  }

  .safe-ride-cta h1 {
    font-size: 28px;
    line-height: 1.4;
  }

  .safe-ride-cta button {
    width: 180px;
    height: 45px;
    font-size: 14px;
  }
}

/* Extra Small Devices (under 400px) */
@media (max-width: 400px) {
  .safe-ride-cta h1 {
    font-size: 24px;
  }

  .safe-ride-cta button {
    width: 160px;
    height: 42px;
    font-size: 13px;
  }
}