* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Afacad Flux', Arial, sans-serif;
    line-height: 1.3;
    color: #333;
    background-color: #f4f4f4;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Hero Section */
.hero {
    position: relative;
    background: url('your-desert-image-url.jpg') no-repeat center center/cover;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Align items at the top */
    align-items: center;
    text-align: center;
    color: #fff;
    padding-top: 5%; /* Adjust padding for space from top */
    padding-bottom: 5%; /* Add space at the bottom */
}

/* Container for main and sub-headline */
.headline-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px; /* Space between headlines and hero content */
}

/* Main headline styling */
.main-headline {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 5rem; /* Large font size */
    color: rgb(255, 237, 213);
    text-shadow: 4px 4px 10px rgba(3, 30, 140, 0.5); /* Shadow effect */
    margin-bottom: 10px; /* Adjust space between main and sub-headline */
    opacity: 1;
    /*animation: slideDown 1.5s forwards ease-out;*/
}

/* Subheadline styling */
.sub-headline {
    font-family: 'Afacad Flux', sans-serif;
    font-size: 1.5rem;
    color: rgb(255, 237, 213);
    text-shadow: 
        1px 1px 0 #e67e22,   /* Bottom right shadow */
        -1px -1px 0 #e67e22, /* Top left shadow */
        1px -1px 0 #e67e22,  /* Top right shadow */
        -1px 1px 0 #e67e22;  /* Bottom left shadow */
    margin-top: 0;
    position: relative;
    opacity: 0;
    visibility: hidden;
}

/* To show the sub-headline */
.sub-headline.show {
    visibility: visible;
    opacity: 1;
}

/* Hero content styling */
.hero-content {
    background-color: rgba(0, 0, 0, 0.5);
    color: rgb(255, 237, 213);
    padding: 20px;
    border-radius: 10px;
    max-width: 35%;
    width: 90%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 1.2;
    /*margin-top: auto;
    flex-grow: 1; /* Pushes the content towards the center */
}

.hero-content h1 {
    visibility: visible;
}

.hero-content.show h1 {
    visibility: visible;
}

.hero-content p {
    visibility: visible;
    margin-bottom: 20px;
}

.hero-content.show p {
    visibility: visible;
}

/* Animation for slide-down effect */
@keyframes slideDown {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.highlight {
    font-weight: bold;
    background-color: #e67e22;
    padding: 0 5px;
}

.hero-content {
    background-color: rgba(0, 0, 0, 0.45);
    color: rgb(255, 237, 213);
    padding: 20px;
    border-radius: 10px;
    max-width: 35%; /* Prevent overflow */
    width: 90%;
    height: 250px; /* Prevent size change during typewriter effect */
    /*opacity: 0;
    transform: translateY(-20px);
    animation: fadeInUp 1s forwards;
    animation-delay: 0.5s;*/
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    line-height: 1.2;
}

.hero-content h1 {
    visibility: hidden; /* Initially hidden */
}

.hero-content.show h1 {
    visibility: visible;
}

.hero-content p {
    visibility: hidden; /* Initially hidden */
    margin-bottom: 20px; /* Space below the text */
}

.hero-content.show p {
    visibility: visible;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-button {
    background: #e67e22;
    color: rgb(255, 237, 213);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.2em;
    transition: transform 0.3s ease;
    margin-top: auto;
}

.cta-button:hover {
    transform: scale(1.05);
}

.value-proposition {
    background-color: #f5deb3;
    padding: 60px 20px;
    text-align: center;
    max-width: 100%; /* Ensure value proposition section doesn't overflow */
    overflow-x: hidden;
}

h2 {
    margin-bottom: 20px;
    font-size: 2.5rem; /* Increase font size if needed */
    text-align: center; /* Center the text */
    color: #e67e22; /* Light color for the text */
    line-height: 1.1;
    /*text-shadow: 0 0 5px rgba(0, 0, 0, 0.5), 0 0 10px rgba(0, 0, 0, 0.5); /* Outline effect */
}

.features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.feature {
    flex: 1 1 200px;
    margin: 20px;
    background: #f8d3a0;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(20px);
    animation: slideIn 0.5s forwards;
    text-align: center; /* Center the text and icon */
}

.feature i {
    font-size: 2rem; /* Adjust icon size */
    color: #e67e22; /* Change icon color */
    margin-bottom: 10px; /* Space between icon and heading */
}

.feature h3 {
    margin: 10px 0; /* Space between heading and paragraph */
    font-size: 1.2rem;
}

.feature p {
    margin: -10px; /* Reset margin */
    font-size: 1rem;
}

.feature:nth-child(1) { animation-delay: 0.2s; }
.feature:nth-child(2) { animation-delay: 0.4s; }
.feature:nth-child(3) { animation-delay: 0.6s; }
.feature:nth-child(4) { animation-delay: 0.8s; }

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.statistics {
    padding: 60px 20px;
    text-align: center;
    background-color: #fde1a1;
    max-width: 100%;
    overflow-x: hidden;
}

.stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.stat {
    flex: 1 1 200px; /* Allow flexibility for responsiveness */
    margin: 20px;
    background: #feedd4; /* Background color for each stat */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s forwards;
    text-align: center; /* Center text inside the stat box */
    line-height: 1;
}

.stat p {
    margin-top: 5px;
    font-size: 1.2em;
}

.stat:nth-child(1) { animation-delay: 0.2s; }
.stat:nth-child(2) { animation-delay: 0.4s; }
.stat:nth-child(3) { animation-delay: 0.6s; }

.count {
    font-size: 2em;
    color: #e67e22;
    transition: all 0.5s ease;
}

.symbol {
    font-size: 1.5em; /* Adjust the size of the symbol */
    color: #e67e22; /* Color the symbol to match your design */
    margin-left: 1px; /* Add some space between the number and the symbol */
    vertical-align: auto; /* Align the symbol with the top of the number */
}

.testimonials {
    padding: 60px 20px;
    text-align: center;
    background-color: #f8d3a0;
    max-width: 100%;
}

.testimonial p {
    font-family: 'Quicksand', Arial, sans-serif; /* Apply Quicksand font */
    font-size: 1.2rem; /* Adjust font size as needed */
    margin: 0 0 15px 0;
}

.testimonial-carousel {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.testimonial {
    background: #feedd4;
    padding: 20px;
    margin: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s forwards;
    max-width: 30%;
    position: relative;
    flex: 1 1 calc(30% - 40px);
    display: flex;  /* Enable flexbox */
    flex-direction: column;  /* Stack items vertically */
    justify-content: flex-start;  /* Start items at the top */
}

.testimonial:before {
    content: "“";
    font-size: 4em;
    color: #e67e22;
    position: absolute;
    left: 10px;
    top: -20px;
}

.testimonial:after {
    content: "”";
    font-size: 4em;
    color: #e67e22;
    position: absolute;
    right: 10px;
    bottom: -20px;
}

.author {
    margin-top: auto;
    font-weight: bold;
    font-style: italic;
    color: #333;
}

.testimonial:nth-child(1) { animation-delay: 0.2s; }
.testimonial:nth-child(2) { animation-delay: 0.4s; }
.testimonial:nth-child(3) { animation-delay: 0.6s; }

.cta {
    padding: 60px 20px;
    text-align: center;
    background-color: #e67e22;
    color: #fff;
    max-width: 100%;
}

.cta h2 {
    margin-bottom: 0px;
    font-size: 2.5rem; /* Increase font size if needed */
    text-align: center; /* Center the text */
    line-height: 1.1;
    color:  #f5deb3;
}

.cta-subheadline {
    font-family: 'Afacad Flux', sans-serif; /* Use the same font as the subheadline */
    font-size: 1.5rem; /* Size for the subheadline */
    color: #f5deb3; /* Light color for visibility */
    margin-bottom: 15px; /* Space between subheadline and CTA button */
    text-align: center; /* Center the text */
    font-weight: 300;
}

.lead-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    width: 100%;
}

.lead-form input,
.lead-form select {
    font-size: 1em;
    padding: 10px;
    margin: 10px;
    width: 100%; /* Full width on smaller devices */
    max-width: 300px; /* Limit the width */
    border: 1px solid #ccc;
    border-radius: 5px;
    color: #e67e22;
    background-color: #f8f0e2;
}

.lead-form input::placeholder,
.lead-form select::placeholder {
    color: #e67e22; /* Change this to your desired placeholder color */
    opacity: 0.6; /* Optional: Set opacity to 1 for full visibility */
}

.lead-form button {
    background: rgb(255, 237, 213);
    color: #e67e22;
    border: none;
    padding: 10px 20px;
    margin-top: 15px;
    border-radius: 5px;
    cursor: pointer;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: #fff;
    width: 100%;
}

/* Thank You Page */
.thank-you {
    font-family: 'Afacad Flux', Arial, sans-serif;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #f5deb3; /* Subtle background color */
    color: #333;
}

.thank-you-content {
    background-color: rgba(255, 237, 213, 0.9); /* Light background with some transparency */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 90%;
}

.thank-you-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    margin-bottom: 20px;
    color: #e67e22;
}

.thank-you-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .features {
        flex-direction: column;
    }

    .testimonial {
        max-width: 100%;
        flex: 1 1 100%;
    }

    .stat {
        flex: 1 1 calc(50% - 40px); /* Two stats per row */
    }

    .lead-form input,
    .lead-form select {
        max-width: 100%;
    }

    .main-headline {
        font-size: 4rem; /* Adjust font size on mobile */
    }

    .cta-button {
        font-size: 1rem;
        padding: 10px 15px;
    }

    .hero-content {
        max-width: 90%; /* Prevent overflow */
    }
}

/* Adjustments for smaller heights */
@media (max-height: 700px) {
    .headline-container {
        margin-bottom: 10px;
    }

    .hero-content {
        margin-top: 20px;
        flex-grow: 0;
    }
}