* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #000;
  --secondary-color: #fff;
}

@font-face {
  font-family: fonde;
  src: url(https://foundyoujewelry.com/assets/font/FontsFree-Net-fonde.ttf);
}
@font-face {
  font-family: optima;
  src: url(https://foundyoujewelry.com/assets/font/FontsFree-Net-OPTIMA.ttf);
}

body {
  font-family: optima;
  background: #e7e3d7;
}

h2 {
  font-family: fonde;
}
a {
  text-decoration: none;
}

.container {
  padding: 0 10%;
}
.section-gap {
  padding: 6rem 0;
}

.blur-effect {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  backdrop-filter: blur(1px);
}

/* Animated bottom line for anchor tags */

.animated-line {
  position: relative;
  display: inline-block;
  color: #231f20;
  text-decoration: none;
  padding: 5px 0;
}

.animated-line::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #000;
  transition: width 0.3s ease-in-out;
}

.animated-line:hover::after {
  width: 100%;
}

/* HEADER CSS */

.main-top {
  height: 100vh;
  width: 100%;
  background: url("https://foundyoujewelry.com/assets/img/home/home-top.jpg") no-repeat center;
  background-size: cover;
  background-position: top;
}
.header {
  position: fixed;
  height: 10vh;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.3rem 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  transition: all 0.3s;
  z-index: 99;
  background: #393939a6;

}

.nav-up {
  top: -10vh;
}

.navbar {
  transition: 0.3s ease-in-out;
}
.navbar a {
  font-size: 1.125rem;
  color: #fff;
  text-decoration: none;
  font-weight: 300;
  margin-left: 2.5rem;
}

.navbar a:hover {
  color: #000;
}

.logo img {
  height: 100%;
  max-height: 50px;
}

#check {
  display: none;
}

.icons {
  position: absolute;
  right: 5%;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  display: none;
}

/****************************HERO SECTION*************************/
.hero-title {
  position: absolute;
  top: 20%;
  text-align: left;
  right: 3%;
  z-index: 4;
}
.hero-title h2 {
  font-size: 3.406rem;
  /* color: #f5f2e9; */
  color: #404f5e;
  font-weight: 400;
  line-height: 70px;
}

.hero-section {
  width: 100%;
  /* height: 60%; */
}
.hero-section img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* SECTION 2 STARTS */

.section-2 .main,
.section-3 .main,
.section-4 .main {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px 30px;
}

.section-2 .main .image-section,
.section-3 .main .image-section,
.section-4 .main .image-section {
  overflow: hidden;
  /* width: 100%;
  height: 90vh; */
}

.section-5 {
  padding-top: 0;
}

.image-section img {
  width: 100%;
  height: auto;
}

.section-2 .main .detail-section,
.section-3 .main .detail-section,
.section-4 .main .detail-section {
  display: flex;
  align-items: center;
}
.section-2 .main .detail-section .content,
.section-3 .main .detail-section .content,
.section-4 .main .detail-section .content {
  padding-left: 20px;
}
.section-2 .main .detail-section .content h2,
.section-3 .main .detail-section .content h2,
.section-4 .main .detail-section .content h2 {
  color: #231f20;
  width: 350px;
  font-size: 3.563rem;
  line-height: 70px;
  font-weight: 400;
}
.section-2 .main .detail-section .content p,
.section-3 .main .detail-section .content p,
.section-4 .main .detail-section .content p {
  color: #7f7a66;
  margin-top: 1.5rem;
  /* width: 90%; */
  text-wrap: wrap;
  font-size: 1.563rem;
  font-weight: 400;
  line-height: 33px;
}

.btn {
  display: inline-block;
  margin-top: 2.5rem;
  padding: 15px 30px;
  border-radius: 90px;
  cursor: pointer;
  border: 1px solid;
  text-align: center;
  width: 12.5rem;
  font-size: 1.2rem;
  text-decoration: none;
  color: inherit; /* Ensures the text color is inherited */
}

.btn:hover {
  color: #f5f2e9;
  background: #231f20;
}

/* SECTION 2 ENDS */

/* CAROUSEL  */

.carousel-container {
  padding: 0 0 0 10%;
}

.carousel-heading {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.carousel-heading h2 {
  color: #7f7a66;
  font-size: 3.563rem;
  line-height: 70px;
  font-weight: 400;
}

.carousel-heading .btn-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-left: 2rem;
}

.carousel-heading .btn-group .left-btn,
.carousel-heading .btn-group .right-btn {
  border-radius: 50px;
  border: 1px solid #b1a595;
  width: 40px;
  height: 40px;
  cursor: pointer;
  margin-left: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-heading .btn-group .left-btn i,
.carousel-heading .btn-group .right-btn i {
  font-size: 24px;
  color: #b1a595;
}

.swiper-container {
  margin-top: 2rem;
  overflow: hidden;
  position: relative;
  width: 100%; /* Adjust the width to show part of the next slide */
}

.swiper-wrapper {
  display: flex;
}

.swiper-slide {
  list-style: none;
  width: auto;
  /* min-width: 300px; */
  margin-right: 10px; /* Add some margin to show part of the next slide */
}

.carousel-image {
  width: 100%;
  display: block;
  cursor: pointer;
}

.swiper-pagination {
  bottom: 10px;
}

.swiper-pagination {
  display: none;
}

.swiper-pagination-bullet-active {
  background: #fefeff !important;
}

.carousel-btn {
  display: flex;
  justify-content: center;
}

.swiper-slide {
  position: relative;
}

.title {
  /*position: absolute;
  bottom: 10px;
  left: 10px;
  padding: 10px;
  color: white;
  font-size: 1.3rem;
  opacity: 0;
  width: 100%;
  transition: opacity 0.3s;
  z-index: 4;*/

  position: absolute;
  bottom: 0px;
  padding: 10px;
  color: white;
  font-size: 1.3rem;
  opacity: 0;
  width: 100%;
  transition: opacity 0.3s;
  z-index: 4;
}

.swiper-slide:hover::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgb(0 0 0 / 37%), rgba(0, 0, 0, 0));
  pointer-events: none;
  z-index: 1;
}

.swiper-slide:hover .title {
  opacity: 1;
}

/* GET IN TOUCH PAGE */

.get-in-touch .wrapper {
  width: 100%;
  background: linear-gradient(176deg, #00000000 0%, #302e2e 100%),
    url("https://foundyoujewelry.com/assets/img/get-in-touch.png") no-repeat center;
  background-size: cover;
  margin: 50px 0;
}
.get-in-touch .wrapper .btn-group {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 0 4rem;
}
.get-in-touch .wrapper h2 {
  text-align: center;
  color: #f5f2e9;
  font-size: 3.563rem;
  line-height: 70px;
  font-weight: 400;
  padding: 4rem 0 3rem;
  /* margin-bottom: 2.6rem; */
}
.get-in-touch .wrapper .btn-group .left,
.get-in-touch .wrapper .btn-group .center,
.get-in-touch .wrapper .btn-group .right {
  border-radius: 50px;
  border: 1px solid #f5f2e9;
  padding: 15px 30px;
  margin-left: 2rem;
  color: #f5f2e9;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 400;
  text-align: center;
}
.get-in-touch .wrapper .btn-group .left:hover,
.get-in-touch .wrapper .btn-group .center:hover,
.get-in-touch .wrapper .btn-group .right:hover {
  background: #f5f2e9;
  color: #231f20;
}

/* Instagram section */

.instagram-section {
  padding: 2rem 0;
  text-align: center;
}

.instagram-section h2 {
  color: #231f20;
  font-size: 3.563rem;
  line-height: 70px;
  font-weight: 400;
  margin: 2rem 0;
  text-align: center;
}

.insta-lists {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  justify-items: center;
}

.insta-item {
  background-color: #fff;
  overflow: hidden;
  width: 100%;
}
.insta-item:hover {
  cursor: pointer;
}

.insta-item img {
  width: 100%;
  height: auto;
  display: block;
}
.insta-item:hover img {
  transform: scale(1.08);
  transition: 0.4s ease-in-out;
  filter: grayscale(100%);
}

.hide-on-desktop {
  display: none;
}

/* FAQs SECTION */

.faq-section {
  padding: 2rem;
  max-width: 800px;
  margin: auto;
  text-align: center;
}

.faq-section h2 {
  color: #231f20;
  font-size: 3.563rem;
  line-height: 70px;
  font-weight: 400;
  margin: 2rem 0;
  text-align: center;
}

.faq {
  text-align: left;
}

.faq-item {
  border-bottom: 1px solid #d3d3d3;
  padding: 1rem 0;
  cursor: pointer;
  position: relative;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 1.25rem;
  color: #231f20;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
  font-size: 1rem;
  color: #5a5a5a;
  padding-top: 1rem; /* To ensure it expands below the question */
}
.faq-answer p {
  font-size: 1rem;
  line-height: 20px;
}

.faq-icon {
  font-size: 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 800px; /* Adjust based on content length */
  padding-top: 1rem; /* To ensure it expands below the question */
  transition: max-height 0.3s ease-in-out;
}

.faq-btn {
  display: flex;
  justify-content: center;
}
.faq-btn .btn {
  width: 9rem;
}

.faq-item.active .faq-question, /* Change question color */
.faq-item.active .faq-icon {
  /* Change icon color */
  color: #9e4515;
}

/*FOOTER SECTION  */

.footer {
  padding: 5% 10% 5%;
  border-top: 1px solid #7f7a664d;
  margin: 5% 0 0 0;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.footer-left {
  flex: 1;
  min-width: 200px;
}

.footer-center {
  margin-top: 6rem;
}

.footer-center h3 {
  color: #7f7a66;
  font-weight: 400;
  font-size: 1.719rem;
}

.footer-address {
  flex: 1;
  min-width: 200px;
  margin-top: 4rem;
}

.footer-address h3 {
  color: #7f7a66;
  font-weight: 400;
  font-size: 1.719rem;
  line-height: 30px;
}

.footer-address p {
  color: #231f20;
  margin-top: 0.5rem;
  font-size: 1rem;
  line-height: 25px;
}

.footer-right {
  flex: 1;
  min-width: 200px;
  text-align: right;
}

.footer-logo {
  max-width: 150px;
}

.newsletter {
  display: flex;
  margin-top: 1rem;
  border-bottom: 1px solid #7f7a664d;
  align-items: flex-end;
}

.newsletter input {
  padding: 0.5rem;
  font-size: 1rem;
  border: none;
  width: 100%;
  max-width: 400px;
  background: none;
}

.newsletter input:focus-visible {
  border: none;
  outline: none;
}

.newsletter input::placeholder {
  font-size: 1rem;
  color: #7f7a664d;
}

.newsletter button {
  padding-bottom: 2%;
  font-size: 1.02rem;
  border: none;
  border-radius: 0 5px 5px 0;
  color: #231f20;
  cursor: pointer;
  background: none;
}

.newsletter button:hover {
  color: #7f7a66;
}

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

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links li a {
  text-decoration: none;
  color: #231f20;
  font-size: 1rem;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1rem;
}

.footer-bottom p {
  font-size: 1rem;
  color: #7f7a664d;
  margin-top: 1rem;
}

.social-media a {
  margin: 0 0.5rem;
  color: #7f7a66;
  font-size: 1.5rem;
}
.social-media a img {
  height: 24px;
  width: 24px;
}

.social-media a i,
.social-media a img {
  scale: 1;
}

.social-media a:hover i,
.social-media a:hover img {
  scale: 1.5;
}

/* Lazy Loader */

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.loader {
  /* width: 100px;
  height: 100px; */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.loader img {
  position: relative;
  width: 200px;
  height: auto;
  animation: fadeIn 2s infinite ease-in-out;
}

.parent-container {
  display: none;
}

.breadcrumb a {
  color: #7f7a66;
  font-size: 1rem;
  font-weight: 400;
}
.breadcrumb a:hover {
  color: #231f20;
}
/************************MEDIA QUERIES***************/

@media (min-width: 1600px) {
  .hero-title {
    top: 20%;
    right: 5%;
  }
  .hero-title h2 {
    font-size: 4.406rem;
    line-height: 80px;
  }
}

@media (min-width: 1600px) {
  .breadcrumb {
    padding-top: 3rem;
  }
  .modal-content {
    top: 11.338rem !important;
  }
}

@media (min-width: 1800px) {
  .section-2 .main,
  .section-3 .main,
  .section-4 .main {
    gap: 6rem;
    max-width: 1824px;
    width: 100%;
  }
  .section-2 .main .detail-section .content p,
  .section-3 .main .detail-section .content p,
  .section-4 .main .detail-section .content p {
    width: 70%;
  }
}

@media (max-width: 992px) {
  /* .header {
    height: 7vh;
  } */
  
  .breadcrumb {
    display: none;
  }
  
  .hero-title h2 {
    color: #f5f2e9;
    font-size: 1.875rem;
    line-height: 35px;
  }
  .logo img {
    max-height: 40px;
  }
  .main-top {
    height: 30rem;
  }
  /* .header {
    padding: 1rem 5%;
    height: 5vh;
  } */
  .navbar a {
    font-size: 1rem;
    margin-left: 2rem;
  }

  .section-2 .main .detail-section .content h2,
  .section-3 .main .detail-section .content h2,
  .section-4 .main .detail-section .content h2,
  .carousel-heading h2 {
    width: 230px;
    font-size: 2rem;
    line-height: 35px;
  }
  .section-2 .main .detail-section .content p,
  .section-3 .main .detail-section .content p,
  .section-4 .main .detail-section .content p {
    margin-top: 1.5rem;
    font-size: 1rem;
    line-height: 20px;
  }
  .btn {
    margin-top: 2rem;
    padding: 10px;
    width: 10rem;
    font-size: 1rem;
  }
  .faq-section {
    max-width: 600px;
  }

  .hero-title {
    top: 15%;
  }
  .hero-title h2 {
    font-size: 2rem;
    line-height: 40px;
  }
  .swiper-slide::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20%;
    background: linear-gradient(to top, rgb(0 0 0 / 31%), rgba(0, 0, 0, 0));
    pointer-events: none;
    transition: 0.3s;
    z-index: 1;
  }
  .swiper-slide .title {
    opacity: 1;
    font-size: 1rem;
  }
}
@media (max-width: 768px) {
  .header {
    background: #f5f2e9;

  }
  .home-hamburger {
    color: #231f20;
  }
  .hide-on-desktop {
    display: block;
  }
  .icons {
    display: inline-flex;
  }

  #check:checked ~ .icons #menu-icon {
    display: none;
  }

  .icons #close-icon {
    display: none;
  }
  #check:checked ~ .icons #close-icon {
    display: block;
  }

  .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 0;
    background: #fff;
    overflow: hidden;
    transition: 0.3s ease-in-out;
  }

  #check:checked ~ .navbar {
    height: 12rem;
    transition: 0.3s ease-in-out;
  }
  .navbar a {
    display: block;
    font-size: 1rem;
    margin: 1.5rem 5%;
    text-align: center;
    color: #000;
  }

  .section-2 .main,
  .section-3 .main,
  .section-4 .main {
    padding: 4rem 0;
    grid-template-columns: repeat(1, 1fr);
  }
  .section-2 .main .detail-section .content,
  .section-3 .main .detail-section .content,
  .section-4 .main .detail-section .content {
    padding-left: 0;
  }

  .main-top {
    /* height: 70vh; */
    height: 30rem;
    width: 100%;
    /* background: url("assets/img/home/home-banner.png") no-repeat center; */
    background-size: cover;
    /* background-position: top; */
    position: relative;
  }
  .main-top::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgb(0 0 0 / 37%), rgba(0, 0, 0, 0));
    backdrop-filter: blur(1px);
    pointer-events: none;
    z-index: 1;
  }
  .section-gap {
    padding: 2rem 0;
  }
  .section-2 .main,
  .section-3 .main,
  .section-4 .main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
    gap: 20px 0;
  }
  .section-3 .main {
    flex-direction: column-reverse;
  }
  .section-4 .main {
    align-items: flex-start;
  }
  .insta-lists {
    grid-template-columns: repeat(3, 1fr); /* Show 5 cards on desktop */
  }

  /* Get in touch */

  /* FOOTER */
  .footer-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-right {
    text-align: center;
    margin-top: 1rem;
  }

  .newsletter input {
    width: 100%;
    padding-bottom: 2%;
  }
  .hide-on-mobile {
    display: none;
  }

  .get-in-touch .wrapper .btn-group .left,
  .get-in-touch .wrapper .btn-group .center,
  .get-in-touch .wrapper .btn-group .right {
    padding: 15px;
  }
}

@media (max-width: 600px) {
  .title {
    bottom: 5px;
  }
  .main-top {
    /* height: 65vh; */
    height: 75vh;
    width: 100%;
    background: url("https://foundyoujewelry.com/assets/img/home/home-top.jpg") no-repeat center;
    background-size: cover;
    background-position: left;
  }
  .hero-title {
    top: 85%;
    text-align: center;
    width: 100%;
    right: 0;
  }
  .hero-title h2 {
    font-size: 1.875rem;
    line-height: 35px;
  }
  .header {
    height: 10vh;
    background: #f5f2e9;

  }
  .container,
  .carousel-container {
    padding: 0 5%;
  }

  .carousel-btn {
    justify-content: flex-start;
    padding: 0 5%;
  }

  .swiper-pagination {
    display: block;
  }

  .swiper-slide {
    min-width: auto; /* Ensure no fixed width on small screens */
  }

  .section-2 .main .detail-section .content,
  .section-3 .main .detail-section .content,
  .section-4 .main .detail-section .content {
    padding: 0;
  }
  .section-2 .main .detail-section .content h2,
  .section-3 .main .detail-section .content h2,
  .section-4 .main .detail-section .content h2,
  .carousel-heading h2 {
    font-size: 1.875rem;
    line-height: 35px;
    width: 200px;
  }
  .section-3 .main .detail-section .content h2 {
    width: 300px;
  }
  .section-2 .main .detail-section .content p,
  .section-3 .main .detail-section .content p,
  .section-4 .main .detail-section .content p {
    font-size: 1rem;
    margin-top: 1rem;
    line-height: 20px;
  }

  .hero-section .hero {
    display: none;
  }

  .btn {
    margin-top: 1.5rem;
    padding: 10px 15px;
    width: 10rem;
    font-size: 1rem;
  }
  .carousel-heading .btn-group {
    display: none;
  }
  .carousel-heading h2 {
    width: 300px;
  }

  .get-in-touch .wrapper .btn-group {
    flex-direction: column;
    /* margin-top: 2rem; */
    padding: 1rem 0 4rem;
  }
  .get-in-touch .wrapper h2 {
    font-size: 1.875rem;
    line-height: 35px;
    margin: 0;
    padding: 4rem 0 2rem;
    /* padding-top: 7rem; */
  }
  .get-in-touch .wrapper {
    background: linear-gradient(176deg, #0000009c 0%, #302e2e 100%),
      url("https://foundyoujewelry.com/assets/img/get-in-touch-mobile.png") no-repeat center;
    background-size: cover;
  }
  .get-in-touch .wrapper .btn-group .left,
  .get-in-touch .wrapper .btn-group .center,
  .get-in-touch .wrapper .btn-group .right {
    margin: 1rem 0 0 0;
    font-size: 1rem;
  }

  /* Instagram section */

  /* FAQs Section */
  .faq-section {
    padding: 1rem;
  }

  .faq-section h2,
  .instagram-section h2 {
    font-size: 1.875rem;
    line-height: 35px;
    margin: 1rem 0;
  }

  .faq-question {
    font-size: 1rem;
  }

  .faq-answer {
    font-size: 0.875rem;
  }

  .insta-lists {
    grid-template-columns: repeat(2, 1fr);
  }

  /* FOOTER */
  .footer {
    padding: 5% 0;
  }

  .footer-container {
    padding: 1rem;
  }

  .footer-logo {
    max-width: 100px;
  }

  .footer-links li a {
    font-size: 0.875rem;
  }

  .social-media a {
    font-size: 1.25rem;
  }

  .footer-center h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    text-align: left;
  }

  .footer-center {
    margin-top: 2rem;
  }

  .newsletter input::placeholder {
    font-size: 0.7rem;
  }

  .newsletter button {
    font-size: 0.7rem;
  }

  .footer-address {
    margin-top: 2rem;
  }

  .footer-address h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 400px) {
  .get-in-touch .wrapper .btn-group {
    flex-direction: column;
    /* margin-top: 2rem; */
  }
  .get-in-touch .wrapper h2 {
    font-size: 1.875rem;
    line-height: 35px;
    margin: 0;
    padding-top: 3rem;
  }
  .get-in-touch .wrapper {
    background: linear-gradient(176deg, #0000009c 0%, #302e2e 100%),
      url("https://foundyoujewelry.com/assets/img/get-in-touch-mobile.png") no-repeat center;
    background-size: cover;
  }
  .get-in-touch .wrapper .btn-group .left,
  .get-in-touch .wrapper .btn-group .center,
  .get-in-touch .wrapper .btn-group .right {
    margin: 1rem 0 0 0;
    font-size: 1rem;
  }
  .faq-section {
    padding: 1rem;
  }

  .faq-section h2 {
    font-size: 2.5rem;
  }

  .faq-question {
    font-size: 1rem;
  }

  .faq-answer {
    font-size: 0.875rem;
  }
  .hide-on-mobile {
    display: none;
  }
}