/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #e8ecf1;
    color: #2c3e50;
    line-height: 1.6;
}

/* Container Layout */
.container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Navigation */
.sidebar {
    width: 250px;
    background: linear-gradient(180deg, #4a5f7f 0%, #3d4e63 100%);
    color: #e8ecf1;
    padding: 2rem 0;
    position: fixed;
    height: 100vh;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.logo {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.logo h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #d4dce5;
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    display: block;
    padding: 1rem 2rem;
    color: #c5d0dd;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-left-color: #7fa4c7;
    color: #e8ecf1;
}

.nav-links a.active {
    background-color: rgba(255, 255, 255, 0.15);
    border-left-color: #7fa4c7;
    color: #ffffff;
    font-weight: 500;
}

/* Main Content Area */
.main-content {
    margin-left: 250px;
    padding: 3rem 4rem;
    flex: 1;
    background-color: #f5f7fa;
}

.section {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.section.active {
    display: block;
}

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

h1 {
    font-size: 2.5rem;
    color: #3d4e63;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.intro-text {
    font-size: 1.1rem;
    color: #5a6c7d;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    max-width: 800px;
}

/* Carousel Styles */
.carousel-container {
    margin-top: 3rem;
    max-width: 900px;
}

.carousel-container h2 {
    font-size: 2rem;
    color: #3d4e63;
    margin-bottom: 2rem;
    font-weight: 500;
}

.carousel {
    position: relative;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(74, 95, 127, 0.15);
    overflow: hidden;
}

.carousel-track {
    position: relative;
    width: 100%;
    min-height: 400px;
}

.carousel-slide {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: slideIn 0.5s ease-in;
}

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.placeholder-image {
    width: 100%;
    max-width: 700px;
    height: 350px;
    background: linear-gradient(135deg, #6b8cae 0%, #8ba4bf 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #ffffff;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.slide-caption {
    font-size: 1.2rem;
    color: #4a5f7f;
    margin-top: 1rem;
    font-weight: 500;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(74, 95, 127, 0.7);
    color: white;
    border: none;
    padding: 1rem 1.2rem;
    cursor: pointer;
    font-size: 1.5rem;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background-color: rgba(74, 95, 127, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 1rem;
}

.carousel-btn.next {
    right: 1rem;
}

.carousel-dots {
    text-align: center;
    margin-top: 1.5rem;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 6px;
    background-color: #c5d0dd;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background-color: #8ba4bf;
}

.dot.active {
    background-color: #4a5f7f;
    transform: scale(1.2);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }

    .main-content {
        margin-left: 0;
        padding: 2rem 1.5rem;
    }

    .nav-links {
        display: flex;
        justify-content: space-around;
    }

    .nav-links li {
        flex: 1;
    }

    .nav-links a {
        text-align: center;
        padding: 1rem 0.5rem;
        border-left: none;
        border-bottom: 4px solid transparent;
    }

    .nav-links a:hover,
    .nav-links a.active {
        border-left: none;
        border-bottom-color: #7fa4c7;
    }

    h1 {
        font-size: 2rem;
    }

    .placeholder-image {
        height: 250px;
    }
}
