* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Manrope', sans-serif;
}

html, body {
  height: 100%;
  width: 100%;
  background-color: rgb(251, 249, 235);
}

nav {
  width: 100%;
  height: 10vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  margin-top: 3vh;
}

#logo-container {
  height: 100%;
  width: 25vw;
  display: flex;
  align-items: center;
  text-decoration: none;
}

#logo-container h1 {
  font-size: 1.5vw;
  color: rgb(142, 14, 29);
}

#logo-image {
  width: auto;
  height: 100%;
}

#nav-button-container {
  height: 100%;
  width: 20vw;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.nav-button {
  text-decoration: none;
  padding: .5vw 1vw;
  color: black;
  border: 1px solid rgb(142, 14, 29); 
  font-size: .8vw;
  font-weight: bold;
  border-radius: 25px;
  transition: 0.3s;
}

.nav-button:hover {
  background-color: #111;
  color: white;
  border: none;
}


#title-container {
  height: 20vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#title-container h1 {
  font-size: 5vw;
  font-weight: bold;
}

.content-div {
  background-color: #fff;
  width: 80%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2vw;
  border-radius: 15px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  margin: 5vh auto;
}

.content-div:hover {
  box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2);
  transform: translateY(-5px);
  transition: all 0.3s ease-in-out;
}

#image-box {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#image-container {
  width: 30vw;
  height: 20vw;
  background-color: brown;
  display: flex;
  align-items: center;
  justify-content: center;
  /* overflow: hidden; */
  border-radius: 10px;
  position: relative;
}

#image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}


.floating-img-container {
  position: absolute;
  width: 8vw;
  height: 8vw;
  display: none;
}

/* Floating images inside the div */
.floating-img {
  width: 100%;
}
.s3{
  animation: floating 3s ease-in-out infinite;
}
.s5{
  animation: floating 3.5s ease-in-out infinite;
  -webkit-animation: floating 3.5s ease-in-out infinite;
}

@keyframes floating {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

/* Positioning the floating image containers */
.topRight { top: -10%; right: -10%; }
.botRight { bottom: -10%; right: -10%; }
.topLeft { top: -10%; left: -10%; }
.botLeft { bottom: -10%; left: -10%; }


#content-box {
  width: 50%;
  text-align: center;
  padding: 2vw 5vw;
}

#content-box h1 {
  font-size: 3vw;
  margin-bottom: 1vw;
  color: rgb(142, 14, 29);
}

#content-box p {
  font-size: 1vw;
  line-height: 1.2;
  /* font-weight: bold; */
  color: #333;
}



#apply-button {
  --primary-color: rgb(142, 14, 29);
  --secondary-color: #fff;
  --hover-color: #111;
  --arrow-width: 12px; /* Slightly bigger arrow */
  --arrow-stroke: 3px;
  
  cursor: pointer;
  box-sizing: border-box;
  border: 0;
  border-radius: 25px; /* Increased for a rounder look */
  color: var(--secondary-color);
  padding: 1vw 1.5vw; /* Increased padding for a bigger button */
  background: var(--primary-color);
  display: flex;
  transition: 0.2s background;
  align-items: center;
  gap: 0.8em;
  font-size: 1.5vw; /* Increased font size */
  font-weight: bold;
  text-decoration: none;
}


#apply-button .arrow-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

#apply-button .arrow {
  margin-top: 1px;
  width: var(--arrow-width);
  background: var(--primary-color);
  height: var(--arrow-stroke);
  position: relative;
  transition: 0.2s;
}


#apply-button .arrow::before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  border: solid var(--secondary-color);
  border-width: 0 var(--arrow-stroke) var(--arrow-stroke) 0;
  display: inline-block;
  top: -3px;
  right: 3px;
  transition: 0.2s;
  padding: 3px;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
}

#apply-button:hover {
  background-color: var(--hover-color);
}

#apply-button:hover .arrow {
  background: var(--secondary-color);
}

#apply-button:hover .arrow:before {
  right: 0;
}


#apply-btn-container{
  width: 100%;
  height: 30vh;
  display: flex;
  align-items: center;
  justify-content: center;
}


@media screen and (max-width: 768px) {
  nav{
    /* background-color: aqua; */
    height: auto;
  }
  #logo-image{
    width: 15vw;
    height: auto;
  }
  #logo-name{
    font-size: 4vw;
    font-weight: bold;
    /* background-color: aqua; */
  }
  #logo-container{
    /* background-color: #fff; */
    width: 40vw;
  }

  #nav-button-container{
    /* background-color: aqua; */
    width: 45vw;
  }
  .nav-button{
    width: 20vw;
    font-size: 2vw;
    text-align: center;
  }


  #title-container{
    /* background-color: aqua; */
    margin-top: 3vh;
    height: 10vh;
  }
  #title-container h1{
    font-size: 10vw;
  }
  .content-div{
    flex-direction: column;
    height: 50vh;
    justify-content: space-around;
  }
  
  #image-container{
    width: 60vw;
    height: 20vh;
  }

  #content-box {
    width: 60vw;
    height: auto;
    /* padding: 3vw; */
  }

  #content-box h1 {
    font-size: 5vw;
    margin-bottom: 1vw;
    color: rgb(142, 14, 29);
  }
  
  #content-box p {
    font-size: 1.8vw;
    line-height: 1.3;
    font-weight: bold;
    /* width: 60vw; */
    color: #333;
  }

  .reverse{
    flex-direction: column-reverse;
  }

  #apply-btn-container{
    /* background-color: aqua; */
    height: 10vh;
  }

  #apply-button{
    width: 25vw;
    height: 5vh;
    font-size: 2vw;
    text-align: center;
    padding-left: 5vw;
  }
  
  }
