/* ============================================
   Police Association NYC - Premium Visual Design
   Apple / Tesla Grade UI · Police Atmosphere
   ============================================ */

/* CSS Variables */
:root {
    --primary-color: #1a365d;
    --primary-dark: #0a1628;
    --primary-light: #2c5282;
    --secondary-color: #c9a227;
    --accent-color: #d4af37;
    --accent-light: #f0d875;
    --text-color: #1a202c;
    --text-light: #64748b;
    --white: #ffffff;
    --light-bg: #f8fafc;
    --gray-bg: #edf2f7;
    --dark-color: #0a1628;
    --success-color: #38a169;
    --border-color: #e2e8f0;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 40px -5px rgba(0, 0, 0, 0.1), 0 8px 16px -5px rgba(0, 0, 0, 0.05);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 40px rgba(212, 175, 55, 0.15);
    --shadow-gold: 0 0 60px rgba(212, 175, 55, 0.2);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 28px;
    --glass-bg: rgba(255, 255, 255, 0.72);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-blur: blur(20px);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

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

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

a:hover {
    color: var(--accent-color);
}

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

::selection {
    background: var(--accent-color);
    color: var(--primary-dark);
}

/* ============================================
   Typography - Apple-like clean hierarchy
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    color: var(--primary-dark);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 600;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ============================================
   Header - Glassmorphism Premium Nav
   ============================================ */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: transform 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}


header.scrolled {
    background: rgba(10, 22, 40, 0.92);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-top {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.header-top a {
    color: rgba(255, 255, 255, 0.7);
}

.header-top a:hover {
    color: var(--accent-color);
}

.header-main {
    padding: 8px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    text-decoration: none;
}

.logo a:hover {
    opacity: 0.9;
}

.logo-icon {
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.logo:hover .logo-icon {
    transform: scale(1.05);
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .main-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.3px;
    line-height: 1.35;
}

.logo-text .sub-name {
    font-size: 0.7rem;
    color: var(--accent-light);
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2px;
    flex: 1;
    justify-content: center;
    margin-left: 40px;
}

.nav-links li a {
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    display: block;
    position: relative;
    letter-spacing: 0.2px;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
    transform: translateX(-50%);
    border-radius: 1px;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 20px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
}

/* ============================================
   Hero Section - Cinematic Full-screen
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    position: relative;
    overflow: hidden;
    background: var(--primary-dark);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(26, 54, 93, 0.6) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 20% 80%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(44, 82, 130, 0.2) 0%, transparent 50%),
        linear-gradient(180deg, rgba(10, 22, 40, 0.95) 0%, rgba(10, 22, 40, 0.8) 50%, rgba(10, 22, 40, 0.95) 100%);
    z-index: 1;
    opacity: 0;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('images/hero-skyline.jpg') center/cover no-repeat;
    opacity: 0.3;
    z-index: 0;
}

/* Animated grid background */
.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(212, 175, 55, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    z-index: 1;
    animation: gridMove 30s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(80px, 80px); }
}

/* Floating particles */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.hero-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 8s infinite;
}

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(100vh) scale(0); }
    20% { opacity: 0.6; }
    80% { opacity: 0.3; }
    100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-content.hero-centered {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-color);
    padding: 10px 28px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 36px;
    letter-spacing: 3px;
    text-transform: uppercase;
    border: 1px solid rgba(212, 175, 55, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero h1 {
    color: var(--white);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    margin-bottom: 28px;
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.15rem;
    margin-bottom: 48px;
    line-height: 1.9;
    max-width: 580px;
}

.hero-centered .hero p,
.hero-centered p {
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

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

.hero-stats {
    display: flex;
    gap: 60px;
    margin-top: 70px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.stat-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 6px;
}

/* ============================================
   Buttons - Premium Glass Style
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), #b8941e);
    color: var(--primary-dark);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.45),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    color: var(--primary-dark);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-dark);
    border: 2px solid var(--primary-dark);
    padding: 14px 34px;
}

.btn-outline:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(10, 22, 40, 0.2);
}

/* ============================================
   Section Styles - Spacious & Clean
   ============================================ */
section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--white);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 18px;
    letter-spacing: -0.03em;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.15rem;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.8;
}

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

.bg-dark {
    background: linear-gradient(180deg, var(--primary-dark) 0%, #0e1f38 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.bg-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 50% at 20% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 80% 50%, rgba(44, 82, 130, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.bg-dark h2,
.bg-dark h3,
.bg-dark h4 {
    color: var(--white);
}

.bg-dark p {
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   Mission Section - Elevated Cards
   ============================================ */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.mission-card {
    background: var(--white);
    padding: 44px 32px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    opacity: 0;
    transition: var(--transition);
}

.mission-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-2xl);
}

.mission-card:hover::before {
    opacity: 1;
}

.mission-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    font-size: 2rem;
    color: var(--white);
    transition: var(--transition);
}

.mission-card:hover .mission-icon {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 8px 25px rgba(26, 54, 93, 0.3);
}

.mission-card h3 {
    margin-bottom: 14px;
}

.mission-card p {
    color: var(--text-light);
    font-size: 1rem;
}

/* ============================================
   About Section - Cinematic Layout
   ============================================ */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-2xl);
    transition: var(--transition-slow);
}

.about-image:hover img {
    transform: scale(1.02);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -16px;
    left: -16px;
    right: 16px;
    bottom: 16px;
    border: 2px solid var(--accent-color);
    border-radius: var(--border-radius-xl);
    z-index: -1;
    opacity: 0.4;
    transition: var(--transition-slow);
}

.about-image:hover::before {
    opacity: 0.7;
    top: -20px;
    left: -20px;
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: -8px;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--accent-color), transparent);
    border-radius: 50%;
    opacity: 0.15;
    filter: blur(30px);
}

.about-text h2 {
    margin-bottom: 24px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: var(--text-light);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 32px 0;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-radius: var(--border-radius);
    background: var(--light-bg);
    transition: var(--transition);
}

.about-feature:hover {
    background: rgba(212, 175, 55, 0.08);
    transform: translateX(4px);
}

.about-feature-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--accent-color), #b8941e);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-weight: 700;
    flex-shrink: 0;
    font-size: 0.85rem;
}

/* ============================================
   Services Section - Rich Card Design
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-2xl);
}

.service-image {
    height: 220px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.service-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10, 22, 40, 0.4) 100%);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover .service-image::after {
    opacity: 1;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.service-card:hover .service-image img {
    transform: scale(1.08);
}

.service-content {
    padding: 32px;
}

.service-content h3 {
    margin-bottom: 14px;
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-list {
    list-style: none;
    margin-bottom: 28px;
}

.service-list li {
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    color: var(--text-color);
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* ============================================
   Team Section - Premium Profile Cards
   ============================================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.team-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.team-image {
    height: 280px;
    background: linear-gradient(135deg, var(--gray-bg), var(--light-bg));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--primary-light);
    position: relative;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-info {
    padding: 28px;
}

.team-info h4 {
    margin-bottom: 5px;
    font-size: 1.15rem;
}

.team-role {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.team-bio {
    color: var(--text-light);
    font-size: 0.92rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

.team-social a {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition);
    font-size: 0.85rem;
}

.team-social a:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
}

/* ============================================
   Membership Section
   ============================================ */
.membership-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.membership-benefits {
    background: var(--white);
    padding: 44px;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.benefit-item {
    display: flex;
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.benefit-item:hover {
    padding-left: 8px;
}

.benefit-item:last-child {
    border-bottom: none;
}

.benefit-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.08) rotate(-3deg);
}

.benefit-text h4 {
    margin-bottom: 5px;
}

.benefit-text p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.95rem;
}

.membership-types {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.membership-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--border-radius-lg);
    border: 2px solid transparent;
    transition: var(--transition);
}

.membership-card:hover {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-glow);
}

.membership-card.featured {
    border-color: var(--accent-color);
    position: relative;
    box-shadow: var(--shadow-glow);
}

.membership-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, var(--accent-color), #b8941e);
    color: var(--primary-dark);
    padding: 6px 18px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.membership-card h3 {
    margin-bottom: 10px;
}

.membership-card .price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 15px;
    letter-spacing: -0.02em;
}

.membership-card .price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
}

/* ============================================
   Events Section - Modern Timeline
   ============================================ */
.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.event-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.event-image {
    height: 220px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    position: relative;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.event-card:hover .event-image img {
    transform: scale(1.08);
}

.event-date {
    position: absolute;
    top: 18px;
    left: 18px;
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--white);
    padding: 12px 16px;
    border-radius: var(--border-radius);
    text-align: center;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.event-date .day {
    display: block;
    font-size: 1.6rem;
    line-height: 1;
    font-weight: 800;
    color: var(--accent-color);
}

.event-date .month {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
}

.event-content {
    padding: 28px;
}

.event-content h4 {
    margin-bottom: 10px;
}

.event-content p {
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.event-meta {
    display: flex;
    gap: 20px;
    color: var(--text-light);
    font-size: 0.88rem;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ============================================
   CTA Section - Dramatic Dark
   ============================================ */
.cta-section {
    background: linear-gradient(180deg, var(--primary-dark) 0%, #0e1f38 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 100%, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

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

.cta-content h2 {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.15rem;
    margin-bottom: 40px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   Testimonials - Glass Cards
   ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.testimonial-card::before {
    content: '"';
    font-size: 6rem;
    color: var(--accent-color);
    position: absolute;
    top: 10px;
    left: 24px;
    line-height: 1;
    opacity: 0.15;
    font-family: Georgia, serif;
}

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

.testimonial-content p {
    font-style: italic;
    margin-bottom: 28px;
    color: var(--text-color);
    font-size: 1.02rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
}

.testimonial-info h5 {
    color: var(--primary-dark);
    margin-bottom: 2px;
    font-size: 1rem;
}

.testimonial-info span {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* ============================================
   Contact Section - Clean & Modern
   ============================================ */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    background: var(--white);
    padding: 44px;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.contact-item {
    display: flex;
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.contact-item:hover {
    padding-left: 8px;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    transform: scale(1.08) rotate(-3deg);
}

.contact-text h4 {
    margin-bottom: 5px;
}

.contact-text p,
.contact-text a {
    color: var(--text-light);
    margin-bottom: 0;
}

.contact-text a:hover {
    color: var(--accent-color);
}

.contact-form {
    background: var(--white);
    padding: 44px;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.contact-form h3 {
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.92rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
    background: var(--light-bg);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(26, 54, 93, 0.08);
    background: var(--white);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ============================================
   Footer - Dark Premium
   ============================================ */
footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 80px 0 30px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    opacity: 0.3;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.15rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-about p {
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-social a:hover {
    background: var(--accent-color);
    color: var(--primary-dark);
    transform: translateY(-3px);
    border-color: var(--accent-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateX(4px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom p {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

.footer-partner {
    margin-top: 15px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-partner a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

.footer-partner a:hover {
    color: var(--white);
}

/* ============================================
   Page Header (for inner pages)
   ============================================ */
.page-header {
    padding: 180px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--primary-dark);
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(26, 54, 93, 0.6) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 80% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        linear-gradient(180deg, rgba(10, 22, 40, 0.95) 0%, rgba(10, 22, 40, 0.85) 100%);
    z-index: 1;
}

.page-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('images/header-bg.jpg') center/cover no-repeat;
    opacity: 0.25;
    z-index: 0;
}

.page-header > .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    color: var(--white);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.page-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.15rem;
    max-width: 560px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.4);
}

.breadcrumb a:hover {
    color: var(--accent-color);
}

.breadcrumb span {
    color: var(--accent-color);
}

/* ============================================
   Values Section - Glowing Cards
   ============================================ */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.value-card {
    background: rgba(255, 255, 255, 0.04);
    padding: 40px 28px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.value-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.value-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--accent-color), #b8941e);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    font-size: 2rem;
    color: var(--primary-dark);
    transition: var(--transition);
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.value-card h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* ============================================
   FAQ Section - Smooth Accordion
   ============================================ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--border-radius);
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(0, 0, 0, 0.08);
}

.faq-item.active {
    box-shadow: var(--shadow-lg);
    border-color: rgba(212, 175, 55, 0.2);
}

.faq-question {
    padding: 22px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-dark);
    transition: var(--transition);
    font-size: 1.02rem;
}

.faq-question:hover {
    color: var(--accent-color);
}

.faq-icon {
    font-size: 1.2rem;
    transition: var(--transition);
    color: var(--accent-color);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 28px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-answer {
    padding: 0 28px 24px;
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-light);
}

/* ============================================
   Gallery Section
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.gallery-item {
    height: 260px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    position: relative;
    background: var(--gray-bg);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(10, 22, 40, 0.6) 100%);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
    height: auto;
}

/* ============================================
   Partners Section
   ============================================ */
.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
}

.partner-logo {
    opacity: 0.5;
    transition: var(--transition);
    filter: grayscale(100%);
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* ============================================
   News Section - Magazine Layout
   ============================================ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.news-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.news-image {
    height: 220px;
    background: var(--gray-bg);
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.news-card:hover .news-image img {
    transform: scale(1.08);
}

.news-content {
    padding: 28px;
}

.news-date {
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.news-content h4 {
    margin-bottom: 10px;
}

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

/* ============================================
   Scroll Animations
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Staggered animation delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* ============================================
   Custom Scrollbar
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.6rem;
    }

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

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    section {
        padding: 80px 0;
    }

    .header-top {
        display: none;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 22, 40, 0.98);
        backdrop-filter: var(--glass-blur);
        -webkit-backdrop-filter: var(--glass-blur);
        flex-direction: column;
        padding: 16px;
        gap: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li a {
        padding: 16px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
        border-radius: 0;
    }

    .nav-links li a::after {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding-top: 100px;
    }

    .hero h1 {
        font-size: 2.1rem;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        text-align: center;
        width: 100%;
        max-width: 280px;
    }

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

    .about-content,
    .contact-content,
    .membership-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-content {
        gap: 40px;
    }

    .about-image::before {
        display: none;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

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

    .page-header h1 {
        font-size: 2rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item.large {
        grid-column: span 2;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header {
        margin-bottom: 50px;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    section {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .logo-text .main-name {
        font-size: 0.72rem;
    }

    .logo-icon {
        width: 72px;
        height: 72px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item.large {
        grid-column: span 1;
    }

    .mission-card,
    .testimonial-card {
        padding: 32px 24px;
    }

    .contact-info,
    .contact-form,
    .membership-benefits {
        padding: 32px 24px;
    }
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.py-1 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }

.hidden { display: none; }
.visible { display: block; }
