  :root {
  --kebra-green: #00392F;
   --kebra-dark-green: #0f2a24;
  --kebra-beige: #F2E0C6;
  --kebra-white: #FFFFFF;
}
  
  *{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  body {

  font-family: 'Inter', sans-serif;
  /* padding-top: 140px; */
}
h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: var(--kebra-beige);
}
  /* Header Section  */
  #top-header {
  background: white;
  transition: top 0.3s ease-in-out;
  position: fixed;
  width: 100%;
  z-index: 1001;
  }
#top-header nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 50px;
    align-items: center;
}
#top-header nav ul{
    display: flex;
    flex-direction: row;
    list-style: none;
}
#top-header nav ul li{
    margin: 0px 10px;
}
#top-header nav ul li i{
      color: var(--kebra-beige);
}
#top-header nav:nth-of-type(2) {
   background-color: var(--kebra-green);
}
#top-header nav p{
  color: var(--kebra-beige);
  font-weight: 600;
}
.logo img{
    max-width: 150px;
}

.menu {
  background-color: #11362D;
  color: #F2E0C6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 20px;
  position: fixed;
  top: 49px; /* height of #top-header */
  width: 100%;
  z-index: 999;
}

.menu .logo img {
  height: 50px;
}

.menu-icon {
  display: none;
  font-size: 30px;
  cursor: pointer;
  color: #F2E0C6;
}

.menu #menu-toggle {
  display: none;
}

.menu .nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.menu .nav-links a {
  color: #F2E0C6;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.menu .nav-links a:hover {
  color: white;
}



/* Hero Section  */
.hero{
   display: flex;
   justify-content: center;
   align-items: center;
   text-align: center;
   height: 450px;
   padding-top:100px;
   background-image: url(../img/back4.png);
}
.hero h1{
  text-transform: uppercase;
  letter-spacing:1px;
}
.hero p {
  color: #f2e0c6;
  font-size: 12pt;
  letter-spacing: 1px;
  margin: 15px;
}
.hero a.button {
  background-color: var(--kebra-green);
  color: var(--kebra-beige);
  padding: 7px 25px;
  border: 1.5px solid var(--kebra-beige);
  border-radius: 30px;
  font-size: 16px;
  /* font-weight: 600; */
  /* margin-left: 10px; */
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}
.hero-form {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.hero input[type="email"] {
  padding: 7px 15px;
  border: 1.5px solid var(--kebra-beige);
  border-radius: 30px;
  background-color: transparent;
  color: var(--kebra-beige);
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: all 0.3s ease;
  width: 280px;
}

.hero input[type="email"]::placeholder {
  color: rgba(242, 224, 198, 0.7);
  font-style: italic;
}

.hero input[type="email"]:focus {
  border-color: white;
  background-color: rgba(255, 255, 255, 0.05);
}

.hero a.button:hover {
  background-color: var(--kebra-beige);
  color: var(--kebra-green);
}


/* .hero div a{
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 3px;
  color: var(--kebra-beige);
  background-color: var(--kebra-green);
  letter-spacing: 1px;
  font-size: 10pt;
} */
/* Our History  */
/* .about{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
} */

.about {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 80px 10%;
  background-color: #0f2a24; /* dark green base for richness */
  color: #f2e0c6; /* light beige text for luxury feel */
  font-family: 'Inter', sans-serif;
}

.about img {
  max-width: 500px;
  width: 100%;
  border-radius: 16px;
  /* box-shadow: 0 10px 25px rgba(0,0,0,0.3); */
}

.about h1 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #f2e0c6;
}

.about p {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(242, 224, 198, 0.9);
  margin-bottom: 30px;
  max-width: 600px;
}

.about a {
  padding: 14px 26px;
  background-color: transparent;
  border: 1.5px solid #f2e0c6;
  color: #f2e0c6;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.about a:hover {
  background-color: #f2e0c6; 
  color: #0f2a24;
}

/* Pourquoi KEBRA ? */

.why-kebra {

  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 0 100px 0;
  background-color: var(--kebra-dark-green);
  color: beige;
  font-family: 'Inter', sans-serif;
  text-align: center;
  font-size: 12pt;
  letter-spacing: 1px;
}

.ligne-up{
  background: var(--kebra-beige);
  height: 2px;
  width: 20%;
  margin-bottom: 10px;
}
.why-kebra h1 {
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 40px;

}

.kebra-benefits {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.benefit-item {
  background-color: var(--kebra-green);
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  flex: 1 1 30%;
  max-width: 350px;
  transition: transform 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-5px);
}

.benefit-item img {
  width: 60px;
  margin-bottom: 20px;
}

.benefit-item h3 {
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: 600;
}

.benefit-item p {
  font-size: 15px;
  line-height: 1.6;
}

/* Count Down Section */
.countdown-section {
  background: url('../img/back7.png') no-repeat center center/cover;

  color: #f8f3e9; /* light beige text */
  padding: 100px 20px;
  text-align: center;
  font-family: 'Inter', sans-serif;
}

.countdown-container {
  max-width: 900px;
  margin: 0 auto;
}

.section-subtitle {
  color:#b48a4f;
  font-size: 16px; 
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-size: 24pt;
  letter-spacing: 2px;
  font-family: 'Playfair Display', serif;
  color: #f8f3e9;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  align-items: center;
  /* gap: 40px;
  margin-bottom: 50px; */
  margin: 20px 0;
  flex-wrap: wrap;
}

.countdown-timer div {
  color: var(--kebra-beige);
  padding: 20px 30px;
  border-radius: 12px;
  min-width: 90px;
  font-size: 32px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

.countdown-timer small {
  display: block;
  font-size: 14px;
  margin-top: 5px;
  letter-spacing: 0.5px;
  color: var(--kebra-beige);
}

.countdown-timer p{
  font-size: 30pt;
  font-weight: 600;
  color: var(--kebra-beige);
}

.subscribe-form {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.subscribe-form input {
  padding: 7px 15px;
  border: 1.5px solid var(--kebra-beige);
  border-radius: 30px;
  background-color: transparent;
  color: var(--kebra-beige);
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: all 0.3s ease;
  width: 280px;
}

.subscribe-form button {
  background-color: var(--kebra-green);
  color: var(--kebra-beige);
  padding: 7px 25px;
  border: 1.5px solid var(--kebra-beige);
  border-radius: 30px;
  font-size: 16px;
 
  margin-left: 10px;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.subscribe-form button:hover {
  background-color: #b48a4f;
}


.subscribe-form button:hover {
  background-color: #b89356;
}

/* Animations */
@keyframes fadein {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideup {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes zoom {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.animate-fadein {
  animation: fadein 1s ease forwards;
}

.animate-slideup {
  animation: slideup 1.2s ease forwards;
}

.animate-zoom {
  animation: zoom 1.3s ease forwards;
}

/* Footer Section */
.kebra-footer {
  background-color: #11362D;
  color: #F2E0C6;
  padding: 40px 20px 20px;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
}

.kebra-footer .footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.kebra-footer .footer-logo img {
  height: 60px;
}

.kebra-footer .footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.kebra-footer .footer-links a {
  color: #F2E0C6;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.kebra-footer .footer-links a:hover {
  color: white;
}

.kebra-footer .footer-socials {
  display: flex;
  gap: 15px;
}

.kebra-footer .footer-socials a i {
  font-size: 20px;
  color: #F2E0C6;
  transition: color 0.3s;
}

.kebra-footer .footer-socials a:hover i {
  color: white;
}

.kebra-footer .footer-bottom {
  margin-top: 20px;
  font-size: 14px;
  opacity: 0.7;
}

/* Modal base styles */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* semi-transparent background */
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease;
}

/* Modal content box */
.modal-content {
  background-color: #fff;
  padding: 30px 40px;
  border-radius: 12px;
  text-align: center;
  max-width: 400px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  font-family: 'Segoe UI', sans-serif;
  animation: fadeInScale 0.3s ease-in-out;
}

/* Close button */
.close-btn {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 18px;
  cursor: pointer;
  color: #888;
}

/* Smooth pop effect */
@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.85);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive */

/* Responsive Layout for Tablets */
@media (max-width: 1024px) {
  
  #top-header{
    display: none;
  }
  .menu{
    top:0px !important;
  }
  .menu .logo img {
  height: 40px;
}
  .about {
    flex-direction: column;
    text-align: center;
    padding: 60px 8%;
  }

  .about img {
    max-width: 90%;
  }

  .about p {
    max-width: 100%;
  }
  /* Pourquoi KEBRA ? */
  .kebra-benefits {
    justify-content: center;
  }
  .section-title {
    font-size: 22pt;
  }

  .countdown-timer div {
    padding: 15px 20px;
    font-size: 28px;
  }

  .countdown-timer p {
    font-size: 26pt;
    margin: 0 10px;
  }

  .subscribe-form input {
    width: 240px;
    font-size: 15px;
  }

  .subscribe-form button {
    padding: 7px 20px;
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .menu .nav-links {
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #11362D;
    width: 100%;
    display: none;
    padding: 20px;
    z-index: 999;
  }
    .menu .logo img {
  height: 25px;
}
  #menu-toggle:checked ~ .nav-links {
    display: flex;
  }

  .menu-icon {
    display: block;
  }
  /* about section */
    .about h1 {
    font-size: 26px;
  }

  .about p {
    font-size: 15px;
  }

  .about a {
    padding: 12px 20px;
    font-size: 14px;
  }
  /* Pourquoi KEBRA ? */
  .kebra-benefits {
    flex-direction: column;
    align-items: center;
  }

  .benefit-item {
    max-width: 100%;
  }
  .countdown-section {
    padding: 70px 15px;
  }

  .section-title {
    font-size: 18pt;
    line-height: 1.4;
  }

  .countdown-timer {
    flex-direction: column;
    gap: 10px;
  }

  .countdown-timer div {
    font-size: 26px;
    padding: 12px 18px;
    margin-bottom: 10px;
  }

  .countdown-timer p {
    display: none; /* Hide separators on small screens */
  }

  .subscribe-form {
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }

  .subscribe-form input {
    width: 100%;
    font-size: 14px;
  }

  .subscribe-form button {
    width: 100%;
    font-size: 14px;
    padding: 8px 0;
  }
}