*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
  
  /* Close button */
  .close-button {
    padding: 10px 20px;
    background-color: #ac7269;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
  }
  
  .close-button:hover {
    background-color: #8b5b50;
  }
  
  /* Popup animation */
  @keyframes popup-appear {
    from {
      transform: scale(0.8);
      opacity: 0;
    }
    to {
      transform: scale(1);
      opacity: 1;
    }
  }
  

html, body {
    overflow-x: hidden;
}

.right-menu li
{
    display: inline-block;
    margin-top: 30px !important;
}
.right-menu li .fa
{
    font-size: 18px;
    margin-right: 10px;
    cursor: pointer;
}
.navbar-brand img
{
    width: 160px;
}
.navbar-brand
{
    left: 10%;
    top: 25px;
    transform: translateX(-50%);
    position: absolute;
}
.header
{
    background: #ffffff;
    box-shadow: -1px 8px 32px 0px rgba(0,0,0,0.08);
    margin-bottom: 80px;
}

.navbar
{
    padding: 0 300px !important;
}
.navbar-toggler
{
    border: none !important;
    background: transparent;
    outline: none !important;
    padding: 10px !important;
    margin-top: 30px;
    position: relative;
    z-index: 1001;
}

.navbar-toggler span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: #000000;
  transition: 0.4s;
  border-radius: 2px;
}

/* Aktív állapot - X-re változás */
.navbar-toggler.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggler.active span:nth-child(2) {
  opacity: 0;
}

.navbar-toggler.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/*---*/

@keyframes slideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0%);
        opacity: 1;
    }
}

/* Typewriter effect for text */
@keyframes typewriter {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* Apply sliding animation to the image */
.animate-slide-in {
    animation: slideIn 1s ease-out forwards;
}

/* Apply typewriter effect to text */
.typewriter-effect h1 {
    overflow: hidden; /* Ensures the text is hidden initially */
    white-space: nowrap; /* Prevents the text from wrapping */
    margin: 0 auto; /* Centers the text */
    letter-spacing: .15em; /* Adds spacing between characters */
    animation: typewriter 1s steps(50) 0s 1 normal both;
}

.banner-img {
    margin: 80px 115px;
    width: 55%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-img img {
    width: 90%;
    margin-bottom: -20px;
    border-radius: 13px;
    transition: transform 0.3s ease;
}

.banner-img:hover img {
    transform: scale(0.97);
}

.banner-title {
    position: absolute;
    left: 50%;
    top: 25%;
}

.banner-title h1 {
    font-size: 55px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    line-height: 70px;
    padding: 0 10px;
    box-shadow: -7px 7px 11px -4px rgba(0,0,0,0.75);
}

/* General styles */
.header {
    position: relative;
}

.navbar-brand img {
    max-width: 150px; /* Adjust logo size for smaller screens */
    height: auto;
}

.navbar-toggler {
    border: none;
}

/* Banner styles */
.banner {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    text-align: center;
    padding: 20px 10px; /* Padding for better spacing on mobile */
}

.banner-img img {
    width: 100%;
    height: auto;
    max-height: 500px; /* Control the height to prevent overflow */
    object-fit: cover;
}

.banner-title {
    position: absolute;
    top: 50%;
    left: 60%;
    transform: translate(-50%, -50%);
    color: #fff;
}

.banner-title h1 {
    font-size: 2.5rem; /* Adjust font size for mobile */
    margin: 0.5rem 0;
}

/* Navbar styles for mobile */
@media (max-width: 768px) {
    .header {
        margin-bottom: 0px;
        min-height: 90px;
    }

    .navbar-brand
    {
        left: 75%;
        top: 25px;
        transform: translateX(-50%);
        position: absolute;
    }

    .navbar
    {
    padding: 0 40px !important;
    }

    .navbar-nav {
        text-align: left;
        margin-top: 10px;
    }

    .right-menu {
        text-align: left;
        margin-top: 15px;
    }

    .right-menu .input-group {
        justify-content: left;
    }

    .our-story-content p{
      max-width: 100%;
      text-align: left;
  }
  
    .our-story-content h2{
      text-align: left;
  }

    .banner {
       display: none;
    }

    .banner-img img {
        display: none;
    }

}


/*-----Continue------*/
.continues
{
    padding: 100px 0;
}
.continue-box
{
    margin: 80px 0;
}
.title-style h1
{
   padding: 40px 0; 
}
.title-style
{
    margin: 0 auto 80px;
    height: 120px;
    width: 80%;
    max-width:700px;
    background: #fff;
    position: relative;
    box-shadow: 0 4px 5px 0 rgba(0,0,50,0.5) ;
}
.title-style::after
{
    content: '';
    height: 100px;
    width:200px;
    background-color: #BF705E;
    position: absolute;
    top: -10px;
    left: -10px;
    z-index: -1; 
}
.title-style::before
{
    content: '';
    height: 100px;
    width:200px;
    background-color: #BF705E;
    position: absolute;
    bottom: -10px;
    right: -10px;
    z-index: -1; 
}

/* Basic styles for the carousel */
@keyframes slider-opener {
    from {
      transform: translateX(-100%);
      opacity: 0;
    }
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }
  
  .news-carousel {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
  }
  
  .news-carousel::before,
  .news-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 130px;
    pointer-events: none;
    z-index: 0;
  }
  
  .news-carousel::before {
    left: 0;
    background: linear-gradient(to right, white, rgba(255, 255, 255, 0));
    z-index: 1;
  }
  
  .news-carousel::after {
    right: 0;
    background: linear-gradient(to left, white, rgba(255, 255, 255, 0));
    z-index: 0;
  }
  
  .news-container {
    animation: slider-opener 1s ease-out;
    display: flex;
    transition: transform 0.3s ease-in-out;
    gap: 0;
    padding: 0;
  }
  
  
  .news-item {
    min-width: 20%;
    max-width: 20%;
    box-sizing: border-box;
    text-align: center;
    background: none;
    margin: 0;
    padding: 0;
    border: none;
  }
  
  .news-item img {
    display: block;    
    width: 100%;
    height: 90%;
    object-fit: cover;
    margin: auto;
    border-radius: 10px;
  }
  
  .news-item h3 {
    font-size: 16px;
    margin: 10px 0;
    text-decoration: none;
  }
  
  .news-item p {
    font-size: 14px;
    color: #555;
  }
  
  .news-item a {
    display: block; 
    width: 90%;
    height: 100%;
    text-decoration: none;
    color: #000000;
  }

  .news-item a:hover h3 {
    color: #ac7269;
  }


  .carousel-btn {
    background-color: #333;
    color: #fff;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
  }
  
  .prev-btn {
    left: 10px;
  }
  
  .next-btn {
    right: 10px;
  }
  
  .carousel-btn:hover {
    background-color: #555;
  }

.news_title {
    font-size: 30px;
    font-family: 'Open Sans', 'Helvetica Neue', sans-serif;
    color: #000000;
    line-height: 30px;
    margin: 0 0 10px;
    background-color: transparent;
    box-shadow: none;
    text-shadow: none;
    text-align: center;
}
  
  /* Responsive styling */
  @media (max-width: 768px) {
    .news-item {
      min-width: 35%; /* Adjusted for mobile view */
      max-width: 35%;
    }
    .news-carousel::before,
    .news-carousel::after{
      width: 40px;
    }
    .news-item a {
      width: 100%;
      height: 100%;
    }
    .news-item img {
      border-radius: 0px;
      height: 80%;
    }
  }

  @media (max-width: 480px) {
    .news-item {
      min-width: 60%; /* Single item on very small screens */
      max-width: 60%;
    }
    .news-carousel::before,
    .news-carousel::after{
      width: 40px;
    }
  } 


/*----End credit----*/
.end.end {
    text-align: center;
    background-color: #f8f8f8;
    padding: 20px;
    font-size: 14px;
    color: #555;
  }
  
  .end.end a {
    color: #ac7269;
    text-decoration: none;
    font-weight: bold;
  }
  
  .end.end a:hover {
    text-decoration: underline;
  }

/*-----footer------*/
.footer {
    background-color: #424E59;
    color: #fff;
    padding: 5px;
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    box-shadow: 0 4px 5px 0 rgba(0,0,50,0.5) ;
    z-index: 3;
  }
  
  .footer a {
    color: #fff;
    text-decoration: none;
  }



