.no-transition * {
    transition: none !important;
}

/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    transition: background-color 0.3s, color 0.3s;
}

/* Header Styles */
header {
    background-color: #333;
    color: white;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    margin: 0;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-right: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    transition: all 0.3s ease;
    border-radius: 5px;
}

nav ul li a:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    background-color: #444;
}

nav ul li a.active {
    color: #007BFF;
    font-weight: bold;
    border-bottom: 2px solid #007BFF;
}

nav ul li a.active:hover {
    color: #0056b3;
    box-shadow: none; /* Opcional: Elimina el box-shadow en el estado activo */
}


/* Estilo del botón de interruptor */
#theme-toggle {
    width: 50px;
    height: 25px;
    background-color: #ccc;
    border-radius: 25px;
    position: relative;
    cursor: pointer;
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    padding: 0;
    margin-left: 20px;
}

/* Estilo del deslizador */
#theme-toggle .slider {
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    transition: transform 0.3s ease-in-out;
    transform: translateX(2px);
}

/* Estado cuando está en modo oscuro */
body.dark-mode #theme-toggle {
    background-color: #444;
}

body.dark-mode #theme-toggle .slider {
    transform: translateX(26px);
}


/* Main Content Styles */
main {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

section {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    width: 80%;
}

section:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

section h2 {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 1.8em;
}

section h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    width: 50px;
    background: #007BFF;
    border-radius: 2px;
}

section p {
    line-height: 1.6;
    color: #555;
}

/* About Us Section Styles */
.about-us {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.profile {
    text-align: center;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.profile:hover {
    transform: scale(1.05);
}

.circle-img {
    margin: 0 auto;
    width: 150px;
    height: 150px;
    overflow: hidden;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s;
}

.circle-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.profile h4 {
    font-size: 1.2em;
    color: #333;
}

.profile p {
    margin-top: 10px;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
    color: #555;
}

.profile:hover .circle-img {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Footer Styles */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
}

footer a {
    margin: 0 10px;
    color: white;
    text-decoration: none;
}

footer img {
    width: 24px;
    height: 24px;
}

/* Dark Mode Styles */
.dark-mode {
    background-color: #121212;
    color: #e0e0e0;
}

.dark-mode header, .dark-mode footer {
    background-color: #1e1e1e;
}

.dark-mode nav ul li a {
    color: #e0e0e0;
}

.dark-mode nav ul li a:hover {
    background-color: #333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
}

.dark-mode #theme-toggle {
    background-color: #333;
    color: #e0e0e0;
}

.dark-mode section {
    background: #2c2c2c;
    color: #e0e0e0;
}

.dark-mode section:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.dark-mode section h2::after {
    background: #007BFF;
}

.dark-mode section p {
    color: #b0b0b0;
}

.dark-mode .profile h4 {
    color: #e0e0e0;
}

.dark-mode .profile p {
    color: #b0b0b0;
}

.dark-mode .circle-img {
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
}

.dark-mode .profile:hover .circle-img {
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}
