* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Iconos */
.icon img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}
body {
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}

.main-container {
    position: relative;
    min-height: 100vh;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 80px;
    height: 100vh;
    background-color: white;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px 0; 
    transition: all 0.3s ease;
}



.nav-item {
  position: relative;
    width: 100%;
    padding: 2px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.nav-item:hover {
    background-color: #1a9dff;
}

.nav-item span {
     font-size: 10px;
    text-align: center;
    color: black;
    font-weight: bold;
}

/* Floating Submenu */
.submenu {
    position: absolute;
    left: 80px;
    top: 0;
    background-color: #1a9dff;
    min-width: 200px;
  
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 1001;
    pointer-events: none;
}

.nav-item:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

.submenu-item {
    padding: 12px 15px;
    display: block;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.submenu-item:last-child {
    border-bottom: none;
}

.submenu-item:hover {
    background-color: white;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    margin-left: 0px;
    background-image: url('../img/fondo.png');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 10%;
    position: relative;
}

.logo-container {
    position: relative;
    margin-bottom: 20px;
    max-width: 80%;
}

.logo {
    font-size: 120px;
    font-weight: bold;
    color: #00209F;
    line-height: 0.9;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.tagline {
    font-size: 24px;
    color: #000000;
    border-bottom: 2px solid #000000;
    display: inline-block;
    padding-bottom: 5px;
    margin-top: 10px;
    font-weight: bold; 
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    color: #00209F;
    font-size: 24px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.2);
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1002;
    background-color: #0066cc;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
}

/* Responsive styles */
@media (max-width: 992px) {
    .submenu {
        position: fixed;
        left: 80px;
        top: auto;
    }
}

@media (max-width: 768px) {
    .navbar {
        left: -80px;
        transition: left 0.3s ease;
    }

    .navbar.active {
        left: 0;
    }

    .hero-section {
        margin-left: 0;
        padding-left: 5%;
        padding-right: 5%;
    }

    .mobile-menu-btn {
        display: block;
    }

    .logo {
        font-size: 80px;
    }

    .logo-accent {
        font-size: 50px;
        right: -25px;
    }

    .tagline {
        font-size: 18px;
    }

    /* Mobile submenu adjustments */
    .submenu {
        left: 80px;
        top: auto;
    }

    .nav-item:nth-child(5) .submenu,
    .nav-item:nth-child(6) .submenu {
        bottom: 0;
        top: auto;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 60px;
    }

    .logo-accent {
        font-size: 40px;
        right: -20px;
    }

    .tagline {
        font-size: 16px;
    }
}