/* style-final.css - Estructura Original con Dinamismo Total COMPLETAMENTE RESPONSIVE */

:root {
    --primary-color: #4361ee;
    --primary-dark: #3a56d4;
    --secondary-color: #7209b7;
    --accent-color: #f72585;
    --success-color: #4cc9f0;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --gray-light: #e9ecef;
    --card-bg: #ffffff;
    --shadow-color: rgba(0, 0, 0, 0.1);
    
    /* Tipografía moderna */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 2px 10px var(--shadow-color);
    --shadow-md: 0 5px 20px var(--shadow-color);
    --shadow-lg: 0 10px 40px var(--shadow-color);
    --shadow-xl: 0 20px 60px rgba(67, 97, 238, 0.15);
    
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-accent: linear-gradient(135deg, var(--accent-color), #ff9e00);
}

/* Tema oscuro */
.dark-theme {
    --dark-color: #f8f9fa;
    --light-color: #121212;
    --card-bg: #1e1e1e;
    --gray-color: #b0b0b0;
    --gray-light: #2d2d2d;
    --shadow-color: rgba(0, 0, 0, 0.3);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

section {
    padding: 80px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navegación Dinámica */
.navbar {
    background-color: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(15px);
    padding: 20px 0;
    transition: var(--transition);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-theme .navbar {
    background-color: rgba(30, 30, 30, 0.95);
}

.navbar.scrolled {
    padding: 15px 0;
    box-shadow: var(--shadow-lg);
    background-color: rgba(26, 26, 46, 0.98);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo i {
    color: var(--accent-color);
    font-size: 1.5rem;
}

.brand-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: white;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    padding: 8px 16px !important;
    margin: 0 5px;
    border-radius: 5px;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 3px;
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover,
.nav-link.active {
    color: white !important;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Navegación en modo oscuro */
.dark-theme .nav-link {
    color: #f0f0f0 !important;
}

.dark-theme .nav-link:hover,
.dark-theme .nav-link.active {
    color: white !important;
    background-color: rgba(255, 255, 255, 0.15);
}

.dark-theme .brand-text {
    color: white !important;
}

/* Estilos específicos para "Contactar" */
.nav-contact {
    position: relative;
    z-index: 2;
}

.nav-contact {
    color: rgba(255, 255, 255, 0.9) !important;
}

.nav-contact:hover {
    color: white !important;
    background-color: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.nav-contact.active {
    color: white !important;
    background: var(--gradient-accent) !important;
    box-shadow: 0 4px 15px rgba(247, 37, 133, 0.4);
}

.nav-contact::after {
    background: var(--accent-color) !important;
    height: 3px;
    bottom: -3px;
}

.dark-theme .nav-contact {
    color: #ffffff !important;
}

.dark-theme .nav-contact:hover {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.25) !important;
}

.dark-theme .nav-contact.active {
    background: var(--gradient-accent) !important;
    color: #ffffff !important;
}

.btn-theme-toggle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
}

.btn-theme-toggle:hover {
    transform: rotate(30deg) scale(1.1);
    box-shadow: var(--shadow-lg);
}

/* Hero Section Dinámica */
.inicio-section {
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    color: white;
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.greeting {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Badge de disponibilidad en el hero */
.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(45, 198, 83, 0.15);
    border: 1px solid rgba(45, 198, 83, 0.4);
    color: #2dc653;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
    width: fit-content;
}

.availability-dot {
    width: 8px;
    height: 8px;
    background: #2dc653;
    border-radius: 50%;
    display: inline-block;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(45, 198, 83, 0.5); }
    50% { box-shadow: 0 0 0 5px rgba(45, 198, 83, 0); }
}

.wave {
    display: inline-block;
    animation: wave 2s infinite;
    transform-origin: 70% 70%;
}

@keyframes wave {
    0% { transform: rotate(0deg); }
    10% { transform: rotate(14deg); }
    20% { transform: rotate(-8deg); }
    30% { transform: rotate(14deg); }
    40% { transform: rotate(-4deg); }
    50% { transform: rotate(10deg); }
    60% { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
}

.name-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 10px;
    background: linear-gradient(to right, #fff, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight {
    color: var(--accent-color);
}

.role {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--success-color);
    height: 60px;
    overflow: hidden;
}

.dynamic-text {
    display: flex;
    flex-direction: column;
    animation: slide 9s infinite;
}

@keyframes slide {
    0%, 30% { transform: translateY(0); }
    33%, 63% { transform: translateY(-60px); }
    66%, 96% { transform: translateY(-120px); }
    100% { transform: translateY(0); }
}

.text-item {
    height: 60px;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.text-item.active {
    opacity: 1;
    transform: translateY(0);
}

.intro-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    max-width: 600px;
}

.profile-container {
    position: relative;
    display: inline-block;
}

.profile-float {
    position: relative;
    display: inline-block;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.profile-img {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    object-fit: cover;
    border: 8px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 2;
}

.profile-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.3;
    filter: blur(20px);
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.5; transform: translate(-50%, -50%) scale(1.05); }
}

.profile-tech-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
    z-index: 3;
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.profile-tech-stack {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.profile-tech-stack span {
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    cursor: default;
}

.profile-tech-stack span:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-hover-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
    z-index: -1;
}

.btn-hover-effect:hover::before {
    left: 100%;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    border-radius: inherit;
    opacity: 0;
    filter: blur(20px);
    z-index: -1;
    transition: opacity 0.3s ease;
}

.btn-hover-effect:hover .btn-glow {
    opacity: 0.6;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-light {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Botón CV - Descargar */
.btn-outline-warning {
    background-color: transparent;
    border: 2px solid #ffd166;
    color: #ffd166;
}

.btn-outline-warning:hover {
    background-color: #ffd166;
    color: #1a1a2e;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.dark-theme .btn-outline-warning {
    border-color: #ffd166;
    color: #ffd166;
}

.dark-theme .btn-outline-warning:hover {
    background-color: #ffd166;
    color: #1a1a2e;
}

.dark-theme .btn-outline-light:hover {
    background-color: white;
    color: #1a1a2e;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-success {
    background-color: var(--success-color);
    color: white;
}

.btn-success:hover {
    background-color: #3ab8d8;
    color: white;
    transform: translateY(-3px);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
    position: relative;
}

.social-icon:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
}

.social-icon[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.social-icon:hover[data-tooltip]::after {
    opacity: 1;
    visibility: visible;
    bottom: -35px;
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.wheel {
    width: 4px;
    height: 10px;
    background-color: white;
    border-radius: 2px;
    margin-top: 10px;
    animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(20px); opacity: 0; }
}

.arrow {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Secciones generales */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray-color);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* Sobre Mí */
.sobre-mi-section {
    background-color: var(--light-color);
}

.lead {
    font-size: 1.2rem;
    color: var(--dark-color);
    line-height: 1.8;
}

.personal-info-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    margin-top: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-light);
}

.personal-info-card h3 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    gap: 15px;
    padding: 15px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background-color: rgba(67, 97, 238, 0.05);
}

.info-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
    width: 24px;
    margin-top: 3px;
}

.info-item strong {
    display: block;
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 5px;
    font-family: var(--font-heading);
}

.info-item p {
    margin: 0;
    color: var(--gray-color);
}

.email-link, .phone-link {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

.email-link:hover, .phone-link:hover {
    color: var(--accent-color);
}

.animated-stats {
    margin-top: 45px;
    display: flex;
    justify-content: center; /* Mantiene la agrupación centrada */
    flex-wrap: wrap;
    gap: 400px;               /* Aumenté el espacio entre números para que ocupe más ancho */
    padding-left: 150px;     /* <--- ESTA es la clave: empuja todo el bloque a la derecha */
}

.stat-item {
    text-align: center;
    min-width: 140px;        /* Ancho mínimo para consistencia */
}

.stat-number {
    font-size: 2.8rem;       /* Un pelín más grande para destacar */
    font-weight: 800;
    color: var(--primary-color); /* O el color rosa específico: #F72585 */
    margin-bottom: 5px;
    font-family: var(--font-heading);
    line-height: 1;
}

.stat-label {
    color: var(--gray-color); /* O blanco/gris claro según tu tema */
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;     /* Más espacio entre letras queda más elegante */
    font-weight: 500;
}

/* Educación */
.educacion-section {
    background-color: var(--card-bg);
}

.education-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-light);
    transition: var(--transition);
}

.hover-grow:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.education-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 20px;
}

.education-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.education-card h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.5rem;
}

.degree {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.date {
    color: var(--gray-color);
    font-style: italic;
    font-size: 0.95rem;
}

.education-actions {
    margin-top: 20px;
}

.btn-certificate {
    padding: 10px 25px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.btn-certificate:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.courses-list {
    margin-top: 20px;
}

.course-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid var(--gray-light);
    gap: 15px;
}

.course-item:last-child {
    border-bottom: none;
}

.course-icon {
    width: 40px;
    height: 40px;
    background: rgba(67, 97, 238, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.course-details {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-name {
    font-weight: 600;
    color: var(--dark-color);
}

.course-date {
    color: var(--gray-color);
    font-size: 0.9rem;
}

/* Experiencia */
.experiencia-section {
    background-color: var(--light-color);
}

.experience-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
    border-left: 5px solid var(--accent-color);
    transition: var(--transition);
}

.experience-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 20px;
}

.experience-icon {
    width: 60px;
    height: 60px;
    background: rgba(247, 37, 133, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.5rem;
}

.experience-card h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.5rem;
}

.position {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.exp-list {
    list-style: none;
    padding-left: 0;
}

.exp-list li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
}

.exp-list li i {
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--success-color);
    font-size: 0.9rem;
}

/* Habilidades */
.skills-section {
    background-color: var(--card-bg);
}

.skill-category {
    margin-bottom: 40px;
}

.skill-category h4 {
    color: var(--dark-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
}

.skill-item {
    margin-bottom: 25px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
}

.skill-bar {
    height: 10px;
    background-color: var(--gray-light);
    border-radius: 5px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 5px;
    width: 0%;
    transition: width 1.5s ease-in-out;
}

.tools-section h4 {
    color: var(--dark-color);
    font-weight: 600;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background-color: rgba(67, 97, 238, 0.05);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.tool-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

/* AJUSTES PARA LOGOS PERSONALIZADOS (C++ y Canva) */
.custom-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: brightness(1) contrast(1);
}

.tool-item .custom-logo {
    filter: brightness(0.9) contrast(1.1);
}

.dark-theme .tool-item .custom-logo {
    filter: brightness(1.1) contrast(1.1);
}

.tool-item:hover .custom-logo {
    transform: scale(1.1);
    filter: brightness(1.2) contrast(1.2);
}

.custom-logo[alt*="C++"] {
    width: 35px;
    height: 35px;
}

.custom-logo[alt*="Canva"] {
    width: 45px;
    height: 45px;
}

/* Portafolio */
.portfolio-section {
    background-color: var(--light-color);
}

.project-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--gray-light);
}

.project-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--gray-light);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: var(--transition);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(67, 97, 238, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-link {
    width: 60px;
    height: 60px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: var(--transition);
}

.project-link:hover {
    transform: scale(1.1);
}

.project-content {
    padding: 25px;
}

.project-content h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.project-content p {
    color: var(--gray-color);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.project-links {
    display: flex;
    gap: 10px;
}

/* Contacto */
.contact-section {
    background-color: var(--card-bg);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--gray-light);
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--card-bg);
    color: var(--dark-color);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.contact-info {
    background-color: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact-item {
    text-align: center;
    padding: 20px;
}

.contact-item i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.contact-item h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.contact-item p {
    color: var(--gray-color);
    margin: 0;
}

.social-links {
    margin-top: 30px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 1.2rem;
    margin: 0 10px;
    transition: var(--transition);
    position: relative;
}

.social-link:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
}

.social-link[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.social-link:hover[data-tooltip]::after {
    opacity: 1;
    visibility: visible;
    bottom: -35px;
}

/* Footer */
footer {
    background: var(--gradient-primary);
    color: white;
    padding: 40px 0;
    text-align: center;
}

footer p {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1rem;
}

.footer-note {
    margin-top: 10px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-note i {
    color: #ff6b6b;
    margin: 0 5px;
}

/* Footer social links */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
    text-decoration: none;
}

.footer-social-link:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
    transform: translateY(-3px);
}

/* Footer CTA */
.footer-cta {
    margin-bottom: 12px !important;
    font-size: 1rem;
    opacity: 0.9;
}

.footer-cta-link {
    color: #ffd166;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.footer-cta-link:hover {
    color: white;
    text-decoration: underline;
}

/* ============================================
   TECH CHIPS Y ROL EN CARDS DE PROYECTOS
   ============================================ */

/* Chips de tecnología */
.project-tech-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.tech-chip {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(67, 97, 238, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(67, 97, 238, 0.25);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: var(--transition);
}

.tech-chip:hover {
    background: var(--primary-color);
    color: white;
}

.dark-theme .tech-chip {
    background: rgba(67, 97, 238, 0.2);
    color: #a0b4ff;
    border-color: rgba(67, 97, 238, 0.35);
}

.dark-theme .tech-chip:hover {
    background: var(--primary-color);
    color: white;
}

/* Rol del proyecto */
.project-role {
    font-size: 0.8rem;
    color: var(--gray-color);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.project-role i {
    color: var(--accent-color);
}

.dark-theme .project-role {
    color: #a0a0a0;
}

/* Badges de estado del proyecto */
.project-status {
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.3px;
}

.project-status--live {
    color: #2dc653;
}

.project-status--demo {
    color: #f4a261;
}

.dark-theme .project-status--live {
    color: #4ade80;
}

.dark-theme .project-status--demo {
    color: #fbbf5a;
}

/* Modales de certificados */
.certificate-modal .modal-content {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    border: none;
    overflow: hidden;
}

.certificate-display {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    border: 1px solid #eee;
}

.dark-theme .certificate-display {
    background: #2d2d2d;
    border-color: #444;
}

.certificate-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: var(--gradient-primary);
}

.certificate-content {
    text-align: center;
}

.certificate-content h4 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.certificate-content h5 {
    color: var(--gray-color);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.certificate-body {
    padding: 30px;
    border-top: 2px solid var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
    margin: 20px 0;
}

.certificate-body h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.certificate-body h4 {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.certificate-image {
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    max-height: 600px;
    width: auto;
    margin: 0 auto;
    display: block;
}

/* ============================================
   ESTILOS PARA MODO OSCURO - MEJOR LEGIBILIDAD
   ============================================ */

/* Títulos principales y subtítulos */
.dark-theme .section-title,
.dark-theme .personal-info-card h3,
.dark-theme .education-card h3,
.dark-theme .experience-card h3,
.dark-theme .project-content h3,
.dark-theme .contact-item h4,
.dark-theme .info-item strong,
.dark-theme .skill-category h4,
.dark-theme .tools-section h4,
.dark-theme .skill-info span:first-child,
.dark-theme .modal-title,
.dark-theme .certificate-content h4,
.dark-theme .certificate-body h3,
.dark-theme .certificate-body h4,
.dark-theme .course-name,
.dark-theme .tool-item span {
    color: #f0f0f0 !important;
}

/* Texto normal */
.dark-theme .info-item p,
.dark-theme .exp-list li,
.dark-theme .project-content p,
.dark-theme .contact-item p,
.dark-theme .education-card p:not(.degree):not(.date),
.dark-theme .experience-card p:not(.position):not(.date),
.dark-theme .lead,
.dark-theme .stat-label,
.dark-theme .intro-text,
.dark-theme .form-group input,
.dark-theme .form-group textarea,
.dark-theme .modal-body p,
.dark-theme .certificate-body p,
.dark-theme .course-details {
    color: #d0d0d0 !important;
}

/* Textos especiales (accent) */
.dark-theme .degree,
.dark-theme .position,
.dark-theme .highlight,
.dark-theme .greeting,
.dark-theme .stat-number {
    color: var(--accent-color) !important;
}

/* Textos secundarios/fechas */
.dark-theme .date,
.dark-theme .course-date,
.dark-theme .skill-info span:last-child {
    color: #a0a0a0 !important;
}

/* Fondo de cards en modo oscuro */
.dark-theme .personal-info-card,
.dark-theme .education-card,
.dark-theme .experience-card,
.dark-theme .project-card,
.dark-theme .contact-info,
.dark-theme .certificate-display,
.dark-theme .modal-content,
.dark-theme .tool-item,
.dark-theme .course-item {
    background-color: #2a2a2a !important;
    border-color: #444 !important;
}

/* Bordes y sombras en modo oscuro */
.dark-theme .project-card,
.dark-theme .personal-info-card,
.dark-theme .education-card,
.dark-theme .experience-card {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3) !important;
}

/* Inputs y textareas en modo oscuro */
.dark-theme .form-group input,
.dark-theme .form-group textarea {
    background-color: #333 !important;
    border-color: #555 !important;
    color: #f0f0f0 !important;
}

.dark-theme .form-group input:focus,
.dark-theme .form-group textarea:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2) !important;
}

/* List items en modo oscuro */
.dark-theme .course-item,
.dark-theme .info-item:hover {
    background-color: #333 !important;
}

/* Iconos en modo oscuro */
.dark-theme .tool-item i,
.dark-theme .course-icon i,
.dark-theme .education-icon i,
.dark-theme .experience-icon i,
.dark-theme .tool-logo {
    color: var(--accent-color) !important;
    filter: brightness(1.2);
}

/* Estilo específico para el botón Ver Más */
#ver-mas-portfolio {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

#ver-mas-portfolio:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(67, 97, 238, 0.3);
}

/* Ajustes específicos para el botón en modo oscuro */
.dark-theme #ver-mas-portfolio {
    background: linear-gradient(135deg, #5a67d8, #805ad5) !important;
}

/* Correcciones para elementos específicos que podrían no estar cambiando */
.dark-theme .education-header h3,
.dark-theme .experience-header h3,
.dark-theme .certificate-content h5 {
    color: #e0e0e0 !important;
}

.dark-theme .courses-list .course-item:not(:last-child) {
    border-bottom-color: #444 !important;
}

/* Asegurar que los tooltips también sean legibles */
.dark-theme .social-icon[data-tooltip]::after,
.dark-theme .social-link[data-tooltip]::after {
    background: rgba(30, 30, 30, 0.95) !important;
    color: #f0f0f0 !important;
    border: 1px solid #555;
}

/* Texto específico de las herramientas */
.dark-theme .tool-item span {
    color: #ffffff !important;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Fondo específico para herramientas en modo oscuro */
.dark-theme .tool-item {
    background: linear-gradient(145deg, #2d2d2d, #333333) !important;
    border: 1px solid #444 !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2) !important;
}

.dark-theme .tool-item:hover {
    background: linear-gradient(145deg, #3a3a3a, #404040) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3) !important;
}

/* ============================================
   CORRECCIÓN DE ALTURA Y ALINEACIÓN DE PROYECTOS
   ============================================ */

/* Hacer que todas las cards de proyectos tengan la misma altura */
.project-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-content p {
    flex: 1;
    min-height: 72px;
    margin-bottom: 20px !important;
}

.project-links {
    margin-top: auto;
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* Asegurar que los botones tengan el mismo tamaño */
.project-links .btn {
    flex: 1;
    min-width: 100px;
    text-align: center;
    padding: 8px 12px !important;
    font-size: 0.9rem !important;
    white-space: nowrap;
}

/* Para pantallas pequeñas, los botones se apilan */
@media (max-width: 768px) {
    .project-links {
        flex-direction: column;
    }
    
    .project-content p {
        min-height: 60px;
    }
    
    .project-links .btn {
        width: 100%;
    }
}

/* Correcciones específicas para modo oscuro */
.dark-theme .project-content p {
    color: #d0d0d0 !important;
    min-height: 72px;
}

.dark-theme .project-links .btn-primary {
    background: linear-gradient(135deg, #4361ee, #3a56d4) !important;
    border: none !important;
}

.dark-theme .project-links .btn-success {
    background: linear-gradient(135deg, #4cc9f0, #3ab8d8) !important;
    border: none !important;
}

/* Asegurar que todos los botones tengan el mismo estilo en hover */
.project-links .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.dark-theme .project-links .btn:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

/* CSS - style-final.css */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
    color: white;
}


/* ============================================
   MEJORAS DE RESPONSIVE PARA MÓVIL
   ============================================ */

/* Teléfonos muy pequeños (hasta 375px) */
@media (max-width: 375px) {
    .name-title {
        font-size: 2rem;
    }
    
    .role {
        font-size: 1.3rem;
        height: 45px;
    }
    
    .text-item {
        height: 45px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .brand-text {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .profile-img {
        width: 180px;
        height: 180px;
    }
    
    .profile-glow {
        width: 210px;
        height: 210px;
    }
    
    .profile-tech-badge {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .intro-text {
        font-size: 1rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
}

/* Teléfonos pequeños (376px - 576px) */
@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .name-title {
        font-size: 2.2rem;
    }
    
    .role {
        font-size: 1.5rem;
        height: 40px;
    }
    
    .text-item {
        height: 40px;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .section-title::after {
        bottom: -10px;
    }
    
    .brand-text {
        font-size: 1.2rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
        margin-bottom: 15px;
        text-align: center;
    }
    
    .profile-img {
        width: 200px;
        height: 200px;
    }
    
    .profile-glow {
        width: 240px;
        height: 240px;
    }
    
    .personal-info-card,
    .education-card,
    .experience-card,
    .contact-info {
        padding: 25px 20px;
    }
    
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .tool-item {
        padding: 15px;
    }
    
    .tool-item i {
        font-size: 2rem;
    }
    
    .custom-logo {
        width: 30px;
        height: 30px;
    }
    
    .custom-logo[alt*="C++"] {
        width: 25px;
        height: 25px;
    }
    
    .custom-logo[alt*="Canva"] {
        width: 35px;
        height: 35px;
    }
    
    .nav-contact {
        margin-top: 5px;
        margin-bottom: 5px;
        text-align: center;
        padding: 12px !important;
    }
    
    .nav-contact:hover {
        transform: translateY(-2px) scale(1.02);
    }
    
    .stat-item {
        padding: 15px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .education-header,
    .experience-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .education-icon,
    .experience-icon {
        margin: 0 auto;
    }
    
    .project-card {
        margin-bottom: 25px;
    }
    
    .project-content {
        padding: 20px;
    }
    
    .project-content h3 {
        font-size: 1.2rem;
    }
    
    .project-content p {
        font-size: 0.9rem;
        min-height: 60px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px;
        font-size: 0.95rem;
    }
    
    .contact-item {
        padding: 15px;
    }
    
    .contact-item h4 {
        font-size: 1.1rem;
    }
    
    #ver-mas-portfolio {
        padding: 12px 30px;
        font-size: 1rem;
    }
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

/* Tablets (577px - 768px) */
@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero-actions .me-3 {
        margin-right: 0 !important;
        margin-bottom: 15px;
    }

    /* Con 3 botones en el hero, cada uno ocupa su línea y se ve completo */
    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }
    
    .profile-img {
        width: 200px;
        height: 200px;
    }
    
    .profile-glow {
        width: 240px;
        height: 240px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .personal-info-card,
    .education-card,
    .experience-card,
    .contact-info {
        padding: 25px;
    }
    
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .custom-logo {
        width: 35px;
        height: 35px;
    }
    
    .custom-logo[alt*="C++"] {
        width: 30px;
        height: 30px;
    }
    
    .custom-logo[alt*="Canva"] {
        width: 40px;
        height: 40px;
    }
    
    /* Mejorar grid en tablets */
    .col-lg-3, .col-md-6 {
        padding: 0 10px;
    }
    
    .project-card {
        margin-bottom: 20px;
    }
}

/* Tablets grandes y pequeñas laptops (769px - 992px) */
@media (max-width: 992px) {
    .name-title {
        font-size: 2.8rem;
    }
    
    .role {
        font-size: 1.8rem;
        height: 50px;
    }
    
    .text-item {
        height: 50px;
    }
    
    .profile-img {
        width: 250px;
        height: 250px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    /* Con 3 botones, permitir wrapping limpio antes del colapso total */
    .hero-actions {
        flex-wrap: wrap;
        gap: 12px;
    }

    .hero-actions .me-3 {
        margin-right: 0 !important;
    }
    
    /* Ajustar grid para tablets */
    .row {
        margin-left: -10px;
        margin-right: -10px;
    }
    
    .col-lg-3, .col-md-6 {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Optimización para landscape en móviles */
@media (max-height: 600px) and (orientation: landscape) {
    .inicio-section {
        padding: 100px 0 60px;
    }
    
    .profile-img {
        width: 150px;
        height: 150px;
    }
    
    .profile-glow {
        width: 180px;
        height: 180px;
    }
    
    .name-title {
        font-size: 2rem;
    }
    
    .role {
        font-size: 1.3rem;
        height: 35px;
    }
    
    .text-item {
        height: 35px;
    }
}

/* Mejorar toques en móvil */
@media (hover: none) and (pointer: coarse) {
    .btn-hover-effect:hover::before {
        animation: none;
    }
    
    .project-card:hover .project-overlay {
        opacity: 0.7;
    }
    
    .hover-grow:hover {
        transform: scale(1.02);
    }
    
    .hover-lift:hover {
        transform: translateY(-3px);
    }
    
    /* Mejorar tamaño de toques */
    .btn, .nav-link, .social-icon, .project-link {
        min-height: 44px;
    }
    
    .project-links .btn {
        min-height: 36px;
    }
}
/* ============================================
   FIXES ESPECÍFICOS PARA DESPLAZAMIENTO HORIZONTAL
   ============================================ */

/* FIX para imágenes que puedan causar desbordamiento */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* FIX para el grid de herramientas en móvil */
@media (max-width: 576px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .tool-item {
        padding: 15px 10px;
    }
}

/* FIX para el texto del tech stack en móvil */
@media (max-width: 400px) {
    .profile-tech-stack {
        gap: 8px;
    }
    
    .profile-tech-stack span {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

/* FIX para evitar que el contenido se salga en móvil */
@media (max-width: 767px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .row {
        margin-left: -10px;
        margin-right: -10px;
    }
    
    [class*="col-"] {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* FIX para el efecto de partículas en móvil */
@media (max-width: 768px) {
    .particles-container {
        overflow: hidden !important;
        max-width: 100vw !important;
    }
}

/* FIX para los botones en móvil */
@media (max-width: 576px) {
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .project-links .btn {
        padding: 8px 15px !important;
        font-size: 0.85rem !important;
    }
}

/* FIX para asegurar que todo esté dentro de la pantalla */
/* Aplicado solo a los elementos que realmente pueden generar scroll horizontal,
   NO a todos los elementos — eso rompe modales, dropdowns y componentes Bootstrap */
body, section, .navbar, footer {
    max-width: 100%;
    overflow-x: clip;
}

/* FIX para el scroll suave */
html {
    overflow-x: hidden;
    width: 100%;
}
/* Las 3 rayitas del menú hamburguesa SIEMPRE blancas */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5) !important;
}