/*Elimina márgenes y padding por defecto*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 80px;
    height: 80px;
    border: 4px solid rgba(243, 156, 18, 0.3);
    border-top: 4px solid #f39c12;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 2rem;
}

.loading-text {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.loading-subtext {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Header */
.header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    transition: background 0.3s ease, box-shadow 0.3s ease; /* Add transition for smooth change */
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(45deg, #f39c12, #e67e22);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    z-index: 1001;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    transition: all 0.3s ease;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0; /* Add padding for better hover area */
}

.nav-menu a:hover {
    color: #f39c12;
    transform: translateY(-2px);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0; /* Adjusted to be at the very bottom of the padding */
    left: 0;
    background: #f39c12;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    transform-origin: center;
}

/* Mobile menu animation */
.mobile-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9), rgba(52, 73, 94, 0.9)),
    url('ENE-S2-B1-Como-montar-una-ferreteria.jpg') no-repeat center center/cover; /* Ensure path is correct relative to CSS */
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fff, #f39c12);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.nosotros2p{
    font-size: 30px;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #f39c12, #e67e22);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(243, 156, 18, 0.3);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(243, 156, 18, 0.4);
}

.cta-button.btn-secondary-outline {
    background: transparent;
    color: #f39c12;
    border: 2px solid #f39c12;
    box-shadow: none;
}

.cta-button.btn-secondary-outline:hover {
    background: rgba(243, 156, 18, 0.1);
    color: #e67e22;
    border-color: #e67e22;
    box-shadow: none;
}

/* Sections */
.section {
    padding: 5rem 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
    position: relative;
}

.section h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #f39c12, #e67e22);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* About Us Section */
.about-us {
    background: #fdfdfd;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
    justify-content: center;
}

.about-text {
    flex: 2;
    min-width: 300px;
    font-size: 1.1rem;
    color: #555;
}

.about-text p {
    margin-bottom: 1rem;
}

.about-image {
    flex: 1;
    min-width: 280px;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* Featured Categories Section */

.featured-categories {
    background: linear-gradient(135deg, #ecf0f1, #d5dbdb);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.category-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: #333;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.category-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #f39c12;
}

.category-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.category-card p {
    color: #7f8c8d;
    font-size: 0.9rem;
}


/* Catalog Controls */
#catalogo h2{
    margin-top:7%;
}

.catalog-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
    align-items: center;
    justify-content: space-between;
}

.search-container {
    position: relative;
    flex: 1;
    min-width: 300px;
}

.search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #ecf0f1;
    border-radius: 25px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #f39c12;
    box-shadow: 0 0 20px rgba(243, 156, 18, 0.2);
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #7f8c8d;
    font-size: 1.2rem;
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-btn {
    background: #ecf0f1;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: linear-gradient(45deg, #f39c12, #e67e22);
    color: white;
    transform: translateY(-2px);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.product-card.hidden {
    display: none;
}

.product-image {
    height: 200px;
    background: linear-gradient(135deg, #ecf0f1, #bdc3c7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #e74c3c;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.product-badge.new {
    background: #27ae60;
}

.product-badge.sale {
    background: #e74c3c;
}

.product-info {
    padding: 1.5rem;
}

.product-category {
    color: #f39c12;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.product-info h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.product-info p {
    color: #7f8c8d;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.product-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #f39c12;
    margin-bottom: 1rem;
}

.product-price .old-price {
    color: #95a5a6;
    text-decoration: line-through;
    font-size: 1rem;
    margin-right: 0.5rem;
}

/* Centering the button */
.product-actions {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    gap: 1rem; /* Kept for potential future use or if other elements are added */
}

.btn-small {
    flex: 0 1 auto; /* Allow button to size according to content, but not grow infinitely */
    padding: 0.7rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(45deg, #f39c12, #e67e22);
    color: white;
}

.btn-secondary {
    background: #ecf0f1;
    color: #2c3e50;
    border: 2px solid #bdc3c7;
}

.btn-small:hover {
    transform: translateY(-2px);
}

/* Services */
.services {
    background: linear-gradient(135deg, #ecf0f1, #d5dbdb);
    margin-top: 7%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Adjusted for better responsiveness */
    gap: 2rem;
    margin-top: 3rem;
}

.service-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #f39c12;
}

/* Contact */
.contact {
    background: #2c3e50;
    color: white;
}

.contact h2{
    margin-top: 7%;
    margin-bottom: 10%;
    color: #f39c12
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.contact-form-fade-in,h3{
    margin-bottom: 8%;
}

.contact-info h3 {
    color: #f39c12;
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.contact-info strong {
    color: #f39c12; /* Highlight key info */
}


.contact-form {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    background: rgba(255,255,255,0.1);
    color: white;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    font-size: 1rem; /* Ensure consistent font size */
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f39c12;
    background: rgba(255,255,255,0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.7);
}

/*About us*/
/* From Uiverse.io by david-mohseni */
.wrapper {
  display: inline-flex;
  list-style: none;
  height: 144px; /* Aumentado 20% de 120px */
  width: 100%;
  padding-top: 48px; /* Aumentado 20% de 40px */
  font-family: "Poppins", sans-serif;
  justify-content: center;
  flex-wrap: wrap; /* Permite que los iconos se envuelvan en pantallas pequeñas */
}

.wrapper .icon {
  position: relative;
  background: #fff;
  border-radius: 50%;
  margin: 12px; /* Aumentado 20% de 10px */
  width: 120px; /* Aumentado 20% de 100px */
  height: 120px; /* Aumentado 20% de 100px */
  font-size: 21.6px; /* Aumentado 20% de 18px */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  box-shadow: 0 12px 12px rgba(0, 0, 0, 0.1); /* Aumentado 20% */
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .tooltip {
  position: absolute;
  top: 0;
  font-size: 16.8px; /* Aumentado 20% de 14px */
  background: #fff;
  color: #fff;
  padding: 6px 9.6px; /* Aumentado 20% */
  border-radius: 5px;
  box-shadow: 0 12px 12px rgba(0, 0, 0, 0.1); /* Aumentado 20% */
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .tooltip::before {
  position: absolute;
  content: "";
  height: 9.6px; /* Aumentado 20% de 8px */
  width: 9.6px; /* Aumentado 20% de 8px */
  background: #fff;
  bottom: -3.6px; /* Aumentado 20% de -3px */
  left: 50%;
  transform: translate(-50%) rotate(45deg);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .icon:hover .tooltip {
  top: -54px; /* Aumentado 20% de -45px */
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.wrapper .icon:hover span,
.wrapper .icon:hover .tooltip {
  text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.1);
}

/* Colores de iconos existentes */
.wrapper .facebook:hover,
.wrapper .facebook:hover .tooltip,
.wrapper .facebook:hover .tooltip::before {
  background: #1877f2;
  color: #fff;
}

.wrapper .twitter:hover,
.wrapper .twitter:hover .tooltip,
.wrapper .twitter:hover .tooltip::before {
  background: #000000;
  color: #fff;
}

.wrapper .instagram:hover,
.wrapper .instagram:hover .tooltip,
.wrapper .instagram:hover .tooltip::before {
  background: #e4405f;
  color: #fff;
}

/* Nuevos iconos y colores */
.wrapper .youtube:hover,
.wrapper .youtube:hover .tooltip,
.wrapper .youtube:hover .tooltip::before {
  background: #ff0000;
  color: #fff;
}

.wrapper .tiktok:hover,
.wrapper .tiktok:hover .tooltip,
.wrapper .tiktok:hover .tooltip::before {
  background: #000000;
  color: #fff;
}

.wrapper .gmail:hover,
.wrapper .gmail:hover .tooltip,
.wrapper .gmail:hover .tooltip::before {
  background: #ea4335;
  color: #fff;
}

/* Media Queries para Responsividad */
@media (max-width: 768px) {
  .wrapper {
    padding-top: 20px;
    height: auto; /* Permite que la altura se ajuste al contenido */
  }

  .wrapper .icon {
    width: 90px;
    height: 90px;
    margin: 8px;
    font-size: 18px;
  }

  .wrapper .tooltip {
    font-size: 12px;
    padding: 4px 6px;
  }

  .wrapper .icon:hover .tooltip {
    top: -40px;
  }
}

@media (max-width: 480px) {
  .wrapper .icon {
    width: 70px;
    height: 70px;
    margin: 6px;
    font-size: 16px;
  }

  .wrapper .tooltip {
    font-size: 10px;
    padding: 3px 5px;
  }

  .wrapper .icon:hover .tooltip {
    top: -35px;
  }
}



/* Map Section */
.map-section {
    margin-top: 5rem;
    text-align: center;
}

.map-section h3 {
    color: #f39c12;
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block; /* For the pseudo-element underline */
}

.map-section h3::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    background: linear-gradient(45deg, #f39c12, #e67e22);
    bottom: -10px;
    left: 20%;
}

.map-container {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    padding: 1rem; /* Padding around the iframe */
}

.map-container iframe {
    border-radius: 10px; /* Match container border-radius */
    display: block; /* Remove extra space below iframe */
}

.map-note {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    margin-top: 1.5rem;
}


/* Footer */
.footer {
    background: #1a252f;
    color: white;
    text-align: center;
    padding: 2rem 0;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px; /* Adjust if header height changes */
        flex-direction: column;
        background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        gap: 0;
        padding-bottom: 2rem; /* Ensure bottom padding for mobile menu */
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        font-size: 1.1rem;
        padding: 1rem;
        display: block;
    }

    .mobile-menu {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .catalog-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .search-container {
        min-width: auto;
    }

    .category-filters {
        justify-content: center;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .about-content {
        flex-direction: column;
    }

    .about-text, .about-image {
        min-width: unset;
        flex: auto;
    }

    .services-grid {
        grid-template-columns: 1fr; /* Stack services on small screens */
    }

    .contact-content {
        grid-template-columns: 1fr; /* Stack contact info and form */
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* No results message */
.no-results {
    text-align: center;
    padding: 3rem;
    color: #7f8c8d;
    display: none;
}

.no-results.show {
    display: block;
}

.no-results h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

/* Nosotros Page Specific Styles */
#nosotros-page .about-content {
    margin-bottom: 4rem; /* Space between intro text and team grid */
}

#nosotros-page h2{
    margin-top: 7%;
}

.nosotros2p {
    font-size: 1.1rem; /* Adjust font size to be consistent with other text sections */
    line-height: 1.7;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    justify-items: center;
}

.team-member {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    max-width: 350px;
    display: flex; /* Use flexbox for internal layout */
    flex-direction: column;
    align-items: center;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(0,0,0,0.15);
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid #f39c12;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.team-member video {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid #f39c12;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.team-member h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.6rem;
}

.team-member .member-role {
    color: #7f8c8d;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.team-member .member-description {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1; /* Allows description to take available space */
}

.member-social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping for many icons */
    gap: 0.5rem; /* Space between icons */
    margin-top: auto; /* Pushes social links to the bottom */
}

/* Custom icon sizes for the team members */
.member-social-links .icon {
    width: 48px; /* Smaller size for direct display */
    height: 48px;
    font-size: 18px; /* Smaller icon font size */
    margin: 0; /* Override default wrapper margin */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1); /* Adjusted shadow */
}

.member-social-links .tooltip {
    font-size: 12px; /* Smaller tooltip font size */
    padding: 4px 8px;
}

.member-social-links .icon:hover .tooltip {
    top: -45px; /* Adjust tooltip position */
}

.member-social-links .tooltip::before {
    height: 6px;
    width: 6px;
    bottom: -3px;
}


/* Mission, Vision, Values Section */
.mission-vision-values {
    margin-top: 5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    text-align: center;
}

.mission-vision-values div {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.mission-vision-values div:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.mission-vision-values h3 {
    color: #f39c12;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.mission-vision-values h3::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #f39c12, #e67e22);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.mission-vision-values p,
.mission-vision-values ul {
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
    margin-top: 1rem;
    text-align: left; /* Align text within these blocks */
}

.mission-vision-values ul {
    list-style: none; /* Remove default bullet points */
    padding-left: 0;
}

.mission-vision-values ul li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.mission-vision-values ul li::before {
    content: '✅'; /* Custom bullet point icon */
    position: absolute;
    left: 0;
    color: #27ae60;
}

/* Responsive adjustments for team member social links */
@media (max-width: 768px) {
    .member-social-links {
        gap: 0.3rem; /* Reduce gap on smaller screens */
    }

    .member-social-links .icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .member-social-links .tooltip {
        font-size: 10px;
    }

    .member-social-links .icon:hover .tooltip {
        top: -38px;
    }
}

/* From Uiverse.io by wilsondesouza */ 
ul {
  list-style: none;
}

.example-2 {
  display: flex;
  justify-content: center;
  align-items: center;
}
.example-2 .icon-content {
  margin: 0 10px;
  position: relative;
}
.example-2 .icon-content .tooltip {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  padding: 6px 10px;
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  font-size: 14px;
  transition: all 0.3s ease;
}
.example-2 .icon-content:hover .tooltip {
  opacity: 1;
  visibility: visible;
  top: -50px;
}
.example-2 .icon-content a {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #4d4d4d;
  background-color: #fff;
  transition: all 0.3s ease-in-out;
}
.example-2 .icon-content a:hover {
  box-shadow: 3px 2px 45px 0px rgb(0 0 0 / 12%);
}
.example-2 .icon-content a svg {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
}
.example-2 .icon-content a:hover {
  color: white;
}
.example-2 .icon-content a .filled {
  position: absolute;
  top: auto;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: #000;
  transition: all 0.3s ease-in-out;
}
.example-2 .icon-content a:hover .filled {
  height: 100%;
}

.example-2 .icon-content a[data-social="whatsapp"] .filled,
.example-2 .icon-content a[data-social="whatsapp"] ~ .tooltip {
  background-color: #128c7e;
}

.example-2 .icon-content a[data-social="facebook"] .filled,
.example-2 .icon-content a[data-social="facebook"] ~ .tooltip {
  background-color: #3b5998;
}
.example-2 .icon-content a[data-social="instagram"] .filled,
.example-2 .icon-content a[data-social="instagram"] ~ .tooltip {
  background: linear-gradient(
    45deg,
    #405de6,
    #5b51db,
    #b33ab4,
    #c135b4,
    #e1306c,
    #fd1f1f
  );
}
.example-2 .icon-content a[data-social="youtube"] .filled,
.example-2 .icon-content a[data-social="youtube"] ~ .tooltip {
  background-color: #ff0000;
}

/* principal.css - Adiciones para la nueva sección de contacto */

/* Estilos para el contenedor del formulario de registro */
.registration-form-container {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    margin-bottom: 2rem; /* Espacio entre el formulario y la lista de ferreterías si están apilados */
}

/* Ajuste para el título del formulario de registro */
.registration-form-container h3 {
    color: #f39c12; /* Color naranja para el título de la sección */
    margin-bottom: 1.5rem;
    text-align: center;
}

.contactpregister{
    text-align: center;
    margin: 7%;
}

/* Estilos para los mensajes de carga y sin resultados */
.loading-message, .no-results-message {
    text-align: center;
    color: rgba(255,255,255,0.7);
    font-style: italic;
    margin-top: 1rem;
}

.hidden {
    display: none;
}

/* Estilos para la cuadrícula de ferreterías */
.ferreterias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Estilos para cada tarjeta de ferretería */
.ferreteria-card {
    background: rgba(255,255,255,0.15);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    color: white;
}

.ferreteria-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.ferreteria-card h3 {
    color: #f39c12;
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.ferreteria-card p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.4;
}

.ferreteria-card p strong {
    color: #f39c12;
}

.ferreteria-card a {
    color: #f39c12;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ferreteria-card a:hover {
    color: #e67e22;
    text-decoration: underline;
}

.ferreteria-card .map-button {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(45deg, #f39c12, #e67e22);
    color: white;
    padding: 0.6rem 1rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 1rem;
    transition: all 0.3s ease;
    border: none; /* Asegurar que no tenga borde si es un botón */
    cursor: pointer;
}

.ferreteria-card .map-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px (243, 156, 18, 0.4);
}

.ferreteria-card .map-button i {
    margin-left: 0.5rem;
}

/* Contenedor de la lista de ferreterías */
.ferreterias-list-container {
    background: rgba(255,255,255,0.05); /* Ligeramente más oscuro que las tarjetas */
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.ferreterias-list-container h3 {
    color: #f39c12;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Responsive adjustments for contact section */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr; /* Stack columns on smaller screens */
    }

    .registration-form-container, .ferreterias-list-container {
        padding: 1.5rem;
    }

    .ferreterias-grid {
        grid-template-columns: 1fr; /* Stack ferreteria cards on smaller screens */
    }
}