 :root {
        --primary: #9c3d0e;
        --primary-light: #c45a1a;
        --gold: #d4af37;
        --gold-light: #f1e5ac;
        --dark: #1a1a1a;
        --light: #f9f6ee;
        --text: #333;
        --text-light: #777;
      }

      * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }

      body {
        font-family: "Poppins", sans-serif;
        background-color: var(--light);
        color: var(--text);
        overflow-x: hidden;
        line-height: 1.7;
      }

      h1,
      h2,
      h3,
      h4 {
        font-family: "Playfair Display", serif;
        font-weight: 600;
        color: var(--primary);
      }

      /* Particle Background */
      #particles-js {
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: -1;
        opacity: 0.3;
      }

     
      

      .loader {
        width: 50px;
        height: 50px;
        border: 5px solid var(--gold-light);
        border-radius: 50%;
        border-top-color: transparent;
        animation: spin 1s linear infinite;
      }

      @keyframes spin {
        100% {
          transform: rotate(360deg);
        }
      }

       
      /* Header */
      header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        padding: 20px 0;
        z-index: 1000;
        transition: all 0.5s ease;
      }

      header.scrolled {
        background-color: rgba(156, 61, 14, 0.95);
        padding: 15px 0;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
      }

      .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 90%;
        max-width: 1200px;
        margin: 0 auto;
      }

      .logo {
        display: flex;
        align-items: center;
        gap: 15px;
      }

      .logo-img {
        width: 60px;
        height: 60px;
        background-color:white;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transform-style: preserve-3d;
        transition: all 0.5s ease;
      }

      .logo-img:hover {
        transform: rotateY(180deg);
      }

      .logo-img img {
        width: 70%;
        height: 70%;
        object-fit: contain;
      }

      .logo-text h1 {
        font-size: 1.5rem;
        color: white;
        margin-bottom: 5px;
        line-height: 1.2;
      }

      .logo-text p {
        font-size: 0.7rem;
        color: var(--gold-light);
        letter-spacing: 1px;
      }

      nav ul {
        display: flex;
        gap: 30px;
      }

      nav ul li a {
        color: white;
        font-weight: 500;
        position: relative;
        padding: 5px 0;
        transition: all 0.3s ease;
      }

      nav ul li a::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background-color: var(--gold);
        transition: width 0.3s ease;
      }

      nav ul li a:hover::after {
        width: 100%;
      }

      nav ul li a:hover {
        color: var(--gold);
      }

      .mobile-menu-btn {
        display: none;
        background: none;
        border: none;
        color: white;
        font-size: 1.8rem;
        cursor: pointer;
        z-index: 1001;
      }

      /* Hero Section */
      .hero {
        height: 100vh;
        display: flex;
        align-items: center;
        position: relative;
        overflow: hidden;
      }

      .hero-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: 
          url("image/HeaderImage.jpg") no-repeat center center/cover;
        z-index: -1;
        transform: scale(1.1);
        transition: transform 10s ease;
      }

      .hero:hover .hero-bg {
        transform: scale(1);
      }

      .hero-content {
        width: 90%;
        max-width: 1200px;
        margin: 0 auto;
        color: rgb(0, 0, 0);
        transform: translateY(50px);
        opacity: 0;
        animation: fadeInUp 1s ease 0.5s forwards;
      }

      @keyframes fadeInUp {
        to {
          transform: translateY(0);
          opacity: 1;
        }
      }

      .hero h1 {
        font-size: 3.5rem;
        margin-bottom: 20px;
        color: white;
        text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
        line-height: 1.2;
      }

      .hero h1 span {
        color: var(--gold);
        display: block;
      }

      .hero p {
        font-size: 1.2rem;
        max-width: 600px;
        margin-bottom: 30px;
        opacity: 0.9;
      }

      .cta-buttons {
        display: flex;
        gap: 20px;
      }

      .cta-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 15px 30px;
        border-radius: 50px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-size: 0.9rem;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        z-index: 1;
      }

      .cta-button.primary {
        background-color: rgb(199, 11, 11);
        color: white;
        box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
      }

      .cta-button.primary:hover {
        background-color: var(--gold-light);
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
        color: #1a1a1a;
      }

      .cta-button.secondary {
        background-color: rgb(255, 85, 0);
        color: white;
        border: 2px  ;
      }

      .cta-button.secondary:hover {
        background-color: var(--gold);
        color: var(--dark);
        transform: translateY(-3px);
      }

      .cta-button i {
        margin-right: 10px;
        font-size: 1.1rem;
      }

      /* Floating Elements */
      .floating-elements {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        overflow: hidden;
      }

      .floating-element {
        position: absolute;
        background-size: contain;
        background-repeat: no-repeat;
        opacity: 0.1;
        animation: float 15s infinite linear;
      }

      .floating-element.om {
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23d4af37"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/><path d="M12 6c-3.31 0-6 2.69-6 6s2.69 6 6 6 6-2.69 6-6-2.69-6-6-6zm0 10c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4z"/></svg>');
        width: 100px;
        height: 100px;
      }

      @keyframes float {
        0% {
          transform: translateY(0) rotate(0deg);
        }
        50% {
          transform: translateY(-20px) rotate(180deg);
        }
        100% {
          transform: translateY(0) rotate(360deg);
        }
      }

      /* Services Section */
      .services {
        padding: 100px 0;
        position: relative;
        background-color: var(--light);
      }

      .section-header {
        text-align: center;
        margin-bottom: 60px;
        transform: translateY(50px);
        opacity: 0;
        transition: all 0.8s ease;
      }

      .section-header.in-view {
        transform: translateY(0);
        opacity: 1;
      }

      .section-header h2 {
        font-size: 2.5rem;
        margin-bottom: 15px;
        position: relative;
        display: inline-block;
      }

      .section-header h2::after {
        content: "";
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 3px;
        background-color: var(--gold);
      }

      .section-header p {
        max-width: 700px;
        margin: 0 auto;
        color: var(--text-light);
      }

      .services-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
      }

      .service-card {
        background-color: white;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        transition: all 0.5s ease;
        transform: translateY(50px);
        opacity: 0;
      }

      .service-card.in-view {
        transform: translateY(0);
        opacity: 1;
        border: 5px solid red;
      }

      .service-card:hover {
        transform: translateY(-10px) !important;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
      }

      .service-img {
        height: 220px;
        overflow: hidden;
        position: relative;
      }

      .service-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.8s ease;
      }

      .service-card:hover .service-img img {
        transform: scale(1.1);
      }

      .service-tag {
        position: absolute;
        top: 20px;
        right: 20px;
        background-color: var(--gold);
        color: var(--dark);
        padding: 5px 15px;
        border-radius: 50px;
        font-size: 0.8rem;
        font-weight: 600;
      }

      .service-content {
        padding: 25px;
      }

      .service-content h3 {
        font-size: 1.4rem;
        margin-bottom: 10px;
        color: var(--primary);
      }

      .service-content p {
        color: var(--text-light);
        margin-bottom: 15px;
        font-size: 0.95rem;
      }

      .service-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 20px;
        padding-top: 15px;
        border-top: 1px dashed #eee;
      }

      .service-price {
        font-weight: 700;
        color: var(--primary);
        font-size: 1.2rem;
      }

      .service-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: var(--gold);
        color: var(--dark);
        transition: all 0.3s ease;
      }

      .service-button:hover {
        background-color: var(--primary);
        color: white;
        transform: rotate(45deg);
      }

      /* About Section */
      .about {
        padding: 100px 0;
        background: linear-gradient(
          135deg,
          var(--primary) 0%,
          var(--primary-light) 100%
        );
        color: white;
        position: relative;
        overflow: hidden;
      }

      .about::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.03)" d="M0,0 L100,0 L100,100 L0,100 Z" /></svg>');
        background-size: 100px 100px;
        opacity: 0.2;
      }

      .about-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 50px;
        align-items: center;
        width: 90%;
        max-width: 1200px;
        margin: 0 auto;
      }

      .about-img {
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
        transform: translateX(-50px);
        opacity: 0;
        transition: all 0.8s ease;
      }

      .about-img.in-view {
        transform: translateX(0);
        opacity: 1;
      }

      .about-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
      }

      .about-content {
        transform: translateX(50px);
        opacity: 0;
        transition: all 0.8s ease 0.2s;
      }

      .about-content.in-view {
        transform: translateX(0);
        opacity: 1;
      }

      .about-content h2 {
        font-size: 2.5rem;
        margin-bottom: 20px;
        color: white;
      }

      .about-content p {
        margin-bottom: 15px;
        opacity: 0.9;
      }

      .about-features {
        margin-top: 30px;
      }

      .feature-item {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 15px;
        padding: 15px;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        transition: all 0.3s ease;
      }

      .feature-item:hover {
        background-color: rgba(255, 255, 255, 0.2);
        transform: translateX(5px);
      }

      .feature-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
        background-color: var(--gold);
        color: var(--dark);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
      }

      .feature-text h4 {
        color: white;
        margin-bottom: 5px;
        font-size: 1.1rem;
      }

      .feature-text p {
        margin-bottom: 0;
        font-size: 0.9rem;
        opacity: 0.8;
      }

        

      /* Contact Section */
      .contact {
        padding: 100px 0;
        background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
          url("image/MahakaleshwarJyotirlingaUjjain.png")
            no-repeat center center/cover;
        color: white;
        position: relative;
      }

      .contact::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(
          45deg,
          var(--primary) 0%,
          rgba(156, 61, 14, 0.7) 100%
        );
        opacity: 0.9;
        z-index: -1;
      }

      .contact-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 50px;
        width: 90%;
        max-width: 1200px;
        margin: 0 auto;
      }

      .contact-info {
        transform: translateX(-50px);
        opacity: 0;
        transition: all 0.8s ease;
      }

      .contact-info.in-view {
        transform: translateX(0);
        opacity: 1;
      }

      .contact-info h2 {
        font-size: 2.5rem;
        margin-bottom: 20px;
        color: white;
        position: relative;
        padding-bottom: 15px;
      }

      .contact-info h2::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 80px;
        height: 3px;
        background-color: var(--gold);
      }

      .contact-info p {
        margin-bottom: 30px;
        opacity: 0.9;
      }

      .contact-details {
        margin-top: 30px;
      }

      .contact-item {
        display: flex;
        align-items: center;
        gap: 20px;
        margin-bottom: 25px;
        padding: 15px;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        transition: all 0.3s ease;
      }

      .contact-item:hover {
        background-color: rgba(255, 255, 255, 0.2);
        transform: translateX(5px);
      }

      .contact-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
        background-color: var(--gold);
        color: var(--dark);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
      }

      .contact-text h3 {
        color: white;
        margin-bottom: 5px;
        font-size: 1.1rem;
      }

      .contact-text a {
        color: var(--gold-light);
        transition: color 0.3s ease;
      }

      .contact-text a:hover {
        color: white;
      }

      .social-links {
        display: flex;
        gap: 15px;
        margin-top: 30px;
      }

      .social-link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.1);
        color: white;
        font-size: 1.2rem;
        transition: all 0.3s ease;
      }

      .social-link:hover {
        background-color: var(--gold);
        color: var(--dark);
        transform: translateY(-5px);
      }

      .contact-form {
        background-color: white;
        padding: 40px;
        border-radius: 15px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        transform: translateX(50px);
        opacity: 0;
        transition: all 0.8s ease 0.2s;
      }

      .contact-form.in-view {
        transform: translateX(0);
        opacity: 1;
      }

      .contact-form h3 {
        font-size: 1.8rem;
        margin-bottom: 20px;
        color: var(--primary);
      }

      .form-group {
        margin-bottom: 20px;
      }

      .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 500;
        color: var(--text);
      }

      .form-group input,
      .form-group textarea,
      .form-group select {
        width: 100%;
        padding: 12px 15px;
        border: 1px solid #ddd;
        border-radius: 8px;
        font-size: 1rem;
        transition: all 0.3s ease;
      }

      .form-group input:focus,
      .form-group textarea:focus,
      .form-group select:focus {
        border-color: var(--primary);
        outline: none;
        box-shadow: 0 0 0 3px rgba(156, 61, 14, 0.1);
      }

      .form-group textarea {
        height: 120px;
        resize: vertical;
      }

      .submit-btn {
        background-color: var(--primary);
        color: white;
        border: none;
        padding: 15px 30px;
        border-radius: 50px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        width: 100%;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-size: 0.9rem;
      }

      .submit-btn:hover {
        background-color: var(--primary-light);
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(156, 61, 14, 0.3);
      }

      /* Footer */
      footer {
        background-color: var(--dark);
        color: white;
        padding: 70px 0 30px;
        position: relative;
      }

      .footer-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 40px;
        width: 90%;
        max-width: 1200px;
        margin: 0 auto 50px;
      }

      .footer-col h3 {
        font-size: 1.3rem;
        margin-bottom: 20px;
        position: relative;
        padding-bottom: 10px;
        color: white;
      }

      .footer-col h3::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 40px;
        height: 2px;
        background-color: var(--gold);
      }

      .footer-col p {
        opacity: 0.8;
        margin-bottom: 20px;
        font-size: 0.95rem;
      }

      .footer-links li {
        margin-bottom: 12px;
      }

      .footer-links a {
        opacity: 0.8;
        transition: all 0.3s ease;
        display: inline-block;
        color: white;
      }

      .footer-links a:hover {
        opacity: 1;
        color: var(--gold);
        transform: translateX(5px);
      }

      .footer-social {
        display: flex;
        gap: 15px;
        margin-top: 20px;
      }

      .footer-social a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.1);
        color: white;
        transition: all 0.3s ease;
      }

      .footer-social a:hover {
        background-color: var(--gold);
        color: var(--dark);
        transform: translateY(-5px);
      }

      .copyright {
        text-align: center;
        padding-top: 30px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 0.9rem;
        opacity: 0.7;
      }

      /* WhatsApp Float Button */
      .whatsapp-float {
        position: fixed;
        bottom: 30px;
        right: 30px;
        background-color: #25d366;
        color: white;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.8rem;
        box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
        z-index: 999;
        transition: all 0.3s ease;
        animation: pulse 2s infinite;
      }

      @keyframes pulse {
        0% {
          box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
        }
        70% {
          box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
        }
        100% {
          box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
        }
      }

      .whatsapp-float:hover {
        transform: scale(1.1) translateY(-5px);
        animation: none;
      }

      /* Back to Top Button */
      .back-to-top {
        position: fixed;
        bottom: 100px;
        right: 30px;
        width: 50px;
        height: 50px;
        background-color: var(--primary);
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
      }

      .back-to-top.active {
        opacity: 1;
        visibility: visible;
        bottom: 100px;
      }

      .back-to-top:hover {
        background-color: var(--gold);
        color: var(--dark);
        transform: translateY(-5px);
      }

      /* Responsive Styles */
      @media (max-width: 992px) {
        .about-container,
        .contact-container {
          grid-template-columns: 1fr;
        }

        .about-img {
          max-width: 500px;
          margin: 0 auto;
        }

        .contact-info {
          text-align: center;
        }

        .contact-details {
          max-width: 500px;
          margin: 30px auto 0;
        }

        .social-links {
          justify-content: center;
        }
      }

      @media (max-width: 768px) {
        .header-container {
          width: 80%;
        }

        nav ul {
          position: fixed;
          top: 0;
          right: -100%;
          width: 280px;
          height: 100vh;
          background-color: var(--primary);
          flex-direction: column;
          align-items: center;
          justify-content: center;
          gap: 30px;
          transition: right 0.5s ease;
          z-index: 1000;
          box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        }

        nav ul.active {
          left: 0;
        }

        .mobile-menu-btn {
          display: block;
        }

        .hero h1 {
          font-size: 2.5rem;
        }

        .hero p {
          font-size: 1rem;
        }

        .cta-buttons {
          flex-direction: column;
          gap: 15px;
          margin: 200px 0px 0px 0px;
        }

        .section-header h2 {
          font-size: 2rem;
        }

        .about-content h2,
        .contact-info h2 {
          font-size: 2rem;
        }

        .contact-form {
          padding: 30px 20px;
        }
      }

      @media (max-width: 576px) {
        .logo-text h1 {
          font-size: 1.2rem;
        }

        .hero h1 {
          font-size: 2rem;
        }

        .service-card {
          max-width: 350px;
          margin: 0 auto;
        }

        .footer-container {
          grid-template-columns: 1fr;
          text-align: center;
        }

        .footer-social {
          justify-content: center;
        }
      }

/* Gallery Section */
.gallery {
  padding: 100px 0;
  background-color: var(--light);
  position: relative;
}

.gallery::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(156,61,14,0.03)" d="M0,0 L100,0 L100,100 L0,100 Z" /></svg>');
  background-size: 100px 100px;
  opacity: 0.1;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  height: 250px;
  transition: all 0.5s ease;
  transform: translateY(50px);
  opacity: 0;
}

.gallery-item.in-view {
  transform: translateY(0);
  opacity: 1;
}

.gallery-item:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  padding: 20px;
  color: white;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h3 {
  font-size: 1.2rem;
  margin-bottom: 0;
  font-family: "Poppins", sans-serif;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}