/*****************************************************************************
Project name: Anfal Salts
URL: www.anfalsalts.com
Website type: Custom responsive website design and development
Designed & Developed by: Fifer Communications. www.fifercommunications.com
Website live year: May, 2024
*****/



.inner-container {
  width: 100%;
  height: 30vh;
  /* background: #0d1321; */
}



.inner-header {
  width: 100%;
  height: 30vh;
  background-image: url(../images/anfal_salt_bg_m_t.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1) !important;
  
}

.inner-header-punchline {
  position: absolute;
  width: 100%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 65px;
  line-height: 70px;
  font-weight: 400;
  /* text-transform: uppercase; */
  text-align: center;
  font-family: "Playfair Display", serif;
  color: #cfab71;
  text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.8); /* Example shadow */
}


/* Start contact us page */
.contact-us-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  /* color: black; */
  /* background-color: #866027; */
  padding: 20px;
}

.contact-us-section div {
  flex: 1;
  min-width: 250px;
  padding: 10px;
}

.contact-info h2, .contact-info p, .contact-details p {
  margin: 10px 0;
  color: #0d1323;
}

.contact-details p {
  display: flex;
  align-items: center;
}

.contact-details i {
  margin-right: 10px;
}

.form-field {
  margin-bottom: 15px;
  
}

.form-field input, .form-field textarea {
  color: #0d1323;
  width: 100%;
  border: none;
  border-bottom: 1px solid #0d1323;
  padding: 5px;
  background-color: transparent;

}

.form-field textarea {
  height: 100px;
  resize: vertical;
}

.form-field button {
  padding: 10px 20px;
  cursor: pointer;
  /* background-color: #bb8d3e;  */
  background-color: #0d1323; /* Dark navy blue*/
  border: none;
  border-radius: 25px;
  /* color: white; */
  color: #9c7c4a; /*dark gold*/

  font-size: 16px;
  transition: background-color 0.3s ease;
}

.form-field button:hover {
  background-color: #9c7c4a;
  color: #0d1323;
}

.design-border {
  /* background: #0d1323; */
  background: #9c7c4a;
  margin-top: 40px;
  height: 15px;
  width: 100%;
}
.google-map {
  width: 100%;
  height: 600px;
  filter: grayscale(100%); /* Make the Google Map grayscale */
}
/* End contact us page */

/* Start about us page section */
.about-us-page-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  /* color: black; */
  /* background-color: #866027; */
  padding: 20px;
}

.about-form img{
  width: 100%;
  max-width: 100%;
  height: auto;
  background-size: cover;
  border-radius: 0 120px 0px 120px;
  background-position: center;
  background-repeat: no-repeat;
}

.about-us-page-section div {
  flex: 1;
  min-width: 250px;
  padding: 10px;
}

.about-info h2, .about-info p, .about-details p {
  margin: 10px 0;
  color: #0d1323;
}
.about-info h2{
  font-size: 2rem;
  line-height: 2.5rem;
  
}

.about-details p {
  display: flex;
  align-items: center;
}

.about-details i {
  margin-right: 10px;
}

/* End about us page section */

/* Start all inner page section except about us inner page */
.all-inner-page-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  /* color: black; */
  /* background-color: #866027; */
  padding: 20px;
}

.all-inner-page-form img{
  width: 100%;
  max-width: 100%;
  height: auto;
  background-size: cover;
  border-radius: 0 120px 0px 120px;
  background-position: center;
  background-repeat: no-repeat;
}

.all-inner-page-section div {
  flex: 1;
  min-width: 250px;
  padding: 10px;
}

.all-inner-page-info h2, .all-inner-page-info p, .all-inner-page-details p {
  margin: 10px 0;
  color: #0d1323;
}
.all-inner-page-info h2{
  font-size: 2rem;
  line-height: 2.5rem;
  
}

.all-inner-page-details p {
  display: flex;
  align-items: center;
}

.all-inner-page-details i {
  margin-right: 10px;
}

/* End all inner page section except about us inner page */

/* FAQs Section Styles */
.faqs-section {
  max-width: 100%;
  margin: 0 auto;
  padding: 50px 20px;
  text-align: center;
  background-image: url(../images/mark-bg-faqs.png);
  /* background-size: cover; */
  background-size: cover;
  background-position: center;
  /* background-repeat: no-repeat; */
  background-repeat: repeat-x;
}

.faqs-section h2 {
  color: var(--fx-white);
  margin-bottom: 30px;
}

.faq-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Your existing styles for .faq-item and .faq-question */
.faq-item {
  width: 100%;
  max-width: 75%;
  margin-bottom: 20px;
  overflow: hidden;
  border: 1px solid var(--fx-border-color);
  border-radius: 0px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
  cursor: pointer;
  background-color: var(--fx-page-text-color);
}

.faq-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  padding: 15px;
  cursor: pointer;
  font-weight: 400;
  color: var(--fx-bg-color);
}

.faq-question h3 {
  color: var(--fx-bg-color);
}

/* New styles for .faq-item and .faq-question */
.faq-item {
  transition: background-color 0.3s ease;
}

.faq-item.open {
  background-color: #0d1323; /* Change to your desired background color */
}
.faq-item.open h3 {
  color: #9c7c4a; /*dark gold*/
  font-size: 26px;
   /* Change to your desired background color */
}

.faq-question .toggle-button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  /* color: #0d1323; */
  color: #fff;
}

.faq-item.open .faq-question .toggle-button {
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.faq-question span {
  flex: 1;
  font-weight: bold;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 15px;
  background-color: #9c7c4a;
  text-align: left;
}

/* End FAQs section styles */

/* Start news and events styles */
/* Start news and events styles */
#news-events-page {
  max-width: 100%;
  margin: 40px 0;
  padding: 0 2rem;
}

#news-events-page h1 {
  text-align: left;
  font-size: 2.5em;
  color: #222; /* Adjust title color as needed */
  margin-bottom: 20px;
}

#news-events-page p {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: justify;
}

.flex-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.flex-item {
  flex: 0 0 45%; /* Updated this line */
  margin: 10px; /* Added for spacing */
  /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
}

.flex-item img {
  max-width: 100%;
  height: auto;
}

#news-section h2, #events-section h2 {
  text-align: left;
  margin: 20px 0;
  font-size: 2rem;
}

/* Responsive styles */
@media (max-width: 768px) {
  #news-events-page {
      padding: 10px;
  }

  #news-events-page h1 {
      font-size: 2em;
  }

  .flex-container {
    justify-content: center;
  }

  .flex-item {
    flex: 0 0 100%; /* Adjusted for full width on small screens */
  }
}
/* End news and events styles */

/* End news and evetns styles */

/* Start Anfal infinite text scroll styles */


.text-scroller {
  width: 100%;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
  box-sizing: border-box;
  font-family: "Playfair Display", serif;
}
.scroller-content {
  display: inline-block;
  white-space: nowrap;
  animation: scrollText 1100s linear infinite; /* Adjust time for speed */
  color: #0d1323;
}

@keyframes scrollText {
  0% {
      transform: translateX(0%);
  }
  100% {
      transform: translateX(-50%); /* Move only half the content's width */
  }
}


/* End Anfal infinite text scroll styles */















/* History timeline */

@import url('https://fonts.googleapis.com/css?family=Cardo|Pathway+Gothic+One');
.timeline {
  display: flex;
  margin: 0 auto;
  flex-wrap: wrap;
  flex-direction: column;
  max-width: 700px;
  position: relative;
}
.timeline__content-title {
  font-weight: normal;
  font-size: 66px;
  margin: -10px 0 0 0;
  transition: 0.4s;
  padding: 0 10px;
  box-sizing: border-box;
  /* font-family: "Playfair Display", serif; */
  font-family: 'Pathway Gothic One', sans-serif;
  color: #fff;
}
.timeline__content-desc {
  margin: 0;
  font-size: 16px;
  box-sizing: border-box;
  color: rgba(255, 255, 255, 0.7);
  /* font-family: Cardo; */
  font-weight: normal;
  line-height: 25px;
}
.timeline:before {
  position: absolute;
  left: 50%;
  width: 2px;
  height: 100%;
  margin-left: -1px;
  content: "";
  background: rgba(255, 255, 255, 0.07);
}
@media only screen and (max-width: 767px) {
  .timeline:before {
    left: 40px;
  }
}
.timeline-item {
  padding: 40px 0;
  opacity: 0.3;
  filter: blur(2px);
  transition: 0.5s;
  box-sizing: border-box;
  width: calc(50% - 40px);
  display: flex;
  position: relative;
  transform: translateY(-80px);
}
.timeline-item:before {
  content: attr(data-text);
  letter-spacing: 3px;
  width: 100%;
  position: absolute;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  font-family: "Playfair Display", serif;
  border-left: 2px solid rgba(255, 255, 255, 0.5);
  top: 70%;
  margin-top: -5px;
  padding-left: 15px;
  opacity: 0;
  right: calc(-100% - 56px);
}
.timeline-item:nth-child(even) {
  align-self: flex-end;
}
.timeline-item:nth-child(even):before {
  right: auto;
  text-align: right;
  left: calc(-100% - 56px);
  padding-left: 0;
  border-left: none;
  border-right: 2px solid rgba(255, 255, 255, 0.5);
  padding-right: 15px;
}
.timeline-item--active {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0px);
}
.timeline-item--active:before {
  top: 50%;
  transition: 0.3s all 0.2s;
  opacity: 1;
}
.timeline-item--active .timeline__content-title {
  margin: -50px 0 20px 0;
}
@media only screen and (max-width: 767px) {
  .timeline-item {
    align-self: baseline !important;
    width: 100%;
    padding: 0 30px 150px 80px;
  }
  .timeline-item:before {
    left: 10px !important;
    padding: 0 !important;
    top: 50px;
    text-align: center !important;
    width: 60px;
    border: none !important;
  }
  .timeline-item:last-child {
    padding-bottom: 40px;
  }
}
.timeline__img {
  max-width: 100%;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.4);
}
.timeline-container {
  width: 100%;
  position: relative;
  padding: 80px 0;
  transition: 0.3s ease 0s;
  background-attachment: fixed;
  background-size: cover;
}
.timeline-container:before {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  /* background: rgba(99, 99, 99, 0.8); */
  background-color: rgba(13, 19, 33, 0.7);
  content: "";
}
.timeline-header {
  width: 100%;
  text-align: center;
  margin-bottom: 80px;
  position: relative;
}
.timeline-header__title {
  color: #fff;
  font-size: 46px;
  /* font-family: Cardo; */
  font-weight: normal;
  margin: 0;
  font-family: "Playfair Display", serif;
}
.timeline-header__subtitle {
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
  letter-spacing: 5px;
  margin: 10px 0 0 0;
  font-weight: normal;
}
.demo-footer {
  padding: 60px 0;
  text-align: center;
}
.demo-footer a {
  color: #999;
  display: inline-block;
  font-family: Cardo;
}


/* End history time line */


/* Anfal Products Page */
#anfal-salt-products {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Adjusts spacing between cards */
  padding: 2rem;
  /* padding: 3rem 0 3rem 0; */
  gap: 20px; /* You can adjust or remove this to change the gap */
}
.products-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between; /* Align items to the start */
  gap: 20px; /* Adjust the gap as needed */
}


.product-page-card {
  width: calc(50% - 20px); /* Adjust the width to account for the gap */
  /* border: 1px solid #ddd; */
  /* border-radius: 8px; */
  overflow: hidden;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  margin-bottom: 20px; /* Adjust as needed for spacing between rows */
}


.product-page-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.product-page-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0 120px 0px 120px;
}

.product-info {
  padding: 15px;
}

.product-name {
  font-size: 1.5em;
  margin-bottom: 0.5em;
}

.product-subtitle {
  font-size: 2.5em;
  color: #ccc;
  margin-bottom: 1em;
}

.product-description {
  /* font-size: 0.9em; */
  font-size: 1.2em;
  line-height: 1.3;
  color: #000;
}

.hidden {
  display: none;
}

/* Responsive adjustments */
@media (max-width: 800px) {
  .product-page-card {
      width: 100%; /* Full width on smaller screens */
  }
}

/* End Anfal Products Page */



























 /* Inner pages responsive styles */
/* Contact us page */
@media (max-width: 767px) {
  .inner-header-punchline {
    font-size: 28px;
    line-height: 38px;
  }
}

@media screen and (max-width: 767px) {
  .contact-us-section {
      flex-direction: column;
  }

/* End contact us page/section */


/* FAQs */
.faq-item {
  width: 100%;
  max-width: 100%;
  /* End FAQs */
}

}
/* End mobile style bracket */