      * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Arial', sans-serif;
            line-height: 1.6;
            color: #333;
            background-color: #f8f9fa;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        header {
            background: linear-gradient(135deg, #0277bd 0%, #01579b 100%);
            color: white;
            padding: 2rem 0;
            box-shadow: 0 4px 20px rgba(2, 119, 189, 0.3);
        }

        .header-content {
            text-align: center;
            animation: fadeInDown 1s ease-out;
        }

        .header-content h1 {
            font-size: 2.5rem;
            margin-bottom: 0.5rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }

        /* Barra lateral de navegación */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(145deg, #2c5aa0, #1e3a5f);
    padding: 2rem 1rem;
    z-index: 1000;
    box-shadow: 2px 0 15px rgba(0,0,0,0.1);
}

.logo {
    text-align: center;
    margin-bottom: 2rem;
    color: white;
}

.logo h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #64b5f6, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.nav-menu {
    list-style: none;
}

.nav-menu li {
    margin-bottom: 1rem;
}

.nav-menu a {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

.nav-menu a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(100,181,246,0.3);
}

.nav-menu .icon {
    margin-right: 1rem;
    font-size: 1.2rem;
}

 /* Main Content */
 .main-content {
            margin-left: 280px;
            min-height: 100vh;
        }

 /* Hero Section with Carousel */
     .hero-section {
    position: relative;
    height: 70vh;
    overflow: hidden;
    border-radius: 0 0 30px 30px;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-slide.active {
    opacity: 1;
}

.slide-1 {
    background-image: url(dientes.jpg);
}

.slide-2 {
    background-image: url(imagen2.jpg);
}

.slide-3 {
    background-image: url(imagen3.jpg);
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44,90,160,0.8), rgba(30,58,95,0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    color: white;
    max-width: 600px;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.carousel-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    background: white;
    transform: scale(1.2);
}

        /* Content Sections */
        .content-section {
            padding: 4rem 2rem;
            max-width: 700px;
            margin: 0 auto;
            
        }

        .section-title {
            font-size: 2.5rem;
            text-align: center;
            margin-bottom: 3rem;
            color: #2c5aa0;
            position: relative;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(45deg, #64b5f6, #42a5f5);
            border-radius: 2px;
        }

        /* Image Placeholders Section */
           .image-gallery {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin: 3rem 0;
        }

        .image-placeholder {
            height: 250px;
            background: linear-gradient(135deg, #e3f2fd, #bbdefb);
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #2c5aa0;
            font-weight: bold;
            font-size: 1.1rem;
            border: 3px dashed #64b5f6;
            transition: all 0.3s ease;
        }

        .image-placeholder:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(100,181,246,0.3);
        }


        /* INSTRUCCIONES: Para cambiar estas imágenes, reemplaza el background-image */
        .bg-image-1 {
            background-image: url(dientes.jpg);
            background-size: cover;
            background-position: center;
        }

        .bg-image-2 {
            background-image: url(imagen2.jpg);
            background-size: cover;
            background-position: center;
        }

        .bg-image-3 {
            background-image: url(imagen3.jpg);
            background-size: cover;
            background-position: center;
        }

        /* Info Cards */
        .info-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            margin: 3rem 0;
        }

        .info-card {
            background: white;
            padding: 2rem;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            border-left: 5px solid #64b5f6;
        }

        .info-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        }

        .info-card h3 {
            color: #2c5aa0;
            margin-bottom: 1rem;
            font-size: 1.5rem;
        }

        .info-card p {
            color: #666;
            line-height: 1.6;
        }

        /* Footer */
        .footer {

            background: linear-gradient(145deg, #2c5aa0, #1e3a5f);
            color: white;
            padding: 3rem 2rem 2rem;
            margin-left: 280px;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }

        .footer-section h3 {
            margin-bottom: 1rem;
            color: #64b5f6;
        }

        .footer-section p, .footer-section a {
            color: rgba(255,255,255,0.8);
            text-decoration: none;
            margin-bottom: 0.5rem;
            display: block;
        }

        .footer-section a:hover {
            color: #64b5f6;
        }

        .social-links {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
        }

        .social-links a {
            display: inline-block;
            width: 40px;
            height: 40px;
            background: rgba(255,255,255,0.1);
            border-radius: 50%;
            text-align: center;
            line-height: 40px;
            transition: all 0.3s ease;
        }

        .social-links a:hover {
            background: #64b5f6;
            transform: translateY(-2px);
        }

        .footer-bottom {
            text-align: center;
            margin-top: 2rem;
            padding-top: 2rem;
            border-top: 1px solid rgba(255,255,255,0.1);
            color: rgba(255,255,255,0.6);
        }

        /* Responsive Design */
      @media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .main-content, .footer {
        margin-left: 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .menu-toggle {
        position: fixed;
        top: 1rem;
        left: 1rem;
        z-index: 1001;
        background: #2c5aa0;
        color: white;
        border: none;
        padding: 0.5rem;
        border-radius: 5px;
        cursor: pointer;
    }
}
