/* Brand color palette */
:root {
    --ella-blush:   #FFD8D1;
    --ella-rose:    #F9AFB1;
    --ella-lilac:   #978EC4;
    --ella-mint:    #9AB59D;
    --ella-peach:   #F4B092;
    --ella-deep-pink: #CE325B;
    --ella-charcoal: #3A3F3B;
    --ella-cream:   #F9F5EA;
    --ella-white:   #FFFFFF;
    --ella-blue:    #99B7C6;
  }
  
  /* ====== Base ====== */
  
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  
  body {
    margin: 0;
    font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont,
      "Segoe UI", sans-serif;
    background-color: var(--ella-white);
    color: var(--ella-charcoal);
    line-height: 1.6;
  }
  
  a {
    color: var(--ella-deep-pink);
    text-decoration: none;
  }
  
  a:hover {
    text-decoration: underline;
  }
  
  .container {
    max-width: 1100px;
  }
  
  /* Center the main content under the navbar */
  body > .container:first-of-type {
    margin-top: 1.5rem;
  }
  
/* ===== NAVBAR ===== */
.nav-bar {
  z-index: 2;
}

/* Top white bar */
.top-auth-bar {
  width: 100%;
  background: white;
  padding: 10px 40px;
  display: flex;
  justify-content: flex-end;
  font-family: Montserrat, sans-serif;
}

.auth-links {
  display: flex;
  justify-content: space-between;
}

.auth-links a {
  color: var(--ella-charcoal);
  text-decoration: none;
  margin-left: 8px;
  font-size: 0.95rem;
  transition: all 0.35s ease;
}

.auth-links a:hover {
  color: #3a3f3bc1;
}

/* Pink nav bar */
.pink-nav {
  width: 100%;
  height: 111px;
  background: #FFD8D1;
  padding: 15px 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-stuff {
  height: 20px;
  width: auto;
}

.nav-logo img {
  height: 102px;
}

.logo-text {
  font-family: "DM Serif Display", serif;
  font-size: 2rem;
}

.nav-links {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
}

.nav-links > div > a {
  color: var(--ella-charcoal);
  transition: all 0.4s ease;
  display: inline-block;
  text-decoration: none !important;
  font-size: 1.3rem;
}

.nav-links > div:hover {
  text-decoration: none !important;
  background-color: #f5bdb4;
  border-radius: 40px;
}

.nav-link-indi {
  color: var(--ella-charcoal);
  transition: all 0.4s ease;
  text-decoration: none !important;
  padding: .65rem 1rem;
  border-radius: 40px;
  display: inline-block;
}

/* ===== ADMIN DROPDOWN (UPGRADED) ===== */

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-btn {
  background: transparent;
  border: none;
  font-family: Montserrat, sans-serif;
  color: var(--ella-charcoal);
  cursor: pointer;
  font-weight: 400; /* MATCHES OTHER NAV LINKS */
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 1.3rem;
  padding: .85rem 1rem;
  border-radius: 40px;
  line-height: 1;
  transition: all 0.3s ease;
}


.dropdown-btn:hover {
  text-decoration: none !important;
  background-color: #f5bdb4;
}

/* Arrow animation */
.dropdown-arrow i {
  transition: transform 0.25s ease;
}

/* Rotate arrow only when hovering over the dropdown */
.dropdown:hover .dropdown-arrow i {
  transform: rotate(180deg);
}

/* Dropdown panel */
.dropdown-content {
  display: none;
  position: absolute;
  left: 0;
  top: 105%;
  background-color: var(--ella-white);
  min-width: 190px;
  border-radius: 10px;
  padding: 0.4rem 0;
  box-shadow: 0 8px 20px rgba(0,0,0,0.10);
  border: 1px solid rgba(0,0,0,0.06);
  animation: fadeIn 0.18s ease-out;
  z-index: 50;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Dropdown items */
.dropdown-content a {
  display: block;
  padding: 10px 16px;
  font-size: 0.95rem;
  color: var(--ella-charcoal);
  text-decoration: none;
  transition: background-color 0.2s ease;
}

/* Hover effect: subtle gray NOT pink */
.dropdown-content a:hover {
  background-color: rgba(0,0,0,0.05);
}

/* Fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Hero layout */
.landing-hero {
  padding: 50px 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 40px;
}

.hero-image {
  width: 100%;
  border-radius: 12px;
}

.hero-subtext {
  font-size: 1.2rem;
  margin: 20px 0 35px;
}

.landing-donate-btn {
  background-color: #9AB59D; 
  color: var(--ella-charcoal);
  font-size: 1.75rem;
  font-weight: 600;
  text-decoration: none;
  padding: 1rem 3rem;
  border-radius: 40px;
  transition: all 0.4s ease;
}

.landing-donate-btn:hover {
  background-color: #829c85;
  text-decoration: none !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(58, 63, 59, 0.2);
}


/* DONATE BUTTON (universal style) */
.donate-btn {
  background-color: #9AB59D; 
  color: var(--ella-charcoal) !important;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none !important;
  padding: 0.60rem 2rem;
  border-radius: 40px;
  transition: all 0.4s ease;
  display: inline-block;
}

.donate-btn:hover {
  background-color: #829c85;
  text-decoration: none !important;
  transform: scale(1.04)
}

/* ===== HERO SECTION ===== */
.landing-hero {
  margin-top: 2rem;
}

.hero-grid {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.hero-image {
  width: 50%;
  border-radius: 10px;
}

.hero-text {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.hero-title {
  font-family: Montserrat;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-subtext {
  font-size: 2rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  text-align: center;
}



  /* ====== Buttons ====== */
  
  .btn-primary {
    background-color: var(--ella-charcoal);
    border-color: var(--ella-charcoal);
    color: var(--ella-cream);
    border-radius: 999px;
    padding: 0.65rem 1.6rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: none;
    letter-spacing: 0.02em;
    transition: transform 0.15s ease, box-shadow 0.15s ease,
      background-color 0.15s ease;
  }
  
  .btn-primary:hover {
    background-color: #202321;
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(58, 63, 59, 0.2);
  }
  
  .btn-outline-primary {
    border-radius: 999px;
    border-color: var(--ella-charcoal);
    color: var(--ella-charcoal);
    font-weight: 600;
    padding: 0.65rem 1.6rem;
    font-size: 0.95rem;
    text-decoration: none;
    background-color: transparent;
  }
  
  .btn-outline-primary:hover {
    background-color: var(--ella-charcoal);
    color: var(--ella-cream);
    text-decoration: none;
  }
  
  .btn-sm-pill {
    border-radius: 999px;
    padding: 0.45rem 1.1rem;
    font-size: 0.85rem;
  }

  .btn-secondary {
    background-color: var(--ella-charcoal);
    text-decoration: none;
    font-family: Montserrat;
    font-weight: 600;
  }

  .btn-secondary:hover {
    text-decoration: none;
    background-color: #3a3f3bd1;
  }

  #user_profile_delete {
    margin-top: 10px;
  }

  #user_profile_edit {
    margin-top: 10px;
    padding: 8.5px 25px;
    border: black;
  }

 /* Quick Amount Buttons (Bigger + Matching Ella Rises Style) */
.quick-amount-btn {
  border-radius: 999px;
  border: 1px solid var(--ella-charcoal);
  color: var(--ella-charcoal);
  font-weight: 600;
  background-color: transparent;
  padding: 0.55rem 1.4rem; /* 🔥 increased from small size */
  font-size: 0.95rem;      /* 🔥 slightly bigger text */
  transition: all 0.2s ease;
}

.quick-amount-btn:hover,
.quick-amount-btn.selected {
  background-color: var(--ella-charcoal);
  color: var(--ella-cream);
}

.survey-btn-align {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center;
  margin-bottom: -20px;
}

/* #survey-back-btn {
  display: inline;
} */

  /* ===== Footer ===== */
  .ella-rises-banner {
    background-color: #000;
    width: 100%;
    height: 130px; 
    text-align: center;
  }

  .ella-rises-banner > img {
    height: 70px;
    width: auto;
    margin-top: 1.86rem;
  }

/* ===== Footer Section ===== */
.index-footer {
  background: #fff;
  padding: 2rem 0 1.3rem;
  text-align: center;
}

/* Social icons container */
.footer-socials {
  display: flex;
  justify-content: center;
  gap: 2.5rem; /* space between icons */
  margin-bottom: 1rem;
}

/* Social icons */

.instagram-icon {
  font-size: 30px;          /* bigger, polished */
  background-color: none;
  color: #fff;           /* charcoal */
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.instagram-icon-container {
  height: 42px;
  width: 42px;
  background-color: #000;
  cursor: pointer;
  text-decoration: none;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.facebook-icon {
  font-size: 40px;          
  color: #000;          
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-socials a,
.footer-socials a:hover,
.footer-socials a:focus,
.footer-socials a:active {
  text-decoration: none !important;
}

/* Copyright text */
.footer-copy {
  font-size: 0.9rem;
  color: #3a3a3a;
  margin-top: 0.5rem;
}


  
  /* ====== Hero / Jumbotron ====== */
  
  .jumbotron {
    border-radius: 28px;
    padding: 3.2rem 2.4rem;
    background: linear-gradient(135deg, var(--ella-blush), var(--ella-rose));
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.7);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }
  
  .hero-tagline {
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    background-color: rgba(249, 245, 234, 0.8);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
  }
  
  .jumbotron h1 {
    font-family: "DM Serif Display", "Times New Roman", serif;
    font-size: clamp(2rem, 3vw, 2.6rem);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    max-width: 40rem;
  }
  
  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
  }
  
  /* ====== Section headings ====== */
  
  .section-heading {
    font-family: "DM Serif Display", "Times New Roman", serif;
    font-size: 1.6rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: center;
    margin: 3rem 0 1.5rem;
  }
  
  /* ====== Program cards (landing page) ====== */
  
  .program-card {
    background-color: var(--ella-white);
    border-radius: 24px;
    padding: 2rem 1.4rem;
    border: 1px solid rgba(58, 63, 59, 0.08);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.04);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  
  .program-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
  }
  
  .program-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
  }
  
  .mariachi .program-card-icon { background-color: var(--ella-peach); }
  .folklorico .program-card-icon { background-color: var(--ella-lilac); }
  .steam .program-card-icon     { background-color: var(--ella-mint); }
  
  .program-card h5 {
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
  }
  
  .program-card p {
    font-size: 0.9rem;
  }
  
  /* ====== Generic page header (for inner pages) ====== */
  
  .page-header {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
  }
  
  .page-title {
    font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont,
      "Segoe UI", sans-serif;
    font-size: 1.7rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
  }
  
  .page-subtitle {
    font-size: 0.95rem;
    color: rgba(58, 63, 59, 0.8);
  }
  
  /* ====== Data card / table wrapper ====== */
  
  .data-card {
    background-color: var(--ella-white);
    border-radius: 18px;
    padding: 1.6rem;
    border: 1px solid rgba(58, 63, 59, 0.08);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.03);
  }

  .dash-card {
    display: flex;
    justify-content: center;
  }

  .tableauPlaceholder {
    width: 100%;
  }
  
  .table thead th {
    background-color: var(--ella-cream);
    border-bottom: 1px solid rgba(58, 63, 59, 0.12);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  
  .table tbody tr:hover {
    background-color: rgba(255, 216, 209, 0.3);
  }
  
  /* Search bar */
  .search-row {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 1rem;
  }
  
  .search-row input[type="text"] {
    flex: 1;
  }
  
  /* ====== Forms ====== */
  
  .form-card {
    background-color: var(--ella-white);
    border-radius: 18px;
    padding: 1.8rem 1.6rem;
    border: 1px solid rgba(58, 63, 59, 0.08);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.063);
  }
  
  .form-label {
    font-weight: 500;
    font-size: 0.9rem;
  }
  
  .form-control:focus {
    border-color: var(--ella-deep-pink);
    box-shadow: 0 0 0 0.2rem rgba(206, 50, 91, 0.18);
  }
  
  /* ====== Login layout ====== */
  
  .login-wrapper {
    margin-top: 3rem;
    min-height: 63vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
  }
  
  .login-card {
    max-width: 420px;
    width: 100%;
    padding-bottom: 0px;
  }

  #login-header {
    margin-top: 0px;
  }

  .login-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3a3f3bb4;
    font-size: .9rem;
    margin-top: 70px;
  }

  #noAccount {
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
  }
  
  #signUp {
    color: #88a4b3;
    transition: all 0.35s ease;
  }
  
  /* ====== Footer ====== */
  
  .footer {
    margin-top: 3rem;
    padding: 1.6rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(58, 63, 59, 0.7);
  }
  
  /* ====== Responsive ====== */
  
  @media (max-width: 768px) {
    .ella-nav .container {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.4rem;
    }
  
    .jumbotron {
      padding: 2.4rem 1.6rem;
    }
  
    .hero-actions {
      flex-direction: column;
      align-items: flex-start;
    }
  
    .section-heading {
      font-size: 1.4rem;
    }
  
    .search-row {
      flex-direction: column;
      align-items: stretch;
    }
  }
  