/* =================================
   Dr. Scholl Orthopedics - Master Styles
   ================================= */
/* =================================
   Base Styles & Reset
   ================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    margin: 0;
    padding: 0;
}
/* Body background variations */
body.bg-light {
    min-height: 100vh;
}
body.bg-light {
    background-color: #f8f9fa;
    min-height: 100vh;
}
body.bg-gradient-light {
    background: linear-gradient(135deg, #ba252a0e 0%, #ffffff 100%);
    min-height: 100vh;
}
/* =================================
   Color Variables & Branding
   ================================= */
:root {
    --primary-color: #BA252B;
    --primary-gradient: linear-gradient(135deg, #BA252B 0%, #C22229 100%);
    --secondary-color: #C22229;
    --text-dark: #1f2937;
    --text-medium: #333;
    --text-light: #666;
    --text-lighter: #999;
    --border-color: #e1e5e9;
    --bg-light: #f8f9fa;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
}
/* =================================
   Navigation Bar
   ================================= */
.navbar {
    background: rgba(255, 255, 255);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #BA252B;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.208);
}
.nav-container {
    max-width: 1550px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.logo-img {
    height: 50px;
    width: auto;
    border-radius: 0.5rem;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}
.nav-links a {
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    text-align: start;
}
.nav-links a:hover {
    color: var(--primary-color);
}
.nav-link-divider {
    height: 2px;
    width: 30vw;
    background: #ba252a87;
}
.nav-icon {
    display: none;
}
.youtube-link-desktop {
    display: flex;
    align-items: center;
    transition: opacity 0.3s ease;
}
.youtube-link-desktop:hover {
    opacity: 0.8;
}
.youtube-logo {
    height: 30px;
    width: auto;
}
.youtube-link-mobile {
    display: none;
}
/* =================================
   Admin Navigation
   ================================= */
.admin-nav {
    display: flex;
    gap: 1rem;
    align-items: center;
}
.nav-link {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}
.nav-link:hover {
    background: rgba(255, 255, 255, 0.3);
}
/* =================================
   Hamburger Menu
   ================================= */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
    z-index: 1001;
}
.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}
.hamburger.white span {
    background: white;
}
.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}
/* =================================
   Buttons
   ================================= */
.btn-primary {
    background: var(--primary-gradient);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(186, 37, 43, 0.4);
}
.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}
.btn-view {
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    background: #17a2b8;
    color: white;
}
.btn-view:hover {
    background: #138496;
}
.btn-edit {
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    background: #ffc107;
    color: #333;
}
.btn-edit:hover {
    background: #e0a800;
}
.btn-delete {
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    background: #dc3545;
    color: white;
}
.btn-delete:hover {
    background: #c82333;
}
.btn-add-paragraph {
    background: #28a745;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    margin-bottom: 1rem;
}
.btn-add-paragraph:hover {
    background: #218838;
}
.btn-remove-paragraph {
    background: #dc3545;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
}
.btn-remove-paragraph:hover {
    background: #c82333;
}
.logout-btn {
    background: var(--primary-color);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
    cursor: pointer;
}
.logout-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}
.rounded-none {
    border-radius: 0;
    color: white !important;
}
/* =================================
   Header
   ================================= */
.header {
    background: var(--primary-gradient);
    color: white;
    padding: 1rem 2rem;
    box-shadow: var(--shadow-sm);
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
.header h1 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 300;
}
/* =================================
   Container & Layout
   ================================= */
.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}
.container.small {
    max-width: 900px;
}
.container.with-navbar {
    padding-top: 6rem;
}
.content-container-main {
    max-width: 1000px;
    margin: 0;
    padding: 0;
}
.content-container-sidebar {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    max-width: 250px;
    margin-left: 3rem;
    padding: 0;
}
.content-container-centered {
    max-width: 1450px;
    margin: 0;
    padding: 0;
}
/* =================================
   Sidebar Section
   ================================= */
.sidebar-primary-logo {
    width: 100%;
    height: auto;
    object-fit: contain;
}
.sidebar-headshot {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin: 1rem 0;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}
/* ============================================
   Gallery Slideshow Styles
   ============================================ */
.sidebar-photo-gallery {
    margin-top: 2rem;
    width: 100%;
}
.gallery-slideshow {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    min-height: 300px;
    background: #f5f5f5;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.gallery-slide {
    width: 100%;
    height: 100%;
    animation: fadeIn 0.5s ease-in;
}
.gallery-slide-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 400px;
}
.gallery-slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.75rem 1rem;
    font-size: 0.7rem;
    text-align: center;
}
.gallery-loading,
.gallery-empty,
.gallery-error {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    color: #666;
    font-size: 1rem;
}
.gallery-error {
    color: #BA252B;
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .gallery-slideshow {
        min-height: 200px;
    }
    .gallery-slide-image {
        max-height: 300px;
    }
}
/* =================================
   Hero Section
   ================================= */
.hero {
    background-position-y: 35%;
    background-repeat: no-repeat;
    background-size: cover;
    height: 350px;
    width: 100%;
    margin-top: 73px;
    /* Height of fixed navbar */
}
.hero-text-section {
    background: white;
    padding: 2rem 0;
    text-align: center;
}
.hero-content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}
.hero-headshot-container {
    flex-shrink: 0;
}
.hero-headshot {
    width: 280px;
    height: 280px;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 5px solid #BA252B;
}
.hero-container {
    max-width: 800px;
    flex: 1;
}
.hero-text-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--primary-color);
}
.hero-text-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-color);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
/* =================================
   Page Header
   ================================= */
.page-header {
    text-align: center;
    color: white;
    margin-bottom: 3rem;
}
.page-header h1 {
    font-size: 3rem;
    margin: 0 0 1rem 0;
}
/* =================================
   Cards & Panels
   ================================= */
.card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}
.card h3 {
    margin: 0 0 1rem 0;
    color: var(--text-medium);
    font-size: 1.2rem;
    font-weight: 500;
}
.card p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}
.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}
.feature-icon {
    width: 4rem;
    height: auto;
    background: transparent;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    font-size: 1.5rem;
    color: white;
}
.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}
.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}
.stat-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
}
.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 0;
}
.stat-label {
    color: var(--text-light);
    margin: 0.5rem 0 0 0;
    font-size: 0.9rem;
}
.form-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
}
.post-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}
.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}
.post-content {
    background: white;
    border-radius: 10px;
    padding: 3rem;
    box-shadow: var(--shadow-md);
}
/* =================================
   Grids
   ================================= */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}
/* =================================
   Posts & Content
   ================================= */
.post-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #376996 0%, #244868 100%);
}
.post-content .post-image {
    padding: 1.5rem;
}
.post-category,
.category-badge {
    display: inline-block;
    background: #e7f3ff;
    color: #0066cc;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}
.post-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 0.75rem 0;
    color: var(--text-medium);
}
.post-content .post-title {
    font-size: 2.5rem;
}
.post-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0 0 1rem 0;
}
.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-lighter);
    font-size: 0.9rem;
}
.post-content .post-meta {
    gap: 1rem;
    color: var(--text-light);
}
.post-header {
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 1rem;
}
.read-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}
.no-posts {
    text-align: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    padding: 3rem;
}
.featured-image {
    width: 100%;
    border-radius: 10px;
    margin: 2rem 0;
}
.image-caption {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    margin-top: -1rem;
    margin-bottom: 2rem;
}
.video-container {
    position: relative;
    width: 100%;
    margin: 2rem 0;
    border-radius: 10px;
    overflow: hidden;
}
video {
    width: 100%;
    display: block;
}
.paragraph-section {
    margin: 2rem 0;
}
.form-card .paragraph-section {
    border: 2px solid var(--border-color);
    border-radius: 5px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: var(--bg-light);
}
.paragraph-header {
    font-size: 1.5rem;
    color: var(--text-medium);
    margin: 0 0 1rem 0;
    font-weight: 600;
}
.form-card .paragraph-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.paragraph-body {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}
.paragraph-image {
    width: 100%;
    max-width: 600px;
    border-radius: 10px;
    margin: 1rem 0;
}
.paragraph-image-caption {
    color: var(--text-light);
    font-style: italic;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
/* =================================
   Category Filter
   ================================= */
.category-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}
.category-btn {
    background: rgba(255, 255, 255, 0.916);
    color: var(--primary-color);
    border: 1px solid rgb(255, 255, 255);
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    transition: all 0.3s ease;
}
.category-btn:hover,
.category-btn.active {
    background: var(--primary-gradient);
    color: white;
    border: 1px solid var(--primary-color);
}
/* =================================
   Forms
   ================================= */
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label,
label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-medium);
}
.form-group input,
.form-group textarea,
.form-group select,
input[type="text"],
input[type="password"],
input[type="file"],
textarea,
select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
}
textarea {
    min-height: 120px;
    resize: vertical;
}
/* =================================
   Login
   ================================= */
.login-container {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}
.login-header {
    text-align: center;
    margin-bottom: 2rem;
}
.login-header h1 {
    color: var(--text-medium);
    margin: 0;
    font-size: 2rem;
    font-weight: 300;
}
.login-header p {
    color: var(--text-light);
    margin: 0.5rem 0 0 0;
    font-size: 0.9rem;
}
body.bg-light .login-container {
    display: flex;
    flex-direction: column;
}
/* =================================
   Tables
   ================================= */
.posts-table {
    width: 100%;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}
table {
    width: 100%;
    border-collapse: collapse;
}
th {
    background: var(--bg-light);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-medium);
    border-bottom: 2px solid #dee2e6;
}
td {
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
    color: var(--text-light);
}
tr:last-child td {
    border-bottom: none;
}
tr:hover {
    background: var(--bg-light);
}
.action-buttons {
    display: flex;
    gap: 0.5rem;
}
/* =================================
   Alerts
   ================================= */
.alert {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 5px;
    font-size: 0.9rem;
}
.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}
/* =================================
   Call to Action
   ================================= */
.cta-section {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 1rem;
}
.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding: 0 1rem;
    color: var(--text-dark);
}
.cta-section p {
    font-size: 1.125rem;
    f color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}
/* =================================
   Main Content Sections
   ================================= */
.main-content {
    display: flex;
    justify-content: center;
    align-items: start;
    background: white;
    padding: 2rem 0;
}
/* =================================
   Contact Section
   ================================= */
.contact-section {
    background: linear-gradient(135deg, #376996 0%, #2c5477 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}
.contact-container h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}
.contact-container>p {
    font-size: 1.125rem;
    margin-bottom: 3rem;
    opacity: 0.95;
}
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.contact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}
.contact-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.contact-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #f7c548;
}
.contact-card p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    opacity: 0.9;
}
.contact-phone-link {
    display: inline-block;
    background: #BA252B;
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-size: 1.5rem;
    margin: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(186, 37, 43, 0.3);
    cursor: pointer;
}
.contact-phone-link:hover {
    background: #9a1f24;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(186, 37, 43, 0.4);
}
.contact-phone-link:active {
    transform: scale(0.98);
}
.contact-hours {
    font-size: 0.95rem;
    opacity: 0.85;
    margin-top: 1rem;
}
.contact-note {
    font-size: 0.9rem;
    opacity: 0.8;
    font-style: italic;
}
/* Mobile optimizations for contact section */
@media (max-width: 768px) {
    .contact-section {
        padding: 3rem 1rem;
    }
    .contact-container h2 {
        font-size: 2rem;
    }
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .contact-card {
        padding: 1.5rem;
    }
    .contact-phone-link {
        display: block;
        width: 100%;
        padding: 1.25rem;
        font-size: 1.75rem;
        font-weight: 600;
        /* Make it obvious it's tappable on mobile */
        box-shadow: 0 6px 20px rgba(186, 37, 43, 0.4);
        animation: subtle-pulse 2s ease-in-out infinite;
    }
    .contact-phone-link strong {
        font-size: 1.75rem;
    }
}
/* Subtle pulse animation to draw attention on mobile */
@keyframes subtle-pulse {
    0%,
    100% {
        box-shadow: 0 6px 20px rgba(186, 37, 43, 0.4);
    }
    50% {
        box-shadow: 0 8px 25px rgba(186, 37, 43, 0.6);
    }
}
/* =================================
   Footer
   ================================= */
.footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #376996 0%, #2c5477 100%);
    color: white;
    padding: 2rem 0;
    text-align: center;
}
.footer p {
    color: white;
}
.footer a {
    color: #f7c548;
    text-decoration: none;
    font-size: 0.9rem;
}
.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}
.footer-links a {
    transition: opacity 0.2s ease;
}
.footer-links a:hover {
    opacity: 0.8;
}
.footer-content {
    width: 100%;
    max-width: 1450px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-bottom: 2rem;
}
/* =================================
   Responsive / Mobile Styles
   ================================= */
@media (max-width: 1440px) {
    .youtube-logo {
        height: 25px;
    }
    .nav-links a {
        font-size: 0.9rem;
    }
    .main-content {
        padding: 2rem;
    }
}
@media (max-width: 1200px) {
    .hamburger {
        display: flex;
    }
    .logo {
        font-size: 1.2rem;
    }
    .logo-img {
        height: 40px;
    }
    .nav-icon {
        display: inline;
    }
    .youtube-link-desktop {
        display: none;
    }
    .youtube-link-mobile {
        display: block;
    }
    .nav-links {
        position: fixed;
        left: -100%;
        top: 73px;
        flex-direction: column;
        background: rgb(255, 255, 255);
        width: 100vw;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0 4rem 0;
        gap: 1.5rem;
        z-index: 999;
        margin: 0;
        display: flex;
        visibility: hidden;
        opacity: 0;
    }
    .nav-links.active {
        left: 0;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.208);
        visibility: visible;
        opacity: 1;
    }
    .nav-links li {
        margin: 0;
        display: block;
        width: 100%;
    }
    .nav-links li a {
        padding-left: 1rem;
        display: block;
        width: 100%;
    }
    .nav-links li a::after {
        content: '';
        display: block;
        width: 100%;
        height: 3px;
        background: var(--secondary-color);
        margin-top: 1rem;
        border-radius: 0.5rem;
    }
    .nav-links li .rounded-none::after {
        display: none;
    }
    .nav-links .btn-primary {
        display: block;
        width: 100%;
        padding: 1rem;
    }
    .homepage-main-content {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .homepage-main-content .main-content {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .homepage-main-content .main-content {
        width: 100%;
    }
    .homepage-main-content .main-content .content-container-main {
        width: 90vw;
    }
    .homepage-main-content .main-content .content-container-sidebar {
        width: 25vw;
        max-width: 25vw;
        margin: 0;
    }
    .admin-nav {
        position: fixed;
        left: -100%;
        top: 73px;
        flex-direction: column;
        background: var(--primary-gradient);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1.5rem;
        z-index: 999;
        display: flex;
    }
    .admin-nav.active {
        left: 0;
    }
    .admin-nav a,
    .admin-nav form,
    .admin-nav .logout-btn {
        display: block;
        width: 100%;
    }
    .admin-nav .logout-btn {
        margin: 0;
    }
}
@media (max-width: 900px) {
    .homepage-main-content .main-content .content-container-sidebar {
        width: 40vw;
        max-width: 40vw;
    }
}
@media (max-width: 768px) {
    .hero {
        height: 300px;
        background-position-y: 15%;
    }
    .hero-text-section {
        padding: 2rem 0;
    }
    .hero-content-wrapper {
        flex-direction: column;
        gap: 2rem;
        padding: 0 1.5rem;
    }
    .hero-headshot {
        width: 220px;
        height: 220px;
    }
    .hero-text-section h1 {
        font-size: 2.5rem;
    }
    .hero-text-section p {
        font-size: 1.125rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .homepage-main-content .main-content .content-container-sidebar {
        width: 40vw;
        max-width: 40vw;
    }
    .features {
        grid-template-columns: 1fr;
    }
    .cta-section h2 {
        font-size: 2rem;
    }
    .page-header h1 {
        font-size: 2rem;
    }
    .posts-grid {
        grid-template-columns: 1fr;
    }
    .admin-topbar-actions {
        display: flex;
        flex-direction: column;
        justify-content: end;
    }
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0 1.5rem;
        gap: 2rem;
    }
    .footer-links {
        align-items: center;
        gap: 0.75rem;
        flex-direction: column;
    }
    .footer-links a {
        padding-bottom: 0.5rem;
    }
    .footer p {
        margin-bottom: 0.5rem;
    }
    .homepage-main-content .main-content .content-container-sidebar {
        width: 60vw;
        max-width: 60vw;
    }
}
@media (max-width: 480px) {
    .hero {
        height: 250px;
        background-position: top;
    }
    .hero-content-wrapper {
        padding: 0 1rem;
        gap: 1.5rem;
    }
    .hero-headshot {
        width: 180px;
        height: 180px;
        border: 4px solid #BA252B;
    }
    .hero-text-section h1 {
        font-size: 2rem;
    }
    .hero-text-section p {
        font-size: 1rem;
    }
    .footer-content {
        padding: 0 1rem;
        gap: 1.5rem;
    }
    .footer a {
        font-size: 0.85rem;
    }
    .footer p {
        font-size: 0.9rem;
    }
}
/* =================================
   Utilities
   ================================= */
.text-center {
    text-align: center;
}
.mb-1 {
    margin-bottom: 0.5rem;
}
.mb-2 {
    margin-bottom: 1rem;
}
.mb-3 {
    margin-bottom: 1.5rem;
}
.mb-4 {
    margin-bottom: 2rem;
}
.mt-2 {
    margin-top: 1rem;
}
.mt-4 {
    margin-top: 2rem;
}
.p-0 {
    padding: 0;
}
.m-0 {
    margin: 0;
}
.d-block {
    display: block;
}
.d-inline {
    display: inline;
}
.d-flex {
    display: flex;
}
.gap-1 {
    gap: 0.5rem;
}
.gap-2 {
    gap: 1rem;
}
/* ============================================
   Toast Notification Styles
   ============================================ */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
}
.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-left: 4px solid #ccc;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
    min-width: 300px;
}
.toast.toast-show {
    transform: translateX(0);
    opacity: 1;
}
.toast-icon {
    font-size: 20px;
    font-weight: bold;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}
.toast-message {
    flex: 1;
    font-size: 14px;
    color: #333;
    line-height: 1.4;
}
.toast-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    flex-shrink: 0;
}
.toast-close:hover {
    color: #333;
}
/* Toast Types */
.toast-success {
    border-left-color: #28a745;
}
.toast-success .toast-icon {
    color: #28a745;
    background: rgba(40, 167, 69, 0.1);
}
.toast-error {
    border-left-color: #dc3545;
}
.toast-error .toast-icon {
    color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
}
.toast-warning {
    border-left-color: #ffc107;
}
.toast-warning .toast-icon {
    color: #ffc107;
    background: rgba(255, 193, 7, 0.1);
}
.toast-info {
    border-left-color: #17a2b8;
}
.toast-info .toast-icon {
    color: #17a2b8;
    background: rgba(23, 162, 184, 0.1);
}
/* Admin Sidebar Layout */
.admin-layout {
    display: flex;
    min-height: 100vh;
}
.admin-sidebar {
    width: 280px;
    background: white;
    border-right: 1px solid #e1e5e9;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
}
.admin-sidebar-header {
    padding: 1.5rem;
    border-bottom: 2px solid #BA252B;
    background: linear-gradient(135deg, #BA252B 0%, #C22229 100%);
}
.admin-sidebar-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.admin-sidebar-logo img {
    height: 40px;
    width: auto;
    border-radius: 0.25rem;
}
.admin-sidebar-nav {
    padding: 1rem 0;
}
.admin-sidebar-section {
    margin-bottom: 1.5rem;
}
.admin-sidebar-section-title {
    padding: 0.5rem 1.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #999;
    margin-bottom: 0.25rem;
}
.admin-sidebar-divider {
    height: 1px;
    background: #e1e5e9;
    margin: 1rem 1.5rem;
}
.admin-sidebar-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    color: #4b5563;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}
.admin-sidebar-link:hover {
    background: #f8f9fa;
    color: #BA252B;
    border-left-color: #BA252B;
}
.admin-sidebar-link.active {
    background: #fff5f5;
    color: #BA252B;
    border-left-color: #BA252B;
    font-weight: 600;
}
.admin-sidebar-icon {
    margin-right: 0.75rem;
    font-size: 1.1rem;
}
.admin-main-content {
    margin-left: 280px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.admin-topbar {
    background: white;
    border-bottom: 1px solid #e1e5e9;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}
.admin-topbar-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}
.admin-topbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.admin-topbar-link {
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}
.admin-topbar-link:hover {
    color: #BA252B;
}
.admin-content-wrapper {
    flex: 1;
    padding: 2rem;
    background: #f8f9fa;
}
.admin-content-wrapper .btn-primary {
    margin-bottom: 1rem;
}
/* Mobile sidebar toggle */
.admin-sidebar-toggle {
    display: none;
    background: #BA252B;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}
@media (max-width: 1024px) {
    .admin-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    .admin-sidebar.active {
        transform: translateX(0);
    }
    .admin-main-content {
        margin-left: 0;
    }
    .admin-sidebar-toggle {
        display: block;
    }
    .admin-sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }
    .admin-sidebar-overlay.active {
        display: block;
    }
}
/* =================================
   News Section
   ================================= */
.news-section {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
}
.news-section h2 {
    text-align: center;
    color: #333;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 600;
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.news-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.news-card-image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
}
.news-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.news-card:hover .news-card-image {
    transform: scale(1.05);
}
.news-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.news-card-title {
    color: #1f2937;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}
.news-card-excerpt {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}
.news-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}
.news-card-date {
    color: #999;
    font-size: 0.875rem;
}
.news-card-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}
.news-card-link:hover {
    color: var(--secondary-color);
    transform: translateX(3px);
}
.news-section-footer {
    text-align: center;
    padding-top: 1rem;
}
/* Testimonials Section */
.testimonials-section {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
}
.testimonials-section h2 {
    text-align: center;
    color: #333;
    margin-bottom: 2rem;
    font-size: 2rem;
}
.testimonials-container {
    max-width: 800px;
    margin: 0 auto;
    min-height: 200px;
    position: relative;
}
.testimonial-card {
    background: white;
    border-left: 4px solid #BA252B;
    padding: 2rem;
    border-radius: 8px;
    opacity: 0;
    animation: fadeIn 0.5s ease-in forwards;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #333;
    font-style: italic;
    margin-bottom: 1.5rem;
    quotes: "" " " "" "'" "'";
}
.testimonial-text::before {
    content: open-quote;
    font-size: 2rem;
    color: #BA252B;
    margin-right: 0.25rem;
}
.testimonial-text::after {
    content: close-quote;
    font-size: 2rem;
    color: #BA252B;
    margin-left: 0.25rem;
}
.testimonial-author {
    font-weight: 600;
    color: #BA252B;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}
.testimonial-date {
    color: #666;
    font-size: 0.875rem;
}
.testimonial-loading,
.testimonial-empty,
.testimonial-error {
    text-align: center;
    padding: 3rem 1rem;
    color: #666;
    font-size: 1rem;
}
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}
.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.testimonial-dot.active {
    background-color: #BA252B;
}
/* Responsive */
@media (max-width: 768px) {
    .toast-container {
        left: 10px;
        right: 10px;
        top: 10px;
        max-width: none;
    }
    .toast {
        min-width: auto;
    }
    /* News Section Mobile */
    .news-section {
        padding: 1.5rem;
    }
    .news-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .news-card-content {
        padding: 1.25rem;
    }
    .news-card-title {
        font-size: 1.1rem;
    }
    .news-card-excerpt {
        font-size: 0.9rem;
    }
    .news-card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    /* Testimonials Mobile */
    .testimonials-section {
        padding: 1.5rem;
    }
    .testimonial-card {
        padding: 1.5rem;
    }
    .testimonial-text {
        font-size: 1rem;
    }
}