.navbar {
  background: transparent;
  transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
  font-size: larger;
  box-shadow: none;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1030;
}

.navbar .nav-link:hover {
  color: white;
  text-decoration: none;
}

.navbar-brand {
  font-size: 2rem !important;
  color: white !important;
  font-weight: bold;
  transition: color 0.3s ease-in-out;
  font-family: "Pacifico", cursive;
}

/* Navbar Links */
.navbar .nav-link {
  color: white;
  font-weight: bold;
  font-size: 1.5rem;
}

.navbar .navbar-toggler-icon {
  stroke: white;
  transition: stroke 0.3s ease;
}

.navbar.scrolled .navbar-toggler-icon {
  stroke: black;
}

@media (max-width: 992px) {
.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.nav-link {
  padding-bottom:0!important;
  text-align:center;
}
}
/* General Styling */
body {
  font-family: "Poppins", sans-serif;
  background-color: #0d0d0d;
  color: #ffffff;
  margin: 0;
  padding: 0;
}

/*Astrology*/
.cont {
margin: 40px auto;
max-width: 90vw;
text-align: center;
background: rgba(255, 255, 255, 0.9);
background-image: url('images/mj_17135_3.jpg');
background-size: cover;
background-position: center;
padding: 20px;
border-radius: 15px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.title {
font-family: "Pacifico", cursive;
font-size: 3rem;
text-align: center;
color: white;
margin-bottom: 10px;
text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}
.description {
font-size: 1.2rem;
line-height: 1.8;
color: #333;
background: rgba(255, 255, 255, 0.8);
padding: 10px;
border-radius: 10px;
}


/* Rashis Section */
#rashis {
  background: white;
  color: black;
  padding: 5rem 0;
  border-radius: 10px;
}  
.rashi-card {
  background: linear-gradient(135deg, #ffd700, #ffffff);
  border-radius: 15px;
  padding: 1.2rem;
  margin-bottom: 2rem;
  color: #000;
  text-align: center;
  min-height: auto;
}

.rashi-image {
width: 80px; /* Small image size */
height:80px;
border-radius: 50%; /* Makes the images circular */
object-fit: cover;
margin-bottom: 10px;
}
.rashi-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.8);
}

.rashi-name {
  font-family: "Pacifico", cursive;
  font-size: 1.5rem;
  color: #000;
}
.rashi-description {
  font-family: "Lora", serif;
  font-size: 1rem;
  color: #333;
}

.section-title {
  font-family: "Charm", serif;
    font-weight: 400;
    font-style: normal;
  font-size: 3rem;
  color: #ffd700;
  text-shadow: 2px 2px 10px rgba(255, 215, 0, 0.6);
  margin-bottom: 1.5rem;
  text-align: center;
  margin-top: 10px;
}
.light-container {
margin: 20px auto; /* Center the container horizontally and add vertical spacing */
padding: 20px;
max-width: 90vw;
border: 2px solid #ff6f00; /* Orange border */
border-radius: 15px;
background-color: #fff; /* Plain background */
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
text-align: left; /* Ensures text alignment remains to the left */
}

.description {
font-size: 1.2rem;
line-height: 1.8;
color: #333;
margin-bottom: 15px;
}

.history-list {
list-style-type: none;
padding: 0;
margin: 0 0 15px 0;
}

.history-list li {
margin-bottom: 10px;
font-size: 1.1rem;
line-height: 1.6;
color: #444;
}

.history-list li strong {
color: #ff6f00; /* Emphasized orange text */
}

.card-container {
display: grid;
grid-template-columns: repeat(3, 1fr); /* Force 3 columns */
gap: 20px;
margin : 20px auto;
padding: 20px;
background-color: rgba(255, 215, 0, 0.8); /* Optional background for the grid */
border-radius: 15px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
max-width: 90vw;
}

@media (max-width: 768px) {
.card-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Force 3 columns */
  gap: 20px;
  margin : 20px;
  padding: 20px;
  background-color: rgba(255, 215, 0, 0.8); /* Optional background for the grid */
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
}

@media (max-width: 480px) {
.card-container {
  display: grid;
  grid-template-columns: repeat(1, 1fr); /* Force 3 columns */
  gap: 20px;
  margin : 20px;
  padding: 20px;
  background-color: rgba(255, 215, 0, 0.8); /* Optional background for the grid */
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
}

.card {
border: 2px solid #ff6f00;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
padding: 20px;
text-align: center;
transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.card h2 {
font-size: 1.5rem;
color: #ff6f00;
margin-bottom: 10px;
}

.card p {
font-size: 1rem;
color: #333;
line-height: 1.6;
}


.palmistry-section {
text-align: center; /* Ensures the title is centered */
padding: 40px 20px;
max-width: 90vw;
margin: 0 auto;
background: #fff; /* Plain background */
border: 2px solid #ff6f00; /* Orange border */
border-radius: 15px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.content-wrapper {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
gap: 20px;
}

.palmistry-image {
max-width: 300px;
width: 100%;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.palmistry-content {
flex: 1;
padding: 20px;
text-align: left;
}

.palmistry-content p {
font-size: 1.1rem;
line-height: 1.8;
color: #333;
margin-bottom: 20px;
}

.palmistry-content ul {
list-style-type: none;
padding: 0;
}

.palmistry-content ul li {
font-size: 1.1rem;
margin-bottom: 10px;
line-height: 1.6;
color: #444;
}

.insights-section {
text-align: center;
padding: 60px 10px;
max-width: 90vw;
margin: 40px auto;
background: #fff; /* Plain background */
border: 2px solid #ff6f00; /* Orange border */
border-radius: 15px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.insights-content {
display: grid;
grid-template-columns: repeat(2, 1fr); /* 2 columns for a 2x2 grid */
gap: 30px; /* Space between cards */
justify-content: center;
align-items: start;
padding: 10px;
}

.insight {
display: flex;
align-items: center;
gap: 20px; /* Space between image and text */
padding: 15px;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
background-color: #fff;
transition: transform 0.3s, box-shadow 0.3s;
}

.insight:hover {
transform: translateY(-5px);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.insight-image {
width: 100px;
height: 100px;
border-radius: 50%;
object-fit: cover;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.insight p {
font-size: 1rem;
line-height: 1.8;
color: #333;
margin: 0;
flex: 1;
}

.gemstone-card {
background-color: #fff;
padding: 20px;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
text-align: center;
margin-bottom: 20px;
}
.heading{
color: #ff6f00;
}
.gemstone-description {
font-size: 1rem;
color: #333;
}

.intro-text {
font-size: 1.1rem;
color: #666;
margin-bottom: 40px;
}

.container {
max-width: 90vw;
margin: 0 auto;
padding: 20px;
}

.row {
display: flex;
flex-wrap: wrap;
justify-content: center;
}

.gemstone-img {
width: 100px;
height:100px;
margin-right: 10px;
vertical-align: middle;
}

.table-responsive {
margin-top: 30px;
}

.table {
width: 100%;
margin-top: 30px;
border-collapse: collapse;
}

.table th,
.table td {
padding: 15px;
text-align: left;
}

.table th {
background-color: #ff6f00;
color: white;
}

.table td {
background-color: #f9f9f9;
}

.intro-text {
font-size: 1.1rem;
color: #666;
margin-bottom: 40px;
}

#gemstones-zodiac .table {
width: 100%;
border-collapse: collapse;
}

#gemstones-zodiac th,
#gemstones-zodiac td {
padding: 12px;
text-align: center;
border: 1px solid #ddd;
}

#gemstones-zodiac th {
background-color: #f8f9fa;
font-weight: bold;
}

#gemstones-zodiac td {
background-color: #ffffff;
}

#gemstones-zodiac .table-responsive {
margin-top: 30px;
}

/* footer section */
.footer {
  background: linear-gradient(45deg, #ffa500, #ffcc33);
  color: black;
  font-family: 'Raleway', sans-serif;
  padding: 2rem 1rem;
  margin-top: 1rem;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  list-style: none;
  padding: 0;
}

.footer-item {
  flex: 1 1 calc(33.333% - 2rem);
  text-align: center;
  min-width: 200px;
}

.brand h2 {
  font-family: 'Cursive', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-link i {
  color: black;
  transition: color 0.3s;
}

.social-link i:hover {
  color: #ff6600;
}

.quick-links {
  list-style: none;
  padding: 0;
}


.quick-links li:not(:first-child) {
  margin: 0.8rem 0 0 0;
}  

.quick-links li:first-child {
  margin: 0;
} 

.quick-links a {
  color: black;
  text-decoration: none;
  font-size: 1rem;
}

.quick-links a:hover {
  color: #ff6600;
}

.footer-item h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-item p {
  line-height: 1.6;
  font-size: 0.9rem;
}

.footer-bottom {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: #fff;
}

#Footer_address a{
  text-decoration: none;
  color: black;
}
.Address_footer:hover{
  color: #ff6600;
}


@media (max-width: 768px) {
  .footer-row {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-item {
    text-align: center;
  }
}

/*Scoll up*/
#backToTopBtn {
position: fixed;
bottom: 20px;
right: 20px;
display: none;
background-color: transparent;
border: none;
padding: 0;
cursor: pointer;
z-index: 1000;
}

#backToTopBtn img {
width: 50px; /* Adjust size */
height: 50px;
border-radius: 50%;
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
transition: transform 0.3s ease;
}

#backToTopBtn img:hover {
transform: scale(1.1);
}

