/* styles/style.css */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;   
 }

 .button1-style {
    padding: 5px;
    font-size: 1.5rem;
    border-radius: 25px;
    border: 2px solid #000000;
    cursor: pointer;
    /* position: absolute; */
    top: 1.5rem;
    right: 1rem; 
    margin-left: auto;
    font-family: sans-serif;
    text-shadow: 0.05rem 0.05rem 0.05rem #000000;

    background-color: #011848;
    color: rgb(239, 239, 239);
    /* margin-left: 20px; */
    margin-top: 10px; 
    margin-right: 10px;
}

.button1-style:hover {
  background-color: #B39859;
}

.title-style {
    font-size: 1.5rem;
    /* margin: 1rem; */
    /* margin-left: 1rem; */
    margin-bottom: 0.5rem;
    justify-content: center;
    font-family: sans-serif;
    color: white;
    text-shadow: 0.2rem 0.2rem 0.2rem #B39859;
    cursor: pointer;

}

.title-logo-style {
  height: 5rem;
  width: 5rem;
  margin-top: 5px;
  /* margin-left: 17px */

}

.logo-div {
  margin-left: 5px;
}

nav ul {
    display:grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: 50px;
    justify-content:center;
    justify-items:center;
    list-style-type:none;
    
}

nav ul li{
    list-style:none;
    background-color: none;
    width: 100%;
    text-align:center;
    line-height: 50px;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;

}

nav ul li a{
    text-decoration:none;
    color: white;
    font-size: 1.4rem;
    
}

 /* On screens that are 992px wide or less, the background color is blue */
@media screen and (max-width: 1100px) {
    .button1-style {
      /* background-color: #FFDA0A;
      color: rgb(255, 255, 255); */
      font-size: 1.5rem;
      /* margin-top: 15px;
      margin-right: 5px;
      margin-left: 5px; */
    }

    .title-style {
      font-size: 1.5rem;
      color: white;
      text-shadow: 0.2rem 0.2rem 0.2rem #B39859;
      /* font-size: 30px; */
    }

    .title-logo-style {
      height: 5rem;
      width: 5rem;
    
    }

    nav ul li{
        list-style:none;
        background-color: none;
        width: 100%;
        text-align:center;
        line-height: 50px;
        margin-top: 10px;
        /* margin-left: 15px; */
        margin-left: auto;
        margin-right: auto;
    
    }
  }



@media screen and (max-width: 1500px) {
    .title-style {
      font-size: 1.5rem;
      color: white;
      text-shadow: 0.2rem 0.2rem 0.2rem #B39859;
      /* font-size: 50px; */
    }

    .title-logo-style {
      height: 5rem;
      width: 5rem;
    
    }
    
  }

  @media screen and (max-width: 860px) {
    .title-style {
      color: white;
      text-shadow: 0.2rem 0.2rem 0.2rem #B39859;
      font-size: 20px;
    }
  }


  
  /* On screens that are 600px wide or less, the background color is olive */
  @media screen and (max-width: 950px) {
    .button1-style {
      /* background-color: #FFDA0A;
      color: rgb(0, 0, 0); */
      font-size: 1rem;
      right: 0rem;
      margin-top: 20px;
      margin-right: 60px;
    }
  }

  @media screen and (max-width: 950px) {
    .unorderedList {
        display:grid;
        grid-template-columns: repeat(5, 1fr);
        grid-template-rows: auto;
        justify-content:center;
        justify-items:center;
        list-style-type:none;
        margin:50px;
        /* display: inline-block */
    }

      .title-logo-style {
        height: 4rem;
        width: 4rem;
      }
      
  }
 
 header{
    position: fixed;
    z-index: 1000;
    width: 100%;
    display: flex;
    flex-direction: row; /* This is default so you can omit it but it's good to be explicit  */
    justify-content: space-between; /* This will snap all content of header to the left due to 'flex-direction: row'  */
    background-color: white;
    align-items: center; 
    padding: 0.1rem 0.1rem; /* Padding top/bottom then left/right. 1rem = default pixel size of html font (14px or 16px etc) so 0.5rem = 7px or 8px  */
  }

 header > img{
    height: 100px; /* Set the height of your image  */
    width: 100%; /* Keep the height/width ratio of source image  */
 }
 nav{
    display: flex;
    flex-direction: row;
    flex: 1; /* Use the rest of the available space of the <header> */
    align-items: center; /* Puts the links vertically in the center of the <nav> */
    padding-bottom:1rem;
 }
 nav a{
    padding: 0.4rem;
    text-decoration: none; /* Take away the default link styling  */
    color: black;
    border-bottom: 2px solid transparent;
 }
 nav  a:hover{
    transition: border-bottom 0.4s ease-in;
    
    
 }

 .nav-link{
    transition: 0.7s ease;
 }


.nav-link:hover{
    background-color: rgb(128, 3, 3);
    border-radius: 50px;
    border: solid #000000;
    /* padding-right: 15px;
    padding-left: 15px; */
}

.navbar-menu{
    display:flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.hamburger{
    /* Left: 30px; */
    /* Right: 10px; */
    display: none;
    cursor: pointer;
    float:right;
    margin-top: 20px;
    /* padding-right: 20px; */
}

.bar{
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: white;
}

@media(max-width:950px){
    .hamburger{
        position: absolute;
        display: block;
        float: right;
        right: 15px;
        /* Right:0; */
        /* margin-left: 500px; */
    }

    .hamburger .bar {
        display: block;
        width: 25px;
        height: 3px;
        background: black;
        margin: 5px auto;
        transition: 0.3s;
        border-radius: 2px;
    }

    .hamburger.active .bar:nth-child(2){
        opacity:0;
    }

    .hamburger.active .bar:nth-child(1){
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3){
        transform: translateY(-8px) rotate(-45deg);
    }

    .dropdown-menu.active {
      display: flex; /* Show the menu when active */
      visibility: visible;
      opacity: 1;
      height: auto;
    
    }

    .navbar-menu{
        background-image: url("/images/header_background_wood.webp");
        background-color: #011848;
        border-top: 2px solid black;
        border-bottom: 2px solid black;
        position: fixed; /* menu stays on the screen */
        Left:-200%;  /* Change to 0 for it to display on screen*/
        top: 105px;
        gap: 0;
        flex-direction: column;
        /* background-color: #262626; */
        width: 100%;
        text-align: center;
        transition: left 0.3s ease-in-out;
    }

    .nav-item{
        margin: 0px 10px;
        border: 2px solid black;
    }

    .navbar-menu.active{
        left: 0;
    }

    header{
        position: fixed;
        width: 100%;
        z-index: 1000; /* Set a high z-index value */
    }

    .wrapper>hero {
        margin-top: 30px;
    }

    .nav-link{
        transition: 0.7s ease;
        padding-right: 150px;
        padding-left: 150px;
     }

}

@media(max-width:378px){

    .button1-style{
        position: absolute;
        top: 18%;
        /* display: none */
    }

    .logo-div {
      margin-right: 0;
    }

    .navbar-menu{
        top: 105px;
    }

    .nav-link{
        transition: 0.7s ease;
        padding-right: 50px;
        padding-left: 50px;
     }
}

@media(max-width:315px){

  .button1-style{
    display: none
  }
}

/* Nav Bar: Secondary */

/* Nav-bar Menu */
.navbar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  }

  .nav-item {
      position: relative;
  }

.dropdown-menu {
  display: flex !important; /* Always use flex */
  position: absolute;
  top: 100%; /* Position below the parent element */
  transform: translateX(-50%); /* Adjust for centering */
  background-color: #011848; /* Background color */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 5px; /* Rounded corners */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Drop shadow for depth */
  list-style: none;
  flex-direction: column; /* Stack items vertically */
  justify-content: center; /* Center items vertically */
  align-items: center; /* Center items horizontally */
  z-index: 100; /* Ensure it appears above other elements */
  width: 230%; /*Dropdown width
  
  

  

  transition: opacity 0.3s ease, transform 0.3s ease; /* Smooth dropdown effect */
  opacity: 0.99; /* Forces Safari to render correctly */
  visibility: hidden;
  opacity: 0;
  height: 0;
  overflow: hidden; /* Prevent extra space */
  transition: height 0.3s ease, opacity 0.3s ease, visibility 0.3s;

}

.nav-item:hover .dropdown-menu {
  visibility: visible;
  opacity: 1;
}

/* Dropdown Links Styling */
.dropdown-menu .dropdown-link {
  display: flex; /* Flexbox for centering */
  justify-content: center; /* Horizontally center text */
  align-items: center; /* Vertically center text */
  color: #fff; /* Text color */
   /* Additional centering for text rendering */
  text-decoration: none; /* Remove underline */
  font-size: 1.1rem; /* Adjust font size */
  transition: background-color 0.3s ease, color 0.3s ease; /* Smooth hover effect */
  width: 100%; /*Consistent width*/
  height: 50px; /* Fixed height for alignment */
  border-radius: 100px; /* Rounded links for a modern look */
  line-height: 1; /* Ensure no additional spacing in Safari */
  padding: 15px;
}

@media (min-width: 950px) {
  .dropdown-menu {
      display: block !important; /* Allow dropdown to exist */
      visibility: hidden;
      opacity: 0;
      height: 0;
      overflow: hidden;
      transition: opacity 0.3s ease, height 0.3s ease, visibility 0.3s ease;
  }

  .nav-item:hover .dropdown-menu {
      visibility: visible !important;
      opacity: 1 !important;
      height: auto !important;
  }
}


@supports (-moz-appearance: none) {
  /* Styles specific to Firefox */
   .dropdown-menu .dropdown-link {
    width: 79%; /*Consistent width*/
  }

  nav ul li{
    margin-right: auto;
    margin-left: 20px;

}
}

@supports (-webkit-touch-callout: none) and (not (hover: none)) {
  /* Safari-specific styles */
   /* Styles specific to Firefox */
   .dropdown-menu .dropdown-link {
    width: 79%; /*Consistent width*/
    margin: 0px;
    padding: 0px;
  }

  nav ul li{
    margin-right: auto;
    margin: 0px;
    padding: 0px;

}
}


/* Hover Effect for Links */
.dropdown-menu .dropdown-link:hover {
  background-color: rgb(128, 3, 3); /* Darker hover */
  /* border-radius: 100px; */
  border: 2px solid black;

}

/* Show Dropdown on Hover */
.nav-item.dropdown:hover .dropdown-menu:hover {
  display: flex; /* Ensure flexbox for dropdown */
  
  opacity: 1; /* Ensure visibility */


}

/* Align Dropdown Items */
.nav-item.dropdown .dropdown-menu {
  padding: 0; /* Remove extra padding */
  box-sizing: border-box;
}

/* Hide dropdown menu and arrow by default */
.nav-item.dropdown .arrow {
  display: none; /* Hide arrow by default */
}

/* Show dropdown on hover for larger screens */
@media (min-width: 950px) {
  .nav-item.dropdown:hover .dropdown-menu {
      display: block;
      justify-content: center;
      align-items: center;
  }
}

/* Show the arrow for smaller screens */
@media (max-width: 950px) {

  .navbar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    margin:auto;
    }
  
  .nav-item.dropdown .arrow {
    display: inline-block;
      margin-left: auto;
      font-size: 1.2rem;
      cursor: pointer;
      color: #fff;
      background: none;
      position: absolute;
      right: 20px;
      z-index: 1; /* Ensures the arrow doesn't interfere */
  }

  .nav-item.dropdown .dropdown-menu {
      position: static; /* Make dropdown static for mobile */
      background: none;
      box-shadow: none;
      margin-top: 0px;
      margin: auto;
     
      z-index:0;
  }

  /* Dropdown Menu Styling */
  .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    transform: translateX(0%); /* Adjust for centering */
    justify-content: center;
    align-items: center;
    
    right: 0; /* Align the menu to the right of the parent */
    background-image: url('../images/header_background_wood.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    list-style: none;
    flex-direction: column; /* Stack items vertically */
    z-index: 100;
    width: auto; /* Adjust width as needed */
    text-align: center; /* Align text to the right */

  }

    nav ul li{
      margin-left: 0px;
    }

  /* Dropdown menu displayed when open */
  .nav-item.dropdown.open .dropdown-menu {
    display: flex;
    flex-direction: column;
    align-items: center; /* Ensure items align to the center */
  }

  /* Dropdown Links Styling */
  .dropdown-menu .dropdown-link {
    display: flex; /* Turn into a flex container */
    justify-content: center; /* Align text to the center */
    align-items: center; /* Vertically center */
    text-align: center; /* Ensure text aligns to the center*/
    color: #fff;
    font-size: 1rem; /* Adjust font size for readability */
    text-decoration: none;
    width: 150px; /*Consistent width*/
    margin-right: auto;
    margin-left: auto;
  }

  .navbar-menu {
      flex-direction: column; /* Stack navbar links */

  }

  .nav-item .nav-link {
      flex-grow: 1;
      padding: 10px;
      text-align: center;
      width: 100%;
  }
}

.wrapper{
    display:grid;
    /* grid-template-rows: 20% 50px 500px auto; */
    grid-template-columns: 3fr 1 fr;
    grid-gap: 0em;
}

.wrapper>* {
    border: 0px solid black;
}

.wrapper>header {
    background-image: url("/images/header_background_wood.webp");
    background-color: #ddd;
    grid-template-rows: 20% 50px 500px auto;
    grid-column-start:1;
    grid-column-end:3;
}

.wrapper>nav {
    background-color: #000;
    grid-column: 1/3;
}

.wrapper>aside {
    background-color: #000;
    color: white;
}

.wrapper>footer {
    grid-column-start: 1;
    grid-column-end:3;
    background-color: #ddd;
    
}

.wrapper>hero {
    /* background-image: url("/images/Home_Background.png"); */
    background: 
        linear-gradient(to bottom, 
                        rgba(255, 255, 255, 0) 70%, /* Transparent until 70% */
                        rgba(255, 255, 255, 1) 100%), /* White starts transitioning at 70%, fully white at 100% */
        url('/images/Home_Background.webp') center/cover no-repeat;
    background-position: calc(100% - 50px);
    z-index: 4; /* Ensure it stays behind the content */
    grid-template-rows: 50% 300px 500px auto;
    grid-column-start: 1;
    grid-column-end:3;
    width: 100%;
    background-color: #ddd;
    object-fit: cover;
    background-size: cover;
    background-position: center; 
    height: 100%;
    border: none;
    margin-top: 90px;
}

.wrapper>benefits {
    grid-template-rows: 50% 300px 500px auto;
    grid-column-start: 1;
    grid-column-end:3;
    background-color: #ffffff;
    height: 100%;
}

/* Hero Section */

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1; /* Make sure it's above the background image */
  pointer-events: none; /* Ensure it doesn't interfere with other interactions */
  clip-path: inset(0 0 0 0); /* Constrain stars to the hero section */
  
  
}

/* Ensure header is on top of everything */
.header {
  z-index: 10; /* Higher z-index than .hero-background */
}

.star-hero {
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 2px;
  background-color: white;
  border-radius: 50%;
  box-shadow: 0 0 6px 2px rgba(255, 255, 255, 0.8);
  animation: shoot 3s linear infinite;
}

@keyframes shoot {
  0% {
      opacity: 0;
      transform: translate(-10%, -10%) scale(0);
  }
  50% {
      opacity: 1;
      transform: translate(50vw, 50vh) scale(1.5);
  }
  100% {
      opacity: 0;
      transform: translate(100vw, 100vh) scale(0);
  }
}


.hero-written-section {
  margin: 100px;
  position: relative;
  z-index: 2; /* Place written content above the stars */
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@keyframes fadeInSlideHero {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-written-section h1,
.hero-written-section h2 {
  opacity: 0;
  animation: fadeInSlideHero 1.5s ease-out forwards;
}

.hero-written-section h1 {
  animation-delay: 1s;
}

.hero-written-section h2 {
  animation-delay: 0.5s;
}

.button2-style {
  opacity: 0;
  animation: fadeInSlideHero 1.5s ease-out forwards;
  animation-delay: 1.5s;
}


.header-one {
  /* margin-top: 4%; */
  /* padding-right: auto;
  margin-bottom: 5%; */
  font-family: 'Playfair Display', serif;
  margin: auto;
  padding: 5rem;
  font-size: 4.5rem;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  /* text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000; */
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6); /* Subtle shadow */
  letter-spacing: 1px;

}

.header-two {
    font-family: 'Playfair Display', serif;
    background-size: cover;
    background-position: center top; 
    height: 100%;
    /* margin-top: 4%;
    margin-left: 10%;
    margin-right: 10%;
    margin-bottom: 20%; */
    margin: auto;
    padding: 5rem;
    font-size: 4.5rem;
    color: #FFD700; /* Brighter gold */
    text-align: center;
    /* text-shadow: -5px -1px 0 #040404, 3px -1px 0 #000000, -1px 2px 0 #000000, 1px 1px 0 #000000; */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
    letter-spacing: 1px;

}

.button2-style {

    padding: 20px;
    text-align: center;
    text-decoration: none;
    border-radius: 25px;
    border: solid #000000;
    font-size: 3rem;
    cursor: pointer;
    background-color: #011848;
    color: rgb(0, 0, 0);

    font-family: sans-serif;
    text-shadow: 0.1rem 0.1rem 0.1rem #000000;
    margin-top: 50px;
    margin-bottom: 100px;
    z-index: 3; /* Higher z-index than .hero-background */

}

.button2-style:hover {
  background-color: #B39859
}

.contact-button-style {
  color: rgb(255, 255, 255);
  text-decoration: none;
}

/* Toggle Button */

.toggle-button {
    position: absolute;
    margin: 1px;
    top: 0.20rem;
    left: 0.20rem;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 50px;
    height: 40px;
    background-color: black;
}

.toggle-button .bar {
    height: 3px;
    width: 100%;
    background-color: black;
    border-radius: 10px;
}

@media (max-width: 1300px) {

  .hero-written-section {
    display: flex;
    margin: 50px;
  }
  
  .header-one {
    font-size: 3rem;
  }
  
  .header-two {
      font-size: 3rem;
  }

}

@media (min-width: 1650px) {

  .hero-written-section {
    display: flex;
    margin: 150px;
  }
  
  .header-one {
    /* margin-top: 4%; */
    /* padding-right: auto;
    margin-bottom: 5%; */
    margin: auto;
    padding: 8rem;
    font-size: 5rem;
  }
  
  .header-two {
      margin: auto;
      padding: 8rem;
      font-size: 5rem;

  }
  
  .button2-style {
  
      padding: 20px;
      margin-top: 50px;
      margin-bottom: 300px
  
  }

}



@media (max-width:950px) {
    .navbar-menu {
        width: 100%;
        flex-direction: column;
    }

    .header-one {
        /* margin-top: 4%;
        margin-bottom: 5%; */
        margin-left: auto;
        margin-right: auto;
        font-size: 3rem;
    }

    .button2-style {
        padding: 15px;
        font-size: 2rem;
    }

    .header-two {
        height: 100%;
        padding: auto;
        font-size: 3rem;
    }
}

@media (max-width:780px) {

  .hero-written-section {
    display: block;
    margin: 0px;
    margin-top: 60px;

  }

  .navbar-menu {
      /* width: 100%; */
      flex-direction: column;
  }

  .header-one {
      /* margin-top: 4%;
      margin-bottom: 5%; */
      margin-left: auto;
      margin-right: auto;
      font-size: 2rem;
      display: block;
      margin-block-start: 0em;
      margin-block-end: 0em;
      margin-inline-start: 0px;
      margin-inline-end: 0px;
  }

  .button2-style {
      padding: 15px;
      font-size: 2rem;
  }

  .header-two {
      height: 100%;
      padding: auto;
      font-size: 2rem;
      margin-left: auto;
      margin-right: auto;
      margin-block-start: 0em;
      margin-block-end: 0em;
      margin-inline-start: 0px;
      margin-inline-end: 0px;
  }


}

    /* Float four columns side by side */
.column {
    width: 100%;
    display: block;
    margin-top: 20px;
    margin-bottom: 20px;
    width: 25%;
    padding: 0 10px;
    border-style: solid;
    border-width: 4px 4px 4px 4px;
    border-color: white;
    border-radius: 0.3rem;
    align-items: center;

  }
  
/* Remove extra left and right margins, due to padding in columns */
.row {
    margin: 0 0px;
    padding-top: 30px;
    padding-bottom: 30px;
    display: flex;
    align-items: center;
}
  
/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
  }  

/* Style the counter cards */
.card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); /* this adds the "card" effect */
    padding: 16px;
    text-align: center;
    border-radius: 20px;
    background-color: #f1f1f1;
    background-image: url("/images/header_background_wood.webp");
    color: white;
  }

.card>h2 {
    font-size: 50px;
    padding: 20px;

}

.card>p {
    padding: 20px;
    font-size: 30px;

}
  
/* Responsive columns - one column layout (vertical) on small screens */
@media screen and (max-width: 1500px) {
    .column {
      width: 100%;
      display: block;
      margin-bottom: 30px;
    
    }

    .row {
        margin: 0 0px;
        display: flex;
        /* padding-bottom: 100px; */
    }

    .card>h2 {
        font-size: 30px;
        padding: 20px;
    
    }
    
    .card>p {
        padding: 15px;
        font-size: 25px;
    
    }

    /* .card>image {
        width: 3 rem;
    } */
  }

image{
    max-width: 10%;
    max-height: 10%
}

.card_top > img {
    width: 20%;
    height: 20%;
    /* display: block; */
    /* /* justify-content: center;
    align-items: center; */
    text-align: center;
}

.card_middle > img {
    width: 25%;
    height: 25%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wrapper_two{
    margin: 50px 0;
    width: 100%;
    box-sizing: border-box;
    border-radius: 500px;
}

.wrapper_two .card-wrapper{
    display: flex;
    flex-wrap: wrap;
    background-color: #e6dddd;
    padding-bottom: 50px;
    padding-top: 50px;
    border-radius: 100px;
}

.card-wrapper .card_item{
    width: 33.3%;
    padding: 30px;
    padding-top: 45px;
    padding-bottom: 15px;
    /* margin-bottom: auto;
    margin-top: auto; */
}

.card-wrapper .card_inner{
    background-image: url("/images/header_background_wood.webp");
    border-radius: 20px;
    height: 100%;   /* Set the height automatically to 100% to make sure all cards have the same height*/
}

.card-wrapper .card_top{
    text-transform: uppercase;
    text-align: center;
    width: 100%;
    height: auto;
    padding: 10px;
}

.card-wrapper .card_middle{
    width: 100%;
    height: auto;
    padding: 10px;
    padding-bottom: 0;
    align-items: center;

}

.card-wrapper .card_bottom{
    padding: 15px;
}

.card-wrapper .card_bottom .card_info{
    padding: 20px 10px;
    margin: 10px 0;
    font-size: 30px;
    color: white;
    text-align: center;
    line-height: 30px;

}

.card-wrapper .card_top .title{
    color: white;
    font-size: 45px;
    margin-bottom: 5px;
    text-shadow: 2px 2px 2px #4E0000;
}

@media (max-width: 1250px){
    .card-wrapper .card_item{
        width: 33.3%;
    }

    .card-wrapper .card_bottom .card_info{
        padding: 15px;
        margin: 10px 0;
        font-size: 25px;
        color: white;
        text-align: center;
    }
    
    .card-wrapper .card_top .title{
        color: white;
        font-size: 25px;
        margin-bottom: 5px;
        text-shadow: 2px 2px 2px #4E0000;
    }
}

@media (max-width: 1000px){
    .card-wrapper .card_item{
        width: 33.3%;
    }

    .card-wrapper .card_bottom .card_info{
        padding: 15px;
        margin: 10px 0;
        font-size: 20px;
        color: white;
        text-align: center;
    }
    
    .card-wrapper .card_top .title{
        color: white;
        font-size: 20px;
        margin-bottom: 5px;
        text-shadow: 2px 2px 2px #4E0000;
    }
}

@media (max-width: 950px){
    .card-wrapper .card_item{
        width: 100%;
    }

    .card-wrapper .card_bottom .card_info{
        padding: 15px;
        margin: 10px 0;
        font-size: 25px;
        color: white;
        text-align: center;
    }
    
    .card-wrapper .card_top .title{
        color: white;
        font-size: 30px;
        margin-bottom: 5px;
        text-shadow: 2px 2px 2px #4E0000;
    }
}

@media (max-width: 528px){
    .card-wrapper .card_item{
        width: 100%;
    }
}


/* Service Section */

.service-section-1 {
    /* background-image: url("/images/background_service.png"); */
    background-color: #aaa7a1;
    margin-top: 50px;
}


.service-Unit1 {
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(134, 27, 27, 0.8);
  background-color: #D9D9D9;
  border-radius: 40px 40px 0px 0px;
  
}

.service-Unit {
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(134, 27, 27, 0.8);
    /* background-image: url("/images/background_service.png"); */
    background-color: #D9D9D9;
    padding-bottom: 15px;
    /* background: linear-gradient(to bottom, #dfb86f, #e6d5c3); Smooth blend */
}

.service-title {
    margin-top: 100px;
    font-size: 45px;
    /* font-weight: bold; */
    color: #000000;
    text-shadow: 2px 2px 2px #B39859;
}

.image_item {
    margin-right: auto;
    margin-left: auto;
    padding-left: 50px;
    padding-top: 15px;
    /* height: 100%;
    width: 100%; */
}

.image_service {
    /* width: 85%;
    height: 85%; */
    width: 400px;
    height:300px;
    border-radius: 20px;
    cursor: pointer;
}

.card-wrapper-service{
    margin-left: 50px;
    box-sizing: border-box;
    padding: 50px;   
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
  
}

.card-wrapper-service .card_item{
    width: 100%;
    height: 50%;
    /* padding: 45px; */
    padding-top: 20px;
    /* padding-bottom: 20px; */
    /* padding-left: 15%;
    padding-right: 15%; */
    
}

.card-wrapper-service .card_inner{
    background-image: url("/images/header_background_wood.webp");
    border-radius: 20px;
}

.card-wrapper-service .card_top{
    text-transform: uppercase;
    text-align: center;
    width: 100%;
    height: auto;
    padding: 5px;
}

.card-wrapper-service .card_top .title{
    color: white;
    font-size: 30px;
    margin-bottom: 5px;
    text-shadow: 2px 2px 2px #4E0000;
}

.card-wrapper-service .card_middle{
    width: 100%;
    height: auto;
    padding: 5px;
    padding-bottom: 0;
    align-items: center;
}

.card-wrapper-service .card_middle .card_info{
    padding: 5px;
    margin: 10px 0;
    font-size: 25px;
    color: white;
    text-align: center;
}

.card-wrapper-service .card_bottom{
    padding: 5px;
    margin: 5px 0;
    font-size: 15px;
    text-align: center;
}

.card-wrapper-service .card_bottom .button-service{
    padding: 5px;
    margin: 10px 0;
    font-size: 20px;
    background-color: #FFDA0A;
    color: black;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
}

@media(max-width:950px){
  
    .service-Unit1 {
     display: block;
    }

    .service-Unit {
        display: block;
        
    }

    .service-title {
      /* margin-top: 100px; */
      font-size: 45px;
      padding-top: 70px;
    }

    .card-wrapper-service .card_middle .card_info{
        padding: 0%;
        margin: 0px 0;
        font-size: 20px;
        color: white;
        text-align: center;
    }

    .card-wrapper-service .card_bottom .button-service{
        padding: 0px;
        margin: 0px 0;
        font-size: 20px;
        background-color: #FFDA0A;
        color: black;
        font-weight: bold;
        text-align: center;
    }

    .image_service {
        width: 66.6%;
        height: 66.7%;
        margin-right: auto;
        margin-left: 17%;
        border-radius: 20px;
      
    }

    .image_item {
        margin-left: auto;
        margin-right: auto;
        padding-left: 0px;
    }
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal img {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    border: 5px solid white;
    border-radius: 10px;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* NEW SERVICE SECTION */
/* Services Section */
.service-section-1 {
  /* background-image: url("/images/background_service.png"); */
  /* background-color: #aaa7a1; */
  padding: 50px 0;
}

.service-title {
  margin-top: 20px;
  font-size: 45px;
  color: #011848;
  text-shadow: 2px 2px 2px #B39859;
  /* text-align: center; */
}

/* Main container for services */
.services-Main {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  margin: 30px auto;
  padding: 0 20px;
}

/* Individual service card wrapper */
.card-wrapper-service-1 {
  position: relative;
  box-sizing: border-box;
  width: 300px; /* Fixed width */
  height: 550px; /* Fixed height for consistent card size */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Space between content */
  align-items: center;
  margin: 15px auto;
  cursor: pointer;
  background-color: #dcdad3;
  background-image: url("/images/header_background_wood.webp");
  border: 2px solid #ddd;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-wrapper-service-1:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.card-wrapper-service-1:hover .card_bottom-1 .button-service {
  background-color: #810400;
  color: white;
}

.card-wrapper-service-1:hover .card_bottom-1 .button-service .button-service-link{
    color: white; 
    text-decoration: none;
}

/* Image section */
.image_item-1 {
  width: 100%;
  height: 200px; /* Fixed height for image area */
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  overflow: hidden;
}

.image_service-1 {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Maintain aspect ratio and fill area */
}

/* Checkmark icon styling */
.image_item-2 {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  pointer-events: none;
}

.image_checkmark-1 {
  width: 50px;
  height: 50px;
}

/* Inner card content */
.card_inner-1 {
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.card_top-1 {
  text-transform: uppercase;
  text-align: center;
}

.title-1 {
  color: white;
  font-size: 30px;
  margin-bottom: 5px;
  text-shadow: 2px 2px 2px #4e0000;
}

.card_middle-1 {
  font-size: 20px;
  margin: 10px 0;
  color: white;
  text-align: center;
  width: 100%;
  height: 200px; /* Set a fixed height for uniform alignment */
  padding-bottom: 0;
  align-items: center;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.card_middle-1 p {
  margin: 0;
  line-height: 1.5;
  font-size: 18px;
  color: white;
}

/* Bottom section for button */
.card_bottom-1 {
  text-align: center;
  margin-top: auto; /* Pushes button to the bottom */
}

/* Button styling */
.button-service {
  padding: 10px 20px;
  background-color: #ffda0a;
  color: #000;
  font-size: 18px;
  font-weight: bold;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  align-self: center; /* Centers button horizontally */
  margin-top: auto; /* Ensures uniform bottom placement */
}

.button-service:hover {
  background-color: #810400;
  color: white;
}

.button-service-link {
  color: black; 
  text-decoration: none;

}



/* Responsive design for smaller screens */
@media (max-width: 950px) {
  .services-Main {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .card-wrapper-service-1 {
    width: 80%; /* Adjust width for smaller screens */
    height: auto; /* Allow height to adapt */
  }

  .card_inner-1 {
    padding: 10px;
  }

  .card_middle-1 {
    font-size: 14px;
    height: auto; /* Adjust height for smaller screens */
  }

  .button-service {
    font-size: 16px;
  }
}

/* Larger screens */
@media (min-width: 1200px) {
  .services-Main {
    max-width: 1200px;
    margin: 30px auto;
  }

  .card-wrapper-service-1 {
    width: 300px; /* Maintain consistent size for larger screens */
    height: 550px;
  }
}



/* Projects Section */

.projects-wrapper{
    position: relative;
    justify-content: center;
    align-items: center;
    background-image: url("/images/blackfaded_background.png");
    background-size:cover;
    background-position: center;
    padding-bottom: 10px;
    padding-top: 15px;
    border-radius: 10px 10px 0px 0px;
    z-index: 1;  /* Lower than the hamburger menu */
}

.projects-title{
    margin-top: 100px;
    font-size: 45px;
    color: #011848;
    text-shadow: 2px 2px 2px #B39859;

}

.projects-navbar{
    display: flex;
    justify-content: center;
    align-items: center;
    /* margin: 20px 0; */
}

.projects-tab{
    margin: 10px;
    width: 200px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    background-color: transparent;
    border: 2px solid #B03535;
    border-radius: 5px;
    text-align: center;
    /* line-height: 50px; */
    color: #ffffff;
    transition: all 0.3s ease-in-out;
}

.projects-tab:hover{
    background-color: #B03535;
    color: #fff;

}

.projects-tab.active{
    background-color: #B03535;
    color: #fff;
    transform: translateY(-3px); /* Adds an interactive hover effect */
    box-shadow: 0 4px 10px rgba(176, 53, 53, 0.5);
}

.projects-subtitle{
   text-align: center;
   margin: 20px;
   color: white;
   font-size: 35px;
   text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    
}

.carousel {
    align-items: center;
    justify-content: center;
    display: flex; /* Align items in a single row */
    margin: auto;
    transition: transform 0.5s ease-in-out; /* Smooth slide transition */
    width: 100%;
    max-width: 500px;
    overflow: hidden; /* Hide overflowing images */
    position: relative;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  }
  
  .carousel-item {
    min-width: 100%; /* Each item takes up the full width of the carousel */
    flex-shrink: 0; /* Prevent shrinking of items */
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box; /* Ensure padding doesn't affect width */
  }

.projects-content img {
    width: 100%;
    height: 500px;
    margin: auto;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.projects-image-nav{
    position: flex;
    /* top: 50%; */
    /* padding-bottom:40px; */
    display: flex;
    height: 100%;
    width: 100%;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
}

.projects-next,
.projects-prev {
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 24px;
    padding: 15px 15px;
    border-radius: 50%;
    transition: background-color 0.3s ease-in-out;
}

.projects-next:hover,
.projects-prev:hover {
    background-color: rgba(255, 255, 255, 0.7);
    color: #B03535;
}

.projects-bar{
    /* display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: white; */
    display: block;
    width: 25px;
    height: 5px;
    background: rgb(255, 255, 255);
    margin: 6px auto;
    transition: 0.3s;
    border-radius: 2px;
}

.projects-bar2{
    /* display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: white; */
    display: block;
    width: 25px;
    height: 5px;
    background: rgb(255, 255, 255);
    margin: 6px auto;
    transition: 0.3s;
    border-radius: 2px;
}


.projects-bar:nth-child(1){
    transform: translateY(17px) rotate(45deg);
}

.projects-bar:nth-child(2){
    transform: translateY(-8px) rotate(-45deg);
}

.projects-bar2:nth-child(1){
    transform: translateY(17px) rotate(-45deg);
}

.projects-bar2:nth-child(2){
    transform: translateY(-8px) rotate(45deg);
}

.projects-description{
    /* background-image: url("/images/projects-description-background.png"); */
    /* margin-left: 50px;
    margin-right: 50px; */
    /* margin-top: 30px; */
    font-size: 20px;
    text-align: center;
    margin-bottom: 30px;
    color: white;
}

/* Responsive Styling */
@media (max-width: 768px) {
    .projects-title {
        font-size: 30px;
    }

    .projects-tab {
        width: 150px;
        height: 40px;
        font-size: 16px;
    }

    .projects-subtitle {
        font-size: 25px;
    }

    .projects-description {
        font-size: 16px;
    }

    .carousel {
        width: 100%; /* Allow carousel to take full width on smaller screens */
        max-width: 400px;
    }

    .projects-content img {
        height: 400px; /* Reduce image height for smaller screens */
    }
}

@media (max-width: 480px) {
    .projects-images-carousal {
        margin: 0; /* Remove extra margins for very small screens */
    }

    .projects-imageContent img {
        height: 200px; /* Further reduce height for compact devices */
    }

    .projects-next,
    .projects-prev {
        font-size: 18px;
        padding: 15px;
    }

    
}

  /* Main Projects Section */

  .projectsMain .h1 {
    background: linear-gradient(to bottom, #dfb86f, #e6d5c3); /* Smooth blend */
  }

  .projects-section {
    text-align: center;
    padding: 40px;
    /* background-image: url("/images/background_service.png"); */
    /* background-image: url("/images/blackfaded_background.png"); */
    background-color: #dcdcdc;
    background-size:cover;
    background-position: center;
    /* background-color: #dfb86f; */
    border-radius: 40px 40px 0px 0px;
  }
  
  .projectsMain h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    display: flex;
    margin-top: 100px;
    font-size: 45px;
    /* font-weight: bold; */
    color: #000000;
    text-shadow: 2px 2px 2px #B39859;
  }
  
  .tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
  }
  
  /* .tab-button {
    padding: 10px 20px;
    background: #333;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
  } */

  /* .tab-button{
    margin: 10px;
    width: 200px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    background-color:  black;
    border: 2px solid #B03535;
    border-radius: 5px;
    text-align: center;
    /* line-height: 50px; */
    /* color: #000000;
    transition: all 0.3s ease-in-out;
} */ 

  .tabs button:hover {
    transform: translateY(-3px);
    background: linear-gradient(145deg, #840909, #840909);
    color: #ffffff;
  }
  
  .tab-button.active {
    background: #E7BE9D;
    color: #ffffff;
    text-decoration: underline;
  }
  
  .slider-container {
    position: relative;
    max-width: 600px;
    height: auto;
    margin: 0 auto;
    background: #333;
    padding: 5px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
  }
  
  .slider {
    /* position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px; */
    display: none;
    width: 100%;
    margin: 0 auto;
    }
  
  /* Show only the active slider */
.slider.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 0px;
}
  
  .slider-content {
    max-width: 600px; /* Set a consistent width for the slider */
    height: 400px; /* Match the height of the images */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Ensure images don’t exceed container bounds */
    position: relative;
    padding: 20px;
  }
  
  .slider-content img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
    cursor:pointer;
  }

  .slider-description p {
    color: white;
    padding-top: 10px;
    margin-top: 0px;

  }

  .slider-container h2 {
    color: white;
    font-size: 2.5em;
  }

  .project-button-link {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 30px;
    font-size: 18px;
    color: #fff;
    background-color: #011848;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;

  }

  .project-button-link:hover {
    background-color: #aa9310;
  }


  
  .arrow-projects {
    position: absolute;
    top: 90%;
    transform: translateY(-50%);
    background: rgb(103, 100, 100);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.5em;
    width: 40px;
    height: 40px;
    cursor: pointer;
  }
  
  .arrow-projects.left {
    left: 10px;
  }
  
  .arrow-projects.right {
    right: 10px;
  }
  
  .arrow-projects:hover {
    background: #E7BE9D;
  }
  
  /* Fullscreen projects section feature */

  .fullscreen-overlay {
    display: flex;
    flex-direction: column; /* Stack elements vertically on smaller screens */
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    overflow-y: auto;
  }
  
  .fullscreen-overlay.hidden {
    display: none;
  }
  
  .fullscreen-content {
    max-width: 90%;
    text-align: center;
    width: 100%;
  }
  
  .close-fullscreen {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2em;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
  }
  
  .fullscreen-slider img {
    max-width: 90%;
    max-height: 70vh;
    height: 90%;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
  }
  
  .fullscreen-slider p {
    margin-top: 10px;
    font-size: 1.2em;
    color: #ccc;
  }

  .tab-button{
    margin: 10px;
    width: 200px;
    height: 50px;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    padding: 5px;
    border: 3px solid #000000;
    border-radius: 5px;
    text-align: center;
    line-height: 18px;
    color: #000000;
    transition: all 0.3s ease-in-out;
}

  .tabs button:hover {
    transform: translateY(-3px);
    background: #E7BE9D;
    color: #000000;
  }
  
  .tab-button.active {
    background: #E7BE9D;
    color: #000000;
    text-decoration: underline;
  }
  
  .fullscreen-tabs .tab-button {
    margin: 10px;
    width: 200px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    background-color: black;
    border: 2px solid #ffffff;
    border-radius: 5px;
    text-align: center;
    /* line-height: 50px; */
    color: #ffffff;
    transition: all 0.3s ease-in-out;
  }
  
  .fullscreen-tabs .tab-button.active {
    background: #E7BE9D;
    margin-bottom: 15px;
    text-decoration: underline;
    color: black;
  }

  .fullscreen-slider .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgb(103, 100, 100);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 2em;
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 1000;
  }
  
  .fullscreen-slider .arrow-projects.left {
    left: 20px;
  }
  
  .fullscreen-slider .arrow-projects.right {
    right: 20px;
  }
  
  .fullscreen-slider .arrow-projects:hover {
    background: #E7BE9D;
  }

  @media (max-width: 768px) {
    .fullscreen-content {
      padding: 10px;
    }
  
    .tabs {
      flex-direction: flex; /* Stack tabs vertically */
      align-items: center;
      margin-bottom: 0px;
    }
  
    .tab-button {
      margin: 5px 0;
      width: 90%;
      text-align: center;
      line-height: 18px;
    }
  
    .fullscreen-slider {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }
  
    .fullscreen-slider img {
      max-width: 90%; /* Ensure the image fits the screen width */
      height: auto;
    }
  
    .fullscreen-slider p {
      font-size: 1rem; /* Adjust description font size */
      text-align: center;
      margin-top: 10px;
      color: #fff;
    }

    .fullscreen-slider .arrow-projects {
      top: 54%;
    }

    .slider-content h2 {
      color: white;
      margin-bottom: 25px;
      font-size: 1.5em;
    }

    .slider-container {
      max-width: 800px;
      
      
      
  
    }
  }

  .carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    gap: 15px;
  }
  
  .carousel .prev-image,
  .carousel .next-image {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
    opacity: 0.6;
    
  }
  
  .carousel .prev-image img,
  .carousel .next-image img {
    max-width: 100%;
    height: auto;
  }
  
  .carousel .main-image {
    position: relative;
    text-align: center;
    flex-shrink: 0;
  }
  
  .carousel .main-image img {
    max-width: 400px;
    border-radius: 10px;
  }
  
  .carousel .main-image p {
    margin-top: 10px;
    font-size: 1em;
    color: #ccc;
  }

  
  .fade-in {
    animation: fadeIn 0.5s ease-in-out;
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  .slide-in {
    animation: slideIn 0.5s ease-in-out;
  }
  
  @keyframes slideIn {
    from {
      transform: scale(1);
      opacity: 0;
    }
    to {
      transform: scale(1);
      opacity: 1;
    }
  }

  .prev-image,
.next-image {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100px;
  height: 100px;
  display: flex;
  border: 5px solid black; /* Adjust thickness here */
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 10px 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 1;
  width: 200px; /* Increase size */
  height: 200px;
  transform-origin: center center; /* Ensures it expands in place */
}

.prev-image {
  left: -300px; /* Adjust to position it outside the slider */
}

.next-image {
  right: -300px; /* Adjust to position it outside the slider */
}

.prev-image img,
.next-image img {
  max-width: 95%;
  height: auto;
}

.prev-image:hover,
.next-image:hover {
  
  transform: scale(1.2) translateY(0%); /* Expands without moving */
}

.main-image {
  text-align: center;
  max-width: 700px;
  max-height:400px;
}

.main-image img {
  width: 100%;
  height: 90%;
  max-height: 500px;
  object-fit: cover;
  max-width: 400px;
  border-radius: 10px;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.main-image img.fade-in {
  transform: scale(1.1);
  opacity: 1;
}

.main-image p {
  margin-top: 0px;
  font-size: 1em;
  color: #f0efef;
}


@media (min-width: 1320px) {
  .main-image img {
    max-width: 400px;
  }

  .prev-image,
  .next-image {
    width: 250px;
    height: 250px;
  }

  .prev-image {
    left: -350px;
  }

  .next-image {
    right: -350px;
  }

  .main-image {
    text-align: center;
    max-width: 700px;
    max-height: 400px;
  }

  .slider-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    background: #333;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
  }
}

@media(max-width: 1220px) {
  .prev-image,
  .next-image {
    display: none;
  }

}

.slider-container {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  background: #333;
  padding: 5px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
}

@media (min-width: 1700px) {
  .main-image img {
    max-width: 1000px;
    max-height: 900px;
  }

  .prev-image,
  .next-image {
    width: 300px;
    height: 300px;
  }

  .prev-image {
    left: -600px;
  }

  .next-image {
    right: -600px;
  }

  .main-image {
    text-align: center;
    max-width: 1000px;
  }

  .slider-container {
    position: relative;
    max-width: 600px;
    width: auto;
    margin: 0 auto;
    background: #333;
    padding: px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
  }
}

@media (max-width: 380px) {
  .tabs {
    flex-wrap: wrap;
    margin-bottom: 5px;
    gap: 2px;
  }

  .tab-button {
    margin: 0px 0;
    line-height: 2px;
    height: 40px;
    font-size: 15px;
  }
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

/* About Us Section */

.about {
  width: 90%;
}
.about h1{
  padding-top: 100px;
  font-size: 45px;
  color: #000000;
  text-shadow: 2px 2px 2px #B39859;
}

.About-Us{
  display: flex;
  padding: 50px;
  align-items: center; /* Align text and image vertically */
  justify-content: space-between;
  gap: 20px; /* Add space between text and image */
}

.about-written-section{
  width: 60%; /* Limit text width for better readability */
  font-size: 30px;
  padding-right: 100px;
  padding-top: 40px;
}

.about-written-blue{
  color: #011848;
  text-shadow: 1px 1px 1px #000000;
  font-weight: bold;
}

.blank-line{
  height: 40px;

}

.about-image-section {
  width: 35%; /* Adjust image size */
  border-radius: 10px; /* Add rounded corners */
}

.about-image-section img{
  height: 100%;
  width: 100%;
  border-radius: 20px;
  border: 10px solid #996E45;
}

.about-image-section img:hover {
  transform: scale(1.05); /* Slight zoom */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); /* Add a shadow */
}


/* About Section: Media Screens */
@media(min-width: 2220px) {
  .about-written-section{
    width: 60%; /* Limit text width for better readability */
    font-size: 50px;
    padding-right: 100px;
    padding-top: 40px;
  }

}

@media(max-width: 1200px) {
  .about-image-section {

    display: flex;
    width: 90%; /* Adjust image size */
    height: 80%;
   
    border-radius: 10px; /* Add rounded corners */
    margin-left: auto;
    margin-right: auto;
  }

  .about-image-section img{
    height: 450px;
  }

  .about-written-section{
    width: 100%; /* Limit text width for better readability */
    font-size: 40px;
    padding-right: 0px;
    padding-top: 20px;
    line-height: 1.8; 
    margin-left: auto;
    margin-right: auto;
  }

  .About-Us{
    display: block;
  }
}

@media(max-width: 700px) {
  .about-image-section {

    display: flex;
    width: 90%; /* Adjust image size */
   
    border-radius: 10px; /* Add rounded corners */
  }

  .about-image-section img{
    height: 400px;
  }

  .about-written-section{
    width: 100%; /* Limit text width for better readability */
    font-size: 25px;
    padding-right: 0px;
    padding-top: 0px;
  }

  .about-written-red{
    color: #B03535;
    text-shadow: 1px 1px 1px #000000;
    font-weight: bold;
  }
}


/* Testimonial Section */

.testimonial-section {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: initial;
}

.testimonial-person{
  height: 350px;
  width: 350px;
   margin: auto;
   /* margin-right: 10px; */
   display: block;
  /* width: 33%; */
  /* display: none; */

}

.testimonial-carousel {
  margin: 20px auto; /* Center carousel */
}

.testimonial-project-image {
  margin: 20px auto; /* Center project image */
}


.testimonial-person img{
  height: 100%;
  width: 100%;
  border-radius: 1000px;

}

.testimonial-project-image{
  height: 350px;
  width: 350px;
  margin: auto;

}

.testimonial-project-image img{
  height: 100%;
  width: 100%;
  border-radius: 500px;
}

.testimonial-project-image{
  height: 250px;
  width: 250px;
}

.testimonial-project-inner{
  display: absolute;
  height: 400px;
  width: 600px;
  margin: auto;
  margin-top: 8px;
 /* width: 33%; */

}

.testimonial-project-inner img{
 height: 100%;
 width: 100%;
 border-radius: 10px;

}


.testimonial h1{
  margin-top: 100px;
  font-size: 45px;
  /* font-weight: bold; */
  color: #000000;
  text-shadow: 2px 2px 2px #B39859;
}

.testimonial-carousel {
  background-image: url("/images/testimonial_background.webp");
  max-width: 900px;
  height: auto;
  margin-right: auto;
  margin-left: auto;
  border-radius: 20px;
  padding: 40px;
}

.testimonial-carousel h2 {
  margin-bottom: 20px;
  font-size: 20px;
  color: white;
  text-shadow: 3px 3px 3px #000000;
}

.slider-center p {
  color: white;
  text-align: center;
  line-height: 2rem;
  font-size: 25px;
  margin-top: 30px;
  margin-bottom: 30px;
  margin-left: auto;
  margin-right: auto;
  
}

.carousel-bottom {
  /* display: flex; */

  margin-left: auto;
  margin-right: auto;
  align-items: center;
  text-align: center;
}

.testimonial-button {
  /* display: flex; */
  background: #FFDA0A;
  border: 2px solid black; /* 2px wide solid black border */
  border-radius: 20px;
  padding: 10px;
  font-size: 36px;
  cursor: pointer;

}

.testimonial-button:hover {
  background-color: #DAA520;
  transform: scale(1.05);
  transition: all 0.3s ease-in-out;
}

.star-rating {
  font-size: 40px;
  color: #f5c518; /* Gold color */
  text-align: center;
  margin-top: 10px;
}

.star {
  margin: 0 2px;
}

.star.filled {
  color: #f5c518; /* Filled stars */
}

.carousel-slider {
  display: flex;
  align-items: center;
  position: relative; /* Required for absolutely positioned arrows */
  transition: transform 0.5s ease-in-out;
  touch-action: pan-y; /* Prevent vertical scrolling interference */
  /* height: 400px; Set a consistent height for the slider */
  justify-content: center;
}

.arrow-pointer {
  position: absolute;
  top: 85%;
  transform: translateY(-50%);
  background: rgb(103, 100, 100);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.5em;
  width: 50px;
  height: 50px;
  cursor: pointer;
}

.arrow-pointer.left {
  left: 5%;
}

.arrow-pointer.right {
  right: 5%;
}

.arrow-pointer:hover {
  background: rgb(0, 0, 0);
}

@media(min-width:1350px) {
  
  .testimonial-person-inner{
    display: none;
 }

}

@media(max-width: 1350px) {
  .testimonial-person{
    display: none;
  }

  .testimonial-project-image{
    display: none;
  }

  .testimonial-project-inner{
     display: absolute;
     height: 400px;
     width: 500px;
     margin: auto;
     margin-top: 8px;
    /* width: 33%; */
  
  }
  
  .testimonial-project-inner img{
    height: 100%;
    width: 100%;
    border-radius: 10px;
  
  }

  .testimonial-carousel {
    background-image: url("/images/testimonial_background.webp");
    max-width: 900px;
    height: auto;
    margin-right: auto;
    margin-left: auto;
    border-radius: 20px;
    padding: 40px;
    display: block;
  }

  .carousel-slider {
    display: flex;
    align-items: center;
    position: relative; /* Required for absolutely positioned arrows */
    transition: transform 0.5s ease-in-out;
    touch-action: pan-y; /* Prevent vertical scrolling interference */
    height: auto; /* Set a consistent height for the slider */
    justify-content: center;
  }
}

@media(max-width: 1650px) {
  .testimonial-person{
    height: 250px;
    width: 250px;
  
  }
  
  .testimonial-project-image{
    height: 250px;
    width: 250px;
  }

  .testimonial-project-inner{
    display: absolute;
    height: 400px;
    width: 600px;
    margin: auto;
    margin-top: 8px;
   /* width: 33%; */
 
 }

 .testimonial-project-inner img{
  height: 100%;
  width: 100%;
  border-radius: 10px;

}

  

}

@media(max-width: 950px) {

  .testimonial-carousel {
    background-image: url("/images/testimonial_background.webp");
    max-width: 800px;
    height: auto;
    margin-right: auto;
    margin-left: auto;
    border-radius: 20px;
    padding: 40px;
    margin-right: 10px;
    margin-left: 10px;
  }

  .star-rating {
    font-size: 30px;
    color: #f5c518; /* Gold color */
    text-align: center;
    margin-top: 10px;
    margin-bottom: 80px;  
  }

}

@media(max-width: 850px) {
  .slider-center p {
    color: white;
    text-align: center;
    line-height: 2rem;
    font-size: 30px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 15px;
  }

  .testimonial-carousel {
    height: auto;
    width: 600px;
  }

  .testimonial-project-inner{
    display: absolute;
    height: 300px;
    width: 400px;
    margin: auto;
    margin-top: 8px;
   /* width: 33%; */
 
 }

 .testimonial-project-inner img{
  height: 100%;
  width: 100%;
  border-radius: 10px;

}

}

@media(max-width: 500px) {
  .slider-center p {
    color: white;
    text-align: center;
    line-height: 1.5rem;
    font-size: 20px;
    margin-left: auto;
    margin-right: auto;
  }

  .testimonial-button {
    font-size: 25px;
    margin-top: auto;
  }

  .testimonial-carousel {
    height: auto;
    padding: 10px;
    margin-right: 10px;
    margin-left: 10px;
  }

  .arrow-pointer.left {
    left: 0.1%;
  }
  
  .arrow-pointer.right {
    right: 0.1%;
  }

  .carousel-slider {
    display: flex;
    align-items: center;
    position: relative; /* Required for absolutely positioned arrows */
    transition: transform 0.5s ease-in-out;
    touch-action: pan-y; /* Prevent vertical scrolling interference */
    height: auto; /* Set a consistent height for the slider */
    justify-content: center;
  }

  .testimonial-project-inner{
    display: absolute;
    height: 200px;
    width: 250px;
    margin: auto;
    margin-top: 8px;
   /* width: 33%; */
 
 }

  .testimonial-project-inner img{
    height: 100%;
    width: 100%;
    border-radius: 10px;

  }

}

@media(max-width: 500px) {

  .testimonial-button {
    font-size: 20px;
    margin-top: auto;
  }

  .arrow-pointer.left {
    left: 0.1%;
  }
  
  .arrow-pointer.right {
    right: 0.1%;
  }

  .carousel-slider {
    display: flex;
    align-items: center;
    position: relative; /* Required for absolutely positioned arrows */
    transition: transform 0.5s ease-in-out;
    touch-action: pan-y; /* Prevent vertical scrolling interference */
    height: auto; /* Set a consistent height for the slider */
    justify-content: center;
  }

  .star-rating {
    font-size: 25px;
    color: #f5c518; /* Gold color */
    text-align: center;
    margin-top: 10px;
    margin-bottom: 80px;  
  }

}


/* Contact Section */

.contact h1{

  margin-top: 100px;
  font-size: 45px;
  /* font-weight: bold; */
  color: #000000;
  text-shadow: 2px 2px 2px #B39859;
  
}

.contact-wrapper {
  background: linear-gradient(#F7F1E6, #ead6b0) ;
  display: flex;
  padding: 30px;
  justify-content: space-evenly;
  

}

.contact-cta {
  margin: auto;
  justify-content: center;
  align-items: center;
  text-align: center;


}

.contact-phone {
  /* display: flex; */
  margin-top: 20px;
  margin-bottom: 20px;
}


.contact-info img {
  height: 50px;
  width: 50px;
}

.contact-submission-form {
  margin: auto;
  margin-top: 20px;
}

.contact-submission-form form label{
  font-size: 20px;
  
}

.contact-submission-form form input{
  font-size: 20px;
  width: 700px;
  height: 30px;
  padding-left: 20px;
  color: #666;
  border-radius: 20px;
  border: none;
  
}



.message-text {
  width:700px;
  height:200px;
  max-width: 700px;
  min-width: 700px;
  min-height: 100px;
  font-size: 20px;
  padding-left: 20px;
  color: #666;
  border-radius: 20px;
  border: none;
  
}

.contact-input:hover, .message-text:hover{
  border: 2px solid #840909;
}

.contact-input::placeholder, .message-text::placeholder{
  color: #a9a9a9;
}




.submit-button {
  font-size: 20px;
  display: flex;
  align-items: center;
  padding: 15px 30px;
  font-size: 20px;
  color: #fff;
  gap: 10px;
  margin: 10px;
  border: none;
  border-radius: 50px;
  background: linear-gradient(270deg, #a9a9a9, #810400);
  cursor: pointer;
}

.submit-button:hover {
  background: linear-gradient(270deg, #a9a9a9, #33874b);

}

@media(max-width: 950px) {
  .contact-wrapper {
    display: block;
  }

  .contact-submission-form form input{
    width: 100%;
  }

  .message-text {
    width:100%;
    height:200px;
    max-width: 100%;
    min-width: 100%;

  }
}

#loading-indicator {
  text-align: center;
  font-size: 16px;
  color: #333;
  margin-top: 20px;
}

/* Full-Page Overlay */
#loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent dark background */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1000; /* Ensure it’s above other content */
  backdrop-filter: blur(5px); /* Blur effect for background */
}

/* Spinner */
.spinner {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #dbae34;
  border-radius: 50%;
  width: 64px;
  height: 64px;
  animation: spin 1s linear infinite;
}

/* Loading Message */
.loading-message {
  color: #fff;
  font-size: 18px;
  margin-top: 16px;
  text-align: center;
}

/* Spinner Animation */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* File Upload Section Styles for Documents */

.file-upload-wrapper {
  margin-top: 20px;
}

.uploaded-files {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

/* Uploaded file container */
.uploaded-file {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 150px;
  height: 200px;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px;
  margin: 10px;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* File preview image or icon */
.uploaded-file img {
  max-width: 100%;
  max-height: 80px;
  margin-bottom: 10px;
}

/* File name styling */
.file-name {
  font-size: 14px;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap; /* Use nowrap by default */
  max-width: 100%;
  text-align: center;
  word-wrap: break-word;
  word-break: break-word;
  line-height: 1.2em; /* Adjust for wrapping */
  margin: 5px 0;
  height: 2.4em; /* Limit to 2 lines */
}

/* Remove button styling */
.uploaded-file button {
  background-color: #e63946;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 5px 10px;
  font-size: 14px;
  cursor: pointer;
  margin-right: auto;
  margin-left: auto;
  bottom: 10px; /* Ensures the button is always at the bottom */  
}

.uploaded-file button:hover {
  background-color: #d62839;
}

/* Modal-Alert for file size and incorrect file types */
.modal-contact {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-contact-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  width: 300px;
}

.modal-contact-content p {
  font-size: 16px;
  margin-bottom: 20px;
}

.close-button-contact {
  padding: 10px 20px;
  background-color: #d9534f;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.close-button-contact:hover {
  background-color: #c9302c;
}








/* Footer */

/* Ensure the body and html take up the full height */

/* Footer styles */
footer {
  background-color: #ffffff; /* Adjust as needed */
  text-align: center;
  width: 100%; /* Full width */
  margin-top: auto; /* Push the footer to the bottom */
}



.footer-wrapper {
  background-image: url("/images/header_background_wood.webp");
  color: white;
  display: block;
  padding: 50px;

}

.footer-top {
  display: flex;
  justify-content: space-between;
}

.footer-second-row {
  display: flex;
  justify-content: center;
}

.footer-third-row {
  display: flex;
  justify-content: center;
}

.footer-fourth-row {
  display: flex;
  justify-content: center;

}

.footer-line {
  border: 3px solid black; margin: 20px 0;

}

.footer-header {
  text-shadow: 0.2rem 0.1rem 0.2rem #000000;
  color: white;
  text-decoration: underline;

}

.footer-description {
  color: white;

}

.footer-title h1 {
  text-shadow: 0.5rem 0.5rem 0.5rem #7C0000;
}

.footer-rights h3 {
  font-size: 15px;
}

@media(max-width: 750px) {
  .footer-header {
    text-shadow: 0.2rem 0.1rem 0.2rem #000000;
    color: white;
    text-decoration: underline;
    font-size: 20px;
  
  }
  
  .footer-descriptions {
    color: white;
    font-size: 17px;
  
  }
  
  .footer-title h1 {
    text-shadow: 0.5rem 0.5rem 0.5rem #7C0000;
  }
  
  .footer-rights h3 {
    font-size: 15px;
  }

}

@media(max-width: 500px) {
  .footer-top {
    display: block;
    justify-content: center;
  }
  
  .footer-second-row {
    display: block;
    justify-content: center;
  }
  
  .footer-third-row {
    display: block;
    justify-content: space-between;
  }
  
  .footer-fourth-row {
    display: block;
    justify-content: center;
  
  }

  .footer-descriptions {
    padding-bottom: 20px;
  
  }

}

.social-icon {
  display: inline-block;
  font-size: 4rem;
  color: #0a66c2; /* LinkedIn brand color */
  margin: 10px;
  transition: color 0.3s, transform 0.3s;
}

.social-icon.linkedin:hover {
  color: #005582; /* Slightly darker LinkedIn color */
  transform: scale(1.2); /* Zoom effect */
}








  
  
  









