/* 
 Theme Name:   ayurvedic-medicine-child
 Theme URI:    
 Description:  
 Author:       
 Author URI:   
 Template:     ayurvedic-medicine
 Version:      1.0

 /* == Add your own styles below this line ==
--------------------------------------------*/


h2 {
  margin-top: 30px;
  margin-bottom: 20;
  background: rgba(196, 176, 151, 0.15); 
  padding: 10px 20px;
  border-left: 6px solid #C4B097;
  font-family: 'Georgia', serif;
  color: #3a3a3a;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  text-align: center;
  letter-spacing: 1px;
}

h2:hover {
  background: rgba(196, 176, 151, 0.25);
  transform: scale(1.02);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}


body {
    background-color: #f5f1ef;
}

.box-image .page-header .breadcrumb,
.box-image .page-header .woocommerce-breadcrumb a, 
.box-image .page-header .woocommerce-breadcrumb {
    display: none;
}

.box-image .single-page-img {
    background-image: url(/img/wellness-bg.jpg)!important;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover !important;
    height: 300px;
}

.entry-content ol li, .entry-content ul li
 {
 margin-left: 0px;
}

.box-image .single-page-img:after {
    content: '';
    position: absolute;
    height: 300px;
    width: 100%;
    background-color: #0000001f;
    top: 0;
    opacity: 0.5;
}


.box-image .page-header h1,
.box-image .page-header h2 {
    color: #fff;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.4); 
    padding: 15px 25px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    display: inline-block;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}


.custom-section {
position: relative;
  background: linear-gradient(135deg, #C4B097, #f5ede1);
  padding: 30px 20px;
  color: #2c2c2c;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.custom-section::before,
.custom-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: 0.2;
  z-index: 0;
  animation: float 8s ease-in-out infinite;
}

.custom-section::before {
  width: 120px;
  height: 120px;
  background: #ffffff;
  top: 10%;
  left: -60px;
  animation-delay: 0s;
}

.custom-section::after {
  width: 130px;
  height: 130px;
  background: #8C7D6B;
  bottom: -90px;
  right: -90px;
  animation-delay: 3s;
}

.custom-section h2 {
  color: #5C4432;
 display: table-cell;
  margin-bottom: 25px;
  background: rgba(255, 255, 255, 0.3);
  padding: 15px 25px;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  animation: fadeInDown 1s ease-in-out;
}

.custom-section h3 {
    display: inline-block;
  color: #7A5E45;
  margin-bottom: 15px;
  background: rgba(255, 255, 255, 0.25);
  padding: 10px 20px;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
 
}

.custom-section p {
  line-height: 1.6;
  color: #4a4a4a;
  animation: fadeIn 2s ease-in-out;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}



@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}


@media (max-width: 850px) {
  .custom-section::after {
    display: none;
  }
}






.section-wallets {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.349), rgba(0, 0, 0, 0.349)), url('/img/healthy-bg.jpg');
    background-position: center;
    background-size: cover;
    color: #fff;
    padding: 60px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.493);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.section-wallets h2 {
    color: #C4B097; 
    margin-bottom: 20px;
    font-family: 'Arial', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.section-wallets h2::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #C4B097;
    bottom: -8px;
    left: 0;
}

.section-wallets p {
    color: #f8f4f0!important;
    line-height: 1.6;
    margin-bottom: 10px;
}

.section-wallets h3 {
    background-color: rgba(255, 255, 255, 0.1); 
    color: #C4B097; 
    padding: 10px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: inline-block;
    text-transform: capitalize;
    font-family: 'Helvetica Neue', sans-serif;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.section-wallets h3:hover {
    background-color: rgba(255, 255, 255, 0.15); 
    color: #fff;
    transform: scale(1.05);
}

.section-wallets ul {
    list-style-type: none;
    padding-left:  0 !important;
    margin-bottom: 20px;
}

.section-wallets ul li {
    display: block;
    align-items: center;
    margin-bottom: 15px;
    color: #f4e7db; 
}

.section-wallets ul li::before {
    content: "✔"; 
    font-size: 1.5rem;
    color: #C4B097; 
    margin-right: 10px;
    transition: color 0.3s ease;
}

.section-wallets ul li:hover::before {
    color: #fff;
}



.styled-section {
    background: linear-gradient(135deg, rgba(245, 242, 236, 0.8), rgba(255, 255, 255, 0.95));
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    font-family: 'Segoe UI', sans-serif;
    color: #4b4b4b;
    margin: 60px auto;
    position: relative;
}

.styled-section h2 {
    color: #A67C52;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.styled-section h3 {
    color: #A67C52;
    display: inline-block;
    letter-spacing: 2px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}


.styled-section h2::after {
    content: "";
    position: absolute;
    width: 60%;
    height: 4px;
    background: #A67C52;
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

.styled-section p {
    color: #5f5f5f;
    margin-bottom: 20px;
    line-height: 1.8;
}

.styled-section ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.styled-section li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 40px;
    color: #5c5343;
}

.styled-section li i {
    position: absolute;
    left: 0;
    top: 4px;
    color: #A67C52;
    background: #fff7f1;
    border-radius: 50%;
    padding: 6px;
    box-shadow: 0 2px 6px rgba(166, 124, 82, 0.2);
}


.card {
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.card-img-top {
    height: 200px; 
    object-fit: cover; 
    border-radius: 8px 8px 0 0; 
}

.card-body {
    padding: 20px;
    text-align: center;
}

.card-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}

.card-text {
    color: #555;
    font-size: 0.9rem;
}


.main-nav a {

    text-decoration: none;
}


.custom-section-two {
  background: linear-gradient(145deg, #F3EBDE, #E0DAD4);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(196, 176, 151, 0.4);
  position: relative;
  overflow: hidden;
  animation: floatIn 1.5s ease-out;
}

.custom-section-two::before,
.custom-section-two::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: #D3C3AE;
  opacity: 0.2;
  animation: floatShape 10s infinite alternate;
}

.custom-section-two::before {
  width: 150px;
  height: 150px;
  top: -30px;
  left: -30px;
}

.custom-section-two::after {
  width: 200px;
  height: 200px;
  bottom: -50px;
  right: -50px;
}
.custom-section-two h2 {
  color: #645849;
  text-shadow: 2px 2px 5px rgba(211, 195, 174, 0.6);
  background: linear-gradient(to right, #D3C3AE, #E0DAD4);
  padding: 10px 20px;
  border-left: 5px solid #C4B097;
  animation: fadeInDown 1s ease-out;
}

.custom-section-two h3 {
  color: #8C7B66;
  background: #F3EBDE;
  padding: 8px 16px;
  border-radius: 8px;
  display: inline-block;
  box-shadow: 2px 2px 10px rgba(140, 123, 102, 0.3);
  animation: fadeInLeft 1s ease-out;
}

.custom-section-two p {
  color: #5A4D3E;
  background: rgba(243, 235, 222, 0.8);
  padding: 15px 20px;
  margin-top: 15px;
  border-left: 4px solid #D3C3AE;
  border-radius: 8px;
  box-shadow: inset 0 0 10px rgba(224, 218, 212, 0.5);
  animation: fadeInUp 1.2s ease-out;
}

@keyframes floatIn {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatShape {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  100% {
    transform: translateY(20px) rotate(15deg);
  }
}

#sidebar .widget {
    padding: 10px;
    background: #ede6d7;
    border-radius: 12px;
    box-shadow: 0 0 4px #cfcfcf;
    border-bottom: 3px solid var(--first-theme-color);
    margin-bottom: 30px;
}


.entry-content h2 {
    clear: both;
    display: inline-block; 
    margin-bottom: 20px;
}



@media (max-width: 768px) {
  h1{
    font-size: 28px!important;
  }
  h2{
    font-size: 26px!important;
  }
  h3{
    font-size: 24px!important;
  }
} 


.error-link{
  background-color: #645849;
  padding: 10px 30px;
  color: whitesmoke;
  border-radius: 30px;
}

@media screen and (max-width: 1000px) {
    .sidenav .close-button {
        margin-bottom: 30px !important;
        font-size: 20px;
        display: block !important;
        color: #fff;
        padding: 10px !important;
        text-align: center;
        margin-top: 25px;
    }
}