    * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    }

    body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f4f4f9;
    color: #333;
    overflow-x: hidden;
    }

    /* Sección Hero */
    .hero-tecnologia {
    position: relative;
    height: 100vh;
    background: url(../img/morales.png);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    }

    .hero-tecnologia::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    }

    .hero-tecnologia::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(251, 247, 6, 0.15), transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(251, 247, 6, 0.1), transparent 50%);
    animation: pulso-tecnologia 8s ease-in-out infinite alternate;
    }

    @keyframes pulso-tecnologia {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
    }

    .contenido-hero {
    position: relative;
    z-index: 2;
    max-width: 950px;
    padding: 2rem;
    }

    .contenido-hero h1 {
    font-size: 3.7rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: #fbf706;
    text-shadow: 4px 4px 15px rgba(0, 0, 0, 0.8);
    letter-spacing: 2px;
    }

    .contenido-hero p {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    line-height: 1.7;
    }

    /* Bandera de Información */
    .bandera-informacion {
    background: linear-gradient(135deg, #2e7d32, #1b5e20);
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border-top: 4px solid #fbf706;
    border-bottom: 4px solid #fbf706;
    }

    .cuadricula-informacion {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    }

    .caja-informacion {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border: 2px solid rgba(251, 247, 6, 0.2);
    }

    .caja-informacion:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.12);
    border-color: #fbf706;
    box-shadow: 0 10px 30px rgba(251, 247, 6, 0.3);
    }

    .caja-informacion .icono {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    }

    .caja-informacion h3 {
    color: #fbf706;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    }

    .caja-informacion p {
    color: #e8f5e9;
    font-size: 0.9rem;
    }

    /* Contenido Principal */
    .contenido-principal {
    max-width: 1400px;
    margin: 5rem auto;
    padding: 0 2rem;
    }

    .encabezado-seccion {
    text-align: center;
    margin-bottom: 4rem;
    }

    .encabezado-seccion h2 {
    font-size: 2.9rem;
    color: #1b5e20;
    margin-bottom: 1rem;
    font-weight: 900;
    position: relative;
    display: inline-block;
    }

    .encabezado-seccion h2::before {
    position: absolute;
    left: -60px;
    font-size: 2.8rem;
    animation: rotar 3s linear infinite;
    }

    @keyframes rotar {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
    }

    .encabezado-seccion h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 4px;
    background: linear-gradient(90deg, transparent, #fbf706, transparent);
    }

    .encabezado-seccion p {
    font-size: 1.15rem;
    color: #666;
    margin-top: 2rem;
    line-height: 1.8;
    }

    /* Sección Herramientas */
    .seccion-herramientas {
    margin-bottom: 6rem;
    }

    .cuadricula-herramientas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    }

    .tarjeta-herramienta {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.4s ease;
    border: 3px solid #e8e8e8;
    position: relative;
    }

    .tarjeta-herramienta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #2e7d32, #fbf706, #2e7d32);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    }

    .tarjeta-herramienta:hover::before {
    transform: scaleX(1);
    }

    .tarjeta-herramienta:hover {
    transform: translateY(-15px);
    border-color: #2e7d32;
    box-shadow: 0 20px 50px rgba(46, 125, 50, 0.3);
    }

    .encabezado-herramienta {
    background: linear-gradient(135deg, #2e7d32, #1b5e20);
    padding: 2.5rem;
    text-align: center;
    position: relative;
    }

    .encabezado-herramienta .icono-herramienta {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: inline-block;
    animation: rebotar 2s ease-in-out infinite;
    }

    @keyframes rebotar {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    }

    .encabezado-herramienta h3 {
    color: #fbf706;
    font-size: 1.7rem;
    font-weight: 700;
    }

    .cuerpo-herramienta {
    padding: 2rem;
    }

    .cuerpo-herramienta p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    }

    .cuerpo-herramienta ul {
    list-style: none;
    padding: 0;
    }

    .cuerpo-herramienta ul li {
    padding: 0.8rem 0;
    padding-left: 2.5rem;
    position: relative;
    color: #444;
    border-bottom: 1px dashed #e0e0e0;
    }

    .cuerpo-herramienta ul li:last-child {
    border-bottom: none;
    }

    .cuerpo-herramienta ul li::before {
    position: absolute;
    left: 0;
    font-size: 1.3rem;
    }

    /* Sección Proyectos */
        .seccion-proyectos {
            background: linear-gradient(135deg, #1b5e20, #2e7d32);
            padding: 4rem 1.5rem;
        }

        .seccion-proyectos .encabezado-seccion h2 {
            color: #fbf706;
        }

        .seccion-proyectos .encabezado-seccion h2::after {
            background: linear-gradient(90deg, transparent, #fff, transparent);
        }

        .seccion-proyectos .encabezado-seccion p {
            color: #e8f5e9;
        }

        .cuadricula-proyectos {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            gap: 1.5rem;
        }

        .tarjeta-proyecto {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(15px);
            border-radius: 15px;
            padding: 2rem;
            border-left: 5px solid #fbf706;
            transition: all 0.3s ease;
        }

        .tarjeta-proyecto:hover {
            background: rgba(255, 255, 255, 0.15);
            transform: translateX(10px);
            box-shadow: 0 10px 30px rgba(251, 247, 6, 0.3);
        }

        .tarjeta-proyecto h4 {
            color: #fbf706;
            font-size: 1.6rem;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .tarjeta-proyecto h4 .icono-proyecto {
            font-size: 1.8rem;
        }

        .tarjeta-proyecto p {
            color: #e8f5e9;
            font-size: 1rem;
            line-height: 1.7;
        }


    /* Sección Habilidades */
    .seccion-habilidades {
    max-width: 1300px;
    margin: 6rem auto;
    padding: 0 2rem;
    }

    .contenedor-habilidades {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    }

    .item-habilidad {
    background: linear-gradient(145deg, #ffffff, #f8f8f8);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
    }

    .item-habilidad::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(46, 125, 50, 0.1), transparent 60%);
    transform: scale(0);
    transition: transform 0.6s ease;
    }

    .item-habilidad:hover::before {
    transform: scale(1);
    }

    .item-habilidad:hover {
    transform: translateY(-12px) scale(1.05);
    border-color: #2e7d32;
    box-shadow: 0 15px 40px rgba(46, 125, 50, 0.25);
    }

    .item-habilidad .icono {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
    }

    .item-habilidad:hover .icono {
    transform: scale(1.3) rotate(-10deg);
    }

    .item-habilidad h3 {
    color: #1b5e20;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
    }

    .item-habilidad p {
    color: #666;
    line-height: 1.7;
    position: relative;
    z-index: 1;
    }

    /* Sección Llamada a la Acción */
    .seccion-llamada-accion {
    text-align: center;
    padding: 6rem 2rem;
    background: linear-gradient(135deg, rgba(25, 88, 28, 0.1), rgba(6, 251, 26, 0.263));
    position: relative;
    }

    .seccion-llamada-accion h2 {
    font-size: 2.9rem;
    color: #1b5e20;
    margin-bottom: 1.5rem;
    font-weight: 900;
    position: relative;
    z-index: 1;
    }

    .seccion-llamada-accion p {
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 2.5rem;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    position: relative;
    z-index: 1;
    }

    .boton-llamada-accion {
    display: inline-block;
    padding: 1.4rem 4rem;
    background: linear-gradient(135deg, #2e7d32, #1b5e20);
    color: #fbf706;
    font-size: 1.3rem;
    font-weight: 900;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 8px 30px rgba(46, 125, 50, 0.4);
    border: 3px solid #fbf706;
    position: relative;
    z-index: 1;
    overflow: hidden;
    }

    .boton-llamada-accion::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(251, 247, 6, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    }

    .boton-llamada-accion:hover::before {
    width: 400px;
    height: 400px;
    }

    .boton-llamada-accion:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 50px rgba(251, 247, 6, 0.6);
    }

    .boton-llamada-accion span {
    position: relative;
    z-index: 1;
    }

    /* Navegación y Pie de Página (sin modificar) */
    .nav-bar {
    text-shadow: #333 2px 2px 2px;
    background: #000000;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.18) 50%, rgba(237, 221, 83, 0) 100%);
    color: #fff;
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background 0.3s ease, transform 0.4s ease;
    will-change: transform;
    display: flex;
    align-items: center;
    gap: 1rem;
    }

    .nav-bar.hide-on-scroll {
    transform: translateY(-100%);
    }

    .nav-bar ul {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
    flex: 1;
    list-style: none;
    }

    .nav-bar ul li a {
    color: #fff;
    font-weight: bold;
    transition: color 0.3s ease;
    text-decoration: none;
    }

    .nav-bar ul li a:hover {
    color: #f4a261;
    }

    .nav-bar img.logo {
    width: 118px;
    height: 125px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 2rem;
    }

    .nav-bar .social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
    }

    .nav-bar .social-links a {
    color: white;
    }

    .nav-bar .social-links img {
    width: 32px;
    height: 32px;
    }

    .hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 1001;
    }

    .hamburger span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 4px 0;
    transition: 0.3s;
    transform-origin: center;
    }

    .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
    }

    .hamburger.active span:nth-child(2) {
    opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
    }

    body.nav-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    }

    .nav-bar ul.active {
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100vh;
    z-index: 1001;
    overflow-y: auto;
    }

    @media (max-width: 1366px) and (max-height: 1024px) {
    .nav-bar {
    justify-content: space-between !important;
    align-items: center !important;
    padding: 1rem 2rem !important;
    gap: 0 !important;
    }
    .hamburger {
    display: flex;
    order: 1;
    }
    .nav-bar ul {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-image:url(../img/liceof.png) ;
    background-color: rgba(0,0,0,0.85);
    backdrop-filter: blur(15px);
    flex-direction: column !important;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    gap: 2rem !important;
    transition: left 0.3s ease;
    z-index: 1001;
    order: 1;
    flex: none !important;
    margin: 0;
    padding: 0;
    }
    .nav-bar ul.active {

    left: 0;
    }
    .nav-bar ul li {
    width: 100%;
    text-align: center;
    }
    .nav-bar ul li a {
    font-size: 1.5rem;
    padding: 1rem;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    color: white !important;
    }
    .nav-bar ul li a:hover {
    color: #f4a261 !important;
    border-bottom-color: #f4a261;
    background: rgba(244, 162, 97, 0.1);
    }
    .nav-bar div:last-child {
    display: none !important;
    }
    .carousel{
    height: 100px;
    }
    .carousel-text {
    font-size: 1.2rem;
    bottom: 5%;
    left: 2%;
    }
    }
    /* Mobile Navigation */
    @media (max-width: 991px) {
    .nav-bar {
    justify-content: space-between !important;
    align-items: center !important;
    padding: 1rem 2rem !important;
    gap: 0 !important;
    }

    .hamburger {
    display: flex;
    order: 1;
    }

    .nav-bar a[href="index.html"] {
    order: 2;
    margin-right: 0 !important;
    }

    .nav-bar a[href="index.html"] img {
    width: 60px !important;
    height: 65px !important;
    }

    .nav-bar ul {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-image:url(../img/fondo1.png) ;
    background-color: rgba(0,0,0,0.85);
    backdrop-filter: blur(15px);
    flex-direction: column !important;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    gap: 2rem !important;
    transition: left 0.3s ease;
    z-index: 1001;
    order: 1;
    flex: none !important;
    margin: 0;
    padding: 0;
    }

    .nav-bar ul.active {
    left: 0;
    }

    .nav-bar ul li {
    width: 100%;
    text-align: center;
    }

    .nav-bar ul li a {
    font-size: 1.5rem;
    padding: 1rem;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    color: white !important;
    }

    .nav-bar ul li a:hover {
    color: #f4a261 !important;
    border-bottom-color: #f4a261;
    background: rgba(244, 162, 97, 0.1);
    }

    .nav-bar div:last-child {
    display: none !important;
    }
    .carousel-btn {
    display: none;
    }
    .carousel{
    height: 100px;
    }
    }


    @media (max-width: 480px) {
    .nav-bar {
        padding: 0.8rem 1rem !important;
    }

    .nav-bar a[href="index.html"] img {
        width: 50px !important;
        height: 55px !important;
    }

    .hamburger span {
        width: 22px;
        height: 2px;
    }

    .nav-bar ul li a {
        font-size: 1.2rem;
    }
    }

    @media (max-width: 319px) {
    .nav-bar {
        padding: 0.6rem 0.8rem !important;
    }

    .nav-bar a[href="index.html"] img {
        width: 45px !important;
        height: 50px !important;
    }

    .hamburger span {
        width: 20px;
    }

    .nav-bar ul li a {
        font-size: 1.1rem;
    }
    }

    .footer {
    background: linear-gradient(135deg, #2e7d32, #1b5e20);
    color: #f1f1f1;
    font-family: 'Poppins', sans-serif;
    padding: 40px 20px;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
    }

    .footer-content {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    }

    .footer h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #c8e6c9;
    letter-spacing: 1px;
    }

    .contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    }

    .contact-item {
    min-width: 200px;
    }

    .contact-item p {
    margin: 5px 0;
    font-size: 16px;
    }

    .contact-item strong {
    font-weight: 600;
    color: #a5d6a7;
    }

    .motto h2 {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    letter-spacing: 2px;
    }

    .footer .copyright {
    font-size: 14px;
    color: #cfd8dc;
    margin-top: 10px;
    }

    .location-access {
    margin-top: 10px;
    }

    .location-button {
    display: inline-block;
    background-color: #66bb6a;
    color: #fff;
    padding: 10px 18px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    .location-button:hover {
    background-color: #81c784;
    transform: scale(1.05);
    }
    .oculto {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1s ease, transform 1s ease;
    }

    .visible {
    opacity: 1;
    transform: translateY(0);
    }

    /* Responsivo */
    @media (max-width: 768px) {
    .hero-tecnologia {
        height: 100vh;
    }

    .contenido-hero h1 {
        font-size: 2.6rem;
    }

    .contenido-hero p {
        font-size: 1.2rem;
    }

    .encabezado-seccion h2 {
        font-size: 2.2rem;
    }

    .encabezado-seccion h2::before {
        display: none;
    }

    .cuadricula-herramientas {
        grid-template-columns: 1fr;
    }

    .item-proyecto {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .numero-proyecto {
        font-size: 3rem;
    }
    }