/* Common Styles - Shared across all pages */
* {
    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;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    background-color: white;
    min-height: 100vh;
}

/* Header part Styles */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    border-bottom: 1px solid #e9ecef;
}

.logo-section {
    display: flex;
    align-items: center;
}

.bmj-logo {
    height: 50px;
    width: auto;
}

.sponsor-logos {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.sponsor-logo {
    height: 45px;
    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;
}

/* Banner Section */
.banner-section {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.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;
    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;
    max-width: 1000px;
    margin: 0 auto;
}

.one-column-section h2 {
    color: #005EB8;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.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) {
    .header-top {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .sponsor-logos {
        gap: 1rem;
    }

    .sponsor-logo {
        height: 35px;
    }

    .main-nav {
        padding: 0;
    }

    .nav-menu {
        flex-wrap: wrap;
    }

    .nav-menu a {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .banner-section {
        height: 250px;
    }

    .cta-section {
        padding: 2rem 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;
    }
}
