/* Updated: 2026-07-30 16:10:00 - Hide page titles globally */
/* Common Styles - Shared across all pages */

/* HIDE page titles completely on ALL pages */
h1.sr-only,
.sr-only,
.entry-title,
.page-title,
.entry-header h1,
article > header h1,
main h1.sr-only {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Hide header containers but not the title itself */
.entry-header,
article > header {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #1e1e1e;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    background-color: white;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Skip to Content Link - Accessibility */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 0;
    background: #005EB8;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-weight: 600;
    z-index: 10000;
    border-radius: 0 0 4px 0;
}

.skip-to-content:focus {
    top: 0;
}

/* Header part Styles */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1000;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    border-bottom: 1px solid #e9ecef;
    position: relative;
}

.logo-section {
    display: flex;
    align-items: center;
}

.bmj-logo {
    height: 65px;
    width: auto;
}

.sponsor-logos {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.sponsor-logo {
    height: 40px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.sponsor-logo:hover {
    opacity: 1;
}

/* Navigation related Styles */
.main-nav {
    background-color: #005EB8;
    padding: 0 3rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 1rem 1.5rem;
    font-weight: 500;
    transition: background-color 0.3s;
    border-bottom: 3px solid transparent;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: rgba(255,255,255,0.1);
    border-bottom-color: #ffffff;
}

/* Mobile Navigation Toggle */
.mobile-menu-toggle {
    display: none;
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    cursor: pointer;
    z-index: 1000;
    background: none;
    border: none;
    padding: 7px;
}

.mobile-menu-checkbox {
    display: none;
}

.hamburger-icon {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #005EB8;
    position: relative;
    transition: background-color 0.3s;
    margin: 0 auto;
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background-color: #005EB8;
    left: 0;
    transition: transform 0.3s;
}

.hamburger-icon::before {
    top: -8px;
}

.hamburger-icon::after {
    top: 8px;
}

.mobile-menu-checkbox:checked + .container .mobile-menu-toggle .hamburger-icon {
    background-color: transparent;
}

.mobile-menu-checkbox:checked + .container .mobile-menu-toggle .hamburger-icon::before {
    transform: rotate(45deg) translate(6px, 6px);
    background-color: #dc3545;
}

.mobile-menu-checkbox:checked + .container .mobile-menu-toggle .hamburger-icon::after {
    transform: rotate(-45deg) translate(6px, -6px);
    background-color: #dc3545;
}

/* Banner Section */
.banner-section {
    position: relative;
    width: 100%;
/*    height: 400px; Removed height */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
}

.banner-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.banner-slide.active {
    display: block;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.slider-dot.active {
    background-color: #ffffff;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 10;
    transition: background-color 0.3s;
}

.slider-arrow:hover {
    background-color: rgba(0,0,0,0.7);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

/* CTA - Section */
.cta-section {
    padding: 3rem;
    background-color: #e8f4f8;
    text-align: center;
}

.cta-section h2 {
    color: #005EB8;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #495057;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background-color: #005EB8;
    color: white;
    padding: 1rem 3rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 3rem !important;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    background-color: #004F9F;
    box-shadow: 0 4px 12px rgba(0, 94, 184, 0.3);
}

/* Two Column Section donot delete */
.two-column-section {
    padding: 4rem 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.column-content h2 {
    color: #005EB8;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.column-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #495057;
}

.column-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* One Column Section */
.one-column-section {
    padding: 4rem 3rem;
}

.one-column-section h2 {
    color: #005EB8;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.one-column-section .section-content {
    max-width: 1000px;
    margin: 0 auto;
}

.one-column-section p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #495057;
    text-align: justify;
}

/* Image Slider Section */
.image-slider-section {
    padding: 4rem 3rem;
    background-color: #f8f9fa;
}

.image-slider-section h2 {
    color: #005EB8;
    font-size: 1.75rem;
    margin-bottom: 2rem;
    font-weight: 600;
    text-align: center;
}

.slider-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease;
}

.slider-item {
    display: none;
    min-width: 100%;
    padding: 0 1rem;
    position: relative;
}

.slider-item.active {
    display: block;
}

.slider-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.slider-caption {
    position: absolute;
    bottom: 1rem;
    left: 2rem;
    right: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4));
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.4;
}

/* Footer related styles */
footer {
    background-color: #1e1e1e;
    color: #ffffff;
    padding: 3rem 3rem 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #005EB8;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #005EB8;
}

.footer-bottom {
    border-top: 1px solid #495057;
    padding-top: 1.5rem;
    text-align: center;
    color: #6c757d;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* Responsive Design */
@media (max-width: 1024px) {
    .header-top {
        padding: 1.5rem 2rem;
    }

    .main-nav {
        padding: 0 2rem;
    }

    .two-column-section {
        padding: 3rem 2rem;
        gap: 2rem;
    }

    .one-column-section {
        padding: 3rem 2rem;
    }

    .image-slider-section {
        padding: 3rem 2rem;
    }

    footer {
        padding: 2rem 2rem 1rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0;
    }

    .header-top {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        position: relative;
    }

    .sponsor-logos {
        gap: 1rem;
    }

    .sponsor-logo {
        height: 32px;
    }

    .bmj-logo {
        height: 50px;
    }

    .main-nav {
        padding: 0;
        position: relative;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        display: flex;
        flex-direction: column;
        width: 100%;
        background-color: #005EB8;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 999;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
    }

    .mobile-menu-checkbox:checked + .container header .nav-menu {
        max-height: 500px;
    }

    /* Fallback for JavaScript-toggled menu */
    .nav-menu.menu-active {
        max-height: 500px;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-menu a {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        border-bottom: none !important;
        width: 100%;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .banner-section {
        height: 150px;
        overflow: hidden;
        margin-bottom: 0;
    }

    .banner-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 30% center;
    }

    .cta-section {
        padding: 1.5rem 1.5rem;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }

    .two-column-section {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
        gap: 2rem;
    }

    .one-column-section {
        padding: 2rem 1.5rem;
    }

    .image-slider-section {
        padding: 2rem 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .slider-arrow {
        padding: 0.5rem 0.8rem;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .header-top {
        padding: 0.75rem;
    }

    .bmj-logo {
        height: 45px;
    }

    .sponsor-logo {
        height: 28px;
    }

    .banner-section {
        height: 120px;
    }

    .banner-image {
        object-fit: cover;
        object-position: 25% center;
    }

    .two-column-section,
    .one-column-section,
    .image-slider-section {
        padding: 1.5rem 1rem;
    }

    .section-heading {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }

    .section-text {
        font-size: clamp(0.95rem, 2.5vw, 1rem);
    }

    .cta-section {
        padding: 1rem 1rem;
    }

    .footer-content {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0;
    }

    .header-top {
        padding: 0.5rem;
        gap: 0.5rem;
    }

    .sponsor-logos {
        gap: 0.5rem;
    }

    .nav-menu a {
        font-size: 0.95rem;
        padding: 0.875rem 1rem;
    }

    .banner-section {
        height: 100px;
    }

    .banner-image {
        object-fit: cover;
        object-position: 20% center;
    }

    .two-column-section,
    .one-column-section {
        padding: 1rem 0.75rem;
    }

    .image-slider-section {
        padding: 1rem 0.75rem;
    }

    .cta-section {
        padding: 0.75rem 0.75rem;
    }

    .cta-section h2 {
        font-size: clamp(1.25rem, 5vw, 1.75rem);
    }

    .footer-content {
        gap: 1.5rem;
    }

    footer {
        padding: 1.5rem 0.75rem 1rem;
    }
}
