@media screen and (max-width: 992px) {

  /* Top Bar Horizontal */
  .top-bar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 5px 15px;
    font-size: 13px;
  }

  /* Hamburger */
  .hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
  }
  .hamburger span {
    width: 25px;
    height: 3px;
    background: #000;
    border-radius: 2px;
  }

  /* Slide-in menu */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: max-content;      /* adapt width to content */
    min-width: 220px;
    max-width: 300px;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 20px;
    gap: 20px;
    transition: right 0.3s ease;
    z-index: 1000;
  }
  .nav-links.active {
    right: 0;
  }

  /* Dropdown submenu */
  .dropdown:hover .submenu { display: none; } /* disable hover effect on mobile */
  .dropdown .submenu {
    position: static;
    box-shadow: none;
    padding-left: 15px;
    display: none;
    flex-direction: column;
    gap: 10px;
  }
  .dropdown.active .submenu {
    display: flex;
  }

  /* Hide social icons on mobile */
  .social-icons { display: none; }
}

@media screen and (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  /* Ensure image appears right after heading */
  .about-text h4 {
    order: 1; /* About Us heading */
  }

  .about-image {
    order: 1; /* Image comes right after heading */
    margin: 15px 0;
  }

  .about-text h2 {
    order: 3; /* Subheading after image */
  }

  .about-text p,
  .about-text h3 {
    order: 4;
  }

  .about-image img {
    max-width: 90%;
    height: auto;
    margin: 0 auto;
    display: block;
  }
}

/* ===== Mobile Responsive (Blessing Section) ===== */
@media screen and (max-width: 768px) {
  .blessing-heading {
    font-size: 1.5rem;
    line-height: 1.4;
    padding: 0 10px;
  }

  .blessing-video {
    padding-bottom: 60%; /* maintain aspect ratio */
    height: 0;
    position: relative;
  }

  .blessing-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}

@media screen and (max-width: 480px) {
  .blessing-heading {
    font-size: 1.25rem;
  }

  .blessing-video {
    padding-bottom: 65%; /* slightly taller for small screens */
  }
}

/* Default: both visible as per desktop css */

/* On mobile hide top-bar, show ticker */
@media (max-width: 768px) {
  .top-bar {
    visibility: hidden;
    height: 0;
    overflow: hidden;
  }

  .event-ticker {
    visibility: visible;
    height: auto;
  }
}

/* Black text style */
.black-text {
  color: black;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 8px 0;
}

/* Container for trust details */
.trust-details {
  max-width: 500px;            /* restrict width */
  margin: 20px auto;           /* center container */
  padding: 15px;
  background-color: #f9f9f9;   /* subtle background */
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.trust-details h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
  .trust-details {
    padding: 12px;
    margin: 15px;
  }

  .trust-details h2 {
    font-size: 1.5rem;
  }
}

