/* ============================================
   CSS Variables & Base Styles
   ============================================ */

/* Canterbury Pro font - Brand Font */
@font-face {
    font-family: 'Canterbury Pro';
    src: url('../Asset Folder/Canterbury.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Canterbury Pro';
    src: url('../Asset Folder/Canterbury.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Wanrock Pro font */
@font-face {
    font-family: 'Wanrock Pro';
    src: url('../Asset Folder/WanrockPro-Regular.woff2') format('woff2'),
         url('../Asset Folder/WanrockPro-Regular.woff') format('woff'),
         url('../Asset Folder/WanrockPro-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Fallback fonts if font files are not available */

:root {
    --primary-red: #c02627;
    --white: #ffffff;
    --dark-green: #123228;
    --blue: #1e3a5f;
    --red-alt: #9e1b22;
    --gray-light: #f5f5f5;
    --gray-medium: #e0e0e0;
    --gray-dark: #333333;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-on-blue: #ffffff;
    --text-secondary-on-blue: rgba(255, 255, 255, 0.9);
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: clamp(16px, 1.5vw, 18px);
}

/* Optimal line length for readability */
p, .text-content, .modal-content p {
    max-width: 65ch;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary-red);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header .container {
    max-width: 100%;
    margin: 0;
    padding: 0;
    width: 100%;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.bg-dark {
    background-color: var(--blue);
    color: var(--white);
}

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

.bg-light .section-title,
.bg-dark .section-title {
    color: var(--white);
}

/* ============================================
   Header Styles
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
    padding-top: env(safe-area-inset-top, 0);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: clamp(1rem, 2.5vw, 1.25rem) 5px;
    min-height: 80px;
    width: 100%;
    gap: 0;
}

.header-content .logo {
    flex: 0 0 auto;
    margin-right: auto;
    margin-left: 0;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: clamp(0.75rem, 1.5vw, 1rem);
    transition: opacity 0.3s ease;
    padding-left: 0;
}

.header-content .logo:hover {
    opacity: 0.8;
}

.header-content .nav {
    flex: 0 0 auto;
    margin-left: auto;
    margin-right: 0;
    padding-right: 0;
}

.header-content .header-actions {
    flex: 0 0 auto;
    margin-left: 0;
    margin-right: 0;
    padding-right: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: clamp(0.75rem, 1.5vw, 1rem);
    flex-shrink: 0;
    text-decoration: none;
    color: inherit;
}

.logo-emblem {
    width: clamp(4.5rem, 6vw, 5.5rem);
    height: clamp(4.5rem, 6vw, 5.5rem);
    min-width: 4.5rem;
    min-height: 4.5rem;
    max-width: 5.5rem;
    max-height: 5.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: visible;
    position: relative;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    image-rendering: auto;
    max-width: 100%;
    max-height: 100%;
    min-width: 0;
    min-height: 0;
}

/* Logo title: div for single-H1 SEO (main H1 is page hero) */
.logo-text h1,
.logo-text .logo-title {
    font-family: 'Canterbury Pro', 'Cinzel', 'Playfair Display', serif !important;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    margin: 0;
    color: var(--blue);
    line-height: 1.2;
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.logo-text p {
    font-size: clamp(0.75rem, 1.8vw, 0.9rem);
    color: var(--blue);
    margin: 0;
    line-height: 1.2;
}

.logo-subtext {
    font-family: 'Wanrock Pro', 'Cormorant Garamond', 'Playfair Display', serif;
    font-size: clamp(0.775rem, 1.5vw, 0.875rem);
    color: var(--blue);
    margin-top: 0.25rem;
    line-height: 1.3;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-weight: 500;
    color: var(--text-primary);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--red-alt);
}

.nav-link.active {
    color: var(--primary-red);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-toggle,
.mobile-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    min-width: 44px;
    min-height: 44px;
}

.search-toggle:hover,
.mobile-menu-toggle:hover {
    color: var(--primary-red);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

.search-bar {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.search-bar.active {
    max-height: 100px;
    padding: 1rem 0;
}

.search-bar form {
    display: flex;
    gap: 1rem;
}

.search-input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid var(--gray-medium);
    border-radius: 4px;
    font-size: 1rem;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-red);
}

.search-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-primary);
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 80px;
}

.hero-carousel {
    position: relative;
    min-height: 100vh;
    height: 100vh;
    overflow: hidden;
    margin-top: 80px;
}

.hero-carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.hero-slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

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

.hero-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(30, 58, 95, 0.95) 0%, rgba(30, 58, 95, 0.7) 50%, transparent 100%);
    z-index: 3;
}

.hero-slide-content {
    position: absolute;
    top: 50%;
    left: 2rem;
    right: auto;
    max-width: 50%;
    transform: translateY(-50%);
    padding: 2rem 0;
    z-index: 4;
    text-align: left;
}

.hero-slide-title {
    font-size: clamp(1.75rem, 4vw, 3.5rem);
    font-weight: 400;
    color: var(--white);
    margin: 0;
    line-height: 1.3;
    font-family: 'Inter', sans-serif;
    word-wrap: break-word;
    max-width: 100%;
}

.hero-slide-title strong {
    font-weight: 700;
    color: var(--white);
}

.hero-slide.active .hero-slide-title {
    animation: fadeInUp 0.8s ease 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-values-nav {
    position: absolute;
    top: calc(50% + 120px);
    left: 2rem;
    display: flex;
    gap: 2rem;
    z-index: 10;
    flex-wrap: wrap;
    transform: translateY(0);
}

.value-nav-item {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.value-nav-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.value-nav-indicator {
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.value-nav-indicator::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary-red);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.value-nav-item.active .value-nav-text {
    color: var(--white);
    font-weight: 600;
}

.value-nav-item.active .value-nav-indicator {
    width: 100%;
}

.value-nav-item.active .value-nav-indicator::after {
    opacity: 1;
}

.value-nav-item:hover .value-nav-text {
    color: var(--white);
}

.value-nav-item:hover .value-nav-indicator {
    width: 100%;
    background: var(--red-alt);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--blue) 0%, var(--primary-red) 100%);
    z-index: -1;
}

.geometric-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
}

.geo-shape {
    position: absolute;
    border: 2px solid var(--white);
}

.geo-square {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid var(--white);
    border-top: none;
    top: 60%;
    right: 15%;
    animation: float 8s ease-in-out infinite reverse;
}

.geo-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    bottom: 20%;
    left: 20%;
    animation: float 7s ease-in-out infinite;
}

.geo-compass {
    width: 120px;
    height: 120px;
    top: 30%;
    right: 30%;
    border-radius: 50%;
    animation: float 9s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    padding: 2rem;
}

.discover-hero-merged .hero-content {
    text-align: left;
    padding-top: 4rem;
}

.hero-text h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    min-height: 80px;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 20px solid var(--white);
    border-bottom: 0;
    transform: translateY(0);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    min-height: 44px;
}

.btn-primary {
    background: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
}

.btn-primary:hover {
    background: var(--red-alt);
    border-color: var(--red-alt);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

.btn-secondary {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}

.btn-secondary:hover {
    background: var(--red-alt);
    border-color: var(--red-alt);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

.btn-outline {
    background: transparent;
    color: var(--text-on-blue);
    border-color: var(--primary-red);
    border: 2px solid var(--primary-red);
}

.btn-outline:hover {
    background: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
}

/* ============================================
   Section Styles
   ============================================ */

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header p,
.section-header .section-subtitle,
.section-header + p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    display: inline-block;
    color: var(--primary-red);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.title-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.decoration-line {
    width: 60px;
    height: 2px;
    background: var(--primary-red);
}

.decoration-square {
    width: 12px;
    height: 12px;
    background: var(--primary-red);
    transform: rotate(45deg);
}

/* ============================================
   Introduction Section
   ============================================ */

.intro-section {
    background-color: var(--blue);
    color: var(--text-on-blue);
}

.intro-section .section-label {
    color: var(--primary-red);
}

.intro-section .section-title {
    color: var(--white);
}

.intro-section .decoration-line,
.intro-section .decoration-square {
    background: var(--primary-red);
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-on-blue);
    line-height: 1.7;
}

.intro-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item,
.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--blue);
    border-radius: 8px;
    transition: var(--transition);
    color: var(--text-on-blue);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
}

.stat-item:hover,
.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-red);
    font-family: 'Inter', sans-serif;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3.6rem;
}

.stat-label {
    color: var(--text-secondary-on-blue);
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.4;
    margin-top: 0.5rem;
    text-align: center;
}

/* ============================================
   Quick Links Section
   ============================================ */

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.quick-link-card {
    background: var(--blue);
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    color: var(--text-on-blue);
    box-shadow: var(--shadow-sm);
}

.quick-link-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    color: var(--primary-red);
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.quick-link-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--text-on-blue);
}

.quick-link-card p {
    color: var(--text-secondary-on-blue);
}

/* ============================================
   Events Preview
   ============================================ */

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.event-card {
    display: flex;
    gap: 0;
    background: var(--blue);
    padding: 0;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    color: var(--white);
    overflow: hidden;
    position: relative;
    min-height: 200px;
}

.event-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: var(--primary-red);
    z-index: 1;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    padding: 2rem 1.5rem;
    background: transparent;
    color: var(--white);
    text-align: center;
    position: relative;
    z-index: 2;
}

.date-day {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.date-month {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-details {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.event-time {
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    opacity: 0.95;
}

.event-details h3 {
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
}

.event-details p {
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    opacity: 0.9;
    flex-grow: 1;
}

.event-link {
    color: var(--white);
    font-weight: 600;
    background: var(--primary-red);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: auto;
}

.event-link:hover {
    background: var(--red-alt);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(192, 38, 39, 0.4);
}

/* ============================================
   News Preview
   ============================================ */

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.news-card {
    background: var(--blue);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    color: var(--text-on-blue);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.news-image {
    width: 100%;
    height: 200px;
    background: var(--gray-medium);
    position: relative;
    overflow: hidden;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--blue) 0%, var(--primary-red) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-content {
    padding: 1.5rem;
}

.news-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary-red);
    color: var(--white);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.news-content h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    color: var(--text-on-blue);
}

.news-content p {
    color: var(--text-secondary-on-blue);
    margin-bottom: 1rem;
}

.news-link {
    color: var(--white);
    font-weight: 600;
    background: var(--primary-red);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    display: inline-block;
    transition: var(--transition);
    text-decoration: none;
    cursor: pointer;
}

.news-link:hover {
    background: var(--red-alt);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(192, 38, 39, 0.4);
}

.news-modal-trigger {
    cursor: pointer;
}

/* News Modal Meta Information */
.news-modal-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e5e5;
    flex-wrap: wrap;
}

.news-modal-category {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-red);
    color: var(--white);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    font-weight: 600;
}

.news-modal-date {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--blue);
    color: var(--white);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    font-weight: 600;
}

.news-modal .modal-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.news-modal .modal-content ul li {
    margin-bottom: 0.75rem;
    color: #333333;
    line-height: 1.6;
}

.news-link:hover {
    background: var(--red-alt);
    color: var(--white);
    transform: translateY(-2px);
}

/* ============================================
   CTA Section
   ============================================ */

.cta-section {
    background: var(--blue);
    color: var(--white);
    text-align: center;
}

.cta-content {
    position: relative;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* Enquire Now Button - CTA Section */
.btn-enquire-now,
a.btn-enquire-now {
    background: var(--primary-red);
    color: var(--white);
    border: 2px solid var(--primary-red);
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(192, 38, 39, 0.3);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-enquire-now::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-enquire-now:hover {
    background: var(--red-alt);
    border-color: var(--red-alt);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(192, 38, 39, 0.5);
}

.btn-enquire-now:hover::before {
    width: 300px;
    height: 300px;
}

.btn-enquire-now:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 15px rgba(192, 38, 39, 0.4);
    transition: all 0.1s ease;
}

.btn-enquire-now:active::before {
    width: 200px;
    height: 200px;
    transition: width 0.2s ease, height 0.2s ease;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 65ch;
    margin-left: auto;
    margin-right: auto;
}

.cta-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    color: var(--white);
    opacity: 0.8;
}

.cta-icon svg {
    width: 100%;
    height: 100%;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: var(--blue);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 5px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: start;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Footer Brand Section */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo-emblem {
    width: clamp(3.5rem, 5vw, 4.5rem);
    height: clamp(3.5rem, 5vw, 4.5rem);
    min-width: 3.5rem;
    min-height: 3.5rem;
    max-width: 4.5rem;
    max-height: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    image-rendering: auto;
}

.footer-logo-text {
    flex: 1;
}

.footer-title {
    font-family: 'Canterbury Pro', 'Cinzel', 'Playfair Display', serif !important;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 700;
    color: var(--white);
    margin: 0;
    line-height: 1.2;
}

.footer-subtext {
    font-family: 'Wanrock Pro', 'Cormorant Garamond', 'Playfair Display', serif;
    font-size: clamp(0.775rem, 1.5vw, 0.875rem);
    color: var(--white);
    margin-top: 0.5rem;
    line-height: 1.3;
    opacity: 0.85;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--white);
}

.social-link:hover {
    background: var(--primary-red);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 4px 12px rgba(192, 38, 39, 0.4);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Footer Contact Section */
.footer-contact-section {
    display: flex;
    flex-direction: column;
}

.footer-heading {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-email {
    margin: 0;
}

.footer-email a {
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.footer-email a:hover {
    color: var(--primary-red);
    opacity: 1;
}

.footer-address {
    color: var(--white);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
}

/* Footer Organizations Section */
.footer-organizations {
    display: flex;
    flex-direction: column;
}

.org-logos {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.org-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.org-logo {
    width: auto;
    height: 50px;
    max-width: 120px;
    object-fit: contain;
    opacity: 0.9;
    transition: all 0.3s ease;
    display: block;
}

.org-logo-item:hover .org-logo {
    opacity: 1;
    transform: scale(1.05);
}

.org-logo[src=""],
.org-logo:not([src]) {
    display: none;
}

/* Footer Quick Links Section */
.footer-links-section {
    display: flex;
    flex-direction: column;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links-list li {
    margin: 0;
}

.footer-links-list a {
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    opacity: 0.9;
    display: inline-block;
}

.footer-links-list a:hover {
    color: var(--primary-red);
    opacity: 1;
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* ============================================
   Animation Classes
   ============================================ */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ============================================
   Responsive Design
   ============================================ */

/* ============================================
   About Page Styles
   ============================================ */

.page-header {
    padding: 100px 0 80px;
}

.history-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.history-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

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

.value-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    color: var(--primary-red);
}

.value-icon svg {
    width: 100%;
    height: 100%;
}

.value-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.value-card p {
    color: var(--text-secondary);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-red);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    gap: 3rem;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    flex: 0 0 120px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-red);
    font-family: 'Playfair Display', serif;
    position: relative;
    z-index: 1;
}

.timeline-year::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: var(--white);
    border: 3px solid var(--primary-red);
    border-radius: 50%;
    z-index: 2;
}

.timeline-content {
    flex: 1;
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.timeline-content p {
    color: var(--text-secondary);
}

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

.leader-card {
    text-align: center;
    color: var(--white);
}

.leader-image {
    margin-bottom: 1.5rem;
}

.leader-card h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.leader-name {
    color: var(--primary-red);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.leader-bio {
    opacity: 0.9;
    line-height: 1.6;
}

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

.symbol-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.symbol-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-md);
}

.symbol-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    color: var(--primary-red);
}

.symbol-icon svg {
    width: 100%;
    height: 100%;
}

.symbol-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.symbol-card p {
    color: var(--text-secondary);
}

/* ============================================
   News & Events Page Styles - REMOVED
   Ready for new implementation
   ============================================ */

/* Old styles removed - new styles will be added here */

/* Membership Page Styles */
.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: var(--white);
    border: 2px solid var(--gray-medium);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.article-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.article-image {
    width: 100%;
    height: 250px;
    background: var(--gray-medium);
    position: relative;
    overflow: hidden;
}

.article-content {
    padding: 2rem;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.article-content h3 {
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.article-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-share {
    display: flex;
    gap: 0.5rem;
}

.share-btn {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-light);
    border-radius: 50%;
    transition: var(--transition);
}

.share-btn:hover {
    background: var(--primary-red);
    color: var(--white);
}

/* ============================================
   Membership Page Styles
   ============================================ */

.membership-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-left: 4px solid var(--primary-red);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    color: var(--primary-red);
}

.benefit-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.benefit-card p {
    color: var(--text-secondary);
}

.application-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    position: relative;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-red);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.step-card p {
    color: var(--text-secondary);
}

.progress-container {
    margin-top: 2rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--gray-light);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-bar-fill {
    height: 100%;
    background: var(--primary-red);
    width: 0;
    transition: width 1.5s ease;
}

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

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    color: var(--primary-red);
    opacity: 0.3;
    font-family: 'Playfair Display', serif;
}

.testimonial-text {
    margin-bottom: 1.5rem;
    font-style: italic;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--red-alt) 100%);
}

.author-info h4 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.author-info p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.faq-container {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background: var(--white);
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--gray-light);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-red);
    transition: var(--transition);
}

.faq-item.active .faq-question::after {
    content: '−';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
}

/* ============================================
   Contact Page Styles
   ============================================ */

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    min-height: 44px;
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-medium);
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: var(--primary-red);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-success {
    padding: 1rem;
    background: #4caf50;
    color: var(--white);
    border-radius: 4px;
    margin-top: 1rem;
    text-align: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.info-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.info-card p,
.info-card ul {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.info-card ul {
    list-style: none;
    padding: 0;
}

.info-card ul li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.info-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-red);
}

.map-container {
    width: 100%;
    height: 400px;
    background: var(--gray-medium);
    border-radius: 8px;
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

/* ============================================
   Modern Contact Page Styles
   ============================================ */

/* Hero Section */
.contact-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--blue) 0%, #0f2a47 100%);
    color: var(--white);
}

.contact-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.contact-geometric-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.contact-geo-square,
.contact-geo-compass {
    position: absolute;
    border: 2px solid var(--white);
    animation: float 20s ease-in-out infinite;
}

.contact-geo-square {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 10%;
    transform: rotate(45deg);
    animation-delay: 0s;
}

.contact-geo-compass {
    width: 150px;
    height: 150px;
    bottom: 15%;
    left: 15%;
    border-radius: 50%;
    animation-delay: 5s;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.contact-title-line-1 {
    display: block;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

.contact-hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 2rem);
    opacity: 0.95;
    margin-bottom: 3rem;
    font-weight: 300;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
}

.contact-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: contactFadeIn 1s ease-out 1s forwards;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-scroll-arrow {
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 16px solid var(--white);
    border-bottom: 0;
    transform: translateY(0);
    margin: 0 auto;
    display: block;
    animation: contactBounce 2s ease-in-out infinite 2s;
}

@keyframes contactFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes contactBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(8px);
    }
}

/* Contact Method Selector */
.contact-method-selector {
    background: var(--white);
    padding: 6rem 0;
}

.contact-section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-section-subtitle {
    font-size: 1.25rem;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.contact-method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-method-card {
    background: var(--white);
    border: 2px solid rgba(30, 58, 95, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.contact-method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(192, 38, 39, 0.05) 0%, rgba(30, 58, 95, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.contact-method-card:hover::before {
    opacity: 1;
}

.contact-method-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-red);
}

.contact-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    color: var(--primary-red);
    transition: all 0.4s ease;
}

.contact-method-card:hover .contact-card-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--red-alt);
}

.contact-method-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-method-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.contact-card-status {
    margin-top: 1.5rem;
}

.status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-active {
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
}

.status-priority {
    background: rgba(192, 38, 39, 0.1);
    color: var(--primary-red);
}

.status-special {
    background: rgba(30, 58, 95, 0.1);
    color: var(--blue);
}

/* Contact Form Section */
.contact-form-section {
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.03) 0%, rgba(192, 38, 39, 0.03) 100%);
    padding: 6rem 0;
}

.contact-form-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.contact-form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-form-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-form-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

/* Form Progress */
.form-progress {
    margin-bottom: 2rem;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(30, 58, 95, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-red) 0%, var(--blue) 100%);
    width: 33.33%;
    transition: width 0.4s ease;
    border-radius: 3px;
}

.progress-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-align: right;
    display: block;
}

/* Form Steps */
.form-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.form-step.active {
    display: block;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-primary);
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(30, 58, 95, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(30, 58, 95, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(192, 38, 39, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
    font-family: inherit;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
    cursor: pointer;
}

.form-hint {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    display: block;
}

.char-counter {
    text-align: right;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.form-error {
    display: block;
    color: var(--primary-red);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.form-error.show {
    opacity: 1;
    transform: translateY(0);
}

.form-error-message {
    display: block;
    background: #fee;
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.5;
}

.form-error-message strong {
    display: block;
    margin-bottom: 0.5rem;
}

/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(30, 58, 95, 0.1);
}

.btn-primary,
.btn-secondary {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 44px;
}

.btn-primary {
    background: var(--primary-red);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--red-alt);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(192, 38, 39, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(30, 58, 95, 0.2);
}

.btn-secondary:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.submit-loader {
    display: inline-flex;
    align-items: center;
}

.spinner {
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

/* Form Review */
.form-review {
    background: rgba(30, 58, 95, 0.05);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.form-review-item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(30, 58, 95, 0.1);
}

.form-review-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.form-review-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    display: block;
}

.form-review-value {
    color: var(--text-secondary);
}

.form-review-message {
    white-space: pre-wrap;
    word-break: break-word;
    max-width: 100%;
}

/* Success Message */
.form-success {
    text-align: center;
    padding: 3rem 2rem;
    animation: fadeIn 0.5s ease;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: #4caf50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    animation: scaleIn 0.5s ease 0.3s both;
}

.success-icon svg {
    width: 40px;
    height: 40px;
}

.form-success h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.form-success > p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.success-timeline {
    max-width: 600px;
    margin: 2rem auto 0;
    text-align: left;
}

.timeline-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInLeft 0.5s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.5s; }
.timeline-item:nth-child(2) { animation-delay: 0.7s; }
.timeline-item:nth-child(3) { animation-delay: 0.9s; }

.timeline-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.timeline-content strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Location Section */
.contact-location-section {
    background: var(--white);
    padding: 6rem 0;
}

.location-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.location-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.address-card {
    background: rgba(30, 58, 95, 0.05);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.address-icon {
    width: 50px;
    height: 50px;
    color: var(--primary-red);
    flex-shrink: 0;
}

.address-details h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.address-details p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.meeting-schedule-card {
    background: var(--white);
    border: 2px solid rgba(30, 58, 95, 0.1);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.meeting-schedule-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.schedule-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(30, 58, 95, 0.1);
}

.schedule-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.schedule-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.schedule-details strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.schedule-details p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.25rem;
}

.schedule-note {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-style: italic;
}

.visit-info-card {
    background: linear-gradient(135deg, rgba(192, 38, 39, 0.05) 0%, rgba(30, 58, 95, 0.05) 100%);
    border-radius: 16px;
    padding: 2rem;
}

.visit-info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.visit-info-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.visit-guidelines {
    list-style: none;
    padding: 0;
}

.visit-guidelines li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
}

.visit-guidelines li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: 700;
}

.map-container {
    position: sticky;
    top: 2rem;
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.1) 0%, rgba(192, 38, 39, 0.1) 100%);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(30, 58, 95, 0.9);
    color: var(--white);
    text-align: center;
    padding: 2rem;
}

.map-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--white) !important;
}

.map-overlay p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.btn-map-link {
    padding: 0.75rem 2rem;
    background: var(--primary-red);
    color: var(--white);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-map-link:hover {
    background: var(--red-alt);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(192, 38, 39, 0.3);
}

.transportation-info {
    background: var(--white);
    border: 2px solid rgba(30, 58, 95, 0.1);
    border-radius: 16px;
    padding: 2rem;
}

.transportation-info h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.transport-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.transport-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.transport-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.transport-item strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.transport-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Quick Contact Section */
.quick-contact-section {
    background: var(--blue);
    color: var(--white);
    padding: 6rem 0;
}

.quick-contact-section .contact-section-title {
    color: var(--white);
}

.quick-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    align-items: stretch;
}

@media (max-width: 968px) {
    .quick-contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .quick-contact-card {
        min-height: 260px;
        padding: 2rem;
    }
}

@media (max-width: 600px) {
    .quick-contact-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-contact-card {
        min-height: auto;
        padding: 2rem 1.5rem;
    }
    
    .social-links-quick {
        flex-direction: column;
    }
    
    .social-links-quick a {
        width: 100%;
        text-align: center;
    }
}

.quick-contact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 280px;
    overflow: hidden;
    box-sizing: border-box;
}

.quick-contact-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.quick-contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    color: var(--white);
    flex-shrink: 0;
}

.quick-contact-icon svg {
    width: 100%;
    height: 100%;
}

.quick-contact-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--white);
    font-weight: 600;
    line-height: 1.3;
    width: 100%;
}

.quick-contact-card > p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    width: 100%;
    word-wrap: break-word;
}

.quick-contact-link {
    color: var(--white);
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
    word-break: break-word;
    width: 100%;
    padding: 0.5rem;
    border-radius: 8px;
}

.quick-contact-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
    text-decoration: none;
    transform: scale(1.05);
}

.quick-contact-link:active {
    transform: scale(0.98);
}

.quick-contact-note {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
    width: 100%;
    word-wrap: break-word;
}

.response-time {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: auto;
    padding-top: 1rem;
    width: 100%;
    line-height: 1.5;
}

.social-links-quick {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    width: 100%;
}

.social-links-quick a {
    color: var(--white);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
    cursor: pointer;
    white-space: nowrap;
}

.social-links-quick a:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-links-quick a:active {
    transform: translateY(0);
}

/* Team Contacts Section */
.team-contacts-section {
    background: var(--white);
    padding: 6rem 0;
}

.team-contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-contact-card {
    background: var(--white);
    border: 2px solid rgba(30, 58, 95, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s ease;
}

.team-contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-red);
}

.team-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(192, 38, 39, 0.1) 0%, rgba(30, 58, 95, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
}

.team-contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.team-role {
    color: var(--primary-red);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    display: block;
}

.team-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.team-contact-info {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(30, 58, 95, 0.1);
}

.response-expectation {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Status Indicators Section */
.status-indicators-section {
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.03) 0%, rgba(192, 38, 39, 0.03) 100%);
    padding: 6rem 0;
}

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

.status-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.status-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.status-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-icon.status-active {
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
}

.status-icon.status-open {
    background: rgba(30, 58, 95, 0.1);
    color: var(--blue);
}

.status-icon.status-available {
    background: rgba(192, 38, 39, 0.1);
    color: var(--primary-red);
}

.status-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.status-content {
    color: var(--text-secondary);
}

.status-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.status-note {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.status-loading {
    color: var(--text-secondary);
    font-style: italic;
}

/* FAQ Section */
.contact-faq-section {
    background: var(--white);
    padding: 6rem 0;
}

.faq-search-wrapper {
    max-width: 600px;
    margin: 2rem auto 3rem;
}

.faq-search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(30, 58, 95, 0.2);
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.faq-search-input:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(192, 38, 39, 0.1);
}

.contact-faq-grid {
    max-width: 900px;
    margin: 0 auto;
}

.contact-faq-item {
    background: var(--white);
    border: 2px solid rgba(30, 58, 95, 0.1);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.contact-faq-item:hover {
    border-color: var(--primary-red);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-faq-item .faq-question {
    width: 100%;
    padding: 1.5rem;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: color 0.3s ease;
}

.contact-faq-item .faq-question::after {
    display: none; /* Remove the plus sign from contact page FAQ */
}

.contact-faq-item .faq-question:hover {
    color: var(--primary-red);
}

.contact-faq-item .faq-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    color: var(--primary-red);
}

.contact-faq-item .faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 1.5rem;
}

.faq-question[aria-expanded="true"] + .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .location-content-wrapper {
        grid-template-columns: 1fr;
    }

    .map-container {
        position: static;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-method-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }
}

@media (max-width: 600px) {
    .contact-hero {
        min-height: 80vh;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .form-navigation {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
        min-height: 44px; /* Touch-friendly target size */
    }

    .contact-method-card,
    .team-contact-card,
    .status-card {
        min-height: auto;
        padding: 2rem 1.5rem;
    }

    .contact-section-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .contact-hero-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

    .faq-question {
        font-size: 1rem;
        padding: 1.25rem;
    }

    .address-card,
    .meeting-schedule-card,
    .visit-info-card {
        padding: 1.5rem;
    }
}

/* Accessibility: Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    /* Specific overrides for critical animations */
    .contact-scroll-indicator,
    .contact-scroll-arrow,
    .contact-method-card,
    .quick-contact-card,
    .team-contact-card,
    .status-card,
    .contact-faq-item,
    .scroll-indicator,
    .scroll-arrow,
    .ne-scroll-indicator,
    .ne-scroll-arrow {
        animation: none !important;
        transition: none !important;
    }

    .contact-hero-subtitle,
    .ne-hero-subtitle,
    .hero-subtitle {
        animation: none !important;
    }

    .contact-title-line-1,
    .ne-hero-title,
    .hero-text h2 {
        animation: none !important;
        opacity: 1 !important;
    }
}

/* Accessibility: High Contrast Mode Support */
@media (prefers-contrast: high) {
    .contact-method-card,
    .quick-contact-card,
    .team-contact-card {
        border-width: 3px;
    }

    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        outline: 3px solid var(--primary-red);
        outline-offset: 2px;
    }
}

/* Accessibility: Focus Visible for Keyboard Navigation */
.contact-method-card:focus-visible,
.quick-contact-link:focus-visible,
.social-links-quick a:focus-visible,
.faq-question:focus-visible,
.btn-primary:focus-visible,
.btn-secondary:focus-visible {
    outline: 3px solid var(--primary-red);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Ensure minimum touch target sizes for mobile */
@media (max-width: 768px) {
    .contact-method-card,
    .quick-contact-link,
    .social-links-quick a,
    .faq-question,
    .btn-primary,
    .btn-secondary {
        min-height: 44px;
        min-width: 44px;
    }
}

/* ============================================
   Discover Freemasonry Page Styles
   ============================================ */

.hero-description {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.email-signup-form {
    max-width: 600px;
    margin: 2rem auto 0;
}

.email-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.email-signup-form .form-group input {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.email-signup-form .form-group input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.email-signup-form .form-group input:focus {
    outline: none;
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.15);
}

.email-signup-form .form-group label {
    color: var(--white);
    margin-bottom: 0.5rem;
    display: block;
    font-weight: 500;
}

.discover-hero-merged {
    min-height: auto;
    padding-bottom: 4rem;
}

.discover-hero-merged .hero-background {
    background: var(--blue);
}

.hero-text-top {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.discover-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 1200px) {
    .discover-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.discover-card {
    background: rgba(30, 58, 95, 0.85);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    min-height: 200px;
    border: 2px solid transparent;
}

.discover-card::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--blue) 50%, var(--red-alt) 100%);
    background-size: 200% 200%;
    border-radius: 10px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.95);
    filter: blur(0px);
    animation: gradientFlow 3s ease infinite;
    animation-play-state: paused;
}

.discover-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red) 0%, var(--blue) 50%, var(--red-alt) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    border-radius: 8px 8px 0 0;
}

.discover-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(192, 38, 39, 0.3), 0 0 30px rgba(30, 58, 95, 0.5);
    background: rgba(30, 58, 95, 0.95);
    border-color: transparent;
}

.discover-card:hover::before {
    opacity: 1;
    transform: scale(1);
    animation-play-state: running;
    filter: blur(1px);
}

.discover-card:hover::after {
    transform: scaleX(1);
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.discover-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--white);
    font-weight: 600;
}

.discover-card p {
    color: var(--text-secondary-on-blue);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    flex-grow: 1;
}

.card-arrow {
    margin-top: auto;
    align-self: flex-end;
    color: var(--primary-red);
    transition: var(--transition);
}

.discover-card:hover .card-arrow {
    transform: translateX(5px);
    color: var(--red-alt);
}

.card-arrow svg {
    width: 24px;
    height: 24px;
}

.modal-trigger {
    cursor: pointer;
}

.modal-trigger:hover {
    cursor: pointer;
}

/* ============================================
   Modal Styles - What is Freemasonry
   ============================================ */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(28, 28, 28, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 1rem;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: #ffffff;
    border-radius: 12px;
    width: 95vw;
    max-width: 1400px;
    height: 95vh;
    max-height: 95vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.8) rotateY(90deg);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-style: preserve-3d;
    perspective: 1000px;
    overflow: hidden;
    padding-top: env(safe-area-inset-top, 0);
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.modal-overlay.active .modal-container {
    transform: scale(1) rotateY(0deg);
    opacity: 1;
}

.modal-overlay.closing .modal-container {
    transform: scale(0.8) rotateY(-90deg);
    opacity: 0;
}

.modal-header {
    background: #c02627;
    color: #ffffff;
    padding: 2rem 2.5rem;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    min-height: 70px;
    position: relative;
    z-index: 10;
}

.modal-header h2 {
    font-size: 28px;
    font-weight: bold;
    margin: 0;
    font-family: inherit;
    color: #ffffff;
    line-height: 1.2;
}

.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 50%;
    font-weight: 300;
}

.modal-close:hover,
.modal-close:focus {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg) scale(1.1);
    outline: none;
}

.modal-content {
    padding: 2.5rem;
    overflow-y: auto;
    flex: 1;
    color: #333333;
    font-size: 16px;
    line-height: 1.6;
    font-family: inherit;
    min-height: 0;
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #c02627;
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #9e1b22;
}

.modal-content h3 {
    color: #c02627;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.modal-content h3:first-of-type {
    margin-top: 0;
}

.modal-content h4 {
    color: #1e3a5f;
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-content p {
    margin-bottom: 1rem;
    color: #333333;
}

.modal-content p:last-child {
    margin-bottom: 0;
}

.modal-content strong {
    color: #c02627;
    font-weight: 600;
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-container {
        width: 98vw;
        height: 98vh;
        max-height: 98vh;
        border-radius: 8px;
    }

    .modal-header {
        padding: 1.5rem 1.75rem;
        min-height: 60px;
    }

    .modal-header h2 {
        font-size: 22px;
    }

    .modal-content {
        padding: 2rem;
        font-size: 15px;
    }

    .modal-content h3 {
        font-size: 1.25rem;
    }

    .modal-content h4 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .modal-container {
        width: 100vw;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
    }

    .modal-header {
        padding: 1.25rem 1.5rem;
        min-height: 55px;
    }

    .modal-header h2 {
        font-size: 20px;
    }

    .modal-content {
        padding: 1.5rem;
        font-size: 14px;
    }
}

/* ============================================
   Famous Freemasons Modal Styles
   ============================================ */

.famous-intro {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e0e0e0;
}

.famous-intro p {
    margin-bottom: 1rem;
    font-size: 16px;
    line-height: 1.7;
    color: #333333;
}

.famous-intro p:last-child {
    margin-bottom: 0;
}

.famous-freemasons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 2rem;
    margin-top: 2rem;
}

.famous-person-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.famous-person-card:hover {
    transform: translateY(-5px);
}

.famous-person-image {
    width: 180px;
    height: 180px;
    border-radius: 8px;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

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

.famous-person-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--blue) 0%, var(--primary-red) 100%);
    color: #ffffff;
    font-size: 3rem;
    font-weight: bold;
    font-family: 'Canterbury Pro', serif;
}

.famous-person-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333333;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
    text-align: center;
}

.famous-person-dates {
    font-size: 0.95rem;
    color: #666666;
    margin: 0 0 1rem 0;
    font-style: italic;
}

.famous-person-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-red);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.famous-person-more:hover {
    color: var(--red-alt);
    background: rgba(192, 38, 39, 0.1);
    transform: translateY(-2px);
}

.famous-person-more svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.famous-person-more:hover svg {
    transform: rotate(90deg);
}

/* Responsive Famous Freemasons Grid */
@media (max-width: 1200px) {
    .famous-freemasons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 2rem;
    }
}

@media (max-width: 768px) {
    .famous-freemasons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1.5rem;
    }

    .famous-person-image {
        width: 150px;
        height: 150px;
    }

    .famous-person-name {
        font-size: 1rem;
    }

    .famous-intro {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
}

@media (max-width: 600px) {
    .famous-freemasons-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .famous-person-image {
        width: 160px;
        height: 160px;
    }
}

/* ============================================
   FAQ Modal Styles
   ============================================ */

.faq-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
}

.faq-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-section h3 {
    color: var(--primary-red);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    margin-top: 0;
}

.faq-section h4 {
    color: var(--blue);
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.faq-section h4:first-of-type {
    margin-top: 0;
}

.faq-section p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: #333333;
}

.faq-section p:last-child {
    margin-bottom: 0;
}

.faq-section strong {
    color: var(--primary-red);
    font-weight: 600;
}

.symbols-divider {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 2rem 0;
}

.symbols-divider svg {
    transition: var(--transition);
}

.symbols-divider svg:hover {
    opacity: 0.6;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .email-signup-form {
        max-width: 100%;
    }

    .email-form-grid {
        grid-template-columns: 1fr;
    }

    .discover-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .discover-card {
        padding: 2rem;
        min-height: 180px;
    }

    .discover-hero-merged .hero-content {
        padding-top: 2rem;
    }
}

@media (max-width: 600px) {
    .discover-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 968px) {
    .nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background: var(--white);
        box-shadow: var(--shadow-md);
        transition: left 0.3s ease;
        z-index: 999;
    }

    .nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        padding: 2rem;
        gap: 0;
    }

    .nav-link {
        padding: 1rem 0;
        border-bottom: 1px solid var(--gray-medium);
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .mobile-menu-toggle,
    .search-toggle {
        display: flex;
        min-width: 44px;
        min-height: 44px;
        padding: 0.75rem;
    }

    .hero-text h2 {
        font-size: 2.5rem;
    }

    .intro-content {
        grid-template-columns: 1fr;
    }

    .intro-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .header-content {
        min-height: 70px;
        padding: clamp(0.75rem, 2vw, 1rem) 0;
    }

    .logo {
        gap: clamp(0.5rem, 2vw, 0.75rem);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: 1 / 3;
        align-items: center;
        text-align: center;
    }

    .footer-logo-wrapper {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-section {
        align-items: center;
        text-align: center;
    }

    .footer-organizations {
        grid-column: 1 / 3;
        align-items: center;
    }

    .org-logos {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-brand,
    .footer-organizations {
        grid-column: auto;
    }

    .footer-logo-text .footer-title {
        font-size: clamp(1.2rem, 4vw, 1.5rem);
    }

    .footer-heading {
        font-size: 1.1rem;
    }

    .footer-contact-info p,
    .footer-links-list a {
        font-size: 0.9rem;
    }

    .org-logos {
        flex-direction: column;
        gap: 1rem;
    }

    .org-logo {
        height: 45px;
        max-width: 100px;
    }

    .footer-heading {
        font-size: 1.1rem;
    }

    .footer-contact-info p,
    .footer-links-list a {
        font-size: 0.9rem;
    }

    .org-logos {
        flex-direction: column;
        gap: 1rem;
    }

    .org-logo {
        height: 45px;
        max-width: 100px;
    }

    .footer-organizations {
        grid-column: 1 / -1;
    }

    .org-logos {
        flex-direction: row;
        justify-content: space-around;
        flex-wrap: wrap;
    }

    .org-logo-item {
        flex: 0 0 auto;
        min-width: 120px;
    }

    .logo-emblem {
        width: clamp(3.75rem, 7vw, 4.5rem);
        height: clamp(3.75rem, 7vw, 4.5rem);
        min-width: 3.75rem;
        min-height: 3.75rem;
        max-width: 4.5rem;
        max-height: 4.5rem;
    }

    .logo-text h1,
    .logo-text .logo-title {
        font-size: clamp(1rem, 4vw, 1.2rem);
    }

    .logo-text p {
        font-size: clamp(0.75rem, 3vw, 0.85rem);
    }

    .hero-text h2 {
        font-size: 2rem;
    }

    .hero-slide-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
    }

    .hero-values-nav {
        top: calc(50% + 100px);
        gap: 1.5rem;
    }

    .value-nav-text {
        font-size: 0.9rem;
    }

    .hero-slide-content {
        top: 50%;
        transform: translateY(-50%);
        padding: 2rem 0;
        max-width: 55%;
        left: 1.5rem;
    }

    .hero-carousel {
        height: 100vh;
        min-height: 100vh;
    }

    .hero-carousel-container {
        height: 100%;
        min-height: 100vh;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .quick-links-grid {
        grid-template-columns: 1fr;
    }

    .events-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .section-padding {
        padding: 60px 0;
    }

    .history-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: row !important;
        padding-left: 60px;
    }

    .timeline-year {
        position: absolute;
        left: 0;
    }

    .timeline-year::before {
        left: 30px;
    }
}

/* Small Mobile Devices (320px - 375px) */
@media (max-width: 375px) {
    .container {
        padding: 0 1rem;
    }
    
    .logo-text h1,
    .logo-text .logo-title {
        font-size: clamp(0.8rem, 4vw, 1rem);
    }
    
    .logo-text p {
        font-size: clamp(0.65rem, 3.5vw, 0.75rem);
    }
    
    .hero-slide-title {
        font-size: clamp(1rem, 5vw, 1.5rem);
    }
    
    .section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }
    
    .header-content {
        padding: clamp(0.5rem, 2vw, 0.75rem) 1rem;
    }
    
    .mobile-menu-toggle,
    .search-toggle {
        padding: 0.75rem;
    }
    
    .events-grid,
    .discover-grid {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-slide-content {
        top: 50%;
        transform: translateY(-50%);
        max-width: 75%;
        padding: 2rem 0;
        left: 1rem;
    }

    .hero-slide-title {
        font-size: clamp(1.25rem, 6vw, 2rem);
        line-height: 1.5;
    }

    .hero-values-nav {
        top: calc(50% + 80px);
        gap: 1rem;
    }

    .value-nav-text {
        font-size: 0.8rem;
    }

    .hero-carousel {
        height: 100vh;
        min-height: 100vh;
    }

    .hero-carousel-container {
        height: 100%;
        min-height: 100vh;
    }

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

    .header-content {
        min-height: 65px;
        padding: clamp(0.6rem, 1.5vw, 0.85rem) 0;
    }

    .logo {
        gap: clamp(0.4rem, 2.5vw, 0.6rem);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-brand {
        text-align: center;
        align-items: center;
    }

    .footer-logo-wrapper {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-contact-section {
        text-align: center;
    }

    .footer-organizations {
        grid-column: 1;
    }

    .org-logos {
        flex-direction: column;
        align-items: center;
    }

    .org-logo-item {
        min-width: auto;
    }

    .logo-emblem {
        width: clamp(3rem, 8vw, 3.75rem);
        height: clamp(3rem, 8vw, 3.75rem);
        min-width: 3rem;
        min-height: 3rem;
        max-width: 3.75rem;
        max-height: 3.75rem;
    }

    .logo-text h1,
    .logo-text .logo-title {
        font-size: clamp(0.9rem, 4.5vw, 1.1rem);
    }

    .logo-text p {
        font-size: clamp(0.7rem, 3.5vw, 0.8rem);
    }

    .hero-text h2 {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.75rem;
    }
}

/* ============================================
   About Page Styles
   ============================================ */

/* Hero Section */
.about-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 80px;
    background: var(--blue);
}

.about-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.geometric-pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
}

.hero-watermark {
    position: absolute;
    width: auto;
    height: auto;
    max-width: 350px;
    max-height: 350px;
    bottom: 5%;
    right: 5%;
    opacity: 0.08;
    filter: brightness(1.1) contrast(0.8);
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 1;
    transform: translate(0, 0);
    transition: opacity 0.3s ease;
}

.hero-watermark:hover {
    opacity: 0.12;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 2rem;
}

.about-hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-line-1 {
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    font-weight: 600;
    color: var(--white);
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.hero-line-2 {
    font-family: 'Canterbury Pro', 'Cinzel', serif;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.hero-line-3 {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: clamp(1.5rem, 4vw, 3rem);
    opacity: 0.95;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.hero-line-4 {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    opacity: 0.9;
    color: var(--white);
    font-family: 'Inter', sans-serif;
}

/* About Sections */
.about-section {
    padding: 6rem 0;
    position: relative;
}

.who-we-are-section {
    background: linear-gradient(to bottom, rgba(30, 58, 95, 0.05) 0%, rgba(30, 58, 95, 0.15) 100%);
}

.who-we-are-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-title-large {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 2rem;
    font-family: 'Inter', 'Playfair Display', sans-serif;
}

.content-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.timeline-visualization {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-line {
    position: absolute;
    width: 4px;
    height: 80%;
    background: linear-gradient(to bottom, var(--primary-red), var(--blue));
    left: 50%;
    transform: translateX(-50%);
}

.timeline-marker {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-marker[data-year="1848"] {
    top: 10%;
}

.timeline-marker[data-year="1900"] {
    top: 50%;
}

.timeline-marker[data-year="2025"] {
    top: 90%;
}

.timeline-marker:hover {
    transform: translateX(-50%) scale(1.2);
    box-shadow: 0 0 20px rgba(192, 38, 39, 0.5);
}

.marker-year {
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
}

.marker-tooltip {
    position: absolute;
    left: 80px;
    background: var(--blue);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.timeline-marker:hover .marker-tooltip {
    opacity: 1;
}

/* Heritage Section */
.heritage-section {
    background: var(--blue);
    color: var(--text-on-blue);
    position: relative;
    overflow: hidden;
}

.heritage-section .section-title-large {
    color: var(--white);
}

.heritage-background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 50px,
        rgba(192, 38, 39, 0.05) 50px,
        rgba(192, 38, 39, 0.05) 52px
    );
    opacity: 0.3;
}

.heritage-content {
    position: relative;
    z-index: 1;
}

.heritage-intro h3 {
    font-size: 2rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

.heritage-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-on-blue);
    margin-bottom: 1.5rem;
}

.heritage-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin: 3rem 0;
}

.heritage-badge-card {
    text-align: center;
    perspective: 1000px;
}

.badge-3d {
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.heritage-badge-card:hover .badge-3d {
    transform: scale(1.1) rotateY(15deg) rotateX(5deg);
}

.badge-front {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--red-alt) 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    backface-visibility: hidden;
    box-shadow: 0 10px 30px rgba(192, 38, 39, 0.4), 0 0 20px rgba(192, 38, 39, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.heritage-badge-card:hover .badge-front {
    box-shadow: 0 15px 40px rgba(192, 38, 39, 0.6), 0 0 30px rgba(192, 38, 39, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
}

.badge-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.badge-icon svg {
    width: 100%;
    height: 100%;
    color: var(--white);
}

.heritage-badge-card:hover .badge-icon {
    transform: scale(1.15) rotate(5deg);
}

.badge-front h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.heritage-badge-card p {
    color: var(--text-on-blue);
    font-size: 1rem;
}

.heritage-note {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-red);
    margin-top: 2rem;
}

/* Leaders Section */
.leaders-section {
    background: var(--white);
}

.leaders-title-center {
    text-align: center !important;
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.leaders-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.leaders-intro p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-left: auto;
    margin-right: auto;
}

.leader-category {
    margin-bottom: 4rem;
}

.leader-category h3 {
    font-size: 1.5rem;
    color: var(--primary-red);
    margin-bottom: 2rem;
    text-align: center;
}

.district-masters-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.master-list-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.25rem 2rem;
    background: var(--white);
    border-left: 4px solid var(--blue);
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.master-list-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--primary-red);
}

.master-name {
    flex: 1;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.master-years {
    min-width: 120px;
    text-align: right;
    color: var(--primary-red);
    font-weight: 600;
    font-size: 1rem;
}

.master-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
}

.provincial-grand-master-note {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(192, 38, 39, 0.05);
    border-left: 4px solid var(--primary-red);
    border-radius: 4px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.provincial-grand-master-note p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin: 0;
}

.provincial-grand-master-note strong {
    color: var(--primary-red);
    font-weight: 600;
}

.leaders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

/* Governors grid - 3 columns, center last row */
.governors-grid {
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
}

.governors-grid .leader-card {
    max-width: 350px;
    width: 100%;
}

/* Center the last 2 items in the governors grid (5th and 6th items) */
.governors-grid .leader-card:nth-child(5) {
    grid-column: 2 / 3;
}

.governors-grid .leader-card:nth-child(6) {
    grid-column: 3 / 4;
}

.leader-card {
    background: var(--white);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    box-shadow: var(--shadow-sm);
}

.leader-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.leader-blue {
    border-color: var(--blue);
}

.leader-blue:hover {
    background: rgba(30, 58, 95, 0.05);
}

.leader-red {
    border-color: var(--primary-red);
}

.leader-red:hover {
    background: rgba(192, 38, 39, 0.05);
}

.leader-dark-red {
    border-color: var(--red-alt);
}

.leader-dark-red:hover {
    background: rgba(158, 27, 34, 0.05);
}

.leader-portrait {
    width: 180px;
    height: 240px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--blue), var(--primary-red));
    margin: 0 auto 1.5rem;
    border: 3px solid currentColor;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: var(--shadow-md);
}

.leader-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    border-radius: 5px;
}

.leader-card h4 {
    font-size: 1.2rem;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.leader-dates {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.leader-role {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
}

.leader-note {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-style: italic;
    margin-top: 0.5rem;
    line-height: 1.5;
}

.leaders-conclusion {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
    max-width: 900px;
    margin: 4rem auto 0;
    padding-top: 2rem;
    border-top: 2px solid var(--primary-red);
}

/* St. George Section */
.st-george-section {
    background: linear-gradient(135deg, var(--blue) 0%, #1a2f4a 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

.st-george-section .section-title-large {
    color: var(--white);
}

.st-george-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(192, 38, 39, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(192, 38, 39, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.st-george-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.st-george-intro {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    line-height: 1.8;
    color: var(--text-on-blue);
    max-width: 800px;
    margin: 1.5rem auto 0;
    opacity: 0.95;
}

.st-george-main-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

.st-george-image-wrapper {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.st-george-image-container {
    width: 100%;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 3px solid var(--primary-red);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    background: var(--white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.st-george-image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
}

.st-george-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: center;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    pointer-events: none;
}

.st-george-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

.st-george-visual {
    order: 1;
    position: relative;
    height: 100%;
    display: flex;
    align-items: stretch;
}

.st-george-text {
    order: 2;
}

.st-george-image-container {
    width: 100%;
    height: 100%;
    min-height: 600px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 4px solid var(--primary-red);
    box-shadow: var(--shadow-lg);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.st-george-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.st-george-image-container:hover .st-george-image {
    transform: scale(1.02);
}

.st-george-text-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.st-george-content-detailed p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-on-blue);
    margin-bottom: 1.5rem;
}

.st-george-bio,
.st-george-legend {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-red);
    backdrop-filter: blur(10px);
}

.st-george-bio p,
.st-george-legend p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-on-blue);
    margin-bottom: 1.5rem;
}

.st-george-bio p:last-child,
.st-george-legend p:last-child {
    margin-bottom: 0;
}

.st-george-subtitle {
    font-size: 1.8rem;
    color: var(--primary-red);
    margin: 0 0 1.5rem 0;
    font-weight: 700;
    font-family: 'Inter', 'Playfair Display', sans-serif;
}

.st-george-values-section {
    margin-top: 1rem;
}

.values-intro {
    font-size: 1.1rem;
    color: var(--text-on-blue);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.st-george-values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.value-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid rgba(192, 38, 39, 0.3);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.value-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary-red);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(192, 38, 39, 0.2);
}

.value-icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(192, 38, 39, 0.2);
    border-radius: 50%;
    border: 2px solid var(--primary-red);
    transition: all 0.3s ease;
}

.value-card:hover .value-icon-wrapper {
    background: rgba(192, 38, 39, 0.3);
    transform: scale(1.1);
}

.value-icon {
    font-size: 2.5rem;
    display: block;
}

.value-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 0.75rem 0;
    font-family: 'Inter', sans-serif;
}

.value-description {
    font-size: 0.95rem;
    color: var(--text-on-blue);
    margin: 0;
    line-height: 1.6;
    opacity: 0.9;
}

/* Hall Stone Section */
.hallstone-section {
    background: var(--blue);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hallstone-section .section-title-large {
    color: var(--white);
}

.hallstone-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 20px,
        rgba(192, 38, 39, 0.1) 20px,
        rgba(192, 38, 39, 0.1) 22px
    );
}

.hallstone-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (max-width: 968px) {
    .hallstone-content {
        grid-template-columns: 1fr;
    }
    
    .hallstone-jewel-3d {
        order: 2;
    }
    
    .hallstone-text {
        order: 1;
    }
}

.hallstone-jewel-3d {
    display: flex;
    justify-content: center;
    align-items: center;
}

.jewel-container {
    width: 100%;
    max-width: 500px;
    height: auto;
    position: relative;
}

.jewel-front {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    background: transparent;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.3);
    border: 4px solid var(--primary-red);
    overflow: hidden;
    position: relative;
    padding: 1rem;
}

.jewel-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.jewel-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    display: none;
}

.jewel-front h3 {
    color: var(--primary-red);
    font-weight: 700;
    font-size: 1.2rem;
    margin-top: 1rem;
    text-align: center;
}

.hallstone-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--white);
    margin-bottom: 1.5rem;
}


/* Past Masters Section */
.past-masters-section {
    background: var(--white);
}

.past-masters-title-center {
    text-align: center !important;
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.past-masters-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 65ch;
    display: block;
}

.past-masters-list-container {
    margin: 4rem 0;
}

.past-masters-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 250px;
    max-width: 500px;
}

.search-box .search-input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    border: 2px solid var(--blue);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--text-primary);
}

.search-box .search-input:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(192, 38, 39, 0.1);
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
}

.view-toggle {
    display: flex;
    gap: 0.5rem;
    background: var(--blue);
    padding: 0.25rem;
    border-radius: 8px;
}

.view-btn {
    padding: 0.5rem;
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    color: var(--text-on-blue);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.view-btn.active {
    background: var(--primary-red);
    color: var(--white);
}

/* Timeline View */
.past-masters-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-decade {
    margin-bottom: 3rem;
    position: relative;
}

.timeline-decade.hidden {
    display: none;
}

.decade-header {
    position: sticky;
    top: 100px;
    background: var(--blue);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    z-index: 5;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.decade-header:hover {
    background: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.decade-header:focus {
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

.decade-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
    font-family: 'Canterbury Pro', 'Cinzel', serif;
    flex: 1;
}

.decade-toggle-icon {
    color: var(--white);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.timeline-decade.is-expanded .decade-toggle-icon {
    transform: rotate(180deg);
}

.decade-masters {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    padding-left: 1rem;
    overflow: hidden;
}

.master-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 1.5rem;
    background: var(--white);
    border-left: 4px solid var(--blue);
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.master-item:hover {
    transform: translateX(5px);
    border-left-color: var(--primary-red);
    box-shadow: var(--shadow-md);
}

.master-year {
    font-weight: 700;
    color: var(--primary-red);
    font-size: 1rem;
    min-width: 80px;
    font-family: 'Inter', sans-serif;
}

.master-name-text {
    color: var(--text-primary);
    font-size: 1rem;
    flex: 1;
}

/* Compact View */
.past-masters-compact {
    max-width: 1200px;
    margin: 0 auto;
}

.compact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.compact-card {
    background: var(--white);
    border: 2px solid var(--blue);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.compact-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-red);
    box-shadow: var(--shadow-md);
}

.compact-year {
    font-weight: 700;
    color: var(--primary-red);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.compact-name {
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.4;
}

.eras-timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 3rem 0;
    position: relative;
    padding: 2rem 0;
}

.eras-timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--primary-red), var(--blue));
    z-index: 0;
}

.era-marker {
    position: relative;
    z-index: 1;
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border: 3px solid var(--primary-red);
    cursor: pointer;
    transition: all 0.3s ease;
}

.era-marker:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.era-period {
    font-weight: 600;
    color: var(--primary-red);
    white-space: nowrap;
}

.era-marker:hover .era-period {
    color: var(--white);
}

.past-masters-tradition {
    background: var(--blue);
    color: var(--text-on-blue);
    padding: 3rem;
    border-radius: 12px;
    margin-top: 3rem;
    text-align: center;
}

.past-masters-tradition h3 {
    font-size: 1.8rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

.past-masters-tradition p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-on-blue);
}

.past-masters-tradition strong {
    color: var(--primary-red);
    font-size: 1.2rem;
}

/* Our Home Section */
.our-home-section {
    background: var(--blue);
    color: var(--text-on-blue);
}

.our-home-section .section-title-large {
    color: var(--white);
}

.our-home-title-center {
    text-align: center !important;
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

.home-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem;
}

.home-intro p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-on-blue);
    margin: 0;
}

.home-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.home-gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--white);
}

.home-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.home-gallery-main {
    grid-row: 1 / 3;
    min-height: 600px;
}

.home-gallery-secondary {
    grid-column: 2;
    min-height: 290px;
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: inherit;
    overflow: hidden;
    background: var(--white);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-label {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
}

/* Purpose Section */
.purpose-section {
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.purpose-background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 50px, rgba(192, 38, 39, 0.03) 50px, rgba(192, 38, 39, 0.03) 52px),
        repeating-linear-gradient(90deg, transparent, transparent 50px, rgba(192, 38, 39, 0.03) 50px, rgba(192, 38, 39, 0.03) 52px);
    opacity: 0.5;
}

.purpose-title-center {
    text-align: center !important;
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.purpose-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.purpose-intro p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.purpose-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 4rem;
    position: relative;
    z-index: 1;
}

.purpose-card {
    background: var(--white);
    border: 2px solid rgba(192, 38, 39, 0.1);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 280px;
}

.purpose-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red) 0%, var(--blue) 50%, var(--red-alt) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.purpose-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-red);
    box-shadow: 0 12px 40px rgba(192, 38, 39, 0.2);
}

.purpose-card:hover::before {
    transform: scaleX(1);
}

.purpose-card-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    color: var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    position: relative;
}

.purpose-card-icon svg {
    width: 100%;
    height: 100%;
}

.purpose-card:hover .purpose-card-icon {
    transform: scale(1.15) rotate(5deg);
    color: var(--red-alt);
}

.purpose-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 1rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.purpose-card:hover h3 {
    color: var(--red-alt);
}

.purpose-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.purpose-hexagons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hexagon-item {
    position: relative;
    height: 200px;
    perspective: 1000px;
    cursor: pointer;
}

.hexagon-front,
.hexagon-back {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--blue);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    backface-visibility: hidden;
    transition: transform 0.6s;
    box-shadow: var(--shadow-md);
}

.hexagon-back {
    transform: rotateY(180deg);
    background: var(--primary-red);
    color: var(--white);
}

.hexagon-item:hover .hexagon-front {
    transform: rotateY(180deg);
}

.hexagon-item:hover .hexagon-back {
    transform: rotateY(0deg);
}

.hex-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hexagon-front h4,
.hexagon-back h4 {
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    color: var(--text-on-blue);
}

.hexagon-back h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.hexagon-back p {
    color: var(--white);
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.6;
}

.purpose-conclusion {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
    max-width: 900px;
    margin: 4rem auto 0;
    padding-top: 2rem;
    border-top: 2px solid var(--primary-red);
    position: relative;
    z-index: 1;
}

/* Motto Section */
.motto-section {
    background: linear-gradient(135deg, var(--blue) 0%, var(--red-alt) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 8rem 0;
}

.motto-section .section-title-large {
    color: var(--white);
}

.motto-background-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.motto-content {
    position: relative;
    z-index: 1;
}

.motto-latin {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    margin-bottom: 2rem;
    color: var(--white);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.motto-translation {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: 2rem;
    color: var(--white);
    opacity: 0.95;
}

.motto-explanation {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    color: var(--white);
    opacity: 0.9;
}

.light-rays {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.ray {
    position: absolute;
    width: 2px;
    height: 200px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), transparent);
    top: 50%;
    left: 50%;
    transform-origin: bottom center;
    animation: rayRotate 8s linear infinite;
}

.ray-1 {
    transform: translate(-50%, -100%) rotate(0deg);
    animation-delay: 0s;
}

.ray-2 {
    transform: translate(-50%, -100%) rotate(90deg);
    animation-delay: 2s;
}

.ray-3 {
    transform: translate(-50%, -100%) rotate(180deg);
    animation-delay: 4s;
}

.ray-4 {
    transform: translate(-50%, -100%) rotate(270deg);
    animation-delay: 6s;
}

@keyframes rayRotate {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

/* Responsive Styles for About Page */
@media (max-width: 968px) {
    .who-we-are-content,
    .st-george-content,
    .st-george-main-content,
    .hallstone-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .st-george-visual {
        order: 2;
    }
    
    .st-george-text {
        order: 1;
    }
    
    .st-george-image-wrapper {
        position: relative;
        top: 0;
    }
    
    .st-george-values-grid {
        grid-template-columns: 1fr;
    }

    .heritage-badges {
        grid-template-columns: 1fr;
    }
    
    .home-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .home-gallery-main {
        grid-row: 1;
        min-height: 400px;
    }
    
    .home-gallery-secondary {
        grid-column: 1;
        min-height: 300px;
    }

    .leaders-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .governors-grid {
        grid-template-columns: repeat(2, 1fr);
        justify-items: stretch;
    }

    .past-masters-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box {
        max-width: 100%;
    }

    .decade-masters {
        grid-template-columns: 1fr;
    }

    .compact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .purpose-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .st-george-values {
        grid-template-columns: 1fr;
    }

    .eras-timeline {
        flex-direction: column;
        gap: 2rem;
    }

    .eras-timeline::before {
        width: 3px;
        height: 100%;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 600px) {
    .leaders-grid,
    .purpose-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .purpose-card {
        min-height: 250px;
        padding: 2rem 1.5rem;
    }
    
    .home-gallery-main,
    .home-gallery-secondary {
        min-height: 300px;
    }

    .about-hero-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
    }

    .section-title-large {
        font-size: clamp(2rem, 6vw, 3rem);
    }
}

/* ============================================
   MEMBERSHIP PAGE STYLES
   ============================================ */

/* Hero Section */
.membership-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue);
    overflow: hidden;
    padding-top: 80px;
}

.membership-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.membership-geometric-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.geo-compass-membership,
.geo-square-membership {
    position: absolute;
    border: 2px solid var(--white);
    animation: float 6s ease-in-out infinite;
}

.geo-compass-membership {
    width: 300px;
    height: 300px;
    top: 10%;
    right: 10%;
    border-radius: 50%;
    animation-delay: 0s;
}

.geo-square-membership {
    width: 200px;
    height: 200px;
    bottom: 15%;
    left: 15%;
    animation-delay: 2s;
}

.membership-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 2rem;
}

.membership-hero-title {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 3rem;
    align-items: center;
    text-align: center;
}

.membership-hero-title .hero-main-line {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: var(--white);
    white-space: nowrap;
}

.membership-hero-title .hero-at-line {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    color: var(--white);
    text-align: center;
    line-height: 1.4;
}

.membership-hero-title .hero-lodge-line {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: var(--white);
    text-align: center;
}

.membership-hero-title .lodge-name-canterbury {
    font-family: 'Canterbury Pro', 'Cinzel', serif;
    color: var(--white);
}

.membership-hero-title .hero-subtitle-line {
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 400;
    opacity: 0.95;
    font-family: 'Inter', sans-serif;
    color: var(--white);
    text-align: center;
    margin-top: 1rem;
}

.cta-button-primary,
a.cta-button-primary {
    background: var(--primary-red);
    color: var(--white);
    border: none;
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(192, 38, 39, 0.4);
    text-decoration: none;
}

.cta-button-primary:hover {
    background: var(--red-alt);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192, 38, 39, 0.6);
}

.cta-button-primary:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

.cta-button-primary svg {
    transition: transform 0.3s ease;
}

.cta-button-primary:hover svg {
    transform: translateX(5px);
}

/* Introduction Section */
.membership-intro-section {
    background: var(--blue);
    color: var(--white);
    padding: 6rem 0;
}

.membership-intro-section .section-title-large {
    color: var(--white);
}

.intro-content-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.intro-text-content h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: clamp(2rem, 4vw, 3rem);
}

.intro-text-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.intro-visual-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.year-counter-container {
    text-align: center;
}

.year-counter {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.counter-number {
    font-size: clamp(4rem, 8vw, 6rem);
    font-weight: 700;
    color: var(--primary-red);
    font-family: 'Canterbury Pro', serif;
}

.counter-label {
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
}

.globe-visualization {
    text-align: center;
}

.globe-icon {
    font-size: 4rem;
    margin-bottom: 0.5rem;
}

.globe-text {
    font-size: 1.125rem;
    font-weight: 500;
}

/* Why Become Section */
.membership-why-section {
    background: var(--white);
    padding: 6rem 0;
}

.why-title-center {
    text-align: center;
    margin-bottom: 4rem;
}

.why-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.benefit-card-flip {
    position: relative;
    height: 400px;
    perspective: 1000px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
}

.benefit-card-flip .card-front,
.benefit-card-flip .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transition: transform 0.6s;
    border-radius: 12px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.benefit-card-flip .card-front {
    background: var(--blue);
    color: var(--white);
    transform: rotateY(0deg);
}

.benefit-card-flip .card-back {
    background: var(--primary-red);
    color: var(--white);
    transform: rotateY(180deg);
}

.benefit-card-flip.flipped .card-front {
    transform: rotateY(-180deg);
}

.benefit-card-flip.flipped .card-back {
    transform: rotateY(0deg);
}

.benefit-number {
    font-size: 3rem;
    font-weight: 700;
    opacity: 0.3;
    margin-bottom: 1rem;
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card-flip h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

.benefit-card-flip .card-back h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.benefit-card-flip .card-back ul {
    list-style: none;
    text-align: left;
}

.benefit-card-flip .card-back li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.benefit-card-flip .card-back li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--white);
}

/* Who Can Become Section */
.membership-who-section {
    background: var(--white);
    padding: 6rem 0;
}

.who-title-center {
    text-align: center;
    margin-bottom: 2rem;
}

.section-intro {
    text-align: center;
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-intro p {
    margin-left: auto;
    margin-right: auto;
}

.qualification-checklist {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.checklist-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2rem;
    background: var(--white);
    border: 2px solid var(--blue);
    border-radius: 12px;
    transition: all 0.3s ease;
    will-change: opacity, visibility, transform;
}

.checklist-item .check-icon {
    will-change: opacity, visibility, transform;
}

.checklist-item .check-content {
    will-change: opacity, visibility, transform;
}

.checklist-item:hover {
    border-color: var(--primary-red);
    box-shadow: 0 4px 20px rgba(192, 38, 39, 0.2);
    transform: translateX(10px);
}

.check-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.check-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.check-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* How to Join Section */
.membership-how-section {
    background: var(--blue);
    color: var(--white);
    padding: 6rem 0;
}

.membership-how-section .section-title-large,
.how-title-center {
    text-align: center;
    color: var(--white);
    margin-bottom: 4rem;
}

.join-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding-left: 3rem;
}

.timeline-progress-bar {
    position: absolute;
    left: 1.5rem;
    top: 0;
    bottom: 0;
    width: 4px;
    background: rgba(255, 255, 255, 0.2);
}

.progress-line {
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    background: var(--primary-red);
    height: 0;
    transition: height 0.8s ease;
}

.timeline-step {
    position: relative;
    margin-bottom: 4rem;
    padding-left: 4rem;
}

.step-marker {
    position: absolute;
    left: -3rem;
    top: 0;
    width: 60px;
    height: 60px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--blue);
    z-index: 2;
}

.step-marker-special {
    background: var(--red-alt);
    box-shadow: 0 0 20px rgba(192, 38, 39, 0.6);
}

.step-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.step-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.step-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.step-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.step-content ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.step-content li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: rgba(255, 255, 255, 0.9);
}

.step-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-red);
}

.step-cta,
a.step-cta {
    margin-top: 1.5rem;
    background: var(--primary-red);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.step-cta:hover {
    background: var(--red-alt);
    transform: translateY(-2px);
}

/* What to Expect Section */
.membership-expect-section {
    background: var(--white);
    padding: 6rem 0;
}

.expect-title-center {
    text-align: center;
    margin-bottom: 4rem;
}

.expect-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.degrees-visualization h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.degrees-pillars {
    display: flex;
    gap: 1.5rem;
    margin: 2rem 0;
    align-items: flex-end;
}

.degree-pillar {
    flex: 1;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pillar-base {
    width: 100%;
    height: 20px;
    background: var(--blue);
    border-radius: 4px 4px 0 0;
}

.pillar-body {
    background: linear-gradient(180deg, var(--primary-red) 0%, var(--red-alt) 100%);
    padding: 2rem 1rem;
    border-radius: 8px 8px 0 0;
    color: var(--white);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pillar-body h4 {
    color: var(--white) !important;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 600;
    text-align: center;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
}

.degree-pillar[data-degree="1"] .pillar-body {
    height: 150px;
}

.degree-pillar[data-degree="2"] .pillar-body {
    height: 200px;
}

.degree-pillar[data-degree="3"] .pillar-body {
    height: 250px;
}

.degree-pillar:hover .pillar-body {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(192, 38, 39, 0.4);
}

.pillar-details {
    margin-top: 1rem;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.pillar-details p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.degrees-note {
    margin-top: 2rem;
    color: var(--text-secondary);
    font-style: italic;
}

.lodge-life-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.lodge-activities {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--blue);
    color: var(--white);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.activity-item:hover {
    background: var(--primary-red);
    transform: translateX(5px);
}

.activity-icon {
    font-size: 1.5rem;
}

.mentorship-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(192, 38, 39, 0.1);
    border-left: 4px solid var(--primary-red);
    border-radius: 8px;
}

.mentorship-info h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

/* Costs Section */
.membership-costs-section {
    background: var(--blue);
    color: var(--white);
    padding: 6rem 0;
}

.membership-costs-section .section-title-large,
.costs-title-center {
    text-align: center;
    color: var(--white);
    margin-bottom: 3rem;
}

.costs-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.costs-intro {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.costs-breakdown {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.cost-item {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cost-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cost-item h4 {
    font-size: 1.125rem;
    color: var(--white);
}

.transparency-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
    padding: 1.5rem;
    background: rgba(192, 38, 39, 0.2);
    border-radius: 12px;
    border: 2px solid var(--primary-red);
}

.badge-icon {
    font-size: 2rem;
    color: var(--primary-red);
    font-weight: 700;
}

.transparency-badge p {
    font-size: 1.125rem;
    color: var(--white);
}

/* FAQ Section */
.membership-faq-section {
    background: rgba(30, 58, 95, 0.1);
    padding: 6rem 0;
}

.faq-title-center {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-search-box {
    max-width: 600px;
    margin: 0 auto 3rem;
    position: relative;
}

.faq-search-input {
    width: 100%;
    padding: 1rem 3rem 1rem 1.5rem;
    border: 2px solid var(--blue);
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.faq-search-input:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(192, 38, 39, 0.1);
}

.faq-search-icon {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
}

.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item-membership {
    margin-bottom: 1rem;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq-question-membership {
    width: 100%;
    padding: 1.5rem 2rem;
    background: var(--white);
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question-membership:hover {
    background: rgba(192, 38, 39, 0.05);
}

.faq-icon {
    transition: transform 0.3s ease;
    color: var(--primary-red);
}

.faq-question-membership[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer-membership {
    height: 0;
    overflow: hidden;
    opacity: 0;
}

.faq-answer-membership p {
    padding: 0 2rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* CTA Section */
.membership-cta-section {
    background: var(--blue);
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
}

.membership-cta-section .cta-main-title {
    color: var(--white);
}

.cta-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.cta-main-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

.cta-subtitle {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    opacity: 0.95;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.cta-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-invitation {
    font-size: 1.125rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.cta-button-primary-large,
a.cta-button-primary-large {
    background: var(--white);
    color: var(--primary-red);
    border: none;
    padding: 1.5rem 3rem;
    font-size: 1.25rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    gap: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cta-button-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

.cta-button-primary-large:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

.cta-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 1.125rem;
}

.cta-motto {
    font-style: italic;
    margin-top: 0.5rem;
}

.cta-motto-translation {
    font-size: 0.9rem;
    opacity: 0.8;
    font-style: italic;
}

/* Contact Form Modal */
.membership-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.membership-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.membership-modal-container {
    background: var(--white);
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.8) rotateY(90deg);
}

.membership-modal-header {
    background: var(--primary-red);
    color: var(--white);
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 16px 16px 0 0;
}

.membership-modal-header h2 {
    font-size: 1.75rem;
    margin: 0;
    color: var(--white);
}

.membership-modal-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.membership-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.membership-modal-content {
    padding: 2rem;
}

.membership-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-step h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    min-height: 44px;
    padding: 0.75rem 1rem;
    border: 2px solid var(--blue);
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(192, 38, 39, 0.1);
}

.form-group input.error,
.form-group textarea.error {
    border-color: var(--primary-red);
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    gap: 1rem;
}

.btn-primary,
.btn-secondary {
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
}

.btn-primary {
    background: var(--primary-red);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--red-alt);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--blue);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--primary-red);
}

.form-success {
    text-align: center;
    padding: 3rem 2rem;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-red);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 1.5rem;
}

.form-success h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.form-success p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 968px) {
    .intro-content-wrapper {
        grid-template-columns: 1fr;
    }

    .why-benefits-grid {
        grid-template-columns: 1fr;
    }

    .expect-content-wrapper {
        grid-template-columns: 1fr;
    }

    .costs-breakdown {
        grid-template-columns: 1fr;
    }

    .lodge-activities {
        grid-template-columns: 1fr;
    }

    .join-timeline {
        padding-left: 2rem;
    }

    .timeline-step {
        padding-left: 3rem;
    }
}

@media (max-width: 768px) {
    .membership-hero {
        min-height: 80vh;
    }

    .membership-hero-title .hero-main-line {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .membership-intro-section,
    .membership-why-section,
    .membership-who-section,
    .membership-how-section,
    .membership-expect-section,
    .membership-costs-section,
    .membership-faq-section,
    .membership-cta-section {
        padding: 4rem 0;
    }

    .benefit-card-flip {
        height: 350px;
    }

    .degrees-pillars {
        flex-direction: column;
        align-items: stretch;
    }

    .degree-pillar[data-degree="1"] .pillar-body,
    .degree-pillar[data-degree="2"] .pillar-body,
    .degree-pillar[data-degree="3"] .pillar-body {
        height: auto;
        min-height: 120px;
    }
}

@media (max-width: 480px) {
    .checklist-item {
        flex-direction: column;
        gap: 1rem;
    }

    .step-content {
        padding: 1.5rem;
    }

    .membership-modal-container {
        width: 95%;
        max-height: 95vh;
    }

    .membership-modal-header {
        padding: 1.5rem;
    }

    .membership-modal-content {
        padding: 1.5rem;
    }
}

/* ============================================
   NEWS & EVENTS PAGE STYLES (NEW DESIGN)
   ============================================ */

/* Hero Section */
.events-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--blue) 0%, var(--primary-red) 100%);
    overflow: hidden;
    padding-top: 80px;
}

.events-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.events-geometric-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.geo-calendar-icon,
.geo-square-events {
    position: absolute;
    border: 2px solid var(--white);
    animation: float 6s ease-in-out infinite;
}

.geo-calendar-icon {
    width: 250px;
    height: 250px;
    top: 15%;
    right: 10%;
    border-radius: 12px;
    animation-delay: 0s;
}

.geo-square-events {
    width: 180px;
    height: 180px;
    bottom: 20%;
    left: 15%;
    animation-delay: 2s;
}

.events-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 2rem;
}

.events-hero-title {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.events-hero .hero-main-line,
.events-hero .hero-subtitle-line {
    color: var(--white);
}

.hero-main-line {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    font-family: 'Canterbury Pro', 'Cinzel', serif;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle-line {
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 400;
    opacity: 0.95;
    font-family: 'Inter', sans-serif;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 3rem;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    color: var(--primary-red);
    font-family: 'Inter', sans-serif;
}

.stat-label {
    display: block;
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

.hero-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn-hero {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.filter-btn-hero:hover,
.filter-btn-hero.active {
    background: var(--primary-red);
    border-color: var(--primary-red);
    transform: translateY(-2px);
}

/* Calendar Header */
.calendar-header-section {
    background: var(--white);
    padding: 3rem 0;
    border-bottom: 2px solid var(--blue);
}

.calendar-header-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.calendar-header-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.calendar-view-toggles {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.view-toggle {
    background: var(--blue);
    color: var(--white);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-toggle:hover,
.view-toggle.active {
    background: var(--primary-red);
    transform: translateY(-2px);
}

/* Events Section Base */
.events-section {
    padding: 6rem 0;
}

.section-header-events {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header-events p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-title-events {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
    text-align: center;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.section-highlight {
    font-size: 1.125rem;
    color: var(--primary-red);
    font-weight: 600;
}

/* Lodge Meetings Section */
.lodge-meetings-section {
    background: var(--white);
}

.year-progress {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.progress-bar-year {
    width: 100%;
    height: 8px;
    background: rgba(30, 58, 95, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill-year {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-red) 0%, var(--red-alt) 100%);
    width: 0;
    border-radius: 4px;
    transition: width 1.5s ease;
}

.progress-text {
    text-align: center;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.125rem;
}

.meetings-timeline {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.meeting-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2rem;
    background: var(--white);
    border: 2px solid var(--blue);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.meeting-item:hover {
    border-color: var(--primary-red);
    box-shadow: 0 4px 20px rgba(192, 38, 39, 0.2);
}

.meeting-item.upcoming-soon {
    border-color: var(--primary-red);
    background: rgba(192, 38, 39, 0.05);
}

.meeting-date {
    flex-shrink: 0;
    text-align: center;
    min-width: 120px;
    padding: 1rem;
    background: var(--blue);
    color: var(--white);
    border-radius: 8px;
}

.meeting-date .month {
    display: block;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.meeting-date .day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-top: 0.25rem;
}

.meeting-content {
    flex: 1;
}

.meeting-status {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.status-regular {
    background: var(--blue);
    color: var(--white);
}

.status-installation {
    background: var(--primary-red);
    color: var(--white);
}

.status-convocation {
    background: var(--green);
    color: var(--white);
}

.status-no-meeting {
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-secondary);
}

.meeting-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.add-to-calendar-btn {
    background: var(--primary-red);
    color: var(--white);
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.add-to-calendar-btn:hover {
    background: var(--red-alt);
    transform: translateY(-2px);
}

/* Chapter Meetings Section */
.chapter-meetings-section {
    background: rgba(18, 50, 40, 0.05);
}

.chapter-timeline .meeting-item {
    border-color: var(--green);
}

.chapter-timeline .meeting-item:hover {
    border-color: var(--green);
    box-shadow: 0 4px 20px rgba(18, 50, 40, 0.2);
}

.chapter-item .meeting-date {
    background: var(--green);
}

/* Signature Events Section */
.signature-events-section {
    background: var(--white);
}

.signature-events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.signature-event-card {
    background: var(--white);
    border: 2px solid var(--blue);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.signature-event-card:hover {
    border-color: var(--primary-red);
    box-shadow: 0 8px 30px rgba(192, 38, 39, 0.2);
    transform: translateY(-5px);
}

.christmas-card {
    background: linear-gradient(135deg, rgba(192, 38, 39, 0.05) 0%, rgba(30, 58, 95, 0.05) 100%);
}

.cup-card {
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.05) 0%, rgba(192, 38, 39, 0.05) 100%);
}

.event-card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.event-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.event-card-header h3 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.event-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.event-date {
    font-size: 1.125rem;
    color: var(--primary-red);
    font-weight: 600;
}

.event-card-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.event-expectations,
.charity-goals,
.participant-expectations {
    margin: 1.5rem 0;
}

.event-expectations h4,
.charity-goals h4,
.participant-expectations h4 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.event-expectations ul,
.charity-goals ul,
.participant-expectations ul {
    list-style: none;
    padding-left: 0;
}

.event-expectations li,
.charity-goals li,
.participant-expectations li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.event-expectations li::before,
.charity-goals li::before,
.participant-expectations li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-size: 1.5rem;
}

.event-note {
    font-style: italic;
    color: var(--text-secondary);
    margin: 1.5rem 0;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(192, 38, 39, 0.1);
    border-radius: 12px;
}

.countdown-item {
    text-align: center;
}

.countdown-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-red);
    font-family: 'Canterbury Pro', serif;
}

.countdown-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.25rem;
}

.event-cta-btn {
    width: 100%;
    background: var(--primary-red);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
}

.event-cta-btn:hover {
    background: var(--red-alt);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(192, 38, 39, 0.4);
}

/* Upcoming Events Section */
.upcoming-events-section {
    background: var(--blue);
    color: var(--white);
}

.upcoming-events-section .section-title-events {
    color: var(--white);
}

.upcoming-events-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding-left: 3rem;
}

.timeline-progress-line {
    position: absolute;
    left: 1.5rem;
    top: 0;
    bottom: 0;
    width: 4px;
    background: rgba(255, 255, 255, 0.2);
    height: 0;
    transition: height 0.8s ease;
}

.upcoming-event-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 4rem;
}

.event-marker {
    position: absolute;
    left: -3rem;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--primary-red);
    border-radius: 50%;
    border: 4px solid var(--blue);
    z-index: 2;
}

.priority-high .event-marker {
    background: var(--primary-red);
    box-shadow: 0 0 15px rgba(192, 38, 39, 0.6);
}

.priority-regular .event-marker {
    background: var(--white);
    border-color: var(--blue);
}

.event-content-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.priority-indicator {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.event-content-card h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.event-content-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.event-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.set-reminder-btn {
    background: var(--primary-red);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.set-reminder-btn:hover {
    background: var(--red-alt);
    transform: translateY(-2px);
}

.share-btn-small {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: none;
    padding: 0.5rem;
    border-radius: 50%;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.share-btn-small:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Stay Connected Section */
.stay-connected-section {
    background: var(--white);
}

.stay-connected-content {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.subscription-form-container h3,
.download-calendar h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.subscription-form {
    display: flex;
    gap: 1rem;
}

.subscription-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid var(--blue);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.subscription-form input:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(192, 38, 39, 0.1);
}

.subscribe-btn {
    background: var(--primary-red);
    color: var(--white);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.subscribe-btn:hover {
    background: var(--red-alt);
    transform: translateY(-2px);
}

.form-success-message {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(192, 38, 39, 0.1);
    border: 2px solid var(--primary-red);
    border-radius: 8px;
    color: var(--primary-red);
    font-weight: 600;
    text-align: center;
}

.download-btn {
    width: 100%;
    background: var(--blue);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: var(--primary-red);
    transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 968px) {
    .signature-events-grid {
        grid-template-columns: 1fr;
    }

    .stay-connected-content {
        grid-template-columns: 1fr;
    }

    .meeting-item {
        flex-direction: column;
        gap: 1rem;
    }

    .meeting-date {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .events-hero {
        min-height: 80vh;
    }

    .hero-main-line {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .events-section {
        padding: 4rem 0;
    }

    .countdown-timer {
        gap: 1rem;
    }

    .countdown-number {
        font-size: 2rem;
    }

    .upcoming-events-timeline {
        padding-left: 2rem;
    }

    .upcoming-event-item {
        padding-left: 3rem;
    }

    .subscription-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-filters {
        gap: 0.5rem;
    }

    .filter-btn-hero {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .meeting-item {
        padding: 1.5rem;
    }

    .signature-event-card {
        padding: 1.5rem;
    }

    .event-card-header h3 {
        font-size: 1.5rem;
    }
}

/* ============================================
   News & Events Page Styles
   Modern, Public-Facing Design
   ============================================ */

/* Hero Section */
.ne-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1e3a5f;
    overflow: hidden;
    padding-top: 80px;
}

.ne-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.ne-geometric-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.15;
}

.ne-geo-square,
.ne-geo-compass {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: float 8s ease-in-out infinite;
}

.ne-geo-square {
    width: 200px;
    height: 200px;
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.ne-geo-compass {
    width: 150px;
    height: 150px;
    bottom: 25%;
    left: 15%;
    border-radius: 50%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.ne-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 2rem;
    width: 100%;
}

.ne-hero-title {
    margin-bottom: 2rem;
}

.ne-title-line-1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    line-height: 1.2;
    display: block;
    color: var(--white);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

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

.ne-hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 400;
    opacity: 0.95;
    font-family: 'Inter', sans-serif;
    color: var(--white);
    margin-bottom: 3rem;
    min-height: 2.5rem;
}

.ne-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.ne-scroll-arrow {
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 20px solid var(--white);
    border-bottom: 0;
    transform: translateY(0);
    animation: bounce 2s infinite;
    opacity: 0.8;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Quick Schedule Overview */
.ne-quick-schedule {
    background: var(--white);
    padding: 4rem 0;
}

.ne-next-meeting {
    text-align: center;
    margin-bottom: 4rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(192, 38, 39, 0.05) 0%, rgba(30, 58, 95, 0.05) 100%);
    border-radius: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.ne-next-meeting-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-red);
    font-weight: 600;
    margin-bottom: 1rem;
}

.ne-next-meeting-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.ne-next-meeting-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
}

.ne-next-month {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    font-weight: 600;
}

.ne-next-day {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-red);
    line-height: 1;
}

.ne-next-meeting-info {
    text-align: left;
}

.ne-next-meeting-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.ne-next-meeting-location {
    font-size: 1rem;
    color: var(--text-secondary);
}

.ne-calendar-summary {
    max-width: 1000px;
    margin: 0 auto;
}

.ne-calendar-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.ne-month-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.ne-month-item {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.ne-month-item:hover {
    border-color: var(--primary-red);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(192, 38, 39, 0.2);
}

.ne-month-item.current {
    border-color: var(--primary-red);
    background: rgba(192, 38, 39, 0.05);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(192, 38, 39, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(192, 38, 39, 0);
    }
}

.ne-month-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.ne-month-dots {
    display: flex;
    gap: 0.25rem;
    justify-content: center;
}

.ne-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.ne-dot.lodge {
    background: var(--primary-red);
}

.ne-dot.chapter {
    background: #123228;
}

/* Regular Gatherings Section */
.ne-regular-gatherings {
    background: var(--blue);
    color: var(--white);
    padding: 6rem 0;
}

.ne-section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.ne-regular-gatherings .ne-section-title {
    color: var(--white);
}

.ne-section-subtitle {
    font-size: 1.25rem;
    text-align: center;
    opacity: 0.9;
    margin-bottom: 4rem;
    margin-left: auto;
    margin-right: auto;
    display: block;
    max-width: 65ch;
}

.ne-regular-gatherings .ne-section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.ne-gatherings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.ne-gathering-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.ne-gathering-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-red);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.ne-lodge-card::before {
    background: var(--primary-red);
}

.ne-chapter-card::before {
    background: #123228;
}

.ne-gathering-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.ne-gathering-card:hover::before {
    transform: scaleX(1);
}

.ne-card-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
    color: var(--white);
}

.ne-card-icon svg {
    width: 100%;
    height: 100%;
}

.ne-card-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--white);
}

.ne-card-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ne-meeting-pattern {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ne-pattern-day {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    animation: pulse-text 3s infinite;
}

.ne-pattern-frequency {
    font-size: 1rem;
    opacity: 0.9;
}

@keyframes pulse-text {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.ne-exceptions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.ne-exception-badge {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: line-through;
    opacity: 0.8;
}

.ne-special-meetings {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.ne-special-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.ne-special-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.ne-special-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

.ne-special-text {
    font-size: 1rem;
    font-weight: 500;
}

.ne-card-hover-details {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.ne-gathering-card:hover .ne-card-hover-details {
    opacity: 1;
    max-height: 200px;
}

.ne-month-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.ne-month-pill {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.ne-month-pill:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--white);
    transform: scale(1.05);
}

/* Signature Events Section */
.ne-signature-events {
    background: var(--white);
    padding: 6rem 0;
}

.ne-signature-events .ne-section-title {
    color: var(--text-primary);
}

.ne-signature-events .ne-section-subtitle {
    color: var(--text-secondary);
}

.ne-signature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.ne-signature-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 500px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ne-signature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.ne-christmas-card {
    background: linear-gradient(135deg, #1e3a5f 0%, #c02627 100%);
    color: var(--white);
}

.ne-cup-card {
    background: linear-gradient(135deg, #1e3a5f 0%, #123228 100%);
    color: var(--white);
}

.ne-snowflake-bg,
.ne-football-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    pointer-events: none;
}

.ne-snowflake-bg::before,
.ne-snowflake-bg::after {
    content: '❄';
    position: absolute;
    font-size: 2rem;
    animation: float 6s ease-in-out infinite;
}

.ne-snowflake-bg::before {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.ne-snowflake-bg::after {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.ne-football-bg::before {
    content: '⚽';
    position: absolute;
    font-size: 3rem;
    top: 15%;
    right: 10%;
    opacity: 0.2;
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.ne-signature-content {
    position: relative;
    z-index: 2;
    padding: 3rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ne-signature-header {
    margin-bottom: 2rem;
}

.ne-signature-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white) !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.ne-signature-date {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    position: relative;
    cursor: help;
}

.ne-signature-date[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.9);
    color: var(--white);
    border-radius: 8px;
    font-size: 0.875rem;
    white-space: nowrap;
    margin-bottom: 0.5rem;
    z-index: 10;
}

.ne-date-day {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--white) !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.ne-date-month {
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white) !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.ne-date-year {
    font-size: 1.25rem;
    opacity: 0.9;
    color: var(--white) !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.ne-countdown-timer {
    display: flex;
    gap: 1.5rem;
    margin: 2rem 0;
    justify-content: center;
}

.ne-countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 16px;
    min-width: 80px;
}

.ne-countdown-number {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
    color: var(--white) !important;
}

.ne-countdown-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    color: var(--white) !important;
}

.ne-signature-description {
    margin: 2rem 0;
    font-size: 1.125rem;
    line-height: 1.8;
    opacity: 0.95;
    color: var(--white) !important;
}

.ne-signature-description p {
    color: var(--white) !important;
}

.ne-signature-actions {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.ne-cta-btn,
a.ne-cta-btn {
    width: auto;
    min-width: 200px;
    max-width: 100%;
    padding: 1rem 2rem;
    background: var(--white);
    color: var(--blue);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 44px;
}

.ne-cta-btn:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.ne-event-details {
    margin: 2rem 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white) !important;
}

.ne-event-details h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white) !important;
    font-weight: 600;
}

.ne-event-details h4:not(:first-child) {
    margin-top: 2rem;
}

.ne-event-details p {
    color: var(--white) !important;
    opacity: 0.95;
}

.ne-event-note {
    margin-top: 1.5rem;
    font-style: italic;
    opacity: 0.9;
    color: var(--white) !important;
}

.ne-event-details ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.ne-event-details li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--white) !important;
    line-height: 1.6;
}

.ne-event-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
}

.ne-charity-focus {
    margin: 2rem 0;
}

.ne-charity-meter {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 12px;
}

.ne-meter-label {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white) !important;
}

.ne-meter-bar {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.ne-meter-fill {
    height: 100%;
    background: var(--white);
    border-radius: 6px;
    transition: width 1s ease;
}

.ne-meter-text {
    font-size: 0.875rem;
    opacity: 0.9;
    color: var(--white) !important;
}

/* Upcoming Events Timeline */
.ne-timeline-section {
    background: var(--blue);
    color: var(--white);
    padding: 6rem 0;
    position: relative;
}

.ne-timeline-section .ne-section-title {
    color: var(--white);
}

.ne-timeline-section .ne-section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.ne-timeline-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.ne-timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, 
        rgba(192, 38, 39, 0.4) 0%,
        rgba(255, 255, 255, 0.3) 20%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.3) 80%,
        rgba(18, 50, 40, 0.4) 100%);
    transform: translateX(-50%);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    z-index: 1;
}

.ne-timeline-events {
    position: relative;
    z-index: 2;
    padding: 2rem 0;
}

.ne-timeline-event {
    position: relative;
    margin-bottom: 4rem;
    display: flex;
    align-items: center;
    gap: 4rem;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.ne-timeline-event.visible {
    opacity: 1;
    transform: translateY(0);
}

.ne-timeline-event:nth-child(even) {
    flex-direction: row-reverse;
}

.ne-timeline-event::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background: var(--primary-red);
    border: 4px solid var(--white);
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 0 0 8px rgba(192, 38, 39, 0.3),
                0 0 30px rgba(192, 38, 39, 0.6);
}

.ne-timeline-event:nth-child(even)::before {
    background: #123228;
    box-shadow: 0 0 0 8px rgba(18, 50, 40, 0.3),
                0 0 30px rgba(18, 50, 40, 0.6);
}

.ne-timeline-content {
    flex: 1;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    cursor: pointer;
}

.ne-timeline-content:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.ne-timeline-date {
    font-size: 0.875rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.ne-timeline-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.ne-timeline-description {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.ne-timeline-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.ne-timeline-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 44px;
}

.ne-timeline-btn:hover {
    background: var(--white);
    color: var(--blue);
    transform: translateY(-2px);
}

/* Stay Informed Section */
.ne-stay-informed {
    background: var(--white);
    padding: 6rem 0;
}

.ne-stay-informed .ne-section-title {
    color: var(--text-primary);
}

.ne-stay-informed .ne-section-subtitle {
    color: var(--text-secondary);
}

.ne-informed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.ne-newsletter-card,
.ne-download-card,
.ne-contact-card {
    background: linear-gradient(135deg, rgba(192, 38, 39, 0.05) 0%, rgba(30, 58, 95, 0.05) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--gray-light);
    transition: all 0.3s ease;
}

.ne-newsletter-card:hover,
.ne-download-card:hover,
.ne-contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-red);
}

.ne-newsletter-card h3,
.ne-download-card h3,
.ne-contact-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.ne-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ne-email-input {
    padding: 1rem;
    border: 2px solid var(--gray-light);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.ne-email-input:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(192, 38, 39, 0.1);
}

.ne-preferences {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ne-preference-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.ne-preference-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-red);
}

.ne-subscribe-btn,
.ne-download-btn {
    padding: 1rem 2rem;
    background: var(--primary-red);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
}

.ne-subscribe-btn:hover,
.ne-download-btn:hover {
    background: var(--red-alt);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(192, 38, 39, 0.3);
}

.ne-subscribe-btn:active,
.ne-download-btn:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

.ne-form-success {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(192, 38, 39, 0.1);
    border: 2px solid var(--primary-red);
    border-radius: 12px;
    color: var(--primary-red);
    font-weight: 600;
    text-align: center;
}

.ne-contact-link {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--blue);
    color: var(--white);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.ne-contact-link:hover {
    background: var(--primary-red);
    transform: translateY(-2px);
}

.ne-social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.ne-social-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-light);
    border-radius: 50%;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.ne-social-icon:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-3px) scale(1.1);
}

/* Responsive Styles */
@media (max-width: 1023px) {
    .ne-gatherings-grid,
    .ne-signature-grid {
        grid-template-columns: 1fr;
    }

    .ne-month-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .ne-timeline-event {
        flex-direction: column !important;
        gap: 2rem;
    }

    .ne-timeline-event::before {
        left: 30px;
        transform: translate(-50%, -50%);
    }

    .ne-timeline-line {
        left: 30px;
    }

    .ne-timeline-content {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .ne-hero {
        min-height: 80vh;
    }

    .ne-next-meeting-content {
        flex-direction: column;
        gap: 1rem;
    }

    .ne-month-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ne-gathering-card,
    .ne-signature-card {
        padding: 2rem;
    }

    .ne-informed-grid {
        grid-template-columns: 1fr;
    }

    .ne-countdown-timer {
        gap: 0.75rem;
    }

    .ne-countdown-item {
        padding: 1rem;
        min-width: 60px;
    }

    .ne-countdown-number {
        font-size: 2rem;
    }
}
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue);
    overflow: hidden;
    padding-top: 80px;
}

.ne-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.ne-geometric-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.15;
}

.ne-geo-square,
.ne-geo-compass {
    position: absolute;
    border: 2px solid var(--white);
    animation: float 8s ease-in-out infinite;
}

.ne-geo-square {
    width: 200px;
    height: 200px;
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.ne-geo-compass {
    width: 150px;
    height: 150px;
    bottom: 25%;
    left: 15%;
    border-radius: 50%;
    animation-delay: 2s;
}

.ne-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 2rem;
    width: 100%;
}

.ne-hero-title {
    margin-bottom: 2rem;
}

.ne-title-line-1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    line-height: 1.2;
    display: block;
    color: var(--white);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.ne-hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 400;
    opacity: 0.95;
    font-family: 'Inter', sans-serif;
    color: var(--white);
    margin-bottom: 3rem;
}

.ne-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.ne-scroll-arrow {
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 20px solid var(--white);
    border-bottom: 0;
    transform: translateY(0);
    animation: bounce 2s infinite;
    opacity: 0.8;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Quick Schedule Overview */
.ne-quick-schedule {
    background: var(--white);
    padding: 4rem 0;
}

.ne-next-meeting {
    text-align: center;
    margin-bottom: 4rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(192, 38, 39, 0.05) 0%, rgba(30, 58, 95, 0.05) 100%);
    border-radius: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.ne-next-meeting-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-red);
    font-weight: 600;
    margin-bottom: 1rem;
}

.ne-next-meeting-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.ne-next-meeting-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
}

.ne-next-month {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    font-weight: 600;
}

.ne-next-day {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-red);
    line-height: 1;
}

.ne-next-meeting-info {
    text-align: left;
}

.ne-next-meeting-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.ne-next-meeting-location {
    font-size: 1rem;
    color: var(--text-secondary);
}

.ne-calendar-summary {
    max-width: 1000px;
    margin: 0 auto;
}

.ne-calendar-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.ne-month-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.ne-month-item {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.ne-month-item:hover {
    border-color: var(--primary-red);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(192, 38, 39, 0.2);
}

.ne-month-item.current {
    border-color: var(--primary-red);
    background: rgba(192, 38, 39, 0.05);
    animation: pulse 2s infinite;
}

.ne-month-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.ne-month-dots {
    display: flex;
    gap: 0.25rem;
    justify-content: center;
}

.ne-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.ne-dot.lodge {
    background: var(--primary-red);
}

.ne-dot.chapter {
    background: var(--green);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(192, 38, 39, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(192, 38, 39, 0);
    }
}

/* Regular Gatherings Section */
.ne-regular-gatherings {
    background: var(--blue);
    color: var(--white);
    padding: 6rem 0;
}

.ne-section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

/* Section titles on blue backgrounds */
.ne-regular-gatherings .ne-section-title {
    color: var(--white);
}

/* Timeline section title - override with maximum specificity */
section.ne-timeline-section h2.ne-section-title,
section.ne-timeline-section .ne-section-title,
.ne-timeline-section h2.ne-section-title,
.ne-timeline-section .ne-section-title {
    color: #ffffff !important;
}

.ne-regular-gatherings .ne-section-subtitle,
.ne-timeline-section .ne-section-subtitle {
    color: var(--white);
}

/* Section titles on white backgrounds */
.ne-signature-events .ne-section-title,
.ne-stay-informed .ne-section-title,
.ne-quick-schedule .ne-section-title {
    color: var(--text-primary);
}

.ne-signature-events .ne-section-subtitle,
.ne-stay-informed .ne-section-subtitle {
    color: var(--text-secondary);
}

.ne-section-subtitle {
    font-size: 1.25rem;
    text-align: center;
    opacity: 0.9;
    margin-bottom: 4rem;
    margin-left: auto;
    margin-right: auto;
    display: block;
    max-width: 65ch;
}

.ne-gatherings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.ne-gathering-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.ne-gathering-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-red);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.ne-lodge-card::before {
    background: var(--primary-red);
}

.ne-chapter-card::before {
    background: var(--green);
}

.ne-gathering-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.ne-gathering-card:hover::before {
    transform: scaleX(1);
}

.ne-card-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
    color: var(--white);
}

.ne-card-icon svg {
    width: 100%;
    height: 100%;
}

.ne-card-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--white);
}

.ne-card-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ne-meeting-pattern {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ne-pattern-day {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    animation: pulse-text 3s infinite;
}

.ne-pattern-frequency {
    font-size: 1rem;
    opacity: 0.9;
}

.ne-exceptions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.ne-exception-badge {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: line-through;
    opacity: 0.8;
}

.ne-special-meetings {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.ne-special-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.ne-special-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.ne-special-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

.ne-special-text {
    font-size: 1rem;
    font-weight: 500;
}

.ne-card-hover-details {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.ne-gathering-card:hover .ne-card-hover-details {
    opacity: 1;
    max-height: 200px;
}

.ne-month-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.ne-month-pill {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.ne-month-pill:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--white);
    transform: scale(1.05);
}

@keyframes pulse-text {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Signature Events Section */
.ne-signature-events {
    background: var(--white);
    padding: 6rem 0;
}

.ne-signature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.ne-signature-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 500px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ne-signature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.ne-christmas-card {
    background: linear-gradient(135deg, #1e3a5f 0%, #c02627 100%);
    color: var(--white);
}

.ne-cup-card {
    background: linear-gradient(135deg, #1e3a5f 0%, #123228 100%);
    color: var(--white);
}

.ne-snowflake-bg,
.ne-football-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    pointer-events: none;
}

.ne-snowflake-bg::before,
.ne-snowflake-bg::after {
    content: '❄';
    position: absolute;
    font-size: 2rem;
    animation: float 6s ease-in-out infinite;
}

.ne-snowflake-bg::before {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.ne-snowflake-bg::after {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.ne-football-bg::before {
    content: '⚽';
    position: absolute;
    font-size: 3rem;
    top: 15%;
    right: 10%;
    opacity: 0.2;
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.ne-signature-content {
    position: relative;
    z-index: 2;
    padding: 3rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ne-signature-header {
    margin-bottom: 2rem;
}

.ne-signature-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white) !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.ne-signature-date {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.ne-date-day {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--white) !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.ne-date-month {
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white) !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.ne-date-year {
    font-size: 1.25rem;
    opacity: 0.9;
    color: var(--white) !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.ne-countdown-timer {
    display: flex;
    gap: 1.5rem;
    margin: 2rem 0;
    justify-content: center;
}

.ne-countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 16px;
    min-width: 80px;
}

.ne-countdown-number {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
    color: var(--white) !important;
}

.ne-countdown-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    color: var(--white) !important;
}

.ne-signature-description {
    margin: 2rem 0;
    font-size: 1.125rem;
    line-height: 1.8;
    opacity: 0.95;
    color: var(--white) !important;
}

.ne-signature-description p {
    color: var(--white) !important;
}

.ne-signature-actions {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.ne-cta-btn,
a.ne-cta-btn {
    width: auto;
    min-width: 200px;
    max-width: 100%;
    padding: 1rem 2rem;
    background: var(--white);
    color: var(--blue);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;

.ne-cta-btn:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.ne-event-details {
    margin: 2rem 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white) !important;
}

.ne-event-details h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white) !important;
    font-weight: 600;
}

.ne-event-details h4:not(:first-child) {
    margin-top: 2rem;
}

.ne-event-details p {
    color: var(--white) !important;
    opacity: 0.95;
}

.ne-event-note {
    margin-top: 1.5rem;
    font-style: italic;
    opacity: 0.9;
    color: var(--white) !important;
}

.ne-event-details ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.ne-event-details li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--white) !important;
    line-height: 1.6;
}

.ne-event-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Keep expandable section styles for backward compatibility if needed elsewhere */
.ne-expandable-section {
    margin-top: 2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.ne-expandable-section.expanded {
    max-height: 500px;
}

.ne-expandable-content {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white) !important;
}

.ne-expandable-content h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white) !important;
}

.ne-expandable-content p {
    color: var(--white) !important;
    opacity: 0.95;
}

.ne-expandable-content ul {
    list-style: none;
    padding: 0;
}

.ne-expandable-content li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--white) !important;
}

.ne-expandable-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--white);
    font-weight: 700;
}

.ne-charity-focus {
    margin: 2rem 0;
}

.ne-charity-meter {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 12px;
}

.ne-meter-label {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white) !important;
}

.ne-meter-bar {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.ne-meter-fill {
    height: 100%;
    background: var(--white);
    border-radius: 6px;
    transition: width 1s ease;
}

.ne-meter-text {
    font-size: 0.875rem;
    opacity: 0.9;
    color: var(--white) !important;
}

.ne-charity-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.ne-charity-item {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--white) !important;
}

/* ============================================
   UPCOMING EVENTS SECTION - Card-Based Design
   Matching Home Page Design
   Uses existing .events-section and .event-card styles
   All old timeline styles removed - using card grid layout
   ============================================ */

/* Stay Informed Section */
    position: relative !important;
    overflow: hidden !important;
    min-height: 100vh !important;
    width: 100% !important;
}

.ne-timeline-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(192, 38, 39, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(18, 50, 40, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.ne-timeline-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 255, 255, 0.02) 2px, rgba(255, 255, 255, 0.02) 4px);
    pointer-events: none;
    z-index: 1;
}

.ne-timeline-section .container {
    position: relative;
    z-index: 2;
}

section.ne-timeline-section h2.ne-section-title,
section.ne-timeline-section .ne-section-title {
    color: #ffffff !important;
    text-align: center !important;
    margin-bottom: 1.5rem !important;
    font-size: 4rem !important;
    font-weight: 900 !important;
    text-shadow: 
        0 6px 30px rgba(0, 0, 0, 0.8),
        0 3px 15px rgba(192, 38, 39, 0.5),
        0 0 40px rgba(192, 38, 39, 0.3) !important;
    letter-spacing: -1px !important;
    position: relative !important;
    padding-bottom: 2rem !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 10 !important;
}

section.ne-timeline-section h2.ne-section-title::after,
section.ne-timeline-section .ne-section-title::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 150px !important;
    height: 5px !important;
    background: linear-gradient(90deg, transparent, #c02627, transparent) !important;
    border-radius: 3px !important;
    box-shadow: 
        0 0 30px rgba(192, 38, 39, 0.8),
        0 0 60px rgba(192, 38, 39, 0.4) !important;
    display: block !important;
}

.ne-timeline-section .ne-section-subtitle {
    color: rgba(255, 255, 255, 0.95) !important;
    text-align: center;
    margin-bottom: 4rem;
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    opacity: 0.9;
}

.ne-timeline-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.ne-timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(to bottom, 
        rgba(192, 38, 39, 0.4) 0%,
        rgba(255, 255, 255, 0.3) 20%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.3) 80%,
        rgba(18, 50, 40, 0.4) 100%);
    transform: translateX(-50%);
    box-shadow: 
        0 0 20px rgba(255, 255, 255, 0.3),
        inset 0 0 10px rgba(192, 38, 39, 0.2);
    border-radius: 3px;
    z-index: 1;
}

.ne-timeline-events {
    position: relative;
    z-index: 2;
    padding: 2rem 0;
}

.ne-timeline-event {
    position: relative;
    margin-bottom: 5rem;
    display: flex;
    align-items: center;
    gap: 4rem;
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.ne-timeline-event.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.ne-timeline-event:nth-child(even) {
    flex-direction: row-reverse;
}

.ne-timeline-event::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    background: var(--primary-red);
    border: 6px solid var(--white);
    border-radius: 50%;
    z-index: 10;
    box-shadow: 
        0 0 0 8px rgba(192, 38, 39, 0.4),
        0 0 0 12px rgba(192, 38, 39, 0.2),
        0 0 30px rgba(192, 38, 39, 0.6),
        0 8px 25px rgba(0, 0, 0, 0.4),
        inset 0 2px 10px rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 
            0 0 0 8px rgba(192, 38, 39, 0.4),
            0 0 0 12px rgba(192, 38, 39, 0.2),
            0 0 30px rgba(192, 38, 39, 0.6),
            0 8px 25px rgba(0, 0, 0, 0.4),
            inset 0 2px 10px rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 
            0 0 0 12px rgba(192, 38, 39, 0.5),
            0 0 0 18px rgba(192, 38, 39, 0.3),
            0 0 40px rgba(192, 38, 39, 0.8),
            0 8px 25px rgba(0, 0, 0, 0.4),
            inset 0 2px 10px rgba(255, 255, 255, 0.4);
    }
}

.ne-timeline-event:hover::before {
    transform: translate(-50%, -50%) scale(1.3);
    animation: none;
    box-shadow: 
        0 0 0 10px rgba(192, 38, 39, 0.5),
        0 0 0 16px rgba(192, 38, 39, 0.3),
        0 0 50px rgba(192, 38, 39, 0.9),
        0 10px 30px rgba(0, 0, 0, 0.5),
        inset 0 2px 15px rgba(255, 255, 255, 0.4);
}

.ne-timeline-event:nth-child(even)::before {
    background: var(--green);
    box-shadow: 
        0 0 0 8px rgba(18, 50, 40, 0.4),
        0 0 0 12px rgba(18, 50, 40, 0.2),
        0 0 30px rgba(18, 50, 40, 0.6),
        0 8px 25px rgba(0, 0, 0, 0.4),
        inset 0 2px 10px rgba(255, 255, 255, 0.3);
    animation: pulseGreen 2s ease-in-out infinite;
}

@keyframes pulseGreen {
    0%, 100% {
        box-shadow: 
            0 0 0 8px rgba(18, 50, 40, 0.4),
            0 0 0 12px rgba(18, 50, 40, 0.2),
            0 0 30px rgba(18, 50, 40, 0.6),
            0 8px 25px rgba(0, 0, 0, 0.4),
            inset 0 2px 10px rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 
            0 0 0 12px rgba(18, 50, 40, 0.5),
            0 0 0 18px rgba(18, 50, 40, 0.3),
            0 0 40px rgba(18, 50, 40, 0.8),
            0 8px 25px rgba(0, 0, 0, 0.4),
            inset 0 2px 10px rgba(255, 255, 255, 0.4);
    }
}

.ne-timeline-event:nth-child(even):hover::before {
    box-shadow: 
        0 0 0 10px rgba(18, 50, 40, 0.5),
        0 0 0 16px rgba(18, 50, 40, 0.3),
        0 0 50px rgba(18, 50, 40, 0.9),
        0 10px 30px rgba(0, 0, 0, 0.5),
        inset 0 2px 15px rgba(255, 255, 255, 0.4);
}

.ne-timeline-content {
    flex: 1 !important;
    max-width: 550px !important;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.18) 0%, 
        rgba(255, 255, 255, 0.12) 50%,
        rgba(255, 255, 255, 0.08) 100%) !important;
    backdrop-filter: blur(25px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
    padding: 3.5rem !important;
    border-radius: 28px !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 8px 25px rgba(0, 0, 0, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.2),
        inset 0 -2px 0 rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1) !important;
    position: relative !important;
    overflow: hidden !important;
    display: block !important;
}

.ne-timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.15), 
        transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.ne-timeline-content::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, 
        rgba(192, 38, 39, 0.1) 0%, 
        transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.ne-timeline-content:hover::before {
    left: 100%;
}

.ne-timeline-content:hover::after {
    opacity: 1;
}

.ne-timeline-content:hover {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.22) 0%, 
        rgba(255, 255, 255, 0.12) 100%);
    transform: translateY(-12px) scale(1.03);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.4),
        0 8px 25px rgba(0, 0, 0, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.2),
        inset 0 -2px 0 rgba(0, 0, 0, 0.15),
        0 0 0 2px rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.ne-timeline-content > * {
    position: relative;
    z-index: 2;
}

.ne-event-header {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    margin-bottom: 1.5rem !important;
}

.ne-event-icon {
    font-size: 2rem !important;
    display: inline-block !important;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3)) !important;
    animation: float 3s ease-in-out infinite !important;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

.ne-timeline-date {
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.5),
        0 1px 4px rgba(0, 0, 0, 0.4) !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    display: inline-block !important;
    padding: 0.625rem 1.5rem !important;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.2) 0%, 
        rgba(255, 255, 255, 0.15) 100%) !important;
    border-radius: 25px !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

.ne-timeline-title {
    font-size: 2.5rem !important;
    font-weight: 900 !important;
    margin-bottom: 1.5rem !important;
    color: #ffffff !important;
    text-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.6),
        0 3px 12px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(192, 38, 39, 0.3) !important;
    line-height: 1.2 !important;
    letter-spacing: -0.8px !important;
    display: block !important;
    visibility: visible !important;
}

.ne-timeline-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95) !important;
    margin-bottom: 2rem;
    text-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.3),
        0 1px 4px rgba(0, 0, 0, 0.2);
    font-weight: 400;
}

.ne-timeline-actions {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.ne-timeline-btn {
    padding: 1.125rem 2.25rem !important;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.3) 0%, 
        rgba(255, 255, 255, 0.2) 100%) !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 35px !important;
    color: #ffffff !important;
    font-size: 0.9375rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.875rem !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.25) !important;
    position: relative !important;
    overflow: hidden !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
}

.ne-timeline-btn svg {
    width: 18px !important;
    height: 18px !important;
    stroke-width: 2.5 !important;
}

.ne-timeline-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.ne-timeline-btn:hover::before {
    width: 300px;
    height: 300px;
}

.ne-timeline-btn:hover {
    background: linear-gradient(135deg, 
        var(--white) 0%, 
        rgba(255, 255, 255, 0.95) 100%);
    color: var(--blue) !important;
    border-color: var(--white);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 12px 35px rgba(0, 0, 0, 0.4),
        0 6px 20px rgba(192, 38, 39, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.ne-timeline-btn:active {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.ne-timeline-btn > * {
    position: relative;
    z-index: 1;
}

/* Timeline Responsive Styles */
@media (max-width: 968px) {
    .ne-timeline-section {
        padding: 6rem 0;
    }

    .ne-timeline-section .ne-section-title {
        font-size: 2.5rem;
    }

    .ne-timeline-section .ne-section-subtitle {
        font-size: 1.125rem;
        margin-bottom: 3rem;
    }

    .ne-timeline-container {
        padding: 3rem 1.5rem;
    }

    .ne-timeline-event {
        flex-direction: column !important;
        gap: 2rem;
        margin-bottom: 4rem;
    }

    .ne-timeline-event::before {
        left: 30px;
        transform: translate(-50%, -50%);
    }

    .ne-timeline-line {
        left: 30px;
    }

    .ne-timeline-content {
        max-width: 100%;
        padding: 2.5rem;
    }

    .ne-timeline-title {
        font-size: 1.875rem;
    }

    .ne-timeline-date {
        font-size: 0.875rem;
        padding: 0.4rem 1rem;
    }

    .ne-timeline-description {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .ne-timeline-section {
        padding: 5rem 0;
        min-height: auto;
    }

    .ne-timeline-section .ne-section-title {
        font-size: 2rem;
        padding-bottom: 1rem;
    }

    .ne-timeline-section .ne-section-title::after {
        width: 60px;
        height: 3px;
    }

    .ne-timeline-section .ne-section-subtitle {
        font-size: 0.9375rem;
        margin-bottom: 2.5rem;
    }

    .ne-timeline-container {
        padding: 2rem 1rem;
    }

    .ne-timeline-event {
        margin-bottom: 3rem;
    }

    .ne-timeline-event::before {
        width: 24px;
        height: 24px;
        border-width: 4px;
        left: 20px;
    }

    .ne-timeline-line {
        left: 20px;
        width: 3px;
    }

    .ne-timeline-content {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }

    .ne-timeline-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .ne-timeline-date {
        font-size: 0.8125rem;
        padding: 0.375rem 1rem;
        margin-bottom: 0.875rem;
    }

    .ne-timeline-description {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    .ne-timeline-actions {
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .ne-timeline-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.8125rem;
    }
}

/* Stay Informed Section */
.ne-stay-informed {
    background: var(--white);
    padding: 6rem 0;
}

.ne-informed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.ne-newsletter-card,
.ne-download-card,
.ne-contact-card {
    background: linear-gradient(135deg, rgba(192, 38, 39, 0.05) 0%, rgba(30, 58, 95, 0.05) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--gray-light);
    transition: all 0.3s ease;
}

.ne-newsletter-card:hover,
.ne-download-card:hover,
.ne-contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-red);
}

.ne-newsletter-card h3,
.ne-download-card h3,
.ne-contact-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.ne-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ne-email-input {
    padding: 1rem;
    border: 2px solid var(--gray-light);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.ne-email-input:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(192, 38, 39, 0.1);
}

.ne-preferences {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ne-preference-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.ne-preference-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-red);
}

.ne-subscribe-btn,
.ne-download-btn {
    padding: 1rem 2rem;
    background: var(--primary-red);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
}

.ne-subscribe-btn:hover,
.ne-download-btn:hover {
    background: var(--red-alt);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(192, 38, 39, 0.3);
}

.ne-subscribe-btn:active,
.ne-download-btn:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

.ne-form-success {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(192, 38, 39, 0.1);
    border: 2px solid var(--primary-red);
    border-radius: 12px;
    color: var(--primary-red);
    font-weight: 600;
    text-align: center;
}

.ne-contact-link {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--blue);
    color: var(--white);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.ne-contact-link:hover {
    background: var(--primary-red);
    transform: translateY(-2px);
}

.ne-social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.ne-social-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-light);
    border-radius: 50%;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.ne-social-icon:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-3px) scale(1.1);
}

/* Responsive Styles */
@media (max-width: 968px) {
    .ne-gatherings-grid,
    .ne-signature-grid {
        grid-template-columns: 1fr;
    }

    .ne-month-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .ne-timeline-event {
        flex-direction: column !important;
    }

    .ne-timeline-event::before {
        left: 20px;
        transform: translate(-50%, -50%);
    }

    .ne-timeline-line {
        left: 20px;
    }
}

@media (max-width: 768px) {
    .ne-hero {
        min-height: 80vh;
    }

    .ne-next-meeting-content {
        flex-direction: column;
        gap: 1rem;
    }

    .ne-month-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ne-gathering-card,
    .ne-signature-card {
        padding: 2rem;
    }

    .ne-informed-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Print Stylesheet
   ============================================ */
@media print {
    * {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .header,
    .footer,
    .scroll-indicator,
    .contact-scroll-indicator,
    .ne-scroll-indicator,
    .hero-values-nav,
    .mobile-menu-toggle,
    .search-toggle,
    .btn,
    .view-toggle,
    .modal-overlay,
    nav,
    .header-actions {
        display: none !important;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        color: black !important;
    }
    
    img {
        max-width: 100% !important;
        page-break-inside: avoid;
    }
    
    a {
        text-decoration: underline;
        color: black !important;
    }
    
    a[href^="http"]:after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
    }
    
    .section-padding {
        padding: 1rem 0;
    }
    
    .hero-section,
    .about-hero,
    .contact-hero,
    .ne-hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-slide-content,
    .about-hero-content,
    .contact-hero-content,
    .ne-hero-content {
        position: static;
        transform: none;
    }
    
    .card,
    .news-card,
    .event-card {
        page-break-inside: avoid;
        border: 1px solid #ccc;
        margin-bottom: 1rem;
    }
    
    table {
        page-break-inside: avoid;
    }
    
    @page {
        margin: 2cm;
    }
}

/* ============================================
   Loading States & Skeleton Screens
   ============================================ */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
    border-radius: 4px;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.skeleton-text {
    height: 1em;
    margin-bottom: 0.5rem;
}

.skeleton-title {
    height: 2em;
    width: 60%;
    margin-bottom: 1rem;
}

.skeleton-image {
    width: 100%;
    height: 200px;
    margin-bottom: 1rem;
}

.skeleton-card {
    padding: 1.5rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--gray-light);
    border-top-color: var(--primary-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.form-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.form-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 480px) {
    .ne-countdown-timer {
        gap: 0.75rem;
    }

    .ne-countdown-item {
        padding: 1rem;
        min-width: 60px;
    }

    .ne-countdown-number {
        font-size: 2rem;
    }
}

/* ============================================
   Animated Landing Page Splash Screen
   ============================================ */

.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    overflow: hidden;
    pointer-events: none;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

.splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.splash-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--blue);
    z-index: 1;
}

.splash-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.splash-logo-container {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.5);
    animation: logoReveal 2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s forwards;
}

.splash-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

@keyframes logoReveal {
    0% {
        opacity: 0;
        transform: scale(0.5) rotate(-10deg);
    }
    40% {
        transform: scale(1.08) rotate(4deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* Split Animation - Two Halves */
.splash-split-left,
.splash-split-right {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background: var(--blue);
    z-index: 2;
    transition: transform 1.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.splash-split-left {
    left: 0;
    transform-origin: left center;
}

.splash-split-right {
    right: 0;
    transform-origin: right center;
}

.splash-screen.split-open .splash-split-left {
    transform: translateX(-100%) scaleX(1.2);
}

.splash-screen.split-open .splash-split-right {
    transform: translateX(100%) scaleX(1.2);
}

.splash-screen.split-open .splash-content {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Prevent body scroll during splash */
body.splash-active {
    overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .splash-logo-container {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .splash-logo-container {
        width: 150px;
        height: 150px;
    }
}

