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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.headercontainer {
    width: 90%;
    max-width: 1200px;
    display:flex;
    padding: 0 20px;
    flex-wrap: wrap;
    margin: 0 auto;
}
header {
    background-color: #f75b20;
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    width: 100%;
    z-index: 99;
}

header .logo img {
    height: 40px;

}
nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #0066cc;
}

.hero {
    background-image: url('../images/hero-image.gif');
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 150px 20px;
    
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #ff5e00;
}

.rainbow{
    background-image: repeating-linear-gradient(45deg, rgb(149, 0, 255), rgb(0, 225, 255), rgb(0, 255, 0), rgb(255, 255, 0), rgb(255, 166, 0), rgb(255, 0, 0), rgb(255, 0, 255));
    text-align: center;
    background-size: 800% 800%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 24px;
    animation: rainbow 7s linear infinite;
}
@keyframes rainbow {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 25%
    }

    100% {
        background-position: 0% 50%
    }
}

.cta {
    display: inline-block;
    padding: 10px 20px;
    background-color: #112482;
    color: #ff6207;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    margin-bottom: 5;
}

.cta:hover {
    background-color: #173eff;
}
.listbtn {
    display: inline-block;
    padding: 5px 10px;
    background-color: #112482;
    color: #ff6207;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    margin-bottom: 5px;
}

.listbtn:hover {
    background-color: #173eff;
    color:#00d9ff
}
.about, .services, .portfolio, .testimonials {
    padding: 20px 20px;
    color: #d2e7f3;
}

.about h2, .services h2, .portfolio h2, .testimonials h2 {
    font-size: 2rem;
    color: #d6f0f3;;
    text-align: center;
    margin-bottom: 10px;
}

.service-item, .project-item, .testimonial-item, .about{
    text-align: center;
    margin-bottom: 0px;
}

.service-item img, .project-item img, .testimonial-item img, .about img{
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
    margin-bottom: 10px;
}

footer {
    background-color: #f75b20;
    padding: 0.3rem;
    width: 100%;
    text-align: center;
    margin-top: auto;
}

.social-media a {
    color: #ff9100;
    text-decoration: none;
    margin-left: 10px;
    transition: color 0.3s;
}

.social-media a:hover {
    color: #00d9ff;
}
.contact form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.contact label {
    font-weight: bold;
    margin-top: 10px;
}

.contact input, .contact textarea {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 5px;
}

.contact button {
    margin-top: 20px;
}

 :root  {
    --transition-duration: 0.6s;
    --button-size: 48px;
    --accent-color: rgba(255, 255, 255, 0.8);
}

.slider-container {
    position: relative;
    max-width: 500px;
    margin: 2rem auto;
    overflow: hidden;
    border-radius: 12px;
}

.slider-track {
    display: flex;
    height: var(--slider-height);
    transition: transform var(--transition-duration) cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
    flex: 0 0 100%;
    position: relative;
    opacity: 0.5;
    transition: opacity var(--transition-duration);
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: var(--button-size);
    height: var(--button-size);
    border: none;
    border-radius: 50%;
    background: var(--accent-color);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.slider-button:hover {
    transform: translateY(-50%) scale(1.1);
    background: rgba(255, 255, 255, 0.9);
}

.slider-button.prev {
    left: 1.5rem;
}

.slider-button.next {
    right: 1.5rem;
}

.slider-button svg {
    width: 24px;
    height: 24px;
    fill: #333;
}

/* Accessibility */
.slider-button:focus {
    outline: 2px solid #2196F3;
    outline-offset: 2px;
}
.slide-content {
    position: absolute;
    bottom: 10%;
    left: 10%;
    right: 10%;
    color: var(--text-color);
    max-width: 1200px;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
}
.slide h2 {
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide p {
    font-size: 1.2rem;
    line-height: 1.2;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    :root {
        --button-size: 36px;
    }
    .slide-content {
        bottom: 10%;
        left: 10%;
        right: 10%;
        max-width: none;
        padding: 0.5rem;
    }

    .slide h2 {
        font-size: 1.8rem;
    }

    .slide p {
        font-size: 1rem;
    }
}
/* Style for form result messages */
.result {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    max-width: 400px;
    word-wrap: break-word;
}

.success {
    padding: 10px;
    border-radius: 6px;
    background: linear-gradient(45deg, #008011, #53ff70);
    color: #000000;
}

.error {
    padding: 10px;
    border-radius: 6px;
    background: linear-gradient(45deg, #640101, #ff0000);
    color: #000000;
}

.wait {
    padding: 10px;
    border-radius: 6px;
    background: linear-gradient(45deg, #887400, #fbff00);
    color: #000000;
}
.contactcontainer {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;

}
.footercontainer {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    bottom: 0px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
