
/*** Light Mode Theme ***/
:root, [data-theme="dark"] {
    --formContainer-background-color: #20212C;
    --formBox-background: #282934;
    --form-color: #dddddd;
    --form-text: white;
    --title-section: white;
    --form-border-input:#dddddd;
    --vid-color:#272727;
}
[data-theme="light"] {
    --formContainer-background-color: #ebebeb;
    --formBox-background: #ffffff;
    --form-color: #ffffff;
    --form-text: #282934;
    --title-section: #20212C;
    --form-border-input:black;
    --vid-color:#484848;
}
@media only screen and (min-width: 1200px) {
  .form-box{
    width:60%!important;
  }
.titleSection{
    font-size: 2vw;
}
.form-label{
  font-size:1vw;
}
.form-input{
  font-size:1vw;
}
}
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
  }
  .fade-in-section.fade-in {
    opacity: 1;
    transform: translateY(0);
  }

html {
    scroll-behavior: smooth;
  }

body{
    margin: 0;
    transition:all ease-in-out .3s;
}

  .profile {
    display: flex;
  justify-content: center;
  align-items: center;
  background-color:var(--vid-color);
    left: 0;
    width: 100%;
    height: 100vh;
    transition:all ease-in-out .3s;
  }
.radiogroup{
  border:none;
  padding:0;
}
.radiotitle{
  padding:0;
}

.center-logo {
    opacity: 0;
    transform: scale(0.2);
    animation: pop-out 1s ease-in-out forwards;
    animation-delay: 1s;
  }
  
  @keyframes pop-out {
    0% {
      opacity: 0;
      transform: scale(0.2);
    }
    100% {
      opacity: 1;
      transform: scale(0.4);
    }
  }
  .navbar {
    position: absolute;
    top: -20vh;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
    padding: 10px;
    animation: show-navbar 1s ease-in-out forwards;
  }
  
  @keyframes show-navbar {
    0% {
      top: -20vh;
    }
    100% {
      top: 0;
    }
  }
  
  .logo img {
    width: 40px;
    margin-left:3vw;
    margin-top:3vh;
  }
  
  .buttons {
    display: flex;
    gap: 10px;
    margin-top:3vh;
  }
  
  .menu-button {
    padding: 6px 10px;
    background-color: transparent;
    border: none;
    color: white;
    font-size: 20px;
    font-family: "Zilla Slab", serif;
  }
  
  .light-mode-button {
    padding: 6px;
    background-color: transparent;
    border: none;
    color: white;
    font-size: 40px;
    margin-right:3vw;
  }
  .video-background {
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width:100%;
    object-fit: cover;
    opacity:0;
    animation: show-video 1s ease-in-out forwards;
    animation-delay: 2s;
  }
  
  @keyframes show-video {
    0% {
      opacity: 0;
    }
    100% {
      opacity:0.1;
    }
  }
  .enquiry-form{
    background-color: var(--formContainer-background-color);
    padding-bottom:5vh;
  }

.form-box{
    margin-top:5vh;
    background-color: var(--formBox-background);
    padding: 20px;
    width:80%;
    border-radius: 20px;
    margin-inline: auto;
}
  .form-field {
    margin-bottom: 20px;
  }

  .form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color:var(--form-text);
    font-family: "Nunito", "sans-serif";
    font-weight:300;
  }

  .form-input {
    width: 96%;
    padding-top: 1vh;
    padding-bottom:1vh;
    padding-left:0vh;
    padding-right:0vh;
    border: 1px solid var(--form-border-input);
    border-radius: 10px;
    background-color: var(--form-color);
    color: black;
    font-family:"Nunito", "sans-serif";
  }
  input:focus {
    outline-color: var(--form-border-input);
  }
  .form-input{
    padding-left:2%;
    padding-right:2%;
  }
  
  select{
    width:100% !important;
    background: url(https://cdn1.iconfinder.com/data/icons/cc_mono_icon_set/blacks/16x16/br_down.png) no-repeat right #ddd;
    -webkit-appearance: none;
    -moz-appearance:none;
    background-position-x: 98%;
  }
  input[type="date"]
{
    display:block;
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    min-height: 1.2em;
}

  select:focus{
    outline-color:transparent;
  }

  .form-button {
    padding: 10px 20px;
    background-color: #000000;
    color: #fff;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    margin: 0 auto;
    display: block;
    font-family: "Nunito", "serif";
    font-size:20px;
  }

  .fa-arrow-right {
    margin-left:15px;
  }
  .form-button:hover {
    background-color: #434c55;
  }
  .titleSection{
    color: var(--title-section);
    font-family: "Fraunces", "serif";
    text-align: center;
    padding-top:5vh;
    margin: 0;
    font-weight:300;
  }
  .enquireTitle{
    margin: auto;
  }

  .hr-lines{
    position: relative;
    text-align: center;
  }
  
  .hr-lines:before{
    content:" ";
    height: 2px;
    width: 10%;
    background: rgb(209, 178, 65);
    display: block;
    position: absolute;
    top: 50%;
    left: 5vw;
    margin-top:2.5vh;
    
  }
  
  .hr-lines:after{
    content:" ";
    height: 2px;
    width: 10%;
    background: rgb(209, 178, 65);
    display: block;
    position: absolute;
    top: 50%;
    right: 5vw;
    margin-top:2.5vh;
  }

  .required{
    color:red;
  }
  .footer {
    width: 100%;
    background-color: #20212C; /* Customize the footer background color */
    color: white; /* Customize the footer text color */
    padding-top: 4vh;
    padding-bottom: 4vh;
    font-family: "Fraunces", "serif";
    font-size:1.5vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.footer-text{
    position:absolute;
}
.hidden{
    display:none;
}

/*Simple css to style it like a toggle switch*/
.theme-switch-wrapper {
    display: flex;
    align-items: center;
  
    em {
      margin-left: 10px;
      font-size: 1rem;
    }
  }
  .theme-switch {
    display: inline-block;
    height: 34px;
    position: relative;
    width: 60px;
  }
  
  .theme-switch input {
    display:none;
  }
  
  .slider {
    background-color: #ccc;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
  }
  
  .slider:before {
    background-color: #fff;
    bottom: 4px;
    content: "";
    height: 26px;
    left: 4px;
    position: absolute;
    transition: .4s;
    width: 26px;
  }
  
  input:checked + .slider {
    background-color: #66bb6a;
  }
  
  input:checked + .slider:before {
    transform: translateX(26px);
  }
  
  .slider.round {
    border-radius: 34px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  }
  
  .theme-switch-wrapper {
    display: flex;
    align-items: center;
    em {
        margin-left: 10px;
        font-size: 1rem;
    }
}

.theme-switch {
    display: inline-block;
    height: 34px;
    position: relative;
    width: 60px;
}

.theme-switch input {
    display: none;
}

.slider {
    background-color: #ccc;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
    border-radius: 34px;
    padding: 2px;
}

.slider:before {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    height: 26px;
    width: 26px;
    background-color: #fff;
    border-radius: 50%;
    transition: .4s;
}

input:checked + .slider {
    background-color: #66bb6a;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* Add styles for sun and moon icons */
.theme-switch .fa-sun,
.theme-switch .fa-moon {
    position: absolute;
    font-size: 18px;
    color: #9ea7aa; /* Moon color */
    top: 23%;
    transition: opacity 0.3s ease;
}

.fa-moon{
    left:15%;
}
.theme-switch .fa-sun {
    left: 57%;
    color: #ff9800; /* Sun color */
}

input:checked + .slider .fa-sun {
    opacity: 1;
}

input:checked + .slider .fa-moon {
    opacity: 0;
}
input + .slider .fa-sun {
    opacity: 0;
}

/* Add this CSS for the modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  border-radius: 5px;
  max-width: 600px;
  width: 70vw;
  font-family:"Zilla Slab", serif;
  text-align:center;
}

.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover {
  color: #000;
  cursor: pointer;
}

/* Add this CSS for the loading symbol */
.loading {
  visibility: hidden;
  animation: spin 2s linear infinite;
  position: absolute;
  margin-left:15px;
  margin-top:3px;
}

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