/* =====================================================
   Ex-IUBians Australia Association Inc — style.css
   Logo colours: Green #006A4E | Red #D50000
                 Blue #003399  | Brown #7A4E2D
   ===================================================== */

:root {
  --green:    #006A4E;
  --green-lt: #E6F4EE;
  --red:      #D50000;
  --red-lt:   #FFEBEE;
  --blue:     #003399;
  --blue-lt:  #E3EAF8;
  --brown:    #7A4E2D;
  --brown-lt: #F5EDE6;
  --light:    #FAFAF8;
  --dark:     #1A1A2A;
  --text:     #2C2C2C;
  --muted:    #5E6272;
  --border:   #E2E4E8;
  --white:    #FFFFFF;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', Arial, sans-serif;
  --radius:   10px;
  --radius-lg:18px;
  --shadow:   0 4px 20px rgba(0,0,0,0.07);
  --shadow-lg:0 12px 40px rgba(0,0,0,0.13);
  --ease:     cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--light); color: var(--text); line-height: 1.7; overflow-x: hidden; }
img  { display: block; max-width: 100%; }
a    { text-decoration: none; }

/* UTILITIES */
.container    { max-width: 1060px; margin: 0 auto; padding: 0 24px; }
.t-green      { color: var(--green); }
.t-red        { color: var(--red);   }
.t-blue       { color: var(--blue);  }
.t-brown      { color: var(--brown); }
.section-label {
  display: block; font-size: 11px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--green); margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800; color: var(--text);
  margin-bottom: 28px; line-height: 1.15;
}
.section-desc { font-size: 15px; color: var(--muted); margin-bottom: 40px; max-width: 560px; }

/* FADE-UP */
.fade-up { opacity: 0; transform: translateY(22px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.fade-up.visible { opacity: 1; transform: none; }

/* HEADER */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(255,255,255,0.97);
  border-bottom: 3px solid var(--brown);
  transition: box-shadow 0.3s var(--ease);
}
.header.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.11); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1060px; margin: 0 auto; padding: 10px 24px; gap: 16px;
}
.header-logo { display: flex; align-items: center; gap: 12px; }
.logo        { height: 52px; width: auto; }
.org-name    { display: block; font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--dark); line-height: 1.2; }
.org-sub     { display: block; font-size: 10.5px; color: var(--muted); margin-top: 2px; }
.nav         { display: flex; gap: 22px; flex-wrap: wrap; }
.nav a       { font-size: 13px; font-weight: 600; color: var(--blue); transition: color 0.2s; white-space: nowrap; }
.nav a:hover { color: var(--green); }
.nav-toggle  { display: none; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--dark); padding: 4px 8px; }

.mobile-nav       { display: none; flex-direction: column; background: var(--white); border-top: 1px solid var(--border); }
.mobile-nav.open  { display: flex; }
.mobile-nav a     { padding: 14px 24px; font-size: 15px; font-weight: 600; color: var(--blue); border-bottom: 1px solid var(--border); transition: background 0.2s; }
.mobile-nav a:hover { background: var(--blue-lt); }

/* BUTTONS */
.btn-primary {
  display: inline-block; padding: 13px 30px;
  background: var(--red); color: white;
  border-radius: 50px; font-size: 14px; font-weight: 700;
  transition: all 0.25s var(--ease);
  box-shadow: 0 4px 16px rgba(213,0,0,0.28);
}
.btn-primary:hover { background: #B71C1C; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(213,0,0,0.35); }
.btn-ghost {
  display: inline-block; padding: 13px 30px;
  background: transparent; color: rgba(255,255,255,0.85);
  border: 2px solid rgba(255,255,255,0.4); border-radius: 50px;
  font-size: 14px; font-weight: 600; transition: all 0.25s var(--ease);
}
.btn-ghost:hover { border-color: white; color: white; background: rgba(255,255,255,0.1); }

/* HERO */
.hero {
  min-height: 100vh;
  background: linear-gradient(150deg, #001a44 0%, var(--dark) 40%, #003020 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  padding: 120px 24px 80px; text-align: center;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; opacity: 0.09; animation: drift 10s ease-in-out infinite; }
.orb-1 { width: 580px; height: 580px; background: var(--green); top: -180px; right: -150px; }
.orb-2 { width: 360px; height: 360px; background: var(--blue);  bottom: -100px; left: -80px; animation-delay: 3s; }
.orb-3 { width: 220px; height: 220px; background: var(--red);   top: 38%; left: 6%; animation-delay: 6s; }
@keyframes drift { 0%,100%{transform:translateY(0) scale(1)} 50%{transform:translateY(-26px) scale(1.06)} }

.hero-content { position: relative; z-index: 1; max-width: 780px; animation: riseIn 0.9s var(--ease) both; }
@keyframes riseIn { from{opacity:0;transform:translateY(28px)} to{opacity:1;transform:none} }

.hero-pill {
  display: inline-block; margin-bottom: 24px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.78); padding: 5px 20px; border-radius: 50px;
  font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 66px);
  font-weight: 900; color: white; line-height: 1.1;
  margin-bottom: 20px;
}
.hero-highlight { color: #7EC8A4; }
.hero-tagline { font-size: 16.5px; color: rgba(255,255,255,0.68); margin-bottom: 38px; line-height: 1.75; max-width: 620px; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* SECTIONS */
.section     { padding: 88px 0; }
.section-alt { background: var(--white); }

/* ABOUT */
.about-layout  { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.about-body p  { font-size: 15.5px; color: var(--muted); line-height: 1.82; margin-bottom: 16px; }
.info-strip    { display: flex; flex-wrap: wrap; margin-top: 30px; border: 2px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.info-item     { flex: 1; min-width: 110px; padding: 14px 18px; border-right: 1px solid var(--border); }
.info-item:last-child { border-right: none; }
.info-key      { display: block; font-size: 10px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 4px; }
.info-val      { display: block; font-size: 13px; font-weight: 700; color: var(--text); font-family: monospace; }
.about-flags   { display: flex; flex-direction: column; gap: 14px; }
.flag-card     { display: flex; align-items: flex-start; gap: 14px; background: white; border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 18px 20px; box-shadow: var(--shadow); transition: border-color 0.25s, transform 0.25s; }
.flag-card:hover { border-color: var(--green); transform: translateX(4px); }
.flag-emoji    { font-size: 28px; flex-shrink: 0; margin-top: 2px; }
.flag-label    { font-weight: 700; font-size: 14px; color: var(--text); margin-bottom: 4px; }
.about-flag-text { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 0; }

/* VISION & MISSION */
.two-col-section { display: flex; flex-wrap: wrap; }
.two-col-card    { flex: 1; min-width: 300px; padding: 64px 48px; }
.blue-card       { background: var(--blue); }
.green-card      { background: var(--green); }
.two-col-inner   { max-width: 440px; }
.card-icon-lg    { font-size: 38px; margin-bottom: 14px; }
.two-col-label   { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 10px; }
.two-col-card h2 { font-family: var(--font-display); font-size: 26px; font-weight: 800; color: white; margin-bottom: 14px; }
.two-col-card p  { font-size: 15px; color: rgba(255,255,255,0.76); line-height: 1.8; }

/* WHAT WE DO */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.card { background: white; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card-bar  { height: 5px; }
.card-icon-wrap { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin: 24px 24px 14px; }
.card h3 { font-size: 16px; font-weight: 700; padding: 0 24px; margin-bottom: 10px; color: var(--text); }
.card p  { font-size: 14px; color: var(--muted); padding: 0 24px 28px; line-height: 1.7; }

/* GALLERY */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.album-card   { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); cursor: pointer; transition: transform 0.25s, box-shadow 0.25s; display: block; text-decoration: none; color: inherit; }
.album-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.album-placeholder { height: 200px; display: flex; align-items: center; justify-content: center; font-size: 52px; }
.album-card img    { width: 100%; height: 200px; object-fit: cover; }
.album-info        { background: white; padding: 16px 20px; }
.album-info h3     { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.album-info p      { font-size: 13px; color: var(--muted); }

/* LIGHTBOX */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.88); z-index: 1000; align-items: center; justify-content: center; padding: 24px; }
.lightbox-img   { max-width: 90vw; max-height: 85vh; border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox-close { position: absolute; top: 20px; right: 28px; font-size: 36px; color: white; cursor: pointer; line-height: 1; opacity: 0.7; transition: opacity 0.2s; }
.lightbox-close:hover { opacity: 1; }

/* MEMBERSHIP */
.membership-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.membership-text p { font-size: 15.5px; color: var(--muted); line-height: 1.82; margin-bottom: 24px; }
.eligibility-box   { display: flex; gap: 14px; align-items: flex-start; background: var(--green-lt); border: 2px solid var(--green); border-radius: var(--radius); padding: 18px 20px; }
.elig-icon         { font-size: 22px; margin-top: 2px; flex-shrink: 0; }
.eligibility-box strong { display: block; font-size: 14px; color: var(--text); margin-bottom: 4px; }
.eligibility-box p { font-size: 13.5px; color: var(--muted); line-height: 1.65; margin: 0; }
.steps-box  { background: white; border-radius: var(--radius-lg); padding: 36px 32px; box-shadow: var(--shadow); border: 2px solid var(--border); }
.steps-box h3 { font-size: 18px; margin-bottom: 24px; color: var(--text); font-weight: 700; }
.steps-list   { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; }
.steps-list li { display: flex; align-items: flex-start; gap: 14px; font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.step-num  { width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: white; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; flex-shrink: 0; margin-top: 1px; }
.steps-list strong { color: var(--text); }

/* DONATE */
.donate-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: start; }
.donate-card { background: white; border-radius: var(--radius-lg); padding: 36px 32px; box-shadow: var(--shadow); border: 2px solid var(--border); }
.donate-icon { font-size: 36px; margin-bottom: 14px; }
.donate-card h3 { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 20px; }
.donate-card p  { font-size: 14.5px; color: var(--muted); line-height: 1.7; }
.bank-details { display: flex; flex-direction: column; border: 2px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.bank-row     { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 14px; }
.bank-row:last-child { border-bottom: none; }
.bank-row span   { color: var(--muted); font-size: 12px; letter-spacing: 0.5px; text-transform: uppercase; font-weight: 600; }
.bank-row strong { color: var(--text); font-weight: 700; font-family: monospace; }
.donate-card-paypal { display: flex; flex-direction: column; justify-content: center; border: 2px dashed var(--border); background: var(--light); }

/* FOOTER */
.footer { background: var(--blue); color: rgba(255,255,255,0.68); padding: 56px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.14); }
.footer-brand   { display: flex; gap: 14px; align-items: flex-start; }
.footer-logo    { height: 52px; width: auto; }
.footer-org     { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: white; margin-bottom: 5px; line-height: 1.35; }
.footer-tagline { font-size: 13px; font-style: italic; color: rgba(255,255,255,0.48); }
.footer-contact h3,
.footer-nav h3  { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.42); margin-bottom: 16px; font-weight: 700; }
.contact-row    { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; font-size: 13px; }
.contact-row a  { color: rgba(255,255,255,0.72); transition: color 0.2s; }
.contact-row a:hover { color: white; }
.footer-nav     { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a   { font-size: 13.5px; color: rgba(255,255,255,0.62); transition: color 0.2s; }
.footer-nav a:hover { color: white; }
.footer-bottom  { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 18px 0; font-size: 11.5px; color: rgba(255,255,255,0.35); }
.footer-bottom a { color: rgba(255,255,255,0.48); transition: color 0.2s; }
.footer-bottom a:hover { color: white; }

/* RESPONSIVE */
@media (max-width: 860px) {
  .nav               { display: none; }
  .nav-toggle        { display: block; }
  .about-layout      { grid-template-columns: 1fr; }
  .about-flags       { flex-direction: row; flex-wrap: wrap; }
  .flag-card         { flex: 1; min-width: 180px; }
  .membership-layout { grid-template-columns: 1fr; }
  .donate-grid       { grid-template-columns: 1fr; }
  .footer-top        { grid-template-columns: 1fr; }
  .two-col-card      { padding: 48px 28px; }
}
@media (max-width: 580px) {
  .section       { padding: 60px 0; }
  .hero-title    { font-size: 32px; }
  .hero-actions  { flex-direction: column; align-items: center; }
  .info-strip    { flex-direction: column; }
  .info-item     { border-right: none; border-bottom: 1px solid var(--border); }
  .info-item:last-child { border-bottom: none; }
  .steps-box     { padding: 24px 20px; }
  .donate-card   { padding: 24px 20px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
