:root {
  --esn-magenta: #EC008C;
  --esn-cyan: #00AEEF;
  --esn-orange: #F47B20;
  --esn-green: #7AC143;
}
/* Section Header Styling */
.esn-section-title h2 {
    font-size: 36px !important;
    font-weight: 900 !important;
    color: #111827 !important; /* Gray-900 */
    margin-bottom: 12px !important;
    letter-spacing: -0.025em !important;
}

.esn-section-underline {
    width: 80px;
    height: 6px;
    background-color: #EC008C; /* ESN Magenta */
    border-radius: 50px;
    margin-bottom: 48px; /* mb-12 from React code */
}

.esn-section-underlines {
  width: 80px;
  height: 6px;
  background-color: var(--esn-color, var(--esn-orange));
  border-radius: 50px;
  margin-bottom: 48px;
}
.esn-section-underlines.orange {
  --esn-color: var(--esn-orange);
}

.esn-section-underlines.green {
  --esn-color: var(--esn-green);
}

.esn-section-underlines.magenta {
  --esn-color: var(--esn-magenta);
}

.esn-section-underlines.cyan {
  --esn-color: var(--esn-cyan);
}
.vc_gitem-animate-scaleIn {
    border-radius: 20px !important;
    overflow: hidden !important;
}
.esn-button-primary {
  background-color: #00AEEF !important;  
  color: white !important;
  border-radius: 12px !important;
  font-weight: 900 !important;
  transition: all 0.3s ease;
}
.vc_btn3.vc_btn3-color-info.vc_btn3-style-modern.vc_btn3-style-modern {  
  color: #FFFFFF !important;  
  border-color: #00AEEF !important;  
  background-color: #00AEEF !important;  
}
.esn-button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 174, 239, 0.3);
}
/* Glassmorphism effect for WPBakery rows */
.esn-glass {
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.esn-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(17, 24, 39, 0.8) 0%, transparent 50%, rgba(17, 24, 39, 0.4) 100%);
    pointer-events: none;
}
/* The Badge Wrapper */
.esn-badge-container {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 30px;
}
.vc_gitem-post {
    position: relative;
}

.vc_gitem-post-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    cursor: pointer;
}
/* Specific Project Banner */
.esn-project-banner {
    position: relative;
    overflow: hidden;
    border-radius: 30px !important;
    min-height: 450px;
    display: flex;
    align-items: center;
    z-index: 1;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.esn-project-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-image: inherit; 
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease-in-out !important;
    z-index: -1;
}
.esn-project-banner:hover::before {
    transform: scale(1.07);
}
.esn-project-banner > .vc_column-inner {
    z-index: 2;
    position: relative;
}
/* Specific Project Cards */
.esn-project-card {
    background: white !important;
    border-radius: 30px !important;
    padding-left: 30px !important;
    padding-right: 30px !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.03) !important;
    transition: all 0.3s ease !important;
    height: 100%;
    width: 49%;
}
.esn-project-card--right {
    float: right;
}
.esn-project-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important;
    transform: translateY(-5px);
}
/* Button Underline Style */
.esn-project-link {
    font-weight: 900 !important;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    display: inline-block;
    padding-bottom: 4px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    text-decoration: none;
    border-color: black;
}
.esn-project-link:hover {
    border-color: #00AEEF;
    color: #00AEEF;
}

/* Mission Icon Boxes */
.esn-mission-container {
    text-align: center;
    transition: all 0.3s ease;
}
.esn-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 24px; /* rounded-3xl */
    margin-bottom: 30px;
    transition: all 0.3s ease;
}
/* Hover effects for the icons */
.esn-mission-container:hover .esn-icon-box {
    transform: scale(1.1);
    color: white !important;
}


.esn-mission-container:hover .esn-icon-box.cyan { background-color: #00AEEF !important; }
.esn-mission-container:hover .esn-icon-box.green { background-color: #7AC143 !important; }
.esn-mission-container:hover .esn-icon-box.orange { background-color: #F47B20 !important; }
/* The Dark Causes Box */

.esn-cause-tag {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin: 4px;
    transition: background 0.3s ease;
    color: white;
}
.esn-cause-tag:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Swiper Container */
.esnProductSwiper {
    overflow: visible !important; /* CRITICAL: This stops the cropping */
    padding: 20px 0 !important;
}
.esn-shop-wrapper {
    padding: 20px 0 20px 0 !important; 
    margin-top: -40px;
}
.esn-shop-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #f3f4f6;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.esn-shop-card:hover {
   transform: translateY(-5px) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
    z-index: 10;
}
.esn-shop-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.esn-shop-info {
    padding: 20px;
}
.esn-shop-info h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 800;
    color: #111827;
}
.esn-shop-info p {
    margin: 0;
    font-size: 20px;
    font-weight: 900;
    color: #111827;
}
.swiper-pagination-bullet-active {
    background: #EC008C !important;
}

/* Button Underline Style */
.esn-shop-link {
    font-weight: 550 !important;
    font-size: 16px;
    display: inline-block;
    padding-bottom: 4px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    text-decoration: none;
    float: right;
}
.esn-shop-link:hover {
    border-color: black;
}
/* Newsletter Container */
.esn-newsletter {
    background-color: #EC008C !important; /* ESN Magenta */
    padding: 40px 80px !important;
    position: relative;
    overflow: hidden;
    color: white !important;
    text-align: -webkit-center;
}
/* Decorative Blobs (The white circles in the corners) */
.esn-newsletter::before, .esn-newsletter::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    filter: blur(80px);
    border-radius: 50%;
    z-index: 1;
}
.esn-newsletter::before { top: -100px; right: -100px; width: 300px; height: 300px; }
.esn-newsletter::after { bottom: -100px; left: -100px; width: 400px; height: 400px; }
/* Styling the Form (Input & Button) */
.esn-news-form input[type="email"] {
    background: white !important;
    border-radius: 16px !important;
    padding: 20px 30px !important;
    border: none !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    width: 40% !important;
    margin-right: 15px !important;
}
.esn-news-form .esn-btn-sub {
    background: #111827 !important; /* Black/Dark Grey */
    border-radius: 16px !important;
    padding: 20px 40px !important;
    color: white !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    transition: transform 0.3s ease;
}
.esn-news-form .esn-btn-sub:hover {
    background: black !important;
    transform: scale(1.05);
}
.esn-news-text {
    width: 80%;
}
/* Global Footer Styling */
.esn-main-footer {
    background: white;
    padding-top: 80px;
    padding-bottom: 40px;
    border-top: 1px solid #f3f4f6;
    color: #6b7280; /* gray-500 */
}
.esn-footer-title {
    font-weight: 900;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 14px;
    margin-bottom: 30px;
}
.esn-footer-link {
    color: #6b7280;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}
.esn-footer-link:hover {
    color: #EC008C; /* Magenta hover */
}
.esn-social-icon {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: #f3f4f6;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: all 0.3s ease;
}
.esn-social-icon:hover {
    background: #EC008C;
    color: white !important;
}

/*Paginas*/
.esn-hero-title {
  color: white !important;
  font-weight: 900 !important;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3), 0 8px 20px rgba(0,0,0,0.25);
}

/* Overlay genérico con imagen de fondo + zoom + bordes redondeados */
.esn-banner {
  position: relative;
  overflow: hidden;
  border-radius: 30px !important;
  min-height: 450px;
  display: flex;
  align-items: center;
  z-index: 1;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Banner con imagen de fondo + overlay + zoom + bordes redondeados */
.esn-banner {
  position: relative;
  overflow: hidden;            /* clave: recorta la imagen y el overlay dentro del radio */
  border-radius: 30px !important;
  min-height: 450px;
  display: flex;
  align-items: center;
  z-index: 1;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Imagen de fondo con zoom al hover (igual que en .esn-project-banner) */
.esn-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background-image: inherit;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease-in-out !important;
  z-index: -2;
}

.esn-banner:hover::before {
  transform: scale(1.07);
}

/* Overlay con color (por defecto oscuro, como en .esn-hero-overlay) */
.esn-banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
  pointer-events: none;
}

/* Contenido por encima */
.esn-banner > .vc_column-inner {
  z-index: 2;
  position: relative;
}

/* Variación con overlay naranja */
.esn-banner.orange::after {
  background: rgba(244, 123, 32, 0.6);
}