/* ==========================================================================
   JKD Tech Portfolio - Estilos Modernos 2025
   ========================================================================== */

/* Variables CSS Personalizadas */
:root {
    /* Colores principales */
    --primary-color: #00D4FF;
    --primary-dark: #0099CC;
    --secondary-color: #1A1A2E;
    --accent-color: #16213E;
    
    /* Colores de texto */
    --text-primary: #2C3E50;
    --text-secondary: #6C757D;
    --text-muted: #ADB5BD;
    --text-light: #F8F9FA;
    
    /* Colores de fondo */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F9FA;
    --bg-dark: #1A1A2E;
    --bg-darker: #16213E;
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, #00D4FF 0%, #0099CC 100%);
    --gradient-dark: linear-gradient(135deg, #1A1A2E 0%, #16213E 100%);
    --gradient-hero: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(22, 33, 62, 0.95) 100%);
    
    /* Tipografía */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-headings: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Sombras */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    
    /* Transiciones */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Espaciado */
    --section-padding: 100px 0;
    --container-max-width: 1200px;
}

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

/* Elimina overflow horizontal en todos los elementos */
*, *::before, *::after {
    box-sizing: border-box;
    max-width: 100%;
}

.row {
    margin-left: 0;
    margin-right: 0;
    overflow-x: hidden;
}

[class*="col-"] {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    overflow-x: hidden;
}

/* Secciones con ancho completo sin overflow */
section {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Responsive section adjustments */
@media (max-width: 767px) {
    section {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}


.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

/* Containers responsive optimizados */
@media (min-width: 2560px) {
    .container {
        max-width: 1800px;
        padding: 0 2rem;
    }
    
    :root {
        font-size: 18px;
    }
}

@media (min-width: 1920px) and (max-width: 2559px) {
    .container {
        max-width: 1400px;
        padding: 0 1.5rem;
    }
    
    :root {
        font-size: 17px;
    }
}

@media (min-width: 1440px) and (max-width: 1919px) {
    .container {
        max-width: 1200px;
        padding: 0 1rem;
    }
}

@media (max-width: 1439px) {
    .container {
        max-width: 1140px;
        padding: 0 1rem;
    }
}

@media (max-width: 1199px) {
    .container {
        max-width: 960px;
        padding: 0 1rem;
    }
}

@media (max-width: 991px) {
    .container {
        max-width: 720px;
        padding: 0 1rem;
    }
}

@media (max-width: 767px) {
    .container {
        max-width: 100%;
        padding: 0 1rem;
        box-sizing: border-box;
    }
}

@media (max-width: 575px) {
    .container {
        max-width: 100%;
        padding: 0 0.75rem;
        box-sizing: border-box;
    }
}

@media (max-width: 374px) {
    .container {
        max-width: 100%;
        padding: 0 0.5rem;
        box-sizing: border-box;
    }
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--gradient-dark);
    overflow-x: hidden;
    position: relative;
    padding-top: 0;
}

/* Ajuste del padding-top del body para navbar fijo */
@media (min-width: 992px) {
    body {
        padding-top: 70px;
    }
}

@media (max-width: 991px) {
    body {
        padding-top: 60px;
    }
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

.display-1 { font-size: clamp(2.5rem, 8vw, 4.5rem); }
.display-4 { font-size: clamp(1.8rem, 5vw, 2.5rem); }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

/* Utilidades Personalizadas */
.text-primary { color: var(--primary-color) !important; }
.text-light-blue { color: #E3F2FD; }
.bg-dark-custom { background: var(--gradient-dark) !important; }

.section {
    padding: var(--section-padding);
}

.section-header {
    max-width: 800px;
    margin: 0 auto;
}

.section-subtitle {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.timeline-section .section-description {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   Navbar - Mobile First Approach
   ========================================================================== */

/* Base styles (Mobile) */
.navbar {
    background: rgba(26, 26, 46, 0.98) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    min-height: 60px;
    z-index: 1050;
    position: fixed;
    width: 100%;
    top: 0;
}

.navbar.scrolled {
    background: rgba(26, 26, 46, 1) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    font-family: var(--font-headings);
    font-size: 1.2rem;
    font-weight: 800;
    color: white !important;
    text-decoration: none;
}

.brand-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Mobile navbar toggler */
.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    background: transparent;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.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%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile navbar menu */
.navbar-collapse {
    background: rgba(26, 26, 46, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 10px;
    margin-top: 1rem;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 212, 255, 0.2);
    min-width: 280px;
    width: 100%;
}

.navbar-nav {
    text-align: center;
    width: 100%;
}

.navbar-nav .nav-item {
    width: 100%;
    margin: 0.3rem 0;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 1rem 1.5rem !important;
    margin: 0;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: block;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
    text-align: center;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    background: rgba(0, 212, 255, 0.15);
    transform: translateY(-2px);
}

/* Desktop styles */
@media (min-width: 992px) {
    .navbar {
        padding: 0.75rem 0;
        min-height: 70px;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .navbar-collapse {
        background: transparent;
        backdrop-filter: none;
        border-radius: 0;
        margin-top: 0;
        padding: 0;
        box-shadow: none;
        border: none;
        min-width: auto;
    }
    
    .navbar-nav {
        flex-direction: row;
        text-align: left;
        width: auto;
    }
    
    .navbar-nav .nav-item {
        width: auto;
        margin: 0 0.1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.6rem 0.8rem !important;
        margin: 0;
        display: inline-block;
        width: auto;
        white-space: nowrap;
        font-size: 0.95rem;
    }
}

/* Large desktop - more spacing */
@media (min-width: 1200px) {
    .navbar-nav .nav-link {
        padding: 0.6rem 1rem !important;
        margin: 0 0.2rem;
        font-size: 1rem;
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    position: relative;
    min-height: calc(100vh - 60px);
    background: var(--gradient-dark);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 80px;
    box-sizing: border-box;
    margin-top: 0;
}

/* Ajustes responsivos para hero-section */
@media (min-width: 992px) {
    .hero-section {
        min-height: calc(100vh - 70px);
        padding-top: 90px;
    }
}

.hero-section .min-vh-100 {
    min-height: auto !important;
}

/* Prevent viewport height conflicts */
.min-vh-100 {
    min-height: auto !important;
}

/* Ensure smooth scrolling and prevent overflow issues */
.hero-section .row {
    margin: 0;
    width: 100%;
}

.hero-section .col-lg-6 {
    padding: 0.75rem;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 153, 204, 0.3) 0%, transparent 50%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    color: white;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.hero-title {
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    word-wrap: break-word;
    hyphens: auto;
    overflow-wrap: break-word;
}

.hero-subtitle-main {
    color: #E3F2FD;
    margin-bottom: 2rem;
}

.hero-description {
    font-size: 1.2rem;
    color: #ffffff !important;
    margin-bottom: 2rem;
    max-width: 600px;
    font-weight: 600;
    line-height: 1.6;
}

.tech-badges .badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 212, 255, 0.2) !important;
    color: var(--primary-color) !important;
    border: 1px solid rgba(0, 212, 255, 0.3);
    backdrop-filter: blur(5px);
}

.hero-actions .btn {
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    margin-right: 1rem;
    margin-bottom: 1rem;
    transition: var(--transition-normal);
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    background: var(--gradient-primary);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: var(--transition-normal);
    backdrop-filter: blur(5px);
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Hero Visual - Mobile First */
.hero-visual {
    position: relative;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.5rem;
}

/* Responsive adjustments for hero-visual */
@media (min-width: 768px) {
    .hero-visual {
        height: 400px;
        margin-top: 2rem;
    }
    
    .floating-icon {
        width: 55px;
        height: 55px;
        font-size: 2rem;
    }
    
    .code-animation {
        width: 320px;
        height: 200px;
        padding: 2rem;
    }
    
    /* Ajustar posiciones para tablet */
    .floating-icon:nth-child(1) { top: 12%; left: 5%; }
    .floating-icon:nth-child(2) { top: 18%; right: 8%; }
    .floating-icon:nth-child(3) { bottom: 22%; left: 10%; }
    .floating-icon:nth-child(4) { bottom: 15%; right: 5%; }
}

@media (min-width: 992px) {
    .hero-visual {
        height: 500px;
        margin-top: 0;
    }
    
    .floating-icon {
        width: 60px;
        height: 60px;
        font-size: 2.2rem;
    }
    
    .code-animation {
        width: 350px;
        height: 220px;
    }
    
    /* Posiciones optimizadas para desktop */
    .floating-icon:nth-child(1) { top: 10%; left: 3%; }
    .floating-icon:nth-child(2) { top: 15%; right: 6%; }
    .floating-icon:nth-child(3) { bottom: 20%; left: 8%; }
    .floating-icon:nth-child(4) { bottom: 12%; right: 3%; }
}

.hero-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 3;
}

.floating-icon {
    position: absolute;
    width: 45px;
    height: 45px;
    background: rgba(0, 212, 255, 0.25);
    border: 2px solid rgba(0, 212, 255, 0.4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    animation: float 3s ease-in-out infinite;
    backdrop-filter: blur(15px);
    z-index: 4;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

/* Posiciones optimizadas para evitar superposición con code-animation */
.floating-icon:nth-child(1) { 
    top: 15%; 
    left: 8%; 
    animation-delay: 0s;
}
.floating-icon:nth-child(2) { 
    top: 25%; 
    right: 12%; 
    animation-delay: 0.5s;
}
.floating-icon:nth-child(3) { 
    bottom: 25%; 
    left: 15%; 
    animation-delay: 1s;
}
.floating-icon:nth-child(4) { 
    bottom: 20%; 
    right: 8%; 
    animation-delay: 1.5s;
}

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

.code-animation {
    position: relative;
    width: 250px;
    height: 160px;
    background: rgba(26, 26, 46, 0.8);
    border-radius: 15px;
    padding: 1.5rem;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 212, 255, 0.3);
    z-index: 2;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.code-line {
    height: 6px;
    background: var(--gradient-primary);
    margin: 0.8rem 0;
    border-radius: 3px;
    animation: codeAnimation 2s ease-in-out infinite;
    opacity: 0.8;
}

.code-line:nth-child(1) { width: 80%; animation-delay: 0s; }
.code-line:nth-child(2) { width: 65%; animation-delay: 0.5s; }
.code-line:nth-child(3) { width: 90%; animation-delay: 1s; }
.code-line:nth-child(4) { width: 70%; animation-delay: 1.5s; }


@keyframes codeAnimation {
    0%, 100% { opacity: 0.3; width: 20%; }
    50% { opacity: 1; }
}

/* ==========================================================================
   Timeline Profesional
   ========================================================================== */

.timeline-section {
    background: var(--gradient-dark);
    color: white;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    padding-top: 80px;
}

.timeline-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 70%, rgba(0, 212, 255, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 70% 30%, rgba(0, 153, 204, 0.15) 0%, transparent 60%);
    z-index: 0;
}

.timeline-section .container {
    position: relative;
    z-index: 3;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary-color), rgba(255, 255, 255, 0.3), var(--primary-color));
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-item {
    position: relative;
    margin: 60px 0;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.timeline-item.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: calc(50% + 40px);
    text-align: left;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: calc(50% + 40px);
    text-align: right;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 30px;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border: 4px solid white;
    border-radius: 50%;
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-marker.current {
    width: 30px;
    height: 30px;
    background: #FFD700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    animation: pulse 2s infinite;
}

.timeline-marker.start {
    background: #28a745;
    box-shadow: 0 0 15px rgba(40, 167, 69, 0.4);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 215, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}

.timeline-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.timeline-content:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-xl);
}

.timeline-year {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: white;
}

.timeline-content h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.timeline-content p {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tech-stack span {
    background: rgba(0, 212, 255, 0.2);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.timeline-achievement {
    background: rgba(255, 193, 7, 0.2);
    color: #FFC107;
    padding: 0.8rem;
    border-radius: 10px;
    border-left: 4px solid #FFC107;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ==========================================================================
   Sobre Mí Section
   ========================================================================== */

.sobre-mi-section {
    background: var(--bg-secondary);
    width: 100%;
    margin: 0;
    padding: var(--section-padding);
}

.proyectos-section {
    background: var(--bg-secondary);
    width: 100%;
    margin: 0;
    padding: var(--section-padding);
}

.jkdtech-section {
    background: var(--bg-secondary);
    width: 100%;
    margin: 0;
    padding: var(--section-padding);
}

.about-content h3 {
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.stat-item {
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.stat-label {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.skill-item .progress {
    height: 8px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    background: var(--gradient-primary);
    border-radius: 10px;
    transition: width 1s ease-in-out;
}

.cert-badges .badge {
    background: white !important;
    color: var(--text-secondary) !important;
    border: 1px solid #E9ECEF;
    padding: 0.5rem 1rem;
    font-weight: 500;
}

/* ==========================================================================
   Proyectos Section
   ========================================================================== */

.proyectos-section {
    background: var(--bg-secondary);
}

.project-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid #E9ECEF;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.project-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

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

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

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

.project-actions {
    display: flex;
    gap: 1rem;
    position: relative;
    z-index: 10;
}

.project-actions .btn {
    pointer-events: auto;
    transition: all 0.3s ease;
}

.project-actions .btn:hover {
    transform: translateY(-2px);
}

.project-content {
    padding: 1.5rem;
}

.project-header {
    display: flex;
    justify-content: between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.project-title {
    font-size: 1.2rem;
    margin-bottom: 0;
    color: var(--text-primary);
}

.project-status .badge {
    font-size: 0.7rem;
    padding: 0.3rem 0.8rem;
}

.project-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.tech-tag {
    display: inline-block;
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-color);
    padding: 0.2rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.project-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

/* Large Desktop */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-title {
        font-size: 4rem !important;
    }
}

/* Desktop */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 3.5rem !important;
    }
    
    .section-padding {
        padding: 60px 0;
    }
}

/* ==========================================================================
   Responsive Design - Mobile First Approach
   ========================================================================== */

/* Mobile Base Styles (320px+) */
.hero-title {
    font-size: 2rem !important;
    line-height: 1.1;
    text-align: center;
}

.hero-subtitle-main {
    font-size: 1rem !important;
    text-align: center;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.hero-actions {
    justify-content: center;
    flex-wrap: wrap;
}

.hero-actions .btn {
    margin: 0.25rem;
    font-size: 0.9rem;
}

.tech-badges {
    text-align: center;
    margin-bottom: 2rem;
}

.tech-badges .badge {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
    margin: 0.1rem;
}

/* Small Mobile (375px+) */
@media (min-width: 375px) {
    .hero-title {
        font-size: 2.2rem !important;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
}

/* Large Mobile (425px+) */
@media (min-width: 425px) {
    .hero-title {
        font-size: 2.4rem !important;
    }
    
    .hero-subtitle-main {
        font-size: 1.1rem !important;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .tech-badges .badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Tablet Portrait (768px+) */
@media (min-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }
    
    .hero-title {
        font-size: 2.8rem !important;
        text-align: left;
    }
    
    .hero-subtitle-main {
        font-size: 1.2rem !important;
        text-align: left;
    }
    
    .hero-description {
        font-size: 1.1rem;
        text-align: left;
    }
    
    .hero-actions {
        justify-content: flex-start;
    }
    
    .tech-badges {
        text-align: left;
    }
    
    .tech-badges .badge {
        font-size: 0.85rem;
        padding: 0.5rem 0.9rem;
        margin: 0.2rem 0.2rem 0.2rem 0;
    }
}

/* Tablet Landscape (992px+) */
@media (min-width: 992px) {
    :root {
        --section-padding: 100px 0;
    }
    
    .hero-title {
        font-size: 3.5rem !important;
    }
    
    .hero-subtitle-main {
        font-size: 1.4rem !important;
    }
    
    .hero-description {
        font-size: 1.2rem;
    }
    
    .tech-badges .badge {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }
}

/* Desktop (1200px+) */
@media (min-width: 1200px) {
    .hero-title {
        font-size: 4rem !important;
    }
    
    .hero-subtitle-main {
        font-size: 1.5rem !important;
    }
    
    .hero-description {
        font-size: 1.25rem;
    }
}

/* Large Desktop (1440px+) */
@media (min-width: 1440px) {
    .hero-title {
        font-size: 4.2rem !important;
    }
}

/* 4K and Ultra-wide (2560px+) */
@media (min-width: 2560px) {
    .hero-title {
        font-size: 5rem !important;
    }
    
    .hero-subtitle-main {
        font-size: 1.8rem !important;
    }
    
    .hero-description {
        font-size: 1.4rem;
    }
    
    .tech-badges .badge {
        font-size: 1.1rem;
        padding: 0.7rem 1.2rem;
    }
}

/* General mobile-first section adjustments */
.section {
    padding: var(--section-padding);
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
}

/* Ensure all sections have proper spacing from navbar */
section {
    scroll-margin-top: 70px;
}

@media (max-width: 991px) {
    section {
        scroll-margin-top: 60px;
    }
}

/* Mobile section padding adjustments */
@media (max-width: 575px) {
    .section {
        padding: 40px 0;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
        margin-bottom: 0.75rem;
    }
    
    .hero-visual {
        height: 250px;
        margin-top: 1rem;
    }
    
    .floating-icon {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .code-animation {
        width: 220px;
        height: 140px;
        padding: 1rem;
    }
    
    /* Posiciones ajustadas para móviles pequeños */
    .floating-icon:nth-child(1) { top: 18%; left: 12%; }
    .floating-icon:nth-child(2) { top: 28%; right: 15%; }
    .floating-icon:nth-child(3) { bottom: 28%; left: 18%; }
    .floating-icon:nth-child(4) { bottom: 22%; right: 12%; }
}

/* ==========================================================================
   Secciones con Fondo Oscuro - Corrección de Contraste de Texto
   ========================================================================== */

/* Estilos generales para secciones con fondo oscuro */
.tecnologias-section,
.certificaciones-section,
.contacto-section {
    background: var(--gradient-dark) !important;
    color: white !important;
}

/* Headers de sección en fondo oscuro */
.tecnologias-section .section-title,
.certificaciones-section .section-title,
.contacto-section .section-title,
.tecnologias-section h2,
.certificaciones-section h2,
.contacto-section h2,
.tecnologias-section h3,
.certificaciones-section h3,
.contacto-section h3,
.tecnologias-section h4,
.certificaciones-section h4,
.contacto-section h4,
.tecnologias-section h5,
.certificaciones-section h5,
.contacto-section h5 {
    color: white !important;
}

/* Textos descriptivos en secciones oscuras */
.tecnologias-section .section-description,
.certificaciones-section .section-description,
.contacto-section .section-description,
.tecnologias-section p,
.certificaciones-section p,
.contacto-section p {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Texto muted en secciones oscuras */
.tecnologias-section .text-muted,
.certificaciones-section .text-muted,
.contacto-section .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* ==========================================================================
   Tecnologías Section - Estilos Específicos
   ========================================================================== */

.tech-category {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.tech-category:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.2);
}

.tech-category h4 {
    color: white !important;
    margin: 1rem 0 1.5rem 0;
    font-size: 1.3rem;
}

.tech-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.tech-item {
    background: rgba(0, 212, 255, 0.2);
    color: white !important;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
}

/* ==========================================================================
   Certificaciones Section - Estilos Específicos
   ========================================================================== */

.cert-category {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.cert-category:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.15);
}

.cert-category-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.cert-category-header h3 {
    color: white !important;
    margin: 0;
    font-size: 1.4rem;
}

.cert-item {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
}

.cert-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.cert-item h5 {
    color: white !important;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.cert-item p {
    color: rgba(255, 255, 255, 0.7) !important;
    margin: 0;
    font-size: 0.9rem;
}

/* ==========================================================================
   Contacto Section - Estilos Específicos
   ========================================================================== */

.contact-info h4,
.contact-info h5 {
    color: white !important;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.2);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 212, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.contact-details h5 {
    color: white !important;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-details p {
    color: rgba(255, 255, 255, 0.8) !important;
    margin: 0;
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
}

.contact-form .form-label {
    color: white !important;
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.contact-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    color: white !important;
    padding: 0.8rem 1rem;
}

.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

.contact-form .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 212, 255, 0.25);
    color: white !important;
}

.contact-availability span {
    color: white !important;
}

.availability-status {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.status-indicator.available {
    background: #28a745;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* ==========================================================================
   Voluntariado Section - Corrección de Contraste
   ========================================================================== */

.volunteer-section {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 15px !important;
    padding: 2rem !important;
    transition: all 0.3s ease;
}

.volunteer-section:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.15);
}

.volunteer-section h4 {
    color: white !important;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.volunteer-section p {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 1rem;
    margin: 0;
}

.volunteer-section .text-success {
    color: #28a745 !important;
}

/* ==========================================================================
   Footer - Mejoras de Estructura y Espaciado
   ========================================================================== */

.footer {
    background: var(--gradient-dark) !important;
    color: white;
    padding: 4rem 0 2rem 0;
    margin-top: 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.footer-section {
    margin-bottom: 2rem;
}

.footer-section h5 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-section h6 {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
    color: var(--primary-color) !important;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-section ul li a:hover {
    color: var(--primary-color) !important;
    transform: translateX(5px);
}

.footer-section ul li a i {
    margin-right: 0.5rem;
    width: 16px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-links a:hover {
    background: var(--primary-color);
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3);
}

.footer .contact-info p {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.footer .contact-info p:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer .contact-info p a {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer .contact-info p a:hover {
    color: var(--primary-color) !important;
}

.footer .contact-info i {
    margin-right: 0.8rem;
    width: 20px;
    text-align: center;
    color: var(--primary-color);
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 3rem 0 2rem 0;
}

.footer .row:last-child p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Responsive improvements for footer */
@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 1.5rem 0;
        text-align: center;
    }
    
    .footer-section {
        margin-bottom: 2.5rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer .row:last-child {
        text-align: center;
    }
    
    .footer .row:last-child .col-md-6:last-child {
        margin-top: 1rem;
    }
}

/* ==========================================================================
   MOBILE RESPONSIVE FIXES - Xiaomi Note 12 Pro & Similar Devices
   ========================================================================== */

/* Critical fixes for mobile devices (393px viewport) */
@media (max-width: 768px) {
    /* Fix floating icons overlapping */
    .hero-visual {
        position: relative;
        height: 250px;
        margin-top: 2rem;
        overflow: visible;
    }
    
    .floating-elements {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: 3;
        overflow: visible;
    }
    
    .floating-icon {
        position: absolute;
        width: 35px !important;
        height: 35px !important;
        font-size: 1.4rem !important;
        background: rgba(0, 212, 255, 0.25);
        border: 2px solid rgba(0, 212, 255, 0.4);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        animation: float 3s ease-in-out infinite;
        backdrop-filter: blur(10px);
        z-index: 4;
        box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
    }
    
    /* Repositioned icons to avoid overlap on mobile */
    .floating-icon:nth-child(1) { 
        top: 5% !important; 
        left: 2% !important; 
        animation-delay: 0s;
    }
    .floating-icon:nth-child(2) { 
        top: 8% !important; 
        right: 2% !important; 
        animation-delay: 0.5s;
    }
    .floating-icon:nth-child(3) { 
        bottom: 8% !important; 
        left: 2% !important; 
        animation-delay: 1s;
    }
    .floating-icon:nth-child(4) { 
        bottom: 5% !important; 
        right: 2% !important; 
        animation-delay: 1.5s;
    }
    
    .code-animation {
        position: relative;
        width: 200px !important;
        height: 120px !important;
        background: rgba(26, 26, 46, 0.8);
        border-radius: 12px;
        padding: 1rem !important;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(0, 212, 255, 0.3);
        z-index: 2;
        box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
        margin: 0 auto;
    }
    
    /* Fix section overflow issues */
    .timeline-section {
        overflow-x: hidden !important;
        width: 100%;
        padding: 60px 0 !important;
    }
    
    .timeline-section .container {
        padding: 0 1rem !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box;
    }
    
    /* Fix timeline section titles for mobile */
    .timeline-section .section-title {
        font-size: 1.6rem !important;
        line-height: 1.2 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
        margin-bottom: 1rem !important;
        text-align: center;
        padding: 0 0.5rem;
    }
    
    .timeline-section .section-subtitle {
        font-size: 0.9rem !important;
        margin-bottom: 0.5rem !important;
        text-align: center;
        padding: 0 0.5rem;
    }
    
    .timeline-section .section-description {
        font-size: 0.95rem !important;
        line-height: 1.4 !important;
        text-align: center !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        padding: 0 1rem !important;
        margin: 0 auto 2rem auto !important;
    }
    
    /* Mobile timeline adjustments */
    .timeline {
        padding: 0 1rem !important;
        max-width: 100% !important;
        position: relative;
    }
    
    .timeline::before {
        left: 20px !important;
        width: 2px !important;
        transform: none !important;
    }
    
    .timeline-item {
        margin: 2rem 0 !important;
        position: relative;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 50px !important;
        margin-right: 0 !important;
        text-align: left !important;
    }
    
    .timeline-marker {
        left: 20px !important;
        transform: none !important;
        width: 16px !important;
        height: 16px !important;
        top: 20px !important;
    }
    
    .timeline-marker.current {
        width: 20px !important;
        height: 20px !important;
    }
    
    .timeline-content {
        padding: 1.5rem !important;
        font-size: 0.9rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .timeline-content h3 {
        font-size: 1.1rem !important;
        line-height: 1.3 !important;
        word-wrap: break-word !important;
        margin-bottom: 0.5rem !important;
    }
    
    .timeline-content h4 {
        font-size: 0.95rem !important;
        line-height: 1.3 !important;
        word-wrap: break-word !important;
        margin-bottom: 1rem !important;
    }
    
    .timeline-content p {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
    }
    
    /* Tech stack responsive */
    .tech-stack {
        gap: 0.3rem !important;
        margin-bottom: 1rem !important;
    }
    
    .tech-stack span {
        font-size: 0.7rem !important;
        padding: 0.2rem 0.6rem !important;
        word-break: keep-all !important;
    }
}

/* Specific fixes for Xiaomi Note 12 Pro (393px) and similar high-density displays */
@media (max-width: 393px) {
    /* Further icon adjustments for very small screens */
    .floating-icon {
        width: 32px !important;
        height: 32px !important;
        font-size: 1.2rem !important;
        border-radius: 6px !important;
    }
    
    .code-animation {
        width: 180px !important;
        height: 100px !important;
        padding: 0.8rem !important;
    }
    
    /* Extra small screen timeline fixes */
    .timeline-section .section-title {
        font-size: 1.4rem !important;
        padding: 0 0.25rem !important;
    }
    
    .timeline-section .section-description {
        font-size: 0.9rem !important;
        padding: 0 0.5rem !important;
    }
    
    .timeline-content {
        padding: 1.25rem !important;
    }
    
    .timeline-content h3 {
        font-size: 1rem !important;
    }
    
    .timeline-content h4 {
        font-size: 0.9rem !important;
    }
    
    .timeline-content p {
        font-size: 0.8rem !important;
    }
    
    .tech-stack span {
        font-size: 0.65rem !important;
        padding: 0.2rem 0.5rem !important;
    }
    
    /* Prevent any horizontal overflow */
    .container {
        padding: 0 0.75rem !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }
    
    /* Fix hero section for very small screens */
    .hero-visual {
        height: 220px !important;
        margin-top: 1.5rem !important;
    }
}

/* High DPI display optimizations */
@media (max-width: 768px) and (-webkit-min-device-pixel-ratio: 2) {
    .floating-icon {
        border-width: 1px !important;
        box-shadow: 0 2px 10px rgba(0, 212, 255, 0.25) !important;
    }
    
    .timeline-content {
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    }
}

/* Emergency overflow prevention */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }
    
    *, *::before, *::after {
        box-sizing: border-box !important;
        max-width: 100% !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        overflow-x: hidden !important;
    }
    
    [class*="col-"] {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
        overflow-x: hidden !important;
    }
    
    section {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
}

/* ==========================================================================
   End of Mobile-First Responsive Design
   ========================================================================== */
