.top-bar {
    background: #314055;
   /* background-image: url('snowflake.jpg');*/

    color: #f48100;
    text-align: right;
    padding: 0.5rem 2rem;
    border-bottom: 1px solid #314055;
}

.top-bar a {
    color: #f48100;
    text-decoration: none;
    font-weight: bold;
    padding-right: 2rem;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #fff;
    color: #314055;
}

header {
    background: #314055;
    color: #fff;
    padding: 0rem 0;
    border-bottom: 5px solid #f48100;
}

#navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.logo img {
    max-height: 100px;
    width: auto;
}

#nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

#nav-links li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

#nav-links li a:hover {
    color: #f48100;
}

.hamburger {
    display: none;
}

@media (max-width: 768px) {
    .logo img {
        max-height: 80px;
    }

    .hamburger {
        display: block;
        background: none;
        color: white;
        border: none;
        font-size: 2rem;
        cursor: pointer;
        z-index: 101;
    }

    #nav-links {
        display: none;
        flex-direction: column;
        gap: 0.5rem;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #314055;
        padding: 1rem 0;
        text-align: center;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        z-index: 100;
    }

    #nav-links.active {
        display: flex;
        border-bottom: 5px solid #f48100;
    }

    #nav-links.active li a {
        padding: 0.5rem 0;
    }
}

.hero {
    position: relative;
    color: #ffffff;
    background: #314055;
    text-align: center;
    padding: 4rem 2rem;
    overflow: hidden;
}

.hero-home {
    height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
}

.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: fade 30s infinite; /* Adjusted for 6 images (6 * 5s = 30s) */
}

.slide:nth-child(2) {
    animation-delay: 5s;
}

.slide:nth-child(3) {
    animation-delay: 10s;
}

.slide:nth-child(4) {
    animation-delay: 15s;
}

.slide:nth-child(5) {
    animation-delay: 20s;
}

.slide:nth-child(6) {
    animation-delay: 25s;
}

@keyframes fade {
    0% { opacity: 0; }
    8% { opacity: 1; } /* 100% / 6 images = ~16.67% per image. 16.67% / 2 (fade in/out) = ~8% */
    16% { opacity: 1; }
    24% { opacity: 0; }

    25% { opacity: 0; }
    33% { opacity: 1; }
    41% { opacity: 1; }
    49% { opacity: 0; }

    50% { opacity: 0; }
    58% { opacity: 1; }
    66% { opacity: 1; }
    74% { opacity: 0; }

    75% { opacity: 0; }
    83% { opacity: 1; }
    91% { opacity: 1; }
    100% { opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 10px;
    display: inline-block;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    background: #f48100;
    color: #314055;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #e6a300;
}

.services {
    padding: 4rem 2rem;
    text-align: center;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.service-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.card {
    background: #f4f4f4;
    padding: 2rem;
    border-radius: 5px;
    max-width: 400px;
    text-align: centerw;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card a {
    color: #314055;
    text-decoration: none;
    font-weight: bold;
}

.about {
    background: #f4f4f4;
    padding: 4rem 2rem;
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

footer {
    background: #314055;
    color: #fff;
    padding: 4rem 2rem 2rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h4 {
    color: #f48100;
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: #fff;
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid #314055;
    padding-top: 2rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom .social-links {
    margin-bottom: 1rem;
}

.footer-bottom .social-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 0.5rem;
}

.contact-form {
    padding: 4rem 2rem;
    text-align: center;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    color: #314055 !important;
}

.contact-form select option {
    color: #314055 !important;
}

.gallery {
    padding: 4rem 2rem;
    text-align: center;
}

.gallery h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.gallery-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}
