:root {
  --primary-color: #b1a08e; /* Button color */
  --text-color: #6e6259;
  --background-color: #f8f6f3;
  --muted-text-color: #9c8f85;
  --card-bg-color: #ffffff;
  --heading-color: #3d3530;
      --primary-font: 'Gill Sans'; /* corps textes : montserat, poppins, .... */
    --secondary-font: 'Playfair Display';  /* titres.... */
}

body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: var(--primary-font), sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
}

h1,
h2,
h3 {
  font-family: var(--secondary-font), serif;
  color: var(--heading-color);
}

/* Navbar Styles */
.navbar {
  background: transparent !important;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.navbar-nav .nav-link {
  color: var(--heading-color);
  font-weight: 500;
  justify-content: center;
}

.navbar-brand {
  margin: 0 !important;
}

.navbar-brand img {
  max-height: 30px;
}
.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5);
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-social {
  justify-content: end;
}

/* Social Icons in Navbar */
.navbar-social a {
  color: var(--heading-color);
  font-size: 1.2rem;
  transition: color 0.3s ease;
}
.navbar-social a:hover {
  color: #3d353065;
}

#nav-mobile {
  display: flex;
  justify-content: center;
}

#nav-desk {
  width: 154px;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.6)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 15px;
    margin-top: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
  }
  .navbar-nav {
    align-items: center;
  }
  .navbar-social {
    justify-content: center !important;
    margin-top: 1rem;
  }
  #nav-desk {
    display: none !important;
  }
}

@media (min-width: 992px) {
  #nav-mobile {
    display: none !important;
  }
}

/* Hero Section Styles */
.hero-section {
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding-top: 120px;
  padding-bottom: 60px;
  overflow: hidden;
}

.hero-image-container {
  position: relative;
}

.hero-img {
  width: 100%;
  border-radius: 20px;
  position: relative;
  z-index: 2;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero-content {
  z-index: 5;
}

.hero-content .meta-info {
  color: var(--muted-text-color);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--text-color);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 2rem;
}

.hero-btn {
  background-color: var(--primary-color);
  color: #fff;
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
}

.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(177, 160, 142, 0.4);
  color: var(--primary-color);
}

@media (max-width: 991.98px) {
  .hero-section {
    text-align: center;
  }
  .hero-image-container {
    margin-bottom: 3rem;
  }
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Articles Section */
.articles-section {
  padding: 80px 0;
  background-color: var(--background-color);
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.section-title p {
  color: var(--muted-text-color);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.article-card {
  background-color: var(--card-bg-color);
  border: none;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease-in-out;
  overflow: hidden;
  height: 100%;
}

.article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.article-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.article-card .card-body {
  padding: 1.75rem;
}

.article-card .meta-info {
  font-size: 0.85rem;
  color: var(--muted-text-color);
  margin-bottom: 0.75rem;
}

.article-card .card-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0;
  line-height: 1.4;
}

.article-card .card-title a {
  text-decoration: none;
  color: var(--heading-color);
  transition: color 0.3s ease;
}

.hero-about-section {
  padding: 100px 0;
  overflow: hidden;
  position: relative;
  /* Animation */
  /* background-color: #f5f0e9; */
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.hero-about-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Top Part: Header --- */
.hero-header-content {
  margin-bottom: 4rem;
}
.hero-main-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: #3a322d;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.2;
}
.hero-sub-text {
  font-family: var(--primary-font), sans-serif;;
  color: #6e6259;
  font-size: 1rem;
  max-width: 450px;
}
.scroll-indicator {
  font-family: var(--primary-font), sans-serif;;
  font-weight: 600;
  color: #b1a08e;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.8rem;
  align-self: flex-end; /* Aligns to the bottom of the flex container */
}

/* --- Main Image --- */
.hero-image-wrapper {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  margin-bottom: 5rem;
}
.hero-image {
  width: 100%;
  height: auto;
  display: block;
}

/* --- Bottom Part: "Who We Are" --- */
.who-we-are-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #3a322d;
}
.who-we-are-text p {
  font-family: var(--primary-font), sans-serif;;
  color: #6e6259;
  line-height: 1.8;
  margin-bottom: 2rem;
}
.know-us-link {
  font-family: var(--primary-font), sans-serif;;
  font-weight: 600;
  color: #3a322d;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-bottom: 5px;
  border-bottom: 2px solid #d1c5b8;
  transition: border-color 0.3s ease;
}
.know-us-link:hover {
  border-color: #3a322d;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .hero-about-section {
    padding: 80px 15px;
  }
  .hero-header-content,
  .who-we-are-title {
    text-align: center;
  }
  .hero-sub-text {
    margin: 0 auto;
  }
  .scroll-indicator {
    display: none; /* Hide scroll indicator on mobile */
  }
  .who-we-are-text {
    margin-top: 2rem;
  }
}

/* footer */

.footer-redesigned {
  background-color: #f5f0e9; /* Soft off-white background */
  padding-top: 100px;
  overflow: hidden;
  position: relative;
  /* Animation */
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.footer-redesigned.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Newsletter Section --- */
.newsletter-wrapper {
  text-align: center;
  padding-bottom: 60px;
  border-bottom: 1px solid #e4dcd3;
}
.newsletter-wrapper h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 5vw, 2.8rem);
  color: #3a322d;
  margin-bottom: 1rem;
}
.newsletter-wrapper p {
  font-family: var(--primary-font), sans-serif;;
  color: #6e6259;
  max-width: 500px;
  margin: 0 auto 2rem auto;
}
.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.newsletter-form input {
  max-width: 350px;
  width: 100%;
  padding: 12px 20px;
  border: 1px solid #d1c5b8;
  border-radius: 50px;
  background-color: #fff;
  font-family: var(--primary-font), sans-serif;;
}
.newsletter-form input:focus {
  outline: none;
  border-color: #3a322d;
}
.newsletter-form button {
  background-color: #3a322d;
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  border: none;
  font-family: var(--primary-font), sans-serif;;
  font-weight: 600;
  transition: background-color 0.3s ease;
}
.newsletter-form button:hover {
  background-color: #211c18;
}

/* --- Main Footer Content --- */
.main-footer-content {
  padding: 60px 0;
}
.footer-logo {
  margin-bottom: 1rem;
}
.footer-logo img {
  max-width: 120px;
  margin-bottom: 1rem;
}
.footer-text {
  font-family: var(--primary-font), sans-serif;;
  color: #6e6259;
  font-size: 0.95rem;
  line-height: 1.7;
}
.footer-links-col h6 {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  color: #3a322d;
  margin-bottom: 1.5rem;
}
.footer-links-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links-col ul li a {
  font-family: var(--primary-font), sans-serif;;
  color: #6e6259;
  text-decoration: none;
  margin-bottom: 0.75rem;
  display: inline-block;
  transition: color 0.3s ease;
}
.footer-links-col ul li a:hover {
  color: #3a322d;
}

/* --- Sub-Footer --- */
.sub-footer {
  border-top: 1px solid #e4dcd3;
  padding: 30px 0;
}
.copyright-text {
  font-family: var(--primary-font), sans-serif;;
  color: #8c7d71;
  font-size: 0.9rem;
}
.footer-social-icons {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}
.footer-social-icons a {
  color: #b1a08e;
  font-size: 1.2rem;
  transition: color 0.3s ease, transform 0.3s ease;
}
.footer-social-icons a:hover {
  color: #3a322d;
  transform: scale(1.1);
}

/* --- Responsive Adjustments --- */
@media (max-width: 767.98px) {
  .main-footer-content,
  .sub-footer {
    text-align: center;
  }
  .footer-links-col {
    margin-top: 2rem;
  }
  .sub-footer .text-md-start {
    text-align: center !important;
  }
  .footer-social-icons {
    justify-content: center;
    margin-top: 1rem;
  }
  .newsletter-form {
    flex-direction: column;
    align-items: center;
  }
}

/* --- New Footer --- */
.new-footer {
  position: relative;
  padding: 80px 0;
  background-image: url("../image/footer_image.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Creates a nice parallax effect */
  color: #fff;
  text-align: center;
}

.new-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(
    61,
    53,
    48,
    0.85
  ); /* Dark, semi-transparent overlay from your color scheme */
  z-index: 1;
}

.new-footer .container {
  position: relative;
  z-index: 2;
}

.new-footer-brand {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.footer-nav li {
  display: inline-block;
  margin: 0 15px;
}

.footer-nav a {
  color: #f8f6f3;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--primary-color);
}

.footer-divider {
  border: 0;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.2);
  max-width: 400px;
  margin: 0 auto 1.5rem auto;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

@media (max-width: 767.98px) {
  .footer-nav li {
    display: block;
    margin: 10px 0;
  }
}
