*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --yellow: #F9D744;
  --navy: #152263;
  --coral: #E8505B;
  --dark: #1D1E21;
  --gray: #787C88;
  --light-gray: #D5D8E0;
  --white: #FFFFFF;
  --font: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--dark); line-height: 1.6; background: var(--white); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ── Header ── */
.site-header { background: var(--navy); padding: 0; position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1100px; margin: 0 auto; padding: 0 24px; height: 72px; }
.header-logo { height: 52px; width: auto; }
.header-nav { display: flex; gap: 0; }
.header-nav a { color: var(--white); font-size: 14px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; padding: 24px 18px; transition: background 0.2s; }
.header-nav a:hover, .header-nav a.active { background: rgba(255,255,255,0.1); }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: 0.3s; }

/* ── Hero ── */
.hero { background: var(--yellow); padding: 80px 0; text-align: center; position: relative; overflow: hidden; }
.hero h1 { font-size: 42px; color: var(--navy); font-weight: 700; margin-bottom: 16px; line-height: 1.2; }
.hero p { font-size: 20px; color: var(--navy); max-width: 600px; margin: 0 auto 32px; opacity: 0.85; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Buttons ── */
.btn { display: inline-block; padding: 14px 32px; font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; border-radius: 4px; border: 2px solid transparent; cursor: pointer; transition: all 0.2s; font-family: var(--font); }
.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: transparent; color: var(--navy); }
.btn-coral { background: var(--coral); color: var(--white); border-color: var(--coral); }
.btn-coral:hover { background: transparent; color: var(--coral); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-white { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-white:hover { background: transparent; color: var(--white); border-color: var(--white); }
.btn-submit { background: var(--navy); color: var(--white); border: none; padding: 14px 48px; font-size: 16px; border-radius: 4px; cursor: pointer; font-weight: 600; letter-spacing: 0.5px; transition: background 0.2s; font-family: var(--font); }
.btn-submit:hover { background: #1a2d7a; }

/* ── Content sections ── */
.section { padding: 64px 0; }
.section-alt { background: #F7F8FA; }
.section-navy { background: var(--navy); color: var(--white); }
.section-yellow { background: var(--yellow); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split-img { border-radius: 8px; overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,0.1); }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-text h2 { font-size: 32px; color: var(--navy); margin-bottom: 16px; line-height: 1.3; }
.split-text p { font-size: 16px; color: var(--gray); margin-bottom: 16px; line-height: 1.7; }

.text-center { text-align: center; }
.section-heading { font-size: 28px; color: var(--navy); margin-bottom: 12px; }
.section-subheading { font-size: 16px; color: var(--gray); max-width: 600px; margin: 0 auto 40px; }

/* ── Rugby / community ── */
.community-banner { position: relative; overflow: hidden; padding: 80px 0; text-align: center; }
.community-banner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(21,34,99,0.8), rgba(21,34,99,0.85)); z-index: 1; }
.community-banner .bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.community-banner .container { position: relative; z-index: 2; }
.community-banner h2 { color: var(--yellow); font-size: 28px; margin-bottom: 16px; }
.community-banner p { color: rgba(255,255,255,0.9); font-size: 16px; max-width: 700px; margin: 0 auto; line-height: 1.7; }

/* ── Contact strip ── */
.contact-strip { background: var(--white); padding: 48px 0; border-top: 1px solid var(--light-gray); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; text-align: center; }
.contact-item h3 { font-size: 14px; text-transform: uppercase; letter-spacing: 1px; color: var(--navy); margin-bottom: 8px; }
.contact-item p { font-size: 15px; color: var(--gray); line-height: 1.6; }
.contact-item a { color: var(--navy); font-weight: 600; }
.contact-item a:hover { color: var(--coral); }

/* ── Footer ── */
.site-footer { background: var(--navy); padding: 40px 0; text-align: center; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.footer-bopru { display: flex; align-items: center; gap: 12px; }
.footer-bopru img { height: 60px; width: auto; }
.footer-bopru-text { color: rgba(255,255,255,0.7); font-size: 14px; text-align: left; line-height: 1.4; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.15); color: var(--white); transition: background 0.2s; }
.footer-social a:hover { background: var(--yellow); color: var(--navy); }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-copy { color: rgba(255,255,255,0.5); font-size: 13px; }

/* ── Page hero (inner pages) ── */
.page-hero { background: var(--navy); padding: 48px 0; text-align: center; }
.page-hero h1 { color: var(--yellow); font-size: 36px; font-weight: 700; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 16px; margin-top: 8px; }

/* ── Forms ── */
.form-section { padding: 64px 0; }
.form-wrapper { max-width: 680px; margin: 0 auto; background: var(--white); border-radius: 8px; padding: 40px; box-shadow: 0 2px 16px rgba(0,0,0,0.06); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 16px; border: 1px solid var(--light-gray); border-radius: 4px; font-size: 15px; font-family: var(--font); color: var(--dark); transition: border-color 0.2s; background: var(--white); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--navy); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-divider { border: none; border-top: 2px solid var(--yellow); margin: 32px 0; }
.form-section-title { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; }
.form-radio-group { display: flex; gap: 20px; flex-wrap: wrap; }
.form-radio { display: flex; align-items: center; gap: 6px; cursor: pointer; font-size: 15px; }
.form-radio input[type="radio"] { width: auto; accent-color: var(--navy); }
.form-checkbox { display: flex; align-items: flex-start; gap: 8px; cursor: pointer; font-size: 14px; color: var(--gray); }
.form-checkbox input[type="checkbox"] { width: auto; margin-top: 3px; accent-color: var(--navy); }
.form-file { position: relative; }
.form-file input[type="file"] { padding: 10px; }
.form-submit { text-align: center; margin-top: 32px; }
.form-success { display: none; text-align: center; padding: 32px; color: var(--navy); font-size: 18px; font-weight: 600; }

/* ── Terms ── */
.terms-content { max-width: 800px; margin: 0 auto; }
.terms-content h2 { font-size: 22px; color: var(--navy); margin: 32px 0 12px; }
.terms-content h3 { font-size: 18px; color: var(--navy); margin: 24px 0 8px; }
.terms-content p { font-size: 15px; color: var(--gray); margin-bottom: 12px; line-height: 1.7; }
.terms-content ul { margin: 0 0 16px 24px; }
.terms-content ul li { font-size: 15px; color: var(--gray); margin-bottom: 6px; line-height: 1.6; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .header-nav { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--navy); border-top: 1px solid rgba(255,255,255,0.1); }
  .header-nav.open { display: flex; }
  .header-nav a { padding: 16px 24px; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .mobile-toggle { display: block; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 16px; }
  .hero { padding: 48px 0; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .form-wrapper { padding: 24px; }
  .page-hero h1 { font-size: 28px; }
  .section { padding: 40px 0; }
}
