/* Congreso de Ecuatorianistas 2025 - Unified CSS Stylesheet */

/****************************************
 * 1. CHARACTER ENCODING & IMPORTS
 ****************************************/
@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

/****************************************
 * 2. ROOT VARIABLES
 ****************************************/
:root {
  /* Brand Colors */
  --primary-blue: #046eb2;
  --teal: #0c707f;
  --secondary-gold: #C49102;
  --gold-highlight: #f6d76f;
  --light-gold: #fdf3da;
  --orange: #d97706;
  --dark-pink: #a93e6c;

  /* Accent Colors */
  --cerulean: #1282a2;
  --light-blue: #b3d4f3;

  /* Grayscale */
  --white: #ffffff;
  --light-gray: #f5f7f9;
  --mid-gray: #e1e5ea;
  --dark-gray: #3d4852;
  --dark-blue: #1f2d3d;
  --dark-text: #1f2d3d;

  /* Section Backgrounds */
  --hero-right-bg: var(--white);
  --section-hero-gradient: linear-gradient(to bottom, var(--primary-blue), var(--teal));
  --section-inscripcion-bg: var(--cerulean);
  --section-organizacion-bg: var(--mid-gray);
  --section-comite-bg: var(--light-gold);
  --section-propuestas-bg: var(--dark-pink);
  --section-light-background: var(--light-gray);
  --section-programa-highlight-bg: linear-gradient(135deg, #2a90c7, #eaf6fb);
  --section-light-gold-bg: #f2f8fc;
  --section-tall-gold-bg: #fffdf9;
  --section-light-blue-bg: #eaf4fb;
  --footer-light-bg: #f3f1ec;
}

/****************************************
 * 3. SECTION BACKGROUND COLORS
 ****************************************/
.section-inicio .content,
.section-info {
  background-color: var(--dark-blue);
  color: var(--white);
}

.section-programa {
  background-color: var(--secondary-gold);
  color: var(--dark-blue);
}

.section-inscripcion {
  background-color: var(--section-inscripcion-bg);
  color: var(--white);
}

.section-propuestas {
  background-color: var(--section-propuestas-bg);
  color: var(--white);
}

.section-programa-highlight {
  background: var(--section-programa-highlight-bg);
  color: var(--white);
}

.section-light-background {
  background-color: var(--section-light-background);
  color: var(--dark-blue);
}

.section-light-gold {
  background-color: var(--section-light-gold-bg);
  color: var(--dark-text);
}

.section-light-blue {
  background-color: var(--section-light-blue-bg);
  color: var(--dark-text);
}

.section-comite {
  background-color: var(--section-comite-bg);
}

.section-tall-gold {
  background-color: var(--section-tall-gold-bg);
  color: #000;
}

.footer-light {
  background-color: var(--footer-light-bg);
  color: #333;
}

/* Avoid horizontal scrolling on mobile */
html, body {
  overflow-x: hidden;
}


body {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  color: var(--dark-text);
  line-height: 1.6;
  background-color: var(--section-light-background);
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  color: var(--primary-blue);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

a {
  color: #1a73e8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

section {
  padding-block: 4rem;
  border-bottom: 1px solid var(--mid-gray);
}


/* Hide on desktop, show only on mobile */
.mobile-hero-image {
  display: none;
}

/***************************************
 * Hero Section Styles (Desktop & Mobile)
 ***************************************/

/* Base Styles */
.hero-section {
  background-color: var(--section-light-background); /* fallback */
  padding: 0;
}

.hero-container {
  display: flex;
  flex-direction: row;
  min-height: 100vh;
  width: 100%;
}

.hero-image-side {
  flex: 1 1 50%;
  height: 100vh;
  overflow: hidden;
}

.hero-image-side img.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hero Text Panel */
.hero-text-side {
  background-color: var(--hero-right-bg);
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-text-side h1 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  text-align: center;
  color: var(--primary-blue);
  z-index: 1;
}

/* Title Animation */
.hero-title {
  padding: 2rem 1rem 1rem;
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.3;
  color: #003366;
  font-family: 'Inter', sans-serif;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease-out forwards;
  animation-delay: 0s;
  position: relative;
}

.hero-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--secondary-gold, #d4af37);
  margin: 1rem auto 0;
  border-radius: 2px;
}

.hero-title .hero-top {
  font-size: 1em;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-title .hero-bottom {
  font-size: 1.1em;
  color: #004c85;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Buttons */
.hero-buttons.merged-access {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  padding: 1rem 0 2rem;
}

.hero-buttons.merged-access .hero-card {
  background-color: var(--white);
  border-left: 4px solid var(--primary-blue);
  padding: 1rem 1.2rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  color: var(--dark-text);
  text-align: left;
  transition: transform 0.2s ease;
  width: 100%;
  max-width: 420px;
}

.hero-buttons.merged-access .hero-card:hover {
  transform: translateY(-3px);
  background-color: var(--light-gray);
}

.hero-buttons.merged-access .hero-card h3 {
  font-size: 1rem;
  margin: 0 0 0.4rem;
  color: var(--primary-blue);
}

.hero-buttons.merged-access .hero-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--dark-blue);
}


@media (max-width: 768px) {
  .hero-container {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;

    background-image: url('images/CUE-2025-portrait-cropped-1440x1920.jpg'); /* ← updated path */
    background-size: cover;
    background-position: center;
    min-height: 100vh;
   padding-top: 5px;  /* Try reducing to 64px or 60px */
    margin-top: 0 !important;
  }

.hero-container::before {
  content: "";
  position: absolute;
  inset: 0;
background: linear-gradient(to bottom, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2));
  z-index: 0;
}

.hero-content {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

  .hero-image-side {
    display: none;
  }

.hero-text-side {
  background: rgba(255, 255, 255, 0.75); /* was 0.85 */
  backdrop-filter: blur(3px);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

  .hero-title {
  color: #04457b;
  margin-bottom: 1rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4); /* Adds depth */
}

  .hero-buttons .hero-card {
    background-color: var(--secondary-gold);
    margin-top: 0.75rem;
  }
}
/* Utility */
.no-scroll {
  overflow: hidden;
}






/* Sticky Header */
/* Sticky Header */
#sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--primary-blue);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1001;
  transition: box-shadow 0.3s ease, border-bottom 0.3s ease;
}

/* Optional hide effect */
#sticky-header.hide-border {
  box-shadow: none;
  border-bottom: none;
}

/* Inner header layout */
.header-inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0.5rem 1rem;
  box-sizing: border-box;
}

/* Logo */
.logo img {
  max-height: 40px;
}

@media (max-width: 768px) {
  .logo img {
    max-height: 32px;
  }
  
  
 /* Enhanced logo container */
/* Logo container */
.logo {
  display: inline-block;
  padding: 0.4rem 0.6rem;
  max-width: 120px;
  background-color: var(--primary-blue);
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

/* Hover effect */
.logo:hover {
  background-color: var(--secondary-gold);
  color: var(--white);
  border-bottom: 3px solid var(--gold-highlight);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Logo image */
.logo img {
  display: block;
  margin: 0 auto;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

.logo:hover img {
  filter: brightness(0.95);
}

/* Logo caption */
.logo-caption {
  font-size: 0.7rem;
  color: var(--white);
  margin-top: 0.3rem;
  line-height: 1.2;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Optional: hide on small screens */
/* Previously hiding on mobile – now show it */
@media (max-width: 768px) {
  .logo-caption {
    display: block; /* Instead of display: none */
    font-size: 0.55rem;
    line-height: 1;
    text-align: left; /* or center if preferred */
    margin-top: 0.2rem;
  }

  .logo {
    max-width: 100px;
    padding: 0.25rem;
  }
}



/* Uniform section styling */
section {
  padding-block: 4rem;
  border-bottom: 1px solid var(--mid-gray); /* subtle divider line */
}

/* Optional: override specific section backgrounds as needed */
.section-inscripcion {
  background-color: var(--section-inscripcion-bg); /* already defined in your :root */
}

.section-programa-highlight {
  background: var(--section-programa-highlight-bg);
  color: white;
}

.section-light-background {
  background-color: var(--section-light-background);
}

.section-comite {
  background-color: var(--section-comite-bg);
}





/* Convocatoria */
.section-convocatoria {
  background-color: var(--light-background);
  padding: 4rem 2rem;
  color: var(--dark-text);
}

.section-convocatoria .content {
  max-width: 900px;
  margin: 0 auto;
}

.section-convocatoria h2 {
  font-size: 2rem;
  color: var(--orange);
  margin-bottom: 1.5rem;
}

.section-convocatoria h3 {
  color: var(--dark-blue);
  margin-top: 2rem;
}

.section-convocatoria a {
  color: var(--blue);
  text-decoration: underline;
}
/* Convocatoria */


/* Divider */
.section-divider {
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--white));
}

.section-divider-dark {
  height: 50px;
  background: linear-gradient(to bottom, var(--dark-blue), transparent);
}
/* Divider */


/* Section Inicio */
.section-inicio {
  display: flex;
  flex-direction: row;
  min-height: calc(100vh - 60px);
  overflow: hidden;
}

.section-inicio .content {
  width: 50%;
  padding: 80px 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
  background-color: var(--dark-blue);
  z-index: 1;
}

.section-inicio .image-side {
  width: 50%;
  background-image: url('https://ecuatorianistas.com/congreso_2025/images/CUE-2025-portrait.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Tablet and Mobile adjustments (up to 1024px) */
@media (max-width: 1024px) {
  .section-inicio {
    flex-direction: column;
    align-items: stretch;
  }
  }

  .section-inicio .image-side {
    width: 100%;
    height: 50vh;
    background-image: url('https://ecuatorianistas.com/congreso_2025/images/CUE-2025-portrait.jpg'); /* ✅ Redefine for safety */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }

  .section-inicio .content {
    width: 100%;
    padding: 40px 1.5rem;
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: column;
  }

  .section-inicio h1,
  .section-inicio p {
    margin-left: auto;
    margin-right: auto;
  }


@media (max-width: 768px) {
  .section-inicio h1,
  .hero-content h1 {
    font-size: 1.5rem; /* smaller headline */
  }

  .section-inicio p,
  .hero-content p {
    font-size: 1rem; /* smaller paragraph */
    line-height: 1.4;
  }

  .hero-buttons a {
    font-size: 0.95rem;
    padding: 0.6rem 1.2rem;
  }
}

  .hero-buttons {
    justify-content: center;
  }
}

/* Responsive layout for mobile */
@media (max-width: 768px) {
  .hero-container {
    flex-direction: column;
  }

  .hero-image-side {
    width: 100%;
    min-height: 300px;
  }

  .hero-text-side {
    width: 100%;
    padding: 2rem 1.5rem;
  }


.hero-text-side h1 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-blue);
  text-align: center;
}


  .hero-buttons.merged-access {
    gap: 1rem;
  }

  .hero-buttons.merged-access a.hero-card {
    width: 90%;
  }
}

  .hero-card {
    width: 90%;
  }
}

/* Section Inicio END */


/* Section Info */

.section-info {
    background-color: var(--dark-blue);
    min-height: 100vh; /* Ensure full viewport height */
    padding: 100px 20px 120px;
    color: var(--white);
    color: var(--dark-blue);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
}

.section-info h2 {
    color: var(--secondary-gold);
    margin-bottom: 2rem;
    font-size: 2.5rem;
    text-transform: uppercase;
    font-weight: bold;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin-top: 20px;
}

.info-item {
    background-color: var(--white);
    color: var(--dark-blue);
    padding: 30px 25px;
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    border-top: 6px solid var(--secondary-gold);
    transition: transform 0.2s ease;
}

.info-item:hover {
    transform: translateY(-5px);
}

.info-item h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.info-item a {
    color: var(--primary-blue);
    text-decoration: none;
}

.info-item a:hover {
    text-decoration: underline;
}

/* Text Section (Generic) */
.text-section {
    background-color: var(--white);
    padding: 60px 20px;
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.8;
}

.text-section h2, .text-section h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.text-section p {
    margin-bottom: 1rem;
}

.text-section ul {
    padding-left: 1rem;
    list-style: disc;
    color: var(--dark-blue);
}




/* Section programa */
.section-programa {
    background-color: var(--secondary-gold); /* Gold Background */
    min-height: 100vh; /* Full viewport height */
    padding: 100px 20px; /* Generous padding for spacing */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
    text-align: center; /* Center-align text */
    color: var(--dark-blue); /* Dark blue text for contrast */
}

.section-programa h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--white); /* White heading for contrast */
    text-transform: uppercase;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.program-item {
    background-color: var(--white); /* White cards for content */
    color: var(--dark-blue); /* Text color */
    padding: 20px;
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    border-top: 5px solid var(--primary-blue); /* Accent border */
}

.program-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.program-item p {
    font-size: 1rem;
    line-height: 1.6;
}


/* Wrapper for the next-day link */
.program-next-link {
  display: flex;
  justify-content: center;
  margin: 3rem 0 2rem;
}

/* Styling the actual link */
.next-day-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-blue);
  background-color: var(--light-gold);
  border: 1px solid var(--gold-highlight);
  border-radius: 0.6rem;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.next-day-link:hover {
  background-color: var(--gold-highlight);
  color: #000;
  text-decoration: none;
}
/* Section programa END */


/* Section inscripcion */
.section-inscripcion {
    background-color: #1282a2; /* Cerulean background */
    min-height: 100vh;
    padding: 120px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff; /* White text for high contrast */
}

.section-inscripcion h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: #ffffff; /* White heading for contrast */
    text-transform: uppercase;
    font-weight: bold;
}

/* Section inscripcion END */


/* Section propuestas  */

.section-propuestas {
  background-color: var(--dark-pink); /* Deep magenta background */
  color: var(--white); /* Light text for contrast */
  padding: 100px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 100vh;
}

.section-propuestas h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--white);
  text-transform: uppercase;
  font-weight: bold;
}

.section-propuestas p {
  font-family: 'Inter', sans-serif;
  max-width: 800px;
  line-height: 1.7;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--white);
}

.section-propuestas a {
  color: var(--gold-highlight);
  text-decoration: underline;
}

.section-propuestas a:hover {
  color: var(--light-blue);
}


.section-programa-highlight {
  background: linear-gradient(135deg, #0c6b75, #1282a2); /* teal to cerulean */
  min-height: 100vh;
  padding: 80px 20px;
  color: #ffffff;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-programa-highlight .container {
  max-width: 960px;
  margin: 0 auto;
}

.section-programa-highlight h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.section-programa-highlight p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #ffffff;
}

/* Section propuestas END */


/* Programa */

.program-alert {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 1em;
  margin: 1em 0 2em 0;
  border-left: 5px solid #DCCCA3;
  font-size: 1.1em;
  border-radius: 4px;
}

.program-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.program-btn {
  background-color: #ffffff;
  color: #0c6b75;
  padding: 0.9rem 1.6rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.program-btn:hover {
  background-color: #f2f2f2;
  transform: translateY(-3px);
}

.full-program-button {
  display: inline-block;
  background-color: #DCCCA3;
  color: #0c6b75;
  font-weight: bold;
  text-decoration: none;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  font-size: 1rem;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
  /* mobile minimum */
  min-width: 180px;
}

/* desktop: make it wider */
@media (min-width: 768px) {
  .full-program-button {
    min-width: 350px;
  }
}

.full-program-button:hover {
  background-color: #c9bb91;
  transform: translateY(-2px);
}


/* Program ends */

/* Registration */

.highlighted-heading {
  text-align: center;
  font-family: 'Lora', serif; /* or your preferred serif title font */
  font-size: 2.2rem;
  color: var(--orange-dark, #cc5500);
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #ffe0c0 0%, #ffffff 100%);
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}


.refined-heading {
  color: inherit; /* adopts the surrounding text color */
  background-color: transparent;
  font-family: 'Roboto', sans-serif;
  font-size: 1.6rem;
  font-weight: 500;
  text-align: left;
  padding: 0;
  margin: 0 0 1rem 0;
  letter-spacing: normal;
}

.registration-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5em;
  margin-top: 1em;
  flex-wrap: wrap;
}

.registration-buttons a {
  display: inline-block;
  background-color: var(--secondary-gold); /* Warm gold */
  color: var(--dark-blue); /* Dark text for readability */
  padding: 0.8em 1.5em;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.registration-buttons a:hover {
  background-color: var(--gold-highlight); /* Lighter gold on hover */
  color: var(--dark-blue);
}

.btn {
    padding: 15px 30px;
    font-size: 1.2rem;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-ponentes {
    background-color: var(--primary-blue); /* Dark blue for buttons */
    color: var(--white);
}

.btn-ponentes:hover {
    background-color: #1A5276; /* Slightly darker blue on hover */
    transform: translateY(-5px); /* Lift effect */
}

.btn-asistentes {
    background-color: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-asistentes:hover {
    background-color: var(--light-gray);
    transform: translateY(-5px);
}

.section-light-background {
    color: var(--white); /* Gold background */
    min-height: 100vh; /* Full viewport height */
    padding: 120px 20px; /* Extra spacing */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center vertically */
    align-items: center; /* Center horizontally */
    text-align: center; /* Ensure all text is center-aligned */
    color: var(--dark-blue); /* Dark blue for text readability */
}

.section-light-background h2 {
    color: var(--white); /* White heading for strong contrast */
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    text-align: center; /* Explicit center alignment */
}

.section-light-background p {
    color: var(--dark-blue); /* Dark blue text */
    font-size: 1.2rem;
    max-width: 800px; /* Limit paragraph width for readability */
    line-height: 1.6;
    margin: 0 auto 2rem auto; /* Center horizontally */
    text-align: center; /* Center-align paragraphs */
}


/* Light Background Section */
.section-light-background {
    background-color: var(--light-gray);
    padding: 60px 20px;
}

.section-light-background h2 {
    color: var(--primary-blue);
    text-align: center;
}


.section-light-gold {
    background-color: #FDF3D0; /* Light gold background */
    padding: 80px 20px; /* Generous spacing */
    color: #333333; /* Dark gray for text readability */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: left; /* Aligns text to the left */
}

.section-light-gold .content {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

.section-light-gold h2 {
    color: #8C6B21; /* Darker gold for headings */
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center; /* Center-align the main heading */
    font-weight: bold;
}

.section-light-gold h3 {
    color: #A67C00; /* Medium gold for subheadings */
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.section-light-gold ul {
    list-style-type: none; /* Remove default bullets */
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.section-light-gold ul li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem; /* Indent text slightly */
    position: relative;
    line-height: 1.6;
}

.section-light-gold ul li::before {
    content: "\2022"; /* Custom bullet point */
    color: #8C6B21; /* Dark gold */
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 0;
}



.section-light-gold em {
    font-style: italic;
    color: #8C6B21; /* Highlighted gold color for emphasis */
}

.section-tall-gold {
    background-color: #fefcfb; /* Light neutral background */
    min-height: 100vh;
    padding: 60px 20px; /* Match text-section padding */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #000000;
}

.section-tall-gold .content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
    color: #000000;
}

.section-tall-gold h2 {
    color: var(--primary-blue);
    font-size: 2rem; /* Reduced from 2.5rem */
    font-weight: bold;
    text-transform: none; /* No uppercase like in text-section */
    margin-bottom: 1rem;
    text-align: left; /* Match text-section style */
}

.section-tall-gold h3 {
    color: #026db1;
    font-size: 1.3rem; /* Smaller, closer to text-section h3 */
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.section-tall-gold p,
.section-tall-gold ul li {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #000000;
}

.section-tall-gold ul {
    list-style: disc;
    padding-left: 1.5rem;
}

.section-tall-gold ul li::before {
    content: "";
}

.section-tall-gold a {
    color: #1282a2;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.section-tall-gold a:hover {
    color: #034078;
}


/* SECTION COMITE */

.section-comite {
    background-color: var(--#C1963E); /* Light background for readability */
    padding: 100px 20px;
    text-align: left;
    color: var(--dark-blue);
    display: flex;
    justify-content: center;
}

.section-comite .content {
    max-width: 900px;
    width: 100%;
}

.section-comite h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem;
}

.section-comite h3 {
    font-size: 1.6rem;
    margin-top: 2rem;
    color: var(--azul);
}

.section-comite ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.section-comite li {
    margin-bottom: 0.8rem;
    padding-left: 0;
}



/*.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  color: var(--dark-blue);
  margin-bottom: 1.2rem;
}*/

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-title .title-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1rem;
  color: var(--text-color);
}


/*========================
HOTEL CLASSES
========================*/

.hotel-grid {
  display: grid;
  grid-template-columns: 1fr; /* Single column on mobile */
  gap: 1.5rem;
}

.hotel-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hotel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.hotel-card h3 {
	font-size: clamp(1.1rem, 2.5vw, 1.25rem);  
	margin-bottom: 1rem;
  	color: #0b1f2f;
}

.hotel-details {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.hotel-details li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.hotel-details a {
  color: #005b8e;
  text-decoration: underline;
}
.hotel-details li {
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .hotel-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .hotel-card {
    padding: 1rem;
  }
}


.hotel-alt-options {
  margin-top: 2rem;
  text-align: center;
}

.alt-links {
  list-style: none;
  padding: 0;
  margin: 1rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.alt-links a {
  color: var(--dark-blue);
  text-decoration: none;
  font-weight: 600;
}

.alt-links a:hover {
  text-decoration: underline;
}

.section-light-gold ul li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem; /* space for the bullet */
    position: relative;
    line-height: 1.6;
}

.section-light-gold ul li::before {
    content: "\2022";
    position: absolute;
    left: 0;
    top: 0.35em; /* better vertical alignment */
    font-size: 1.2rem;
    color: #8C6B21;
}


.hotel-details li {
  margin-bottom: 0.5rem;
  padding-left: 0; /* Remove indent from global style */
  position: static; /* Cancel absolute positioning */
  line-height: 1.6;
  list-style: disc inside; /* Restore normal bullets */
}

.hotel-details li::before {
  content: none; /* Cancel the custom bullet */
}


/*========================
HOTEL CLASSES END
========================*/

/* Footer and Misc. */
.site-footer {
  background-color: var(--dark-blue); /* Dark navy background */
  color: var(--white);                /* White text */
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0.3rem 0;
}

.site-footer a {
  color: var(--light-blue);           /* Soft link contrast */
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.quick-access {
  padding: 3em 2em;
  background-color: #f8f5ef;
  text-align: center;
}

.quick-access h2 {
  font-size: 2em;
  margin-bottom: 1em;
}


.hero-buttons.merged-access .hero-card {
  background-color: var(--secondary-gold);
  color: var(--dark-text);
  padding: 0.6rem 1rem;
  margin: 0 auto;
  font-size: 0.95rem;
  border-radius: 8px;
  text-decoration: none;
  max-width: 420px;
  width: 100%;
  height: auto !important;
  min-height: unset !important;
  flex: 0 0 auto !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: block;
  transition: background-color 0.3s;
}

.hero-buttons.merged-access .hero-card:hover {
  background-color: var(--gold-highlight);
}

.hero-buttons.merged-access .hero-card h3 {
  font-size: 1.05rem !important;
  margin: 0 0 0.3rem !important;
  line-height: 1.3;
  color: inherit;
}

.hero-buttons.merged-access .hero-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.footer-light {
  background-color: #f8f5ef; /* same light gold tone from section-light-gold */
  padding: 2em 1em;
  text-align: center;
  font-family: 'Roboto', sans-serif;
  border-top: 1px solid #ddd;
}

.footer-text {
  font-size: 0.95rem;
  color: #333;
  margin: 0;
}

.footer-text a {
  color: #007C82;
  text-decoration: none;
  font-weight: 500;
}

.footer-text a:hover {
  text-decoration: underline;
}

.footer-credit {
  font-family: 'Roboto', sans-serif;
  font-style: italic;
  display: inline-block;
  margin-top: 0.5em;
}






/* -------------------------------------
   Mobile-Specific Adjustments (≤768px)
-------------------------------------- */
@media (max-width: 768px) {
  body {
    font-size: 15px;
    padding: 0 1rem;
  }

  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.3rem; }
  h4 { font-size: 1.2rem; }
  h5 { font-size: 1.1rem; }
  h6 { font-size: 1rem; }

  .hero-content,
  .section-content,
  .content {
    padding: 1rem 1rem;
    text-align: center;
  }

  .hero-buttons,
  .program-buttons,
  .registration-buttons {
    flex-direction: column;
    gap: 1rem;
  }

.hero-buttons {
  align-items: flex-start;
}

  .info-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }



.hero-card {
  padding: 1rem 1.2rem;
  border-radius: 8px;
  background-color: var(--secondary-gold);
  color: var(--dark-text);
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  max-width: 420px;
  margin: 0 auto;
}


.hero-card p {
  font-size: 0.95rem;
  margin: 0;
}

.hero-buttons a.hero-card {
  display: block;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding: 1rem;
  box-sizing: border-box;
  flex: none !important; /* prevent growth or shrink */
  align-self: flex-start; /* don't stretch */
  height: auto !important; /* override any inherited height */
}

}

.grid-members {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.member-card {
  background-color: var(--white);
  padding: 1rem;
  border-left: 5px solid var(--secondary-gold);
  border-radius: 6px;
  font-size: 0.95rem;
  line-height: 1.4;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.hero-buttons.merged-access > a.hero-card > h3 {
  font-size: 1.1rem !important;
  margin: 0 0 0.4rem !important;
  line-height: 1.3;
  color: inherit;
}



/****************************************
 * PANEL HEADER STYLING
 ****************************************/
.panel_header {
  background-color: var(--section-light-blue-bg);
  padding: 1rem 1.5rem;
  border-radius: 6px 6px 0 0;
  margin-bottom: 1rem;
  border-left: 4px solid transparent; /* new: default invisible strip */
}

.panel_header h2 {
  font-size: 1.2rem;
  color: #003366; /* deep navy blue – calm, strong, and accessible */
  font-weight: 600;
  border-bottom: 2px solid var(--secondary-gold);
  padding-bottom: 0.3rem;
  margin-bottom: 0.5rem;
}

.panel_meta {
  font-size: 0.95rem;
  color: var(--dark-gray);
  line-height: 1.5;
}

.panel_meta strong {
  font-weight: 700;
  color: var(--dark-blue);
}

.panel_header.see-lasa {
  border-left-color: var(--primary-blue); /* LASA */
}

.panel_header.ecuatorianistas {
  border-left-color: 	#914646; /* muted brick red */
}

.panel_header.plenaria {
  border-left-color: #6a1b9a; /* purple for plenaries */
}

.panel_header.book {
  border-left-color: #00695c; /* deep teal for books */
}

/****************************************
 * PANEL DETAIL STYLING
 ****************************************/
.panel_detail {
  background-color: #f9fbfd;
  border-radius: 8px;
  padding: 1rem;
  margin: 2rem 0;
}

.panel-title,
.panel_meta,
.panel_card {
  margin: 0 1rem;
}

.panel-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin: 2rem 1rem 0;
}

.panel_card {
  background: linear-gradient(to right, #fffdf9, #f9f6ed);
  border-left: 6px solid var(--secondary-gold);
  border-top: 3px solid var(--light-gold);
  padding: 1.5rem 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  font-family: 'Inter', sans-serif;
  border-radius: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 1.5rem;
}

.panel_card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.panel_card a {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
}

.panel_card a:hover {
  text-decoration: underline;
  color: var(--primary-blue);
}

.panel_title_orange {
  color: var(--secondary-gold);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.1px;
  margin-bottom: 0.5rem;
}

.panel_subtitle {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.panel_author {
  font-size: 0.95rem;
  margin: 0.1rem 0 0;
  margin-left: 0rem;
}

.author_name {
  font-weight: 600;
  color: var(--primary-blue);
}

.panel_origin {
  font-style: italic;
  color: #999;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.abstract {
  font-size: 0.9rem;
  color: #333;
}

.calendar_content {
  padding: 0 1rem;
}

/****************************************
 * PROGRAM FILTER BAR (MERGED)
 ****************************************/
.section-hero {
  background-color: #f4f9fc;
  padding: 2rem 1rem 0.5rem;
  text-align: left;
  margin: 32px 0 0;  /* Top margin restored */
  border-bottom: none;
}

.day-header {
  color: var(--secondary-gold); /* Gold color */
  font-weight: 600;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.5rem 0 1rem;
}



.panel-plenaria,
.panel-book,
.panel-opening-closing {
  font-weight: bold;
  font-size: 1.3rem;
  margin-top: 1rem;
}

.program-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin: 1rem 0 2rem;
  padding: 0 1rem 1rem;
  background-color: #f4f9fc;
  border-bottom: 1px solid #ddd;
}

.program-inline-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.program-inline-menu a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  font-weight: 500;
  text-decoration: none;
  color: var(--primary-blue);
  transition: background-color 0.2s;
}


.program-inline-menu a:hover {
  background-color: #eef6fc;
}

.program-inline-menu .emoji {
  font-size: 0.85rem;
  margin-right: 0.25rem;
  vertical-align: middle;
}

.program-inline-menu,
.search-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.program-header {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Base icon style */
.icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  stroke: currentColor;
}

.program-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

/* Navbar (white icons) */
.navbar .icon,
.dropdown-menu .icon {
  color: white;
}

/* Program section (gold icons) */
.program-nav .icon,
.program-inline-menu .icon {
  color: var(--secondary-gold); /* or your preferred gold */
}


.search-box {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.search-box form {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  max-width: 600px;
}

.search-box input[type="text"] {
  flex: 1;
  padding: 0.5rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.search-buttons {
  display: flex;
  gap: 0.5rem;
}

.search-buttons button,
.search-buttons .clear-button {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
}

.search-buttons button {
  background-color: var(--primary-blue);
  color: white;
  border: none;
}

.search-buttons .clear-button {
  background-color: white;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.search-buttons .clear-button:hover {
  background-color: #f0f8ff;
}

/* 📱 Mobile overrides */
@media (max-width: 768px) {
  .search-box {
    justify-content: center;
  }

  .search-box form {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }

  .search-box input[type="text"] {
    width: 100%;
  }

  .search-buttons {
    flex-direction: row;
    width: 100%;
  }

  .search-buttons button,
  .search-buttons .clear-button {
    flex: 1;
    text-align: center;
  }
}



  .filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .filter-bar button {
    flex: 1 1 48%;
    padding: 0.4rem;
    font-size: 0.9rem;
  }
}

@media (min-width: 769px) {
  .program-filters {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .program-inline-menu {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .search-box {
    width: 100%;
    justify-content: flex-start;
  }

  .search-box form {
    max-width: 600px;
  }
}

/* ============================
   NAVIGATION BAR
============================ */
/* Base styles */
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  padding: 0.5rem 1rem;
  margin: 0 auto;
}

.navbar .nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); /* base shadow */
  transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* stronger on scroll */
}

.nav-menu a:focus,
.nav-menu a:active,
.nav-menu .dropdown-menu a:hover {
  background-color: var(--secondary-gold);
  color: black;
}

/* Default (Mobile) */
.navbar .nav-menu {
  display: none;
  flex-direction: column;
  background-color: var(--primary-blue);
}

.navbar.open .nav-menu {
  display: flex;
}

.navbar a {
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  display: block;
  transition: background-color 0.3s ease, color 0.3s ease;
  position: relative;
  font-weight: 500;
  border-radius: 4px;
}

/* Hover effects */
.navbar a:hover {
  background-color: var(--secondary-gold);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Active state */
.navbar a.active,
.dropdown-menu a.active {
  background-color: var(--secondary-gold);
  color: var(--primary-blue);
  font-weight: bold;
}

/* Underline animation */
.navbar a::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-gold);
  transition: width 0.3s ease;
}

.navbar a:hover::after {
  width: 100%;
}

.navbar ul,
.navbar li {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Hamburguer */
/* HAMBURGER BUTTON + ANIMATION */
/* Default: hide hamburger on large screens */
.hamburger {
  display: flex;
  position: relative;
  width: 30px;
  height: 24px;
  flex-direction: column;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;               /* ensure full width */
  height: 4px;
  background: white;
  border-radius: 2px;
  transition: 0.3s ease;
  box-shadow: 0 0 2px rgba(0,0,0,0.5); /* optional for visibility */
}

/* Animate to 'X' */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Show hamburger on mobile */
@media (max-width: 768px) {
  .hamburger {
  display: flex;
  background: none;
}

  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    background-color: var(--primary-blue);
    padding: 1rem;
  }

  .navbar.open .nav-menu {
    display: flex;
  }

  .nav-menu a {
    padding: 1rem;
  }
}

/* SCROLL SHADOW ON NAVBAR */
.navbar.scrolled {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* ACTIVE MENU ITEM */
.nav-menu a.active,
.dropdown-menu a.active {
  background-color: var(--secondary-gold);
  color: var(--primary-blue);
  font-weight: bold;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  flex-direction: column;
  position: static;
  padding-left: 1rem;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* Desktop */
@media (min-width: 768px) {
  .navbar .nav-menu {
    display: flex !important;
    flex-direction: row;
    justify-content: flex-end;
    gap: 1rem;
    background-color: var(--primary-blue);
  }

  .navbar .nav-menu li {
    position: relative;
  }

  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: none;
  }

  .dropdown:hover .dropdown-menu {
    display: block;
  }

  .hamburger {
    display: none;
  }
}