@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Lora:ital,wght@0,400..700;1,400..700&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
:root{
  --header-font:"Lora", serif;
  --text-font:"Nunito", sans-serif;
}
*{
  padding: 0;
  margin: 0;
}
body{
  background-color: #f0f0f0;
}
html, body {
  height: 100%;
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
  scroll-behavior: smooth;
}

header{
  scroll-snap-align: start;
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #5d2d7d;
  padding: 10px 25px;
}
header img{
  width: 80px;
}
header i{
  color: white;
}
header nav a{
  color: #ffffffb0;
  text-decoration: none;
  font-family: var(--text-font);
  font-weight: 600;
  padding: 0px 5px;
  font-size: 16px;
}
header nav a:hover{
  color: white;
}
#menu,#cancel{
  display: none;
  font-size: 22px;
  transition: 0.7s ease-in-out;
}
#cancel{
  color: #5d2d7d;
}
#cancel:focus{
  color: red;
}
section{
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  scroll-snap-align: start;    /* snap at top */
  scroll-snap-stop: always;
  position: relative;
  transition: transform 0.6s ease;
}
.section-content{
  background-color: white;
  height: 85vh;
  width: 80%;
  border-radius: 7px;
  display: flex;
}
.sect-img{
  width: 45%;
  object-fit: contain;
}
.sect-img img{
  height: 100%;
  width: 100%;
  border-radius: 7px;
  box-shadow: 10px 0 10px 1px rgba(0, 0, 0, 0.295);
}
.player-container{
  width: 50%
}
.player-container iframe{
  width: 100%;
  height: 100%;
  border-radius: 7px;
  box-shadow: 10px 0 10px 1px rgba(0, 0, 0, 0.295);
}
.sect-txt{
  width: 55%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sect-txt h2, .sect-txt h1{
  color: #7630a4;
  font-family: var(--header-font);
  font-size: 38px;
  padding: 0px 20px 0px 30px;
  margin-bottom: 30px;
}
.sect-txt ul{
  font-family: var(--text-font);
  padding: 0px 20px 0px 40px;
  margin-left: 30px;
  color: #272727;
  list-style-type:square;
  margin-bottom: 25px;
}
.sect-txt ul li{
  font-size: 19px;
  margin-bottom: 20px;
  font-weight: 300;
}
.tagline{
  margin-bottom: 10px;
}
.service-description,.tagline{
  padding: 0px 30px;
  margin-left: 20px;
  font-family: var(--text-font);
  font-size: 19px;
  font-weight: 300;
  margin-bottom: 25px;
}
.mission{
  padding: 0px 30px;
  margin-left: 20px;
  font-family: var(--text-font);
  font-size: 19px;
  margin-bottom: 25px;
  color: #5d2d7d;
  font-weight: 800;
}
.btn{
  font-family: var(--text-font);
  color: white;
  background-color: #62238c;
  width: fit-content;
  padding: 10px 20px;
  font-weight: 700;
  text-decoration: none;
  margin-left: 50px;
  border-radius: 3px;
  transition: ease-in-out 0.3s;
}
.btn:hover{
  background-color: #7412b6;
}
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { margin-bottom: 10px; }
.contact-link {
  display: inline-flex; 
  align-items: center; 
  gap: 15px;
  text-decoration: none; 
  color: #272727; 
  font-weight: 600;
}

@media (max-width: 992px) {
  #menu,#cancel{
    display: block;
  }
  header img{
    width: 65px;
  }
  #links{
    width: 70%;
    position: fixed;
    background-color: white;
    top: 0;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    left: -450px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    transition: all 1s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 999;
  }
  .l{
    display: flex;
    height: 100vh;
    flex-direction: column  ;
    justify-content: space-evenly;
    align-items: start;
    color: #5d2d7d;
  }
  #links a{
    color: #5d2d7d;
    display: flex;
  }
  .section-content{
    height: 87vh;
    display: flex;
    flex-direction: column;
  }
  .sect-txt{
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .sect-img{
    width: 100%;
    height: 50%;
  }
  .sect-img img{
    box-shadow: 0 10px 10px 1px rgba(0, 0, 0, 0.295);
  }
  .player-container{
    width: 100%;
    height: 50%;
  }
  .player-container iframe{
    height: 100%;
    box-shadow: 0 10px 10px 1px rgba(0, 0, 0, 0.295);
  }
  .sect-txt h1{
    font-size: 18px;
    padding: 0;
    margin: 0;
    text-align: center;
    margin: auto;
    width: 80%;
    margin-top: 20px;
    margin-bottom: 10px;
  }
  .sect-txt h2{
    font-size: 20px;
    padding: 0;
    margin: 0;
    text-align: center;
    margin: auto;
    width: 80%;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .sect-txt ul{
    padding: 0;
    margin: 0;
    width: 75%;
    margin: auto;
    margin-bottom: 10px;
  } 
  .sect-txt ul li{
    font-size: 11px;
    margin-bottom: 10px;
  }
  .btn{
    font-size: 13px;
    margin: auto;
    margin-top: 10px;
  }
  .mission{
    padding: 0;
    margin: 0;;
    font-size: 10px;
    width: 80%;
    margin: auto;
  }
  .contact-list ul li a{
    font-size: 10px;
    margin: 0;
    padding: 0;
  }
  .contact-link {
    gap: 0;
  }
  .service-description,.tagline{
    padding:0;
    margin: 0;
    font-size: 12px;
    width: 85%;
    font-weight: 300;
    margin: auto;
  }
  .tagline{
    margin-bottom: 10px;
  }
}
/* --- MODAL STYLES --- */
/* FIX 1: The hidden state class */
.modal-hidden {
    display: none;
    /* Remove redundant positioning rules here */
}

.modal-visible {
    /* CRITICAL: Positioning to make it a true overlay */
    position: fixed !important;
    z-index: 9999 !important;
    /* Made Z-index very high to prevent any stacking issues */
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    /* Display and centering */
    display: flex !important;
    /* Forces visibility and centers content */
    align-items: center !important;
    justify-content: center !important;
    overflow: auto;
    /* Allows scrolling if content is too tall */
    background-color: rgba(0, 0, 0, 0.6);
    /* Backdrop color */
}

.modal-content {
    background-color: #ffffff;
    padding: 35px 40px;
    border: none;
    width: 90%;
    max-width: 520px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    /* Optional animation styles can be added here if desired */
}

/* Close button */
.close-btn {
    color: #999;
    float: right;
    font-size: 32px;
    font-weight: 300;
    line-height: 1;
    transition: 0.3s;
}

.close-btn:hover,
.close-btn:focus {
    color: #5d2d7d;
    text-decoration: none;
    cursor: pointer;
}

/* Modal Title */
.modal-content h2 {
    color: #5d2d7d;
    font-size: 1.8em;
    margin-bottom: 30px;
    border-bottom: 2px solid #5d2d7d;
    padding-bottom: 15px;
    font-weight: 700;
}

/* Form Styles within Modal */
.popup-form p {
    color: #555;
    margin-bottom: 20px;
}

.popup-form input,
.popup-form select,
.popup-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 1em;
    transition: border-color 0.3s;
}

.popup-form input:focus,
.popup-form select:focus,
.popup-form textarea:focus {
    border-color: #9c1fef;
    outline: none;
    box-shadow: 0 0 5px rgba(156, 31, 239, 0.3);
}

/* Submit Button Style */
.submit-btn {
    background-color: #5d2d7d;
    /* FIX 2: Set the button text color to white */
    color: white;
    width: auto;
    min-width: 240px;
    display: block;
    margin: 30px auto 0 auto;
    padding: 14px 30px;
    font-size: 1.1em;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #9c1fef;
}

.about-text p {
    color: #5d2d7d;
    font-weight: bold;
    font-size: larger;
}

/* --- SECTION REVEAL ANIMATION STYLES (STRONGER EFFECT) --- */
/* 1. Initial State (Hidden) - Everything is currently blank! */
.reveal {
    opacity: 0;
    /* CHANGE: Increased the initial Y translation from 20px to 80px. This makes the element slide up from a greater distance, making the effect much more noticeable and "stronger." */
    transform: translateY(80px);
    /* CHANGE: Increased the transition time from 0.6s to 1.0s. This slows down the animation, making the reveal more deliberate and giving the user more time to notice the movement. */
    transition: opacity 1.0s ease-in-out, transform 1.0s ease-in-out;
    /* Optional: Helps browser performance during animation */
    will-change: opacity, transform;
}

/* 2. Final State (Visible) - JavaScript will add this class to reveal the section */
.reveal.active {
    opacity: 1;
    transform: translateY(0);
    /* Element moves back to its original position */
}

/* Also, ensure your smooth scrolling is still present */
html {
    scroll-behavior: smooth;
}

.hero-content h1 {
    color: #5d2d7d;
}

.listing-content h2 {
    color: #5d2d7d;
}

.ideal-content h2 {
    color: #5d2d7d;
}

.property-content h2 {
    color: #5d2d7d;
}

.about-content h2 {
    color: #5d2d7d;
}

.contact-content h2 {
    color: #5d2d7d;
}

.tieup-content h2 {
    color: #5d2d7d;
}

.refer-content h2 {
    color: #5d2d7d;
}



/* MOBILE NAV (below 992px) */
@media (max-width: 992px) {

  .nav-links { display: none; }  /* hide original navbar */
  
  .mobile-menu-btn {
    display: block;
    font-size: 30px;
    cursor: pointer;
    user-select: none;
  }

  .mobile-menu {
    position: fixed;
    top: 15vh; /* 15% from top */
    left: -100%; /* hidden initially */
    width: 60vw; /* 40% width */
    height: 70vh; /* 70% height */
    background: #5d2d7d;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: left 0.5s ease; /* smooth slow slide */
    border-bottom-right-radius: 15px;
    border-top-right-radius: 15px;
  }

  .mobile-menu a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-weight: 500;
  }

}
@media (min-width: 992px) {
    header{
        padding: 0;
    }
  .mobile-menu-btn, .mobile-menu { display: none; }
}
footer{
    background: #ffffff;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    height: fit-content;
    scroll-snap-align: start;
    position: relative;
    z-index: 10;
    font-family: var(--text-font);
}
.foot1{
    display: flex;
    padding-top: 50px;
    justify-content: center;
    align-items: center;
    color: var(--header-color);
}
.foot1 p{
    width: 60%;
    margin-right: 20px;
}
.foot1 img{
    width: 260px;
}
.rerablock{
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--header-color);
    padding: 20px 0px;
}
.rerablock img{
    width: 150px;
    margin-left:100px;
}
.rerablock p b{
    color: #272727;
    font-family: var(--text-font);
    margin-bottom: 10px;
}
.rerablock p a{
    color: #5d2d7d;
    margin-top: 20px;
    font-weight: 600;
    font-family: var(--text-font);
}
.copyright{
    background-color: #5d2d7d;
    padding: 10px;
    color: white;
    text-align: center;
}
@media (max-width: 1000px){
  .foot1{ flex-direction: column; width: 75%; margin: auto; font-size: 12px; text-align: left; gap: 16px; padding: 18px 16px; }
  .foot1 p{ width: 100%; margin-right: 0; }
  .foot1 img{ width: 200px; }

  .rerablock{
    flex-direction: column;
    gap: 12px;
    padding: 14px 16px 22px;
    text-align: center;

  }
  .rerablock img{ margin-left: 0; }
  .copyright{
    font-size: 10px;
  }
}