body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    scroll-behavior: smooth; /* Enable smooth scrolling */
}

/* Section 1: Full Screen Video Background */
#hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

#background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: rgba(0,0,0,50%);
}

.text-container {
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.top-text {
    margin-top: 20px;
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    animation: fadeIn 2s;
}

.middle-text {
    font-family: serif;
    text-align: center;
    font-weight: bold;
    font-size: 2.2em;
    animation: fadeIn 2s;
    text-shadow: 0 0 20px rgb(0 0 0 / 100%);
}

.bottom-text {
    text-align: center;
    animation: fadeIn 2s;
    margin-bottom: 20px;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Section 2: Image and Text */
#image-text {
    background-color: #f8f8f8;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

#image-text .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#image-text .text,
#image-text .image {
    flex: 1 1 45%;
}

#image-text .text {
    padding: 20px;
    line-height: 1.5em;
}

#image-text img {
    width: auto;
    max-height: 100vh;
    max-width: 100%;
}

/* Section 3: Pricing and Contact Form */
#pricing-contact {
    padding: 50px;
}

.pricing {
    --display: flex;
    justify-content: space-around;
    margin-bottom: 50px;
    display: none;
}

.pricing .option {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    text-align: center;
}

.pricing .option:hover {
    transform: scale(1.05);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    text-align: center;
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-form button {
    width: 100%;
    padding: 10px;
    background: #007BFF;
    border: none;
    color: white;
    border-radius: 5px;
    font-size: 16px;
}

/* Smooth scrolling for internal links */
a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: underline;
}

.text-button {
    border-width: thin;
    border-style: solid;
    border-radius: 10px;
    padding: 20px;
    background-color: white;
    border-color: lightgrey;
    box-shadow: 2px 2px lightgrey;
    font-weight: bold;
    color: black;
    text-decoration: none;
}
.text-button:hover {
    color: darkgray;
    box-shadow: 0px 0px white;
}

/* New Section: Sentences with Navigation Arrows */
#sentences {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #091328;
    color: white;
    font-size: 1.5em;
    padding: 80px;
    box-sizing: border-box;
    text-align: center;
}

.section-header {
    font-size: 1.5em;
    margin-bottom: 20px;
}

.sentence-container {
    position: relative;
    width: 70%;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.sentence {
    position: absolute;
    opacity: 0;
    --white-space: nowrap;
    transition: opacity 1s, transform 1s;
    word-wrap: break-word;
    white-space: pre-wrap;
    text-align: center;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2em;
    cursor: pointer;
    z-index: 10;
}

.left-arrow {
    left: 10px;
}

.right-arrow {
    right: 10px;
}

.highlight-text {
    text-align: center; 
    font-weight: bold; 
    font-size: 2.2em; 
    line-height: 1.2em; 
    font-family: serif;
}

@media (max-width: 768px) {
    #image-text .text, 
    #image-text .image {
        flex: 1 1 100%;
        margin: 0px 0;
    }
    #image-text {
        padding-bottom: 50px;
    }
    #background-video {
        object-position: left;
    }
    .middle-text {
        line-height: 1em;   
    }
    .sentence {
        font-size: 0.8em;
    }
    .sentence-container {
        width: 80%;
        height: 200px;
        
    }
    .section-header {
        font-size: 0.6em;
    }
    #hero {
        height: 90vh;
    }
}

.arrowcontainer {
  position: fixed;
  width: 24px;
  height: 24px;
  right: 50%;
  bottom: 80px;
  z-index: 9;
}

.chevron {
  position: absolute;
  width: 28px;
  height: 8px;
  opacity: 0;
  transform: scale3d(0.5, 0.5, 0.5);
  animation: move 3s ease-out infinite;
}

.chevron:first-child {
  animation: move 3s ease-out 1s infinite;
}

.chevron:nth-child(2) {
  animation: move 3s ease-out 2s infinite;
}

.chevron:before,
.chevron:after {
  content: ' ';
  position: absolute;
  top: 0;
  height: 100%;
  width: 51%;
  background: lightgrey;
}

.chevron:before {
  left: 0;
  transform: skew(0deg, 30deg);
}

.chevron:after {
  right: 0;
  width: 50%;
  transform: skew(0deg, -30deg);
}

@keyframes move {
  25% {
    opacity: 1;

  }
  33% {
    opacity: 1;
    transform: translateY(30px);
  }
  67% {
    opacity: 1;
    transform: translateY(40px);
  }
  100% {
    opacity: 0;
    transform: translateY(55px) scale3d(0.5, 0.5, 0.5);
  }
}

@keyframes pulse {
  to {
    opacity: 1;
  }
}

.lang-text {
    position: fixed;
    right: 10px;
    top: 20px;
    color: white;
    z-index: 9999; 
    text-decoration: none;
}

.squarebox {
    position: fixed;
    z-index: 9999999999;
    bottom: 85px;
    right: 30px;
    width: 100%;
    max-width: 428px;
    height: 50px;
    border-width:1px; 
    border-style:solid;
    display: none;
    border-color:rgba(0,0,0,0%);
}

@media (max-width: 767px) {
    .squarebox {
        bottom: 0px;
        right: 0px;
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 428px) {
    .squarebox {
        bottom: 0px;
        right: 0px;
        width: 100%;
        height: 70px;
    }
}

@media (max-width: 280px) {
    .squarebox {
        bottom: 0px;
        right: 0px;
        width: 100%;
        height: 80px;
    }
}

#preloader {
    height:100vh; 
    width:100%; 
    z-index:999999999999; 
    background-color: rgba(0,0,0,40%); 
    position: fixed;
}

.highlight {
    color: red;
    font-weight: 600;
}
