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

body {
    font-family: Arial, sans-serif;
    background: #fafafa;
}

.logo {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
}

.logo span {
  color: #007bff;
}

#header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: top 0.4s ease;
}

#header.hide {
    top: -140px;
}

.top-bar {
    background: #111;
    color: #fff;
    text-align: center;
    padding: 6px;
    font-size: 14px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 60px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links li {
    cursor: pointer;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links li:hover {
    color: #007bff;
}

.cta-btn {
    padding: 10px 22px;
    border: none;
    background: black;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.cta-btn:hover {
    background: #333;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 60px;
    background: linear-gradient(135deg, #f5f5f5, #e6e6e6);
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 40px;
}

.hero-text {
    max-width: 50%;
}

.hero-text h1 {
    font-size: 52px;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 18px;
    color: #555;
    margin-bottom: 20px;
}

.hero-image img {
    width: 90%;
    border-radius: 10px;
}

.carousel-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
}

.carousel-section {
    padding: 60px 40px;
}

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.carousel {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.card {
    min-width: 280px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.card:hover img {
    transform: scale(1.15);
}

.btn {
    position: absolute;
    background: white;
    border: none;
    font-size: 26px;
    cursor: pointer;
    padding: 12px;
    z-index: 10;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

.btn:hover {
    background: #000;
    color: #fff;
}

.prev {
    left: -10px;
}

.next {
    right: -10px;
}

@media (max-width: 768px) {

    .navbar {
        padding: 15px 20px;
    }

    .nav-links {
        display: none;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: 34px;
    }

    .carousel {
        gap: 15px;
    }

    .card {
        min-width: 220px;
    }
}