html{
    scroll-behavior: smooth;
}
body{
    padding: 0;
    margin: 0;
    line-height: 1.6;
    background-color: #C9E6F0;
}
/* Spinner Animation */
.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #d4af37;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
      transform: rotate(0deg);
  }
  to {
      transform: rotate(360deg);
  }
}

/* Hidden State for Fade-Out */
#loading-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

#loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease-in-out;
}

/* ============================== */
.header {
  display: flex;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #ffff;
  height: 10.25rem;
  width: 286rem;
  gap: 2rem;
  position: fixed;
  top: 0;
  z-index: 3;
}
#fixed top{
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}

.logo_anvikagold img {
  height: 10rem;
  width: auto;
}

nav {
display: flex;
width: 100%;
align-items: center;
flex-wrap: wrap;
}

nav ul {
display: flex;
flex-wrap: wrap;
list-style: none;
}

nav ul li {
margin: 0 1rem;
}

nav ul li a {
color:#78B3CE;
text-decoration: none;
font-size: 1.8rem;
font-weight: 500;
padding: 0.8rem 1.5rem;
border-radius: 0.5rem;
letter-spacing: 0.1rem;
transition: all 0.3s ease;
}

nav ul li a.active,
nav ul li a:hover {
color: #F96E2A;
}

nav .menu-btn i {
font-size: 2.2rem;
cursor: pointer;
display: none;
}

/* Dropdown Styles */
.dropdown {
position: relative;
}

.dropdown_menu {
position: absolute;
top: 100%;
left: 0;
background-color: white;
color: #78B3CE;
list-style: none;
margin: 0;
padding: 0;
display: none;
width: 20rem;
box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.2);
}

.dropdown_menu li {
padding: 0.5rem;
text-align: left;
width: 15rem;
}

.dropdown_menu li a {
text-decoration: none;
font-size: 1rem;
color: #78B3CE;
display: block;
padding: 0.5rem 1rem;
transition: background-color 0.3s ease;
}

.dropdown_menu li a:hover {
background-color: #DAA520; /* Golden */
color: white;
}

.dropdown:hover .dropdown_menu {
display: block;
}

.call-now {
background-color: #DAA520;
color: #78B3CE;
padding: 0.5rem 1rem;
border-radius: 0.5rem;
text-transform: uppercase;
width: 35rem;
}

.call-now:hover {
background-color: gold;
color: #78B3CE;
width: 15rem;
transform: scale(1.2);
}

input[type="checkbox"] {
display: none;
}

/* ==================Media Queries================= */

/* For Desktop (max-width: 1366px) */
@media screen and (max-width: 1366px) {
  .header {
    height: 6rem;
  }

  .logo_anvikagold img {
    height: 5rem;
    width: 7rem;
  }

  nav {
      gap: 0;
  }

  .menu-btn i {
      display: block;
  }

  nav ul {
    position: relative;
    top: 0.5rem;
  }

  nav ul li a {
    font-size: 1.3rem;
    padding: 0.6rem 0.2rem;
  }
}

/* For Mobile (max-width: 991px) */
@media screen and (max-width: 991px) {
  .header {
      flex-direction: column;
      height: auto;
      padding: 1rem 1.2rem;
      gap: 1rem;
      position: fixed; /* Added to manage the position of elements */
      top: 0;
      width: 100%;
      
  }

  .logo_anvikagold img {
      height: 10rem;
      position: relative;
      left:0;
      margin-top: 0.3rem;
      margin-left: 0;
  }

  nav {
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
  }

  nav ul {
      display: none; /* Hide the menu by default */
      flex-direction: column;
      gap: 1rem;
      list-style: none;
      padding: 1rem;
      position: absolute;
      top: 10rem; /* Position below the header */
      left: 0;
      background-color: white;
      width: 30%;
      box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.2);
  }

  nav ul li {
      margin: 0;
      width: 100%;
  }

  nav ul li a {
      color: #78B3CE;
      text-decoration: none;
      font-size: 1.4rem;
      padding: 0.5rem 1rem;
      display: block;
      transition: background-color 0.3s ease;
  }

  nav ul li a:hover {
      background-color: #DAA520;
      color: white;
  }

  /* Hamburger Icon */
  .menu-btn {
      display: block;
      cursor: pointer;
      z-index: 9999 !important;
      position: absolute; /* Make it absolute */
      right: 6rem; /* Align it to the right side */
      top: 4rem; /* Adjust top position */
  }

  .menu-btn i {
      font-size: 3rem !important;
      color: #800020 !important;
      display: block !important;
  }

  /* Checkbox and menu toggle functionality */
  input[type="checkbox"] {
      display: none; /* Hide the checkbox */
  }

  input[type="checkbox"]:checked + .menu-btn + ul {
      display: flex; /* Show the menu when checkbox is checked */
  }

  .dropdown_menu{
    width: 15rem;
  }
 
  .call-now {
      width: 80%;
      text-align: center;
      padding: 0.5rem;
      background-color: #DAA520;
      color: #78B3CE;
      margin-top: 1rem;
      display: block;
  }
}
/* ////////////BreadCrumps */
.breadcrumb-container {
    position: relative;
    top: 5rem;
    background-color: #E8E8E8;  
    padding: 10px 15px;
    margin-top: 10px;
    border-radius: 5px;
}

.breadcrumb {
    margin: 0;
    padding: 0;
    background: none;
}

.breadcrumb-item a {
    text-decoration: none;
    color: gold;  
    border-radius: 5px;
}

.breadcrumb-item.active {
    color: #6c757d;  
}
/* Media Query */
@media screen and (max-width: 991px) {
  .breadcrumb-container {
    position: relative;
    top: 11rem;
  }
}
/* Doorstep Service Section */
.doorstep-service {
    position: relative;
    top: 5rem;
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: grid;
    justify-content: center;
    justify-items: center;
}
@media   screen and (max-width : 992px) {
  .doorstep-service{
    top: 10rem;
}
}
/* ============Doorstep IMG======= */
.header-section{
    background-image: url(images/doorstepservice.jpg);
    background-size: cover;
    margin: 2rem;
    height: 20rem;
    width: 40rem;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
}
.header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4); 
    z-index: 1;
  }
  /* ===============Instant Cash IMG================= */
.header-section-instantcash{
    background-image: url(images/instantcash.jpg);
    background-size: cover;
    margin: 2rem;
    height: 20rem;
    width: 40rem;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
}
.header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4); 
    z-index: 1;
  }
/* ==================Release PLeadge Gold IMG================ */
.header-section-releasepleadge{
    background-image: url(images/calltoactionbg.jpg);
    background-size: cover;
    margin: 2rem;
    height: 20rem;
    width: 40rem;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
}
.header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4); 
    z-index: 1;
  }
  /* =====================Sell Gold and Silver IMG==================== */
  .header-section-sellgold{
    background-image: url(images/sellgold.jpg);
    background-size: cover;
    margin: 2rem;
    height: 20rem;
    width: 40rem;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
}
.header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4); 
    z-index: 1;
  }
  /* ============================================================= */
  h1 {
    /* font-size: rem; */
    margin-bottom: 15px;
    text-align: center;
    color: #78B3CE;
    z-index: 2;
}
/* Content Section */
.content-section p {
    margin-bottom: 15px;
    text-align: justify;
    font-size: 1rem;
    color: #555;
}

/* Steps Section */
.steps-section h1 {
    font-size: 1.8rem;
    color: #78B3CE;
    margin-bottom: 15px;
}

.steps-list {
    list-style: none;
    padding: 0;
}

.steps-list li {
    margin-bottom: 10px;
    font-size: 1rem;
    background: #f0f8ff;
    padding: 10px;
    border-left: 5px solid #78B3CE;
    border-radius: 4px;
}

.steps-list li strong {
    color: #78B3CE;
    font-weight: bold;
}

/* Documents Section */
.documents-section {
    margin-top: 30px;
}

.documents-section h1 {
    font-size: 1.8rem;
    color: #0073e6;
    margin-bottom: 20px;
}

.documents-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.documents-list li {
    margin-bottom: 15px;
}

.label {
    position: relative;
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: #333;
    line-height: 3;
}

.label img {
    width: 100%;
    max-width: 530px;
    height: 50px;
    object-fit: cover;
    position: absolute;
    z-index: 1;
    border-radius: 4px;
}

.label span {
    position: relative;
    z-index: 2;
    margin-left: 20px;
    font-weight: bold;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (max-width: 426px) {
    .header-section {
    position: relative;
    right: 4rem;
    }
    .header-section h1 {
        font-size: 4rem;
    }
}
/* Responsive Design */
@media (max-width: 768px) {
    .label img {
        max-width: 100%;
        height: 4rem;
    }

    .label span {
        font-size: 0.9rem;
        margin-left: 10px;
    }

}

/* ======================Footer Styling================= */
.footer-container{
  font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-size: 0.8rem;
  position: relative;
  top:  5rem;
  margin: 5rem;
}

footer{
  height: 25rem;
  display: flex;
  flex-flow: row wrap;
  padding: 2rem;
  color: #F4EBD0  ;
  background-color:#78B3CE;

}

.footer-left{
  width: 16rem;
  height: 21rem;
  padding-left: 2rem;
  border-radius: 1rem;
  box-shadow: 0px -1px 14px 8px rgba(0, 0, 0, 0.2);
}

.footer-left img{
  width: 50%;
}

.footer-left h2{
  margin-top: 1rem;
  font-weight: 600;
  font-size: 1rem;
}

.footer-left p{
  padding-right: 20%;
  color: #FBF8EF;
  text-align: justify;
}

.footer ul{
  position: relative;
  left: 8rem;
  list-style:none;
  padding-left: 0;
  /* display: inline; */
  width: 0;
}

.footer li{
  line-height: 2em;
  width:12rem;
  display: grid;
  text-align: justify;
  justify-content: center; 
 
}

.footer a{
  text-decoration: none;
}

.footer-right{
  padding-left: 1rem;
  position: relative;
  bottom: 19rem;
  height: 14rem;
}
.footer-right h2{
  position: relative;
  left: 8rem;
  padding-left: 2rem;
  font-size: 1.5rem;
  width: 14rem;
}

.footer-right > *{
  flex: 1 50%;
  margin-right: 1.25em;
}

.ulBox a{
  color:#FBF8EF;
  display: block;
}

.footer-bottom{
  text-align: center;
  color: #FBF8EF;
  position: relative;
  bottom: 15rem;
  left: 32rem;
}

.socials a{
  background:#F4EBD0 ;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-block;
  margin-right: 0.5rem;
}

.socials a i{
  color: #DAA520;
  padding:0.6rem;
  font-size: 1.5rem;
}

.socials a:hover { 
  background-color: #78B3CE;
}


.warning{
  position: relative;
  bottom: 17rem;
  left: 48rem;
  color: red;
  width: 0;
}

.warningP{
  position: relative;
  bottom: 17rem;
  left: 40rem;
  font-size: 1rem;
  text-align: justify;
  width: 40%;
}
 
/* =============MediaQuery=============== */
/* Small screens (mobile devices, less than 426px) */
@media (max-width:426px) {
  .footer-container {
    font-size: 0.7rem;
    text-align: center;
  }

  footer {
    flex-direction: column;
    padding: 1rem;
    height: auto;
  }
  .footer li{
    position: relative;
    left: 2rem;
  }
  .footer-left {
    width: 100%;
    height: auto;
    box-shadow: none;
    padding-left: 1rem;
    margin-bottom: 1rem;
  }

  .footer-left img {
    width: 20%;
  }

  .footer-left p {
    text-align: center;
    padding-right: 0%;
  }

  .footer-right {
    bottom: 0;
    height: auto;
    width: 100%; /* Ensures the footer-right takes the full width */
    text-align: center; /* Centers content inside .footer-right */
    padding-left: 0;
  }

  .footer-right h2 {
    font-size: 1rem;
    text-align: center;  /* Centers the text */
    margin: 0 auto;  /* Ensures the element itself is centered */
    padding-left: 0;   /* Removes any padding that might offset it */
    width: 100%;       /* Takes up the full width of the container */
    display: block;    /* Makes it behave like a block-level element */
  }
   .footer ul{
    display: grid;
    justify-content:center ;
   }
   

  .ulBox a {
    position: relative;
    left: 0; /* Centers the links */
    font-size: 0.9rem;
  }

  .socials a {
    height: 2rem;
  }

  .socials a i {
    font-size: 1rem;
    padding: 0.4rem;
  }

  .footer-bottom {
    bottom: 0;
    left: 0;
    font-size: 0.7rem;
  }

  .warning {
    left: 0;
    bottom: 0;
    font-size: 1.5rem;
    display: block; /* Ensures it's displayed as a block */
    text-align: center; /* Centers the warning text */
  }

  .warningP {
    width: 90%;
    left: 0;
    bottom: 0;
    font-size: 0.8rem;
    text-align: center; /* Centers the warning paragraph */
  }
}


/* Medium screens (tablets, between 576px and 768px) */
 @media (min-width: 426px) and (max-width: 769px) {
  .footer-container {
    font-size: 0.8rem;
  }

  footer {
    flex-direction: column;
    padding: 1.5rem;
    height: auto;
  }

  .footer-left {
    width: 100%;
    height: auto;
    padding-left: 1rem;
    margin-bottom: 1.5rem;
  }

  .footer-left img {
    width: 15%;
  }

  .footer-right {
    padding-left: 2rem;
    height: 20rem;
    bottom: 0;
  }
  .footer ul{
    left: 0;
  }
  .footer-right h2 {
    left: 0;
    padding-left: 0;
    font-size: 1.2rem;
  }

  .ulBox a {
    font-size: 1rem;
  }

  .socials a {
    width: 2.2rem;
    height: 2.2rem;
  }

  .socials a i {
    font-size: 1.2rem;
    padding: 0.5rem;
  }

  .footer-bottom {
    bottom: 0;
    left: 0;
    font-size: 1rem;
  }

  .warning {
    left: 28rem;
    font-size: 2rem;
  }

  .warningP {
    width: 50%;
    left: 18rem;
    font-size: 1rem;
  }
} 

/* Large screens (desktops, between 768px and 992px) */
@media (min-width: 769px) and (max-width: 993px) {
 
}
@media (min-width: 993px) and (max-width: 1116px) {
  .warning{
    left: 40rem;
  }
  .warningP{
    left: 35rem;
    width: 35%;
  }
  .footer-bottom{
    left: 22rem;
    bottom: 14rem;
  }
}
  /* ===========addition icons */
  /* Back to Top Button */
  .back-to-top {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 85px; /* You can adjust this value as per the desired position */
    right: 20px;
    background-color: #78B3CE;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 24px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;  /* Initially hidden */
    transition: opacity 0.3s ease-in-out;
  }
  
  .back-to-top.active {
    opacity: 1; /* Visible when active */
  }
  
  /* Call Now Button */
  .call-now-down {
    position: fixed;
    width: 46px;
    height: 46px;
    bottom: 30px;
    left: 15px;
    background-color:#007bff ;
    color: #FFF;
    border-radius: 5px;
    text-align: center;
    font-size: 30px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* WhatsApp Button */
  .whatsapp {
    position: fixed;
    width: 46px;
    height: 46px;
    bottom: 30px;
    right: 15px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 5px;
    text-align: center;
    font-size: 30px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Hover Effect for Buttons */
  .call-now-down:hover, .whatsapp:hover, .back-to-top:hover {
    opacity: 0.8; /* Subtle hover effect */
  }
  /* =============Media Query */
@media (max-width: 768px) {
  .back-to-top{
    width: 40px;
    height: 40px;
  }
  .call-now-down{
  width: 40px;
  height: 40px;
  }
  .whatsapp {
  width: 40px;
  height: 40px;
  }
}
 /* =================MediaQuery================ */
@media (max-width: 768px) {
  html {
    font-size: 45%;
    scroll-behavior: smooth;
  }
}

@media (max-width: 998px) {
  html {
    font-size: 55%;
    scroll-behavior: smooth;
  }
}

@media (max-width: 1440px) {
  html, body {
    margin: 0;
    padding: 0;
    /* overflow-x: hidden; */
    width: 100%;
    scroll-behavior: smooth;
  }
}