/* Reset & Base */
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Segoe UI', sans-serif;
}

/* Video Background */
.video-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -3;
  opacity: 1!important;
}

#bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay for dimming */
.overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  /*background: rgba(0,0,0,0.6);*/
  z-index: -1;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-shadow: 2px 2px 8px #000;
}

/* Navbar */
.navbar {
  transition: background-color 0.3s;
}

/* On scroll background */
.navbar.scrolled {
  background-color: rgba(0, 0, 0, 0.8) !important;
}
.service-card {
  transition: 0.3s;
}
.service-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.gallery img {
  object-fit: cover;
  height: 200px;
  width: 100%;
}
.footer {
  background: #343a40;
  color: #fff;
  padding: 30px 0;
}
.gallery-image {
      transition: transform 1s;
      cursor: pointer;
    }

    .gallery-image:hover {
      transform: rotate(360deg);
    }

    .image-card {
      border: 1px solid #ddd;
      border-radius: 10px;
      padding: 10px;
      box-shadow: 0 0 10px rgba(0,0,0,0.1);
      transition: transform 0.3s;
    }

    .image-card:hover {
      transform: scale(1.03);
    }

    .image-title {
      font-weight: 600;
      margin-top: 10px;
    }

    .image-desc {
      font-size: 0.9rem;
      color: #555;
    }
    .flip-card {
      background-color: transparent;
      perspective: 1000px;
      margin-bottom: 30px;
    }

    .flip-card-inner {
      position: relative;
      width: 100%;
      height: 200px;
      transition: transform 0.6s;
      transform-style: preserve-3d;
    }

    .flip-card:hover .flip-card-inner {
      transform: rotateY(180deg);
    }

    .flip-card-front, .flip-card-back {
      position: absolute;
      width: 100%;
      height: 100%;
      backface-visibility: hidden;
      border-radius: 10px;
      overflow: hidden;
    }

    .flip-card-front img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .flip-card-back {
      background: #343a40;
      color: white;
      transform: rotateY(180deg);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
      text-align: center;
    }

    .flip-card-back h5 {
      margin-bottom: 10px;
    }
    .section-title {
    font-size: 2.5rem;
    font-weight: bold;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    color: #343a40;
  }

  .section-title::after {
    content: '';
    width: 60px;
    height: 4px;
    background: #ffc107;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
  }

  .section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-top: 10px;
  }
  .fancy-title {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 3rem;
  }

  .fancy-title::before,
  .fancy-title::after {
    content: "";
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, transparent, #800080, transparent);
    max-width: 200px;
  }

  .fancy-title span {
    padding: 0.6rem 2rem;
    border: 2px solid #ffc107;
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #343a40;
    border-radius: 50px;
    background: #fff;
    margin: 0 20px;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease-in-out;
  }

  .fancy-title span:hover {
    background: #ffc107;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
  .bg-light{
    background: rgba(255,255,255,0.5)!important;
    z-index: -1!important;
  }
  .contact-title {
      font-size: 2rem;
      font-weight: bold;
      position: relative;
      display: inline-block;
      margin-bottom: 30px;
    }

    .contact-title::before,
    .contact-title::after {
      content: '';
      position: absolute;
      top: 50%;
      width: 80px;
      height: 2px;
      background-color: #000;
    }

    .contact-title::before {
      right: 100%;
      margin-right: 15px;
    }

    .contact-title::after {
      left: 100%;
      margin-left: 15px;
    }

    .contact-info i {
      color: #0d6efd;
      margin-right: 10px;
    }

    .form-control, .btn {
      border-radius: 0.5rem;
    }
    .navbar{
      background-color: purple!important;
    }
    .card img {
    width: 100%;
    height: 20vw;
    object-fit: cover;
    }
    .toppopup{
      position: relative;
      top:10;
      left:10;
      width: 30px;
      height: 30px;
      background: rgba(255, 255, 255, .5);
    }
    .gold-border {
  background: #fff;
  border: 4px solid gold!important;
  border-radius: 10px!important;
  box-shadow: 
    0 4px 6px rgba(0, 0, 0, 0.3),   /* dark shadow for depth */
    inset 2px 2px 5px rgba(255, 255, 255, 0.6), /* inner light */
    inset -2px -2px 5px rgba(0, 0, 0, 0.3)!important;     /* inner depth */
  
  /* optional golden gradient effect */
  border-image: linear-gradient(45deg, #d4af37, #ffd700, #b8860b) 1!important;
}