* {
  padding: 0;
  margin: 0;
}

body {
  font-family: jost;
  padding: 0;
  margin: 0;
}



/* TOP BAR */
.top-bar {
    background: #000;
    color: white;
    padding: 10px;
    text-align: center;
    font-size: 14px;
}


/* NAVBAR */

/* Smooth hover background effect */

header.navbar {
    position: relative;
    z-index: 10;
}

/* Sliding background layer */
header.navbar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: #ffffff;
    z-index: -1;
    transition: height 0.4s ease-in-out;
}

/* Hover: slide background down */
header.navbar:hover::before {
    height: 100%;
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px;
}

.nav-left a {
    margin-right: 22px;
    text-decoration: none;
    color: #000;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.nav-center img {
    height: 38px;
}

.nav-right i {
    font-size: 18px;
    margin-left: 18px;
    cursor: pointer;
}

/* Dropdown container */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown menu box */
.dropdown-menu,
.dropdown-menu-learn {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 180px;
  display: none;
  flex-direction: column;
  padding: 10px 0;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  z-index: 20;
}

.dropdown-menu-learn{
  min-width: 350px;
}

/* Dropdown menu links */
.dropdown-menu a,
.dropdown-menu-learn a {
  padding: 10px 20px;
  text-decoration: none;
  color: #000;
  font-size: 14px;
  display: block;
  transition: 0.3s ease;
  margin: 0;
}

.dropdown-menu a:hover,
.dropdown-menu-learn a:hover {
  background: #f5f5f5;
  color: #d3a257; /* gold color */
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu,
.dropdown:hover .dropdown-menu-learn {
  display: flex;
}

/* Make SHOP look active when opened */
.dropdown:hover > .dropbtn {
  color: #d3a257;
}


/* HERO SECTION */
.main-div {
    text-align: center;
    padding: 100px 20px;
}

.main-div h1 {
    font-size: 70px;
    margin-bottom: 20px;
}

.main-div p {
    font-size: 20px;
    color: #555;
}

/* Blog Section */

.title {
 display: flex;
 flex-direction: column;
 gap: 20px;
 text-align: center;
}

.title h1 {
    font-size: 3.5vw;
    margin-bottom: 10px;
}

.blog-cover-img{
  background: url("/images/science2.png");
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100vh;
  border-radius: 10px;
  margin-bottom: 40px;

}

.blog-paragraphs,
.comment{
  margin: auto;
  font-size: 20px;
  line-height: 1.8;
}


.share p{
  margin: 0;
  font-size: 20px;
  font-weight: 500;
}

span{
  font-size: 16px;
}

.comment-form{
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

input{
  padding:0px  4px;
}

button{
  width: 120px;
  padding: 8px 0;
  background-color: #000;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 12px;
}

.alchemy-title h1{
    font-size: 46px;
    margin-bottom: 20px;
}

.section__text p{
  font-size: 20px;
}

.img-box {
  position: relative;
  width: 100%;
  height: 330px;
  overflow: hidden;
}

/* First Image */
.img-main {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  left: 0;
  transition: all 0.5s ease;
  
}
.img-box img{
  border-radius: 10px;
}

/* Second Image */
.img-hover {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  left: 100%;
  transition: all 0.5s ease;
}

/* Hover Effect — Slide */
.product-card:hover .img-main {
  left: -100%;
}

.product-card:hover .img-hover {
  left: 0;
}

/* Rating Stars */
.rating i {
  color: #000;
  margin-right: 3px;
}

/* Cart Icon Overlay */
.cart-icon img{
    position: relative;
    top: -40px;
    left: 83%;
  transform: translate(-50%, -50%);
  color: #000000;
  background-color: white;
  padding: 12px 14px;
  border-radius: 50%;
  font-size: 20px;
  opacity: 0;
  pointer-events: none;
  transition: 0.4s ease;
}

/* Show icon ONLY when second image slides in */
.product-card:hover .cart-icon img {
  opacity: 1;
}

/* FOOTER */
.footer {
    background: transparent;
    padding: 60px 40px;
    margin-top: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-col h3 {
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    text-decoration: none;
    color: #222;
}

.footer-logo {
    width: 120px;
    margin-bottom: 10px;
}

.disclaimer {
    font-size: 14px;
    width: 260px;
}

/* FOOTER BOTTOM */
.footer-bottom {
    text-align: center;
    margin-top: 40px;
}

.currency {
    margin-bottom: 10px;
    cursor: pointer;
}

.social-icons a {
    font-size: 24px;
    color: #000;
    margin: 0 10px;
}

.copy {
    margin: 15px 0;
    font-size: 14px;
}

.payments img {
    height: 30px;
    margin: 0 5px;
}
