/* Keyframes */

@keyframes slideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

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

@keyframes zoomIn {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
}

/* Removing dumb user agent stylesheet setting for ul */
ul {
    padding: 0;
}

/* Flexbox for centering */
.menu ul {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-inline-start: 0px;
  padding: 0;
  margin: 0;
  list-style: none;
}

/* Animation for menu items */
.menu li {
    display: inline-block;
    margin: 0 10px;
    opacity: 0;
    animation: slideIn 0.5s ease-in-out forwards;
}

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

.menu li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    margin: 20px;
    transition: color 0.3s, transform 0.3s;
}

/* Hover effect */
.menu li a:hover {
    color: #FFB94D; /* Change color to orange on hover */
    animation: zoomIn 0.3s forwards;
}

/* Base styles */
body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #F5F5F5; /* Light gray background */
    color: #4A4A4A; /* Dark gray text */
}

header {
    font-family: 'Roboto', Arial, sans-serif;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #8C3B3B; /* Deep red header */
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    animation: fadeIn 1s ease-in-out;
    transition: transform 0.3s ease-in-out;
}

header.show {
    transform: translateY(0);
}

header.hide {
    transform: translateY(-100%);
}

.logo img {
    padding: 0 20px;
    height: 70px;
}

/*
nav {
    padding: 0;
}

nav ul {
    list-style-type: none;
    margin: 15px;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 10px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}
*/

.banner {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    animation: fadeIn 1s ease-in-out;
}

.banner img {
    position: absolute;
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: none;
}

.banner img.active {
    display: block;
}

.about {
    text-align: center;
    padding: 20px;
    background-color: #FFFFFF; /* White background */
    color: #8C3B3B; /* Deep red text */
    animation: fadeIn 1s ease-in-out;
    max-width: 800px;
    margin: 0 auto;
}

.projects {
    text-align: center;
    padding: 20px;
    animation: fadeIn 1s ease-in-out;
}

.project {
    margin: 10px;
    display: inline-block;
    animation: fadeIn 1s ease-in-out;
    overflow: hidden;
}

.project img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease-in-out;
}

.project img:hover {
    transform: scale(3);
}

.demo {
    text-align: center;
    padding: 20px;
    background-color: #FFFFFF;
    animation: fadeIn 1s ease-in-out;
}

.demo video {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.reviews {
    text-align: center;
    padding: 20px;
    background-color: #3B768F; /* Deep teal background */
    color: #FFB94D; /* Orange text */
    animation: fadeIn 1s ease-in-out;
}

.review-slider {
    position: relative;
    width: 80%;
    margin: 0 auto;
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.review {
    display: none;
    padding: 20px;
    animation-duration: 1s;
}

.review.active {
    display: block;
    animation-name: slideIn;
}

.review img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #FFB94D; /* Orange border */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.review p {
    font-size: 1.2em;
    color: #FFB94D; /* Orange text */
}

.contact-link {
    text-align: center;
    padding: 20px;
    animation: fadeIn 1s ease-in-out;
}

.contact-link a {
    color: #3B768F; /* Deep teal link */
    text-decoration: none;
    font-weight: bold;
}

.contact-link a:hover {
    text-decoration: underline;
}

.contact {
    text-align: center;
    padding: 20px;
    background-color: #FFFFFF;
    animation: fadeIn 1s ease-in-out;
}

.contact form {
    display: inline-block;
    text-align: left;
    max-width: 400px;
    width: 100%;
}

.contact label {
    display: block;
    margin-top: 10px;
    color: #4A4A4A;
}

.contact input, .contact textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #E0E0E0;
    border-radius: 5px;
}

.contact button {
    display: block;
    width: 100%;
    padding: 10px;
    margin-top: 20px;
    background-color: #FFB94D; /* Orange button */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.contact button:hover {
    background-color: #F58325; /* Darker orange on hover */
}

/* Responsive Design */
@media (max-width: 768px) {
    html, body {
        overscroll-behavior: none;
    }
    header {
        flex-direction: column;
        text-align: center;
    }
    .banner {
        height: 350px;
        padding-top: 170px; /* Add padding to avoid overlap with header */
    }
    .banner img {
        height: 350px;
    }
    .review p {
        font-size: 1em;
    }
    .menu ul {
        flex-direction: column; /* Stack the items vertically on mobile */
        list-style: none !important;
        padding-inline-start: 0px !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .menu li {
        display: flex;
        margin: 10px 0; /* Add vertical margin for spacing between items */
    }    
    .menu li a {
        margin: 0;
    }
    .logo img {
        padding: 0;
    }
}

@media (max-width: 480px) {
    html, body {
        overscroll-behavior: none;
    }
    header {
        flex-direction: column;
        text-align: center;
    }
    .banner {
        height: 450px;
        padding-top: 70px; /* Add padding to avoid overlap with header */
    }
    .banner img {
        height: 450px;
    }
    .review img {
        width: 40px;
        height: 40px;
    }
    .review p {
        font-size: 0.9em;
    }
    .menu ul {
        flex-direction: column; /* Stack the items vertically on mobile */
        list-style: none !important;
        padding-inline-start: 0px !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .menu li {
        display: flex;
        margin: 10px 0; /* Add vertical margin for spacing between items */
    }    
    .menu li a {
        margin: 0;
    }
    .logo img {
        padding: 0;
    }
}

.slick-prev, .slick-next {
    display: block !important;
    visibility: visible !important;
    color: #FFB94D;
    z-index: 9999;
/*
    background-color: #000000;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    z-index: 1000;
*/
}

.slick-dots {
    list-style: none;
    display: block !important;
    visibility: visible !important;
    text-align: center;
    padding: 20px 0;
    z-index: 9999;
/*
    justify-content: center;
    padding: 0;
*/
}

.slick-dots li {
    margin: 0 5px;
}

.slick-dots li button:before {
    color: #FFB94D; /* Custom color for dots */
}

/*
.slick-dots button {
    width: 10px;
    height: 10px;
    background-color: #ccc;
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

.slick-dots .slick-active button {
    background-color: #000;
}
*/

