/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e81cf;
    --secondary-color: #0f4b7a;
    --accent-color: #ffd700;
    --text-color: #333;
    --light-text: #666;
    --bg-color: #ffffff;
    --light-bg: #f8f9fa;
    --dark-bg: #2c3e50;
    --border-color: #e9ecef;
    --shadow: 0 2px 20px rgba(0,0,0,0.1);
    --shadow-hover: 0 5px 30px rgba(0,0,0,0.15);
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

/* Warning Banner */
.warning-banner {
    background-color: #dc2626;
    color: white;
    width: 100vw;
    font-size: 0.95rem;
    text-align: left;
    overflow: hidden;
    white-space: nowrap;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1001;
    margin: 0;
    padding: 0;
    height: 2.2em;
    line-height: 2.2em;
}

.warning-banner {
    background-color: #dc2626;
    color: white;
    width: 100vw;
    font-size: 0.95rem;
    overflow: hidden;
    white-space: nowrap;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1001;
    height: 2.2em;
    line-height: 2.2em;
}

.warning-content {
    display: inline-block;
    animation: ticker 40s linear infinite;
    padding-left: 100%; /* start off-screen cleanly */
}

@keyframes ticker {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-90%); }
}

.warning-content p {
    display: inline;
    margin: 0;
    font-weight: 500;
}


/* Ensure navbar is below banner */
.navbar {
    position: relative;
    margin-top: 2.2em;
    z-index: 1000;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.section-blurb {
    max-width: 900px;
    margin: 0.5rem auto 1.25rem;
    color: var(--light-text);
    font-size: 1.05rem;
    line-height: 1.7;
    text-align: center;
}

.see-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.see-more:hover {
    text-decoration: underline;
}

/* Make the expanded 'Why Vote Libertarian' content visually match the blurb */
#why-vote-libertarian .platform-item {
    background: transparent;
    box-shadow: none;
    border: none;
}

#why-vote-libertarian .platform-content {
    background: transparent;
    border: none;
}

#why-vote-libertarian .content-inner {
    padding: 0 1rem 1rem;
    color: var(--light-text);
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
}

#why-vote-libertarian .content-inner h4 {
    color: var(--primary-color);
    margin-top: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--light-text);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

.btn-outline:hover {
    background: var(--light-bg);
}

.btn-donate {
    background: var(--accent-color);
    color: var(--dark-bg);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0;
}

.nav-logo span {
    font-size: 0.8rem;
    color: var(--light-text);
    display: block;
    margin-top: -5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-name {
    display: block;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.hero-subtitle {
    display: block;
    font-size: 2rem;
    color: var(--text-color);
    font-weight: 500;
}

.hero-location {
    display: block;
    font-size: 1.5rem;
    color: var(--light-text);
    font-weight: 400;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--light-text);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-photo {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-hover);
    overflow: hidden;
    padding: 8px;
}

.hero-photo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}

.photo-placeholder {
    color: white;
    opacity: 0.8;
}

.hero-quote {
    text-align: center;
    margin-top: 4rem;
    padding: 0 2rem;
}

.hero-quote blockquote {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.hero-quote cite {
    color: var(--light-text);
    font-size: 1rem;
}

/* Key Message Section */
.key-message {
    padding: 80px 0;
    background: white;
}

.message-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.message-item {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.message-item:hover {
    transform: translateY(-5px);
}

.message-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.message-item h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.message-item p {
    color: var(--light-text);
    line-height: 1.6;
}

/* About Section */
.about {
    background: var(--light-bg);
    padding: 80px 0;
}

.about-content {
    display: block;
    margin-top: 3rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--light-text);
}

.about-highlights {
    display: none;
}

.about-highlights h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-highlights ul {
    list-style: none;
}

.about-highlights li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.about-highlights li i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    width: 20px;
}

/* About Section Photos */
.about-photo-container {
    float: right;
    width: 300px;
    margin: 0 0 2rem 2rem;
    text-align: center;
}

.about-photo {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center top;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.about-photo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.family-photo-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.family-photo-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.family-photo-container {
    text-align: center;
}

.family-photo {
    width: 100%;
    max-width: 280px;
    height: 260px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.family-photo:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.secondary-photo-container {
    width: 240px;
    margin-bottom: 2rem;
    text-align: center;
}

.secondary-photo-container.float-right {
    float: right;
    margin-left: 2rem;
}

.secondary-photo-container.float-left {
    float: left;
    margin-right: 2rem;
}

.about-secondary-photo {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.secondary-photo-container:hover .about-secondary-photo {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.about-feature-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.about-feature-img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

.about-footer-feature {
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
}

.mt-3 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.text-center { text-align: center; }

.photo-caption {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--light-text);
    font-style: italic;
}

/* Platform Section */
.platform {
    padding: 80px 0;
    background: white;
}

.platform-accordion {
    max-width: 900px;
    margin: 3rem auto 0;
}

.platform-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 15px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
}

.platform-item.active {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
}

.platform-header {
    display: flex;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.platform-header:hover {
    background: var(--light-bg);
}

.platform-item.active .platform-header {
    background: var(--light-bg);
}

.platform-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 1.5rem;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.platform-title {
    flex: 1;
}

.platform-title h3 {
    color: var(--text-color);
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
}

.platform-title p {
    color: var(--light-text);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.platform-toggle {
    margin-left: 1rem;
    color: var(--light-text);
    transition: transform 0.3s ease;
}

.platform-item.active .platform-toggle {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.platform-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-in-out;
}

.platform-content.open {
    /* max-height is set by JS to scrollHeight for accurate height, but keep fallback */
    max-height: 1000px;
}

.content-inner {
    padding: 0 2rem 2rem 2rem;
}

.platform-quote {
    background: white;
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: var(--text-color);
}

.platform-quote cite {
    display: block;
    margin-top: 0.5rem;
    font-style: normal;
    color: var(--light-text);
    font-size: 0.9rem;
}

.platform-content h4 {
    color: var(--primary-color);
    margin: 2rem 0 1rem 0;
    font-size: 1.2rem;
}

.platform-content p {
    color: var(--light-text);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.platform-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    /* Prevent automatic column layout and ensure proper spacing */
    column-count: unset;
    columns: unset;
}

.platform-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.35rem;
    padding: 0.25rem 0;
    /* Ensure each item takes full width */
    width: 100%;
    break-inside: avoid;
}

.platform-list li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.6rem;
    flex-shrink: 0;
    min-width: 14px;
    font-size: 0.95rem;
}

/* Add small buffer between bold text and regular text */
.platform-list strong {
    margin-right: 0.3rem;
}

.platform-list.reforms li::before {
    content: '✓';
    color: #2f855a;
    font-weight: 700;
}

.platform-list.problems li::before {
    content: '✗';
    color: #c53030;
    font-weight: 700;
}

/* Enforce tighter list spacing inside platform sections and remove
   unexpected inner margins caused by per-page styles or wrappers. */
.platform-content ul,
.platform-content ol,
.platform-content .problems-list ul,
.platform-content .solution-box ul {
    margin: 0;
    padding: 0;
}

.platform-content ul li,
.platform-content ol li,
.platform-content .problems-list li,
.platform-content .solution-box li,
.platform-content .platform-list li {
    margin-bottom: 0.25rem !important;
    padding: 0 !important;
    line-height: 1.25 !important;
    display: flex !important;
    align-items: center !important;
}

/* Quotes Section */
.quotes-legacy-rules {
    padding: 60px 0 80px;
    background: linear-gradient(180deg, var(--bg-color) 0%, var(--light-bg) 100%);
    position: relative;
    overflow: hidden;
}


.quotes-after-reset::after {
    /* Old decorative background removed in favor of inline photo */
    display: none;
}


.quotes .container {
    position: relative;
    z-index: 1;
}

/* Photo placed front-and-center at start of the section */
.quotes-photo-container {
    text-align: center;
    margin-bottom: 2rem;
}

.quotes-photo {
    max-width: 420px;
    width: 80%;
    height: auto;
    display: block;    margin: 0 auto 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 2;
}

/* Hidden quotes until 'Read On' is clicked */
.quote-card.hidden {
    display: none;
}

.quotes-meta-legacy-grid {
    column-count: 3;
    column-gap: 1.25rem;
    margin-bottom: 1.25rem;
    display: block;
    width: 100%;
}

.quote-card-legacy {
    background: white;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    margin: 0 0 1.25rem 0;
    break-inside: avoid;
    display: block; /* Ensure it flows as a block within the column */
    width: 100%;
    box-sizing: border-box;
}

.quote-card-blockquote-legacy {
    margin: 0 0 0.5rem 0;
    font-style: italic;
    color: var(--text-color);
    line-height: 1.5;
}

.quote-card-cite-legacy {
    color: var(--light-text);
    font-size: 0.95rem;
}

.quotes .read-more-row {
    text-align: center;
    margin-top: 0.5rem;
}

.quotes .btn-readon {
    padding: 10px 26px;
    border-radius: 30px;
}

@media (max-width: 1100px) {
    .quotes-grid-tablet-legacy {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    .quotes-grid-mobile-legacy {
        column-count: 1;
    }

    .quotes-after-hidden-legacy::after {
        display: none;
    }
}

.platform-content ul li > div,
.platform-content ol li > div,
.platform-content .problems-list li > div,
.platform-content .solution-box li > div {
    margin: 0 !important;
    padding: 0 !important;
}

/* Ensure list icons don't create extra vertical space */
.platform-content li i,
.platform-content li::before {
    margin-top: 0 !important;
    line-height: 1 !important;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--light-text);
    line-height: 1.3;
}

.highlight-box {
    background: var(--primary-color);
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
    text-align: center;
}

.highlight-box p {
    color: white;
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.fact-highlight {
    background: #e6fffa;
    border: 2px solid #81e6d9;
    color: var(--text-color);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.fact-highlight p {
    color: var(--text-color);
    margin: 0;
    font-weight: 500;
}

/* Media Section */
.media {
    background: var(--light-bg);
    padding: 80px 0;
}

.media-grid {
    margin-top: 3rem;
}

.media-category {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow);
}

.category-title {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 1rem;
}

.category-title i {
    margin-right: 0.75rem;
    font-size: 1.2rem;
}

.media-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: start;
}

.media-item {
    background: var(--light-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.media-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.video-embed {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: #000;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.audio-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.audio-embed {
    background: white;
    padding: 1rem;
}

.audio-embed iframe {
    width: 100%;
    border-radius: 10px;
}

.media-info {
    padding: 1.5rem;
}

.media-info h4 {
    color: var(--text-color);
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.media-info h5 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
}

.media-info h5 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.media-info h5 a:hover {
    color: var(--secondary-color);
}

.media-info p {
    color: var(--light-text);
    margin: 0;
    line-height: 1.5;
}

.news-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 0;
    align-items: stretch;
}

.news-image {
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.news-image img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.news-image:hover img {
    transform: scale(1.05);
}

.news-date {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.5rem !important;
}

.resource-links {
    margin-top: 1rem;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.resource-link {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.resource-link:hover {
    background: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.resource-link i {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.resource-link h4 {
    color: var(--text-color);
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
}

.resource-link p {
    color: var(--light-text);
    margin: 0;
    font-size: 0.9rem;
}

/* Media Section Responsive */
@media (max-width: 768px) {
    .floating-sidebar {
        display: none !important;
    }
    .media-category {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .category-title {
        font-size: 1.3rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .category-title i {
        margin-right: 0.5rem;
    }
    
    .news-item {
        grid-template-columns: 1fr;
    }
    
    .news-image {
        padding: 1rem;
        min-height: 150px;
    }
    
    .resource-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .resource-link {
        padding: 0.75rem;
    }
    
    .resource-link i {
        width: 35px;
        height: 35px;
    }
    
    /* Floating Sidebar mobile fix */
    .floating-sidebar {
        margin-top: 7em;
    }
}

/* Quotes Section */
/* Jazzed up Quotes Accordion */
.quotes-accordion .platform-content {
    width: 100% !important;
    background: #f5f6fa !important;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(30, 129, 207, 0.07);
    padding: 0 !important;
    margin: 0 !important;
    color: #333 !important;
    box-sizing: border-box !important;
}

.quotes-accordion .platform-content.open {
    max-height: 5000px !important;
    padding: 1.5rem 1rem !important;
    margin: 0.5rem 0 2rem 0 !important;
}

.quotes-accordion .content-inner {
    color: #333 !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
    gap: 1rem;
    align-items: stretch;
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
}

.quotes-accordion .content-inner blockquote {
    background: #fffbe6 !important;
    border-left: 5px solid var(--accent-color);
    margin: 0.4em 0;
    padding: 0.8em 0.75em;
    font-size: 1rem;
    font-style: italic;
    color: #1a1a1a !important;
    border-radius: 8px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.04);
    font-weight: 500;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    overflow: hidden !important;
}

.quotes-accordion .content-inner cite {
    display: block;
    margin-top: 0.3em;
    font-size: 0.9em;
    color: var(--primary-color) !important;
    font-style: normal;
}
.quotes {
    padding: 80px 0;
    background: var(--dark-bg);
}

.quotes .section-title {
    color: white;
}

.quotes-grid {
    column-count: 3;
    column-gap: 2rem;
    margin-top: 3rem;
    display: block;
    width: 100%;
}

.quote-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 0 0 2rem 0;
    break-inside: avoid;
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.quote-card blockquote {
    font-size: 1.1rem;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.quote-card cite {
    color: var(--accent-color);
    font-weight: 500;
    display: block;
}

@media (max-width: 1100px) {
    .quotes-grid {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    .quotes-grid {
        column-count: 1;
    }
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--light-bg);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-photo-container {
    margin-bottom: 2rem;
}

.contact-photo {
    width: 200px;
    height: 200px;
    border-radius: 15px;
    object-fit: cover;
    object-position: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.contact-photo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.contact-info h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--light-text);
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-item i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    width: 20px;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.social-links {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-links a {
    display: inline-block;
    margin: 0 0.25em;
    font-size: 1.5em;
    vertical-align: middle;
    background: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    width: auto;
    height: auto;
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* Support Section */
.support {
    padding: 80px 0;
    background: white;
}

.support-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

@media (max-width: 992px) {
    .support-options {
        grid-template-columns: 1fr;
    }
}

.support-card {
    background: var(--light-bg);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
}

.support-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.support-card p {
    color: var(--light-text);
    margin-bottom: 2rem;
    font-size: 1.25rem;
}

.support-card-image-wrapper {
    max-width: 250px;
    margin: 0 auto 1.5rem;
}

.support-card-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.support-card small {
    display: block;
    color: var(--light-text);
    font-size: 0.9rem;
    margin-top: 1rem;
    line-height: 1.4;
}

.social-previews {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 1.5rem 0;
    max-height: 720px;
    overflow-y: auto;
}

.social-preview-item {
    background: white;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.share-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.share-buttons .btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Desktop Enhancements */
@media (min-width: 769px) {
    .platform-list li {
        margin-bottom: 1.5rem;
        padding: 1rem 0;
    }
    
    .platform-list li::before {
        margin-right: 2rem;
        min-width: 24px;
    }
    
    /* Ensure platform content has better spacing on desktop */
    .content-inner {
        max-width: none;
        padding: 2rem 3rem 3rem 3rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-photo {
        width: 300px;
        height: 300px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-highlights {
        display: none;
    }
    
    .about-photo-container {
        float: none;
        width: 100%;
        margin: 1rem 0 2rem 0;
    }
    
    .about-photo {
        max-width: 300px;
        height: 240px;
    }
    
    .family-photo {
        max-width: 250px;
        height: 200px;
    }
    
    .contact-photo {
        width: 180px;
        height: 180px;
    }
    
    .platform-accordion {
        margin: 2rem 1rem 0;
    }
    
    .platform-header {
        padding: 1rem 1.5rem;
    }
    
    .content-inner {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }

    .quotes-accordion .content-inner {
        grid-template-columns: 1fr !important;
        gap: 0.5rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .quotes-accordion .content-inner blockquote {
        padding: 0.6em 0.5em !important;
        font-size: 0.95rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .platform-icon {
        width: 40px;
        height: 40px;
        margin-right: 1rem;
        font-size: 1.1rem;
    }
    
    .stats-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Enhanced mobile spacing for platform lists */
    .platform-list li {
        margin-bottom: 1rem;
        padding: 0.6rem 0;
        line-height: 1.5;
    }
    
    .platform-list li::before {
        margin-right: 1rem;
        min-width: 16px;
    }
    
    .quotes-grid {
        grid-template-columns: 1fr;
    }
    
    .media-category {
        padding: 1rem;
    }
    
    .media-info {
        padding: 1rem;
    }
    
    .support-options {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .share-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-location {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-photo {
        width: 250px;
        height: 250px;
    }
    
    .about-photo-container {
        margin: 1rem 0 1.5rem 0;
    }
    
    .about-photo {
        max-width: 280px;
        height: 160px;
    }
    
    .family-photo {
        max-width: 220px;
        height: 180px;
    }
    
    .contact-photo {
        width: 160px;
        height: 160px;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    .platform-header {
        padding: 1rem;
        flex-direction: row;
        align-items: center;
    }
    
    .platform-title h3 {
        font-size: 1.1rem;
    }
    
    .platform-title p {
        font-size: 0.85rem;
    }
    
    .content-inner {
        padding: 0 1rem 1rem 1rem;
    }
    
    .platform-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        margin-right: 0.75rem;
    }
    
    .platform-quote {
        padding: 1rem;
        margin: 1rem 0;
        font-size: 0.95rem;
    }
    
    .stats-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    /* Extra mobile spacing for smallest screens */
    .platform-list li {
        margin-bottom: 1.2rem;
        padding: 0.8rem 0;
        line-height: 1.4;
    }
    
    .platform-list li::before {
        margin-right: 1.2rem;
        min-width: 18px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* ================================
   FLOATING SIDEBAR
   ================================ */

.floating-sidebar {
    position: fixed;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(231, 76, 60, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-width: 200px;
    transition: all 0.3s ease;
}

.floating-sidebar:hover {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
    transform: translateY(-50%) translateX(-5px);
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-section h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.social-links a {
    display: inline-block;
    margin: 0 0.25em;
    font-size: 1.5em;
    vertical-align: middle;
}

.social-links i {
    font-size: 1.5em;
    vertical-align: middle;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 0.5rem;
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(231, 76, 60, 0.2);
    transform: translateY(-1px);
}

.contact-item i {
    color: var(--primary-color);
    min-width: 16px;
    font-size: 0.9rem;
}

.contact-item span {
    font-weight: 500;
}

.donate-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.donate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
    background: linear-gradient(135deg, var(--secondary-color), #c0392b);
}

.donate-btn i {
    font-size: 1rem;
}

/* Remove blue circle background from social icons */
.social-links .message-icon,
.social-links .platform-icon,
.social-links .social-circle {
    background: none !important;
    box-shadow: none !important;
}

.social-links img {
    display: inline-block;
    vertical-align: middle;
    margin: 0;
    background: none !important;
    box-shadow: none !important;
}

/* Responsive behavior for floating sidebar */
@media (max-width: 1200px) {
    .floating-sidebar {
        right: 1rem;
        max-width: 180px;
        padding: 1.25rem;
    }
}

@media (max-width: 968px) {
    .floating-sidebar {
        position: static;
        transform: none;
        right: auto;
        top: auto;
        max-width: 100%;
        margin: 2rem auto;
        border-radius: 1rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .floating-sidebar:hover {
        transform: none;
    }

    .sidebar-content {
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        gap: 1rem;
    }

    .sidebar-section {
        flex: 1;
        text-align: center;
    }

    .contact-info {
        flex-direction: row;
        gap: 0.25rem;
    }

    .contact-item {
        font-size: 0.7rem;
        padding: 0.4rem;
    }

    .contact-item span {
        display: none;
    }

    .donate-btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .floating-sidebar {
        margin: 1rem;
        padding: 1rem;
    }

    .sidebar-content {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-info {
        flex-direction: column;
        gap: 0.5rem;
    }

    .contact-item span {
        display: inline;
    }
}

/* Ensure X.com logo displays correctly */
.social-links .fa-x-twitter {
    font-family: "Font Awesome 6 Brands";
    font-style: normal;
    font-weight: normal;
    font-size: 1.5em;
    vertical-align: middle;
    display: inline-block;
