

.card-hover {
    position: relative; /* Positioning context for the pseudo-element */
    transition: transform 0.4s ease-in-out;
    overflow: hidden; /* Retain to ensure no unintended overflow */
    cursor: pointer;
    position: relative;
    z-index: 200; /* Place content above the pseudo-element */    
}

.card-hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3%;
    background-color: #016C3B;
    transition: height 0.4s ease-in-out;
}

.card-hover:hover {
    transform: scale(1.05); /* Scale the card smoothly */
}

.card-title, .card-text{
  color: #04653A !important;
}

.card-hover:hover p {
    color: #fff !important;
}

.card-hover:hover .card-title{
  color: #fff !important;
}

.card-hover:hover::after {
    height: 100%; /* Expand pseudo-element on hover */
    z-index: -1;
    transition: height 0.2s ease-in-out;
}
/* -------------------------------- */

.cart1{
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.cart1:hover{
    scale: 1.05;
    background-color: #016C3B !important;
}

.cart1:hover h6{
    color: #fff !important;
}

/* ---------------------------- */

.btn:hover{
    background-color: #3baf7b !important;
    color: #fff;
}

/* ---------------social media------------------ */

.social-container{
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
  
  ul {
    display: flex;
    position: relative;
    left: -20px;
  }
  
  ul li {
    list-style: none;
    transition: all 0.3s ease-in-out;
  }
  
  ul li a {
    width: 50px;
    height: 50px;
    background-color: #fff;
    text-align: center;
    line-height: 50px;
    font-size: 28px;
    margin: 0 10px;
    display: block;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    border: 3px solid #fff;
    z-index: 1;
  }

  ul li:hover{
    scale: 1.2;
  }
  
  ul li a .icon {
    position: relative;
    color: #262626;
    transition: .5s;
    z-index: 3;
  }
  
  ul li a:hover .icon {
    color: #fff;
    transform: rotateY(360deg);
  }
  
  ul li a:before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f00;
    transition: .5s;
    z-index: 2;
  }
  
  ul li a:hover:before {
    top: 0;
  }
  
  ul li:nth-child(1) a:before{
    background: #3b5999;
  }
  
  ul li:nth-child(2) a:before{
    background: #55acee;
  }
  
  ul li:nth-child(3) a:before {
    background: #0077b5;
  }
  
  ul li:nth-child(4) a:before {
    background: #dd4b39;
  }


  /* --------------------------------- */

  /* Base styles for the icons */
.social-hover {
    position: relative; /* Ensure tooltips are positioned correctly */
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.5s ease, transform 0.5s ease;
    padding: 8px;
    border-radius: 50%; /* Circular background */
    background-color: transparent; /* Default background */
    z-index: 10000;
}

.social-hover i {
    color: #555; /* Default icon color */
    transition: transform 0.5s ease, color 0.5s ease; /* Smooth animation */
}

/* Tooltip styling */
.social-hover::after {
    content: attr(data-tooltip); /* Use the data-tooltip attribute */
    position: absolute;
    bottom: -40px; /* Position tooltip below the icon */
    left: 50%;
    transform: translateX(-50%);
    background: #2b9b03; /* Tooltip background */
    color: #fff; /* Tooltip text color */
    padding: 5px 10px;
    font-size: 0.8rem;
    border-radius: 5px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    white-space: nowrap; /* Prevent text wrapping */
    box-shadow: 0 2px 4px rgba(56, 51, 51, 0.2); /* Optional shadow */
}

/* Hover effect for icons */
.social-hover:hover i {
    transform: rotate(360deg); /* Rotate the icon */
    color: #018830; /* Change icon color */
}

/* Hover effect for background */
.social-hover:hover {
    background-color: #f0f0f0; /* Subtle background change */
    transform: scale(1.1); /* Slightly enlarge the button */
}

/* Show the tooltip on hover */
.social-hover:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px); /* Slight upward movement */
}
/* -----------------custom curso----------------- */


/* Custom cursor styling */
#custom-cursor {
    position: fixed;
    width: 20px; /* Initial size of the cursor circle */
    height: 20px;
    background-color: rgba(3, 216, 17, 0.6); /* Semi-transparent black */
    border-radius: 50%;
    pointer-events: none; /* Prevent interaction */
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease, width 0.2s ease, height 0.2s ease;
    z-index: 9999; /* Ensure it's on top */
}

/* Cursor hover effect */
.hover-effect {
    width: 30px !important; /* Slightly larger size on hover */
    height: 30px !important;
    background-color: rgba(0, 166, 33, 0.8);
}

/* Click animation effect */
.click-effect {
    width: 60px; /* Increase size on click */
    height: 60px;
    opacity: 0; /* Fade out */
    transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
}

/* --------------------------- */
#vamsa-bg {  /* Change to your image URL */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 85vh; /* Full height for most devices */
  min-height: 300px; /* Minimum height for smaller screens */
  color: white; /* Text color */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Optional: Adjust for very small screens */
@media (max-width: 576px) {
  #vamsa-bg {
    background-size: contain; /* Ensure the entire image fits */
    height: 150px;
  }
}

.bg-primary{
  background-color: #04653A !important;
}

