/* ============================================
   SYED ABDUL NAZEER — DESIGN SYSTEM
   Judicial Excellence & Constitutional Authority
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500&family=Inter:wght@300;400;500;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

/* ── CSS Custom Properties ── */
:root {
    --navy-deep: #0a1628;
    --navy-mid: #12233d;
    --navy-light: #1a3155;
    --navy-accent: #243b6a;
    --ivory: #f5f0e8;
    --ivory-light: #faf7f2;
    --ivory-warm: #efe8db;
    --gold: #c9a84c;
    --gold-light: #d4b96a;
    --gold-dark: #a88b35;
    --gold-glow: rgba(201, 168, 76, 0.15);
    --charcoal: #2d2d2d;
    --charcoal-light: #3d3d3d;
    --slate: #64748b;
    --slate-light: #94a3b8;
    --white: #ffffff;
    --black: #000000;

    --glass-bg: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-bg-light: rgba(10, 22, 40, 0.04);
    --glass-border-light: rgba(10, 22, 40, 0.08);

    --font-serif: 'Playfair Display', 'Georgia', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-elegant: 'Cormorant Garamond', 'Georgia', serif;

    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --radius-xl: 40px;

    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.1);
    --shadow-lg: 0 16px 64px rgba(0,0,0,0.15);
    --shadow-gold: 0 4px 24px rgba(201, 168, 76, 0.2);

    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-spring: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Reset & Base ── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-sans);
    color: var(--charcoal);
    background: var(--ivory-light);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

ul, ol { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.2;
    color: var(--navy-deep);
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--charcoal-light);
    margin-bottom: 1rem;
}

.text-gold { color: var(--gold); }
.text-navy { color: var(--navy-deep); }
.text-ivory { color: var(--ivory); }

/* ── Navigation ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.7rem 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-logo .logo-name {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.02em;
}

.nav-logo .logo-title {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-links a {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    padding: 0.5rem 0.9rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
    background: rgba(201, 168, 76, 0.1);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-toggle span {
    width: 28px;
    height: 2px;
    background: var(--ivory);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Hero Section ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-mid) 40%, var(--navy-light) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(201, 168, 76, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(36, 59, 106, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 80%, rgba(201, 168, 76, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.03;
    background-image:
        linear-gradient(rgba(201, 168, 76, 0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 168, 76, 0.5) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-text {
    color: var(--ivory);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(201, 168, 76, 0.12);
    border: 1px solid rgba(201, 168, 76, 0.3);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.5rem;
}

.hero-badge i {
    font-size: 0.7rem;
}

.hero-title {
    font-size: clamp(2.6rem, 5.5vw, 4.5rem);
    color: var(--ivory);
    margin-bottom: 1.2rem;
    line-height: 1.1;
}

.hero-title .highlight {
    color: var(--gold);
    display: block;
}

.hero-tagline {
    font-family: var(--font-elegant);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: rgba(245, 240, 232, 0.7);
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.hero-description {
    font-size: 1.05rem;
    color: rgba(245, 240, 232, 0.65);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 520px;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

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

.hero-stat .stat-number {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.hero-stat .stat-label {
    font-size: 0.72rem;
    color: rgba(245, 240, 232, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.3rem;
}

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

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-frame {
    position: relative;
    width: 420px;
    height: 520px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid rgba(201, 168, 76, 0.25);
    box-shadow: 0 20px 80px rgba(0,0,0,0.4);
}

.hero-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.hero-image-frame::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.6), transparent);
    pointer-events: none;
}

.hero-decorative {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: var(--radius-lg);
    top: -30px;
    right: -30px;
    animation: floatSlow 8s ease-in-out infinite;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
    letter-spacing: 0.02em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy-deep);
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(201, 168, 76, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--ivory);
    border: 1px solid rgba(245, 240, 232, 0.3);
}

.btn-outline:hover {
    background: rgba(245, 240, 232, 0.1);
    border-color: var(--gold);
    color: var(--gold);
}

.btn-dark {
    background: var(--navy-deep);
    color: var(--ivory);
}

.btn-dark:hover {
    background: var(--navy-mid);
    transform: translateY(-2px);
}

/* ── Sections ── */
.section {
    padding: 6rem 0;
    position: relative;
}

.section-dark {
    background: linear-gradient(135deg, var(--navy-deep), var(--navy-mid));
    color: var(--ivory);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--ivory);
}

.section-dark p {
    color: rgba(245, 240, 232, 0.7);
}

.section-ivory {
    background: var(--ivory);
}

.section-alt {
    background: var(--ivory-warm);
}

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

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ── Section Headers ── */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header .section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 1rem;
}

.section-header .section-label::before,
.section-header .section-label::after {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--gold);
    opacity: 0.5;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header .section-subtitle {
    font-family: var(--font-elegant);
    font-size: 1.15rem;
    color: var(--slate);
    max-width: 600px;
    margin: 0 auto;
    font-style: italic;
}

.section-dark .section-header .section-subtitle {
    color: rgba(245, 240, 232, 0.6);
}

/* ── Glass Cards ── */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 168, 76, 0.2);
    box-shadow: var(--shadow-gold);
}

.glass-card-light {
    background: var(--glass-bg-light);
    border: 1px solid var(--glass-border-light);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    transition: var(--transition-smooth);
}

.glass-card-light:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(201, 168, 76, 0.2);
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.15), rgba(201, 168, 76, 0.05));
    color: var(--gold);
    border: 1px solid rgba(201, 168, 76, 0.2);
}

.section-dark .card-icon {
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.2), rgba(201, 168, 76, 0.05));
}

/* ── Grid Layouts ── */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

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

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

/* ── Timeline ── */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: calc(50% + 40px);
    position: relative;
    margin-bottom: 3rem;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: calc(50% + 40px);
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--gold);
    border-radius: 50%;
    border: 3px solid var(--navy-deep);
    top: 1rem;
    z-index: 2;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 1.8rem;
    max-width: 450px;
    transition: var(--transition-smooth);
}

.timeline-content:hover {
    border-color: rgba(201, 168, 76, 0.3);
    transform: translateY(-2px);
}

.timeline-year {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--ivory);
    margin-bottom: 0.5rem;
}

.timeline-desc {
    font-size: 0.9rem;
    color: rgba(245, 240, 232, 0.6);
    line-height: 1.7;
}

/* ── Content Blocks ── */
.content-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.content-block.reverse {
    direction: rtl;
}

.content-block.reverse > * {
    direction: ltr;
}

.content-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(201, 168, 76, 0.15);
    box-shadow: var(--shadow-lg);
}

.content-image img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    background: var(--navy-deep);
}

.content-text h3 {
    margin-bottom: 1rem;
}

.content-text .text-lead {
    font-family: var(--font-elegant);
    font-size: 1.15rem;
    color: var(--navy-accent);
    font-style: italic;
    margin-bottom: 1.2rem;
}

/* ── Quote Block ── */
.quote-block {
    position: relative;
    padding: 3rem 4rem;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.06), rgba(201, 168, 76, 0.02));
    border-left: 3px solid var(--gold);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 3rem 0;
}

.quote-block::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: var(--font-serif);
    font-size: 5rem;
    color: var(--gold);
    opacity: 0.3;
    line-height: 1;
}

.quote-block p {
    font-family: var(--font-elegant);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--navy-deep);
    line-height: 1.7;
}

.quote-block .quote-author {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-style: normal;
    color: var(--gold);
    margin-top: 1rem;
    font-weight: 600;
}

.section-dark .quote-block {
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.1), rgba(201, 168, 76, 0.03));
}

.section-dark .quote-block p {
    color: var(--ivory);
}

/* ── Page Header ── */
.page-header {
    position: relative;
    padding: 10rem 0 5rem;
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-mid) 50%, var(--navy-light) 100%);
    overflow: hidden;
    text-align: center;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse at 30% 40%, rgba(201, 168, 76, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 60%, rgba(36, 59, 106, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.page-header .hero-pattern {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0.03;
    background-image:
        linear-gradient(rgba(201, 168, 76, 0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 168, 76, 0.5) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

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

.page-header .section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 1rem;
}

.page-header h1 {
    color: var(--ivory);
    margin-bottom: 1rem;
}

.page-header .page-subtitle {
    font-family: var(--font-elegant);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: rgba(245, 240, 232, 0.6);
    font-style: italic;
    max-width: 650px;
    margin: 0 auto;
}

/* ── Breadcrumb ── */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
}

.breadcrumb a {
    color: rgba(245, 240, 232, 0.5);
}

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

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

.breadcrumb .separator {
    color: rgba(245, 240, 232, 0.3);
}

/* ── Feature List ── */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 0.95rem;
    color: var(--charcoal-light);
}

.feature-list li i {
    color: var(--gold);
    margin-top: 4px;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.section-dark .feature-list li {
    color: rgba(245, 240, 232, 0.7);
}

/* ── Image Gallery Grid ── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(201, 168, 76, 0.12);
    transition: var(--transition-smooth);
    aspect-ratio: 4/3;
}

.gallery-item:hover {
    transform: scale(1.02);
    border-color: rgba(201, 168, 76, 0.3);
    box-shadow: var(--shadow-gold);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--ivory-warm);
}

/* ── Contact Form ── */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--navy-deep);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.9rem 1.2rem;
    border: 1px solid rgba(10, 22, 40, 0.12);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    background: var(--white);
    color: var(--charcoal);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

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

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

/* ── Contact Info Cards ── */
.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.5rem;
    background: var(--glass-bg-light);
    border: 1px solid var(--glass-border-light);
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
}

.contact-info-card:hover {
    border-color: rgba(201, 168, 76, 0.2);
    box-shadow: var(--shadow-sm);
}

.contact-info-card .info-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.12), rgba(201, 168, 76, 0.04));
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-info-card .info-content h4 {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.contact-info-card .info-content p {
    font-size: 0.88rem;
    margin: 0;
}

.contact-info-card .info-content a {
    color: var(--gold);
    font-weight: 500;
}

.contact-info-card .info-content a:hover {
    text-decoration: underline;
}

/* ── Footer ── */
.footer {
    background: linear-gradient(135deg, var(--navy-deep), #060e1a);
    color: var(--ivory);
    padding: 5rem 0 0;
    position: relative;
    overflow: hidden;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .footer-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.3rem;
}

.footer-brand .footer-title {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    color: rgba(245, 240, 232, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.2rem;
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(245, 240, 232, 0.6);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.8rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(245, 240, 232, 0.7);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.footer-social a:hover {
    background: rgba(201, 168, 76, 0.15);
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

.footer-column h4 {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold);
    margin-bottom: 1.2rem;
}

.footer-column ul li {
    margin-bottom: 0.6rem;
}

.footer-column ul li a {
    font-size: 0.88rem;
    color: rgba(245, 240, 232, 0.6);
    transition: var(--transition-smooth);
}

.footer-column ul li a:hover {
    color: var(--gold);
    padding-left: 4px;
}

.footer-newsletter p {
    font-size: 0.88rem;
    color: rgba(245, 240, 232, 0.6);
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.7rem 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--ivory);
    font-family: var(--font-sans);
    font-size: 0.85rem;
}

.newsletter-form input::placeholder {
    color: rgba(245, 240, 232, 0.4);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--gold);
}

.newsletter-form button {
    padding: 0.7rem 1.2rem;
    background: var(--gold);
    color: var(--navy-deep);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-sans);
    font-size: 0.85rem;
}

.newsletter-form button:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
}

.footer-contact-info {
    margin-top: 1.5rem;
}

.footer-contact-info p {
    font-size: 0.82rem;
    color: rgba(245, 240, 232, 0.5);
    margin-bottom: 0.3rem;
}

.footer-contact-info a {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: rgba(245, 240, 232, 0.4);
    margin: 0;
}

.footer-bottom a {
    color: var(--gold);
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--gold);
    color: var(--navy-deep);
    border: none;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 999;
    box-shadow: var(--shadow-gold);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(201, 168, 76, 0.4);
}

/* ── CTA Section ── */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--navy-deep), var(--navy-mid));
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section h2 {
    color: var(--ivory);
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(245, 240, 232, 0.6);
    max-width: 550px;
    margin: 0 auto 2rem;
}

/* ── Password Page ── */
.password-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy-deep) 0%, #060e1a 50%, var(--navy-mid) 100%);
    position: relative;
    overflow: hidden;
}

.password-page::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse at 30% 30%, rgba(201, 168, 76, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 70%, rgba(36, 59, 106, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.password-bg-pattern {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0.025;
    background-image:
        linear-gradient(rgba(201, 168, 76, 0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 168, 76, 0.5) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
}

.password-scales {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    opacity: 0.04;
    pointer-events: none;
}

.password-card {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 440px;
    width: 90%;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 3.5rem 3rem;
}

.password-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.15), rgba(201, 168, 76, 0.05));
    border: 1px solid rgba(201, 168, 76, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--gold);
}

.password-card h1 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--ivory);
    margin-bottom: 0.5rem;
}

.password-card .password-subtitle {
    font-family: var(--font-elegant);
    font-size: 1rem;
    color: rgba(245, 240, 232, 0.5);
    margin-bottom: 2rem;
    font-style: italic;
}

.password-input-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
}

.password-input-wrapper input {
    width: 100%;
    padding: 1rem 3rem 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    color: var(--ivory);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: var(--transition-smooth);
    letter-spacing: 0.1em;
}

.password-input-wrapper input::placeholder {
    color: rgba(245, 240, 232, 0.3);
    letter-spacing: 0.05em;
}

.password-input-wrapper input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(245, 240, 232, 0.4);
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.password-toggle:hover {
    color: var(--gold);
}

.password-submit {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy-deep);
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.password-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(201, 168, 76, 0.35);
}

.password-error {
    font-size: 0.82rem;
    color: #ef4444;
    margin-top: 0.8rem;
    opacity: 0;
    transition: var(--transition-smooth);
}

.password-error.visible {
    opacity: 1;
}

.password-card.shake {
    animation: shake 0.5s ease-in-out;
}

.password-card.success {
    animation: successPulse 0.8s ease-out forwards;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    15% { transform: translateX(-12px); }
    30% { transform: translateX(10px); }
    45% { transform: translateX(-8px); }
    60% { transform: translateX(6px); }
    75% { transform: translateX(-4px); }
}

@keyframes successPulse {
    0% { border-color: rgba(255,255,255,0.08); }
    50% { border-color: rgba(201, 168, 76, 0.5); box-shadow: 0 0 60px rgba(201, 168, 76, 0.2); }
    100% { opacity: 0; transform: scale(0.95); }
}

/* ── Reveal Animations ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* ── Keyframes ── */
@keyframes floatSlow {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-10px, -15px) rotate(2deg); }
}

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

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ── Stat Cards ── */
.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-card .stat-number {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stat-card .stat-desc {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    color: rgba(245, 240, 232, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ── Insight Article Cards ── */
.insight-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.insight-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 168, 76, 0.25);
    box-shadow: var(--shadow-gold);
}

.insight-card-img {
    height: 200px;
    overflow: hidden;
}

.insight-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--navy-mid);
    transition: var(--transition-smooth);
}

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

.insight-card-body {
    padding: 1.5rem;
}

.insight-card-tag {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    background: rgba(201, 168, 76, 0.12);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    margin-bottom: 0.8rem;
}

.insight-card-body h3 {
    font-size: 1.1rem;
    color: var(--ivory);
    margin-bottom: 0.5rem;
}

.insight-card-body p {
    font-size: 0.88rem;
    color: rgba(245, 240, 232, 0.6);
    margin: 0;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 7rem;
    }

    .hero-text { order: 2; }
    .hero-image-wrapper { order: 1; }
    .hero-stats { justify-content: center; }
    .hero-cta { justify-content: center; }

    .hero-image-frame {
        width: 300px;
        height: 380px;
    }

    .hero-decorative { display: none; }

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

    .content-block.reverse {
        direction: ltr;
    }

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

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

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

    .timeline-item,
    .timeline-item:nth-child(even) {
        padding-left: 50px;
        padding-right: 0;
        justify-content: flex-start;
    }

    .timeline-dot {
        left: 20px;
        transform: none;
    }
}

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

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 22, 40, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 0.5rem;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-smooth);
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 0.8rem 1.5rem;
    }

    .mobile-toggle {
        display: flex;
    }

    .grid-2 { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr 1fr; }

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

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

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

    .hero-image-frame {
        width: 260px;
        height: 320px;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .quote-block {
        padding: 2rem;
    }

    .password-card {
        padding: 2.5rem 2rem;
    }

    .page-header {
        padding: 8rem 0 3.5rem;
    }
}

@media (max-width: 480px) {
    .grid-4 { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; gap: 1rem; }

    .hero-image-frame {
        width: 220px;
        height: 280px;
    }
}

/* ── Print Styles ── */
@media print {
    .navbar, .back-to-top, .mobile-toggle { display: none; }
    .hero { min-height: auto; padding: 2rem 0; }
    .section { padding: 2rem 0; }
}
