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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #ffffff;
    color: #000000;
    min-height: 100vh;
    line-height: 1.6;
}

.header {
    background: #000000;
    padding: 15px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    border-bottom: 1px solid #333333;
    height: 80px; /* Compact header */
}

.header-left {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: rotate(5deg);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.header-center {
    flex-grow: 1;
    text-align: center;
}

.title {
    font-size: 24px; /* Reduced for better proportion */
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.profile-btn, .logout-btn {
    background: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px; /* Smaller font size */
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    white-space: nowrap;
}

.profile-btn:hover, .logout-btn:hover {
    background: #ffffff;
    color: #000000;
}

.navigation {
    padding: 40px;
    display: flex;
    justify-content: center;
    gap: 40px;
    background: rgba(255, 255, 255, 0.98);
}

.nav-btn {
    background: transparent;
    color: #000000;
    border: 1px solid #000000;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    border-radius: 4px;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #000000;
    transition: left 0.4s ease;
    z-index: -1;
}

.nav-btn:hover::before {
    left: 0;
}

.nav-btn:hover {
    color: #ffffff;
    box-shadow: 0 0 0 2px #FFD700;
}

.carousel-container {
    margin: 40px;
    height: 60vh;
    position: relative;
    border: 1px solid #333333;
    overflow: hidden;
    background: #f8f8f8;
    border-radius: 8px;
}

.carousel {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    display: none;
    width: 100%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-slide.active {
    display: flex;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.image-slide {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.slide-image {
    width: 90%;
    max-width: 600px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.4));
}

.slide1, .slide3, .slide5, .slide7, .slide9, .slide10 {
    background: linear-gradient(135deg, #000000, #333333);
}

.slide2, .slide4, .slide6, .slide8 {
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
}

.slide2 .slide-content, .slide4 .slide-content, .slide6 .slide-content, .slide8 .slide-content {
    color: #000000;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
}

.slide-title {
    font-size: 48px;
    font-weight: 100;
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.slide-subtitle {
    font-size: 18px;
    font-weight: 300;
    opacity: 0.8;
    letter-spacing: 1px;
}

.slide1 .slide-title, .slide5 .slide-title, .slide10 .slide-title {
    border-left: 3px solid #FFD700;
    padding-left: 20px;
}

.slide2 .slide-title, .slide6 .slide-title {
    border-bottom: 1px solid #000000;
    padding-bottom: 10px;
}

.slide3 .slide-title, .slide7 .slide-title {
    border-right: 3px solid #FFD700;
    padding-right: 20px;
}

.slide4 .slide-title, .slide8 .slide-title {
    border-top: 1px solid #000000;
    padding-top: 10px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.indicator {
    width: 30px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.4s ease;
}

.indicator.active {
    background: #FFD700;
    transform: scaleX(1.3);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.3);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    z-index: 10;
    border-radius: 50%;
}

.carousel-nav:hover {
    border-color: #FFD700;
    background: rgba(0, 0, 0, 0.9);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.footer-minimal {
    text-align: center;
    padding: 30px;
    border-top: 1px solid #e0e0e0;
    margin-top: 30px;
}

.footer-minimal p {
    font-size: 12px;
    font-weight: 300;
    color: #999999;
    letter-spacing: 1px;
    text-transform: uppercase;
}

@media (max-width: 1024px) {
    .header {
        height: 70px;
        padding: 15px 30px;
    }

    .logo {
        width: 50px;
        height: 50px;
    }

    .title {
        font-size: 22px;
    }

    .profile-btn, .logout-btn {
        padding: 8px 15px;
        font-size: 13px;
    }

    .navigation {
        gap: 30px;
        padding: 30px;
    }

    .carousel-container {
        height: 50vh;
        margin: 30px;
    }

    .slide-title {
        font-size: 36px;
    }

    .slide-subtitle {
        font-size: 16px;
    }

    .slide-image {
        width: 90%;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: row;
        height: auto;
        padding: 10px 20px;
    }

    .logo {
        width: 45px;
        height: 45px;
    }

    .title {
        font-size: 20px;
        letter-spacing: 1.5px;
    }

    .profile-btn, .logout-btn {
        padding: 8px 12px;
        font-size: 12px;
    }

    .navigation {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .nav-btn {
        padding: 12px 20px;
        font-size: 12px;
    }

    .carousel-container {
        height: 45vh;
        margin: 20px;
    }

    .slide-title {
        font-size: 28px;
    }

    .slide-subtitle {
        font-size: 14px;
    }

    .slide-image {
        width: 90%;
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 10px 15px;
        flex-wrap: wrap; /* Allow wrapping for very small screens */
        justify-content: space-around;
    }

    .logo {
        width: 40px;
        height: 40px;
    }

    .title {
        font-size: 18px;
    }

    .header-right {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .profile-btn, .logout-btn {
        padding: 6px 10px;
        font-size: 11px;
        min-width: 120px; /* Ensure buttons don't shrink too much */
        text-align: center;
    }

    .navigation {
        padding: 15px;
    }

    .carousel-container {
        height: 40vh;
        margin: 15px;
    }

    .slide-title {
        font-size: 24px;
    }

    .slide-subtitle {
        font-size: 12px;
    }

    .slide-image {
        width: 90%;
        max-width: 320px;
    }

    .carousel-nav {
        width: 45px;
        height: 45px;
        font-size: 14px;
    }
}

@media (max-width: 320px) {
    .header {
        padding: 8px 10px;
    }

    .logo {
        width: 35px;
        height: 35px;
    }

    .title {
        font-size: 16px;
    }

    .profile-btn, .logout-btn {
        padding: 5px 8px;
        font-size: 10px;
        min-width: 100px;
    }

    .navigation {
        padding: 10px;
        gap: 15px;
    }

    .nav-btn {
        padding: 10px 15px;
        font-size: 11px;
    }

    .carousel-container {
        height: 35vh;
        margin: 10px;
    }

    .slide-title {
        font-size: 20px;
    }

    .slide-subtitle {
        font-size: 11px;
    }

    .slide-image {
        width: 90%;
        max-width: 280px;
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 12px;
    }
}

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

.navigation, .carousel-container {
    animation: fadeIn 0.8s ease-out;
}
