
    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background: linear-gradient(135deg, #f4e733, #e0e0e0);
      color: #333;
    }
    .navbar {
      background-color: #aa0380;
    }
    .navbar-brand, .nav-link {
      color: #fff !important;
    }
    .nav-link.active {
      color: #f4e733 !important;
      border-bottom: 2px solid #f4e733;
      transition: all 0.3s ease;
    }

    .hero {
      padding: 60px 20px;
      text-align: center;
      background-color: #fff;
    }
    .hero img {
      max-width: 200px;
      border-radius: 10px;
    }
    .section {
      padding: 60px 20px;
      background-color: #fff;
    }
    .gallery img {
      width: 100%;
      border-radius: 8px;
      margin-bottom: 15px;
    }
    .carousel-caption {
      background: rgba(0,0,0,0.5);
      border-radius: 8px;
    }
    footer {
      background-color: #aa0380;
      color: #fff;
      text-align: center;
      padding: 20px;
    }
    /* Default: right-align for larger screens */
    .right-text {
    text-align: right;
    }

    /* Mobile: left-align for screens smaller than 768px */
    @media (max-width: 767.98px) {
    .right-text {
        text-align: left;
    }
    }
    .gold-bg {
    background-color: #e8e38b; 
    }
    .text-purple {
    color: #aa0380;
    }
    /* Change arrow color to purple */
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
    background-image: none;
    width: 2rem;
    height: 2rem;
    border: solid #aa0380;
    border-width: 0 4px 4px 0;
    display: inline-block;
    padding: 6px;
    }

    /* Rotate arrows to match direction */
    .carousel-control-prev-icon {
    transform: rotate(135deg);
    }

    .carousel-control-next-icon {
    transform: rotate(-45deg);
    }
    /* Blur background when modal is active */
    body.modal-open #gallery {
    filter: blur(5px);
    pointer-events: none;
    }

    /* Modal styles */
    .modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    cursor: pointer;
    }

    .modal-content {
    display: block;
    width: 700px;
    height: 700px;
    object-fit: contain;
    margin: auto;
    margin-top: calc(50vh - 350px); /* Vertically center */
    border-radius: 8px;
    box-shadow: 0 0 20px #000;
    }

    /* Responsive for mobile devices */
    @media (max-width: 1024px) {
    .modal-content {
        width: 90vw;
        height: auto;
        margin-top: 15vh;
    }
    }


    .modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    display: none;
    }
    .gallery-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px; /* Optional: adds rounded corners */
    }
    #backToTop {
      position: fixed;
      bottom: 20px;
      right: 20px;
      z-index: 9999;
      display: none;
      font-weight: bold;
      border-radius: 50px;
      padding: 10px 20px;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    }


    /* Optional: make it slightly smaller on mobile */
    @media (max-width: 576px) {
      #backToTop {
        padding: 8px 16px;
        font-size: 14px;
      }
    }

    #formMessage {
      display: none;
      border: 2px solid #aa0380; /* Royal purple */
      padding: 10px 15px;
      border-radius: 8px;
      background-color: #fdf6ff; /* Soft lavender background */
      color: #aa0380;
      font-weight: 500;
      animation: fadeIn 0.6s ease-in-out;
    }

    /* Fade-in animation */
    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translateY(10px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }





    




