* {
            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: 30px 20px;
        }


        /* Main Content */
        .main-content {
            margin-left: 200px;
            min-height: 100vh;
        }
        /* Si tienes carrusel, deberías tener algo como esto: */
.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;
}

.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;      /* Tamaño de letra del carrusel */
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.3rem;      /* Tamaño de letra del texto */
    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);
}
/* Imágenes del carrusel */
.slide-1 {
    background-image: url('dientes.jpg');
}
.slide-2 {
    background-image: url('imagen2.jpg');
}
.slide-3 {
    background-image: url('imagen3.jpg');
}
        /* Sidebar Navigation */
      .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;
}

/* Responsive para menú lateral */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .main-content, .footer {
        margin-left: 0;
    }

    .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;
    }
}
        

        .intro-section {
            background: white;
            border-radius: 20px;
            padding: 2rem;
            margin-bottom: 2rem;
            box-shadow: 0 10px 30px rgba(2, 119, 189, 0.1);
            animation: fadeInUp 1s ease-out 0.3s both;
        }

        .intro-section h2 {
            color: #0277bd;
            font-size: 2rem;
            margin-bottom: 1rem;
            text-align: center;
        }

        .intro-section p {
            font-size: 1.1rem;
            text-align: center;
            color: #555;
            max-width: 800px;
            margin: 0 auto;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
            margin-bottom: 3rem;
        }

        .service-card {
            background: white;
            border-radius: 15px;
            padding: 2rem;
            box-shadow: 0 8px 25px rgba(2, 119, 189, 0.1);
            transition: all 0.3s ease;
            animation: fadeInUp 1s ease-out 0.6s both;
            border-left: 5px solid #29b6f6;
        }

        .service-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(2, 119, 189, 0.2);
        }

        .service-card h3 {
            color: #0277bd;
            font-size: 1.5rem;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .service-card p {
            color: #666;
            margin-bottom: 1rem;
        }

        .service-card ul {
            list-style: none;
            padding-left: 0;
        }

        .service-card li {
            padding: 0.5rem 0;
            position: relative;
            padding-left: 1.5rem;
            color: #666;
        }

        .service-card li:before {
            content: "✓";
            position: absolute;
            left: 0;
            color: #4fc3f7;
            font-weight: bold;
        }

        .process-section {
            background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
            border-radius: 20px;
            padding: 2.5rem;
            margin-bottom: 2rem;
            box-shadow: 0 10px 30px rgba(2, 119, 189, 0.1);
            animation: fadeInUp 1s ease-out 0.9s both;
        }

        .process-section h2 {
            color: #0277bd;
            text-align: center;
            font-size: 2rem;
            margin-bottom: 2rem;
        }

        .process-steps {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            text-align: center;
        }

        .step {
            background: white;
            padding: 1.5rem;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(2, 119, 189, 0.08);
            transition: transform 0.3s ease;
        }

        .step:hover {
            transform: translateY(-5px);
        }

        .step .number {
            background: linear-gradient(135deg, #4fc3f7 0%, #29b6f6 100%);
            color: white;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            font-weight: bold;
            margin: 0 auto 1rem;
        }

        .step h3 {
            color: #0277bd;
            margin-bottom: 0.5rem;
            font-size: 1.2rem;
        }

        .step p {
            color: #666;
            font-size: 0.9rem;
        }

        .appointment-section {
            background: linear-gradient(135deg, #0277bd 0%, #01579b 100%);
            color: white;
            border-radius: 20px;
            padding: 2.5rem;
            text-align: center;
            margin-bottom: 2rem;
            animation: fadeInUp 1s ease-out 1.2s both;
        }

        .appointment-section h2 {
            font-size: 2rem;
            margin-bottom: 1rem;
        }

        .appointment-form {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1rem;
            max-width: 800px;
            margin: 2rem auto 0;
        }

        .form-group {
            text-align: left;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            color: #e1f5fe;
        }

        .form-group input, .form-group select, .form-group textarea {
            width: 100%;
            padding: 0.8rem;
            border: none;
            border-radius: 8px;
            font-size: 1rem;
            background: rgba(255, 255, 255, 0.9);
            color: #333;
        }

        .form-group textarea {
            grid-column: 1 / -1;
            resize: vertical;
            min-height: 100px;
        }

        .btn-primary {
            background: linear-gradient(135deg, #4fc3f7 0%, #29b6f6 100%);
            color: white;
            padding: 1rem 2rem;
            border: none;
            border-radius: 25px;
            font-size: 1.1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            grid-column: 1 / -1;
            justify-self: center;
            margin-top: 1rem;
            box-shadow: 0 5px 15px rgba(79, 195, 247, 0.3);
        }

        .btn-primary:hover {
            background: linear-gradient(135deg, #29b6f6 0%, #0277bd 100%);
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(79, 195, 247, 0.4);
        }

        .contact-info {
            background: white;
            border-radius: 20px;
            padding: 2rem;
            margin-bottom: 2rem;
            box-shadow: 0 10px 30px rgba(2, 119, 189, 0.1);
            animation: fadeInUp 1s ease-out 1.5s both;
        }

        .contact-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            text-align: center;
        }

        .contact-item {
            padding: 1.5rem;
        }

        .contact-item .icon {
            font-size: 2rem;
            color: #29b6f6;
            margin-bottom: 1rem;
        }

        .contact-item h3 {
            color: #0277bd;
            margin-bottom: 0.5rem;
        }

        footer {
            background: linear-gradient(135deg, #01579b 0%, #0277bd 100%);
            color: white;
            text-align: center;
            padding: 1.5rem 0;
            margin-top: 2rem;
        }

        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @media (max-width: 768px) {
            .header-content h1 {
                font-size: 2rem;
            }
            
            .services-grid {
                grid-template-columns: 1fr;
            }
            
            .appointment-form {
                grid-template-columns: 1fr;
            }
        }

        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            animation: fadeIn 0.3s ease;
        }

        .modal-content {
            background-color: white;
            margin: 15% auto;
            padding: 2rem;
            border-radius: 15px;
            width: 90%;
            max-width: 500px;
            text-align: center;
            animation: slideIn 0.3s ease;
        }

        .close {
            color: #aaa;
            float: right;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
        }

        .close:hover {
            color: #0277bd;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes slideIn {
            from { transform: translateY(-50px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }
        .nav-links {
            display: flex;
            gap: 2rem;
            align-items: center;
        }

        .nav-links a {
            color: #003366;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease;
        }

        .nav-links a:hover {
            color: #00AEEF;
        }