/* Force mobile nav behavior with high specificity */
@media (max-width: 900px) {
  nav .nav-links {
    display: none !important;
  }
  nav .nav-links.open {
    display: flex !important;
  }
  nav .nav-toggle {
    display: block !important;
  }
}
/* --- Mobile Navigation Dropdown --- */
@media (max-width: 900px) {
  .nav-links {
    display: none;
/* Responsive slideshow improvements for mobile */
@media (max-width: 600px) {
  .slideshow-container {
    width: 100vw !important;
    left: 50%;
    transform: translateX(-50%);
    padding: 0;
    margin: 0 auto;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    overflow: hidden;
  }
  .slide img {
    width: 100vw !important;
    height: 45vw;
    max-height: 220px;
    object-fit: cover;
    border-radius: 0;
    display: block;
    margin: 0 auto;
  }
  .prev, .next {
    font-size: 2.2rem !important;
    top: 45%;
    padding: 0.2rem 0.7rem;
    background: rgba(0,0,0,0.18);
    border-radius: 50%;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    z-index: 2;
  }
  .slideshow-dots {
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
  }
  .dot {
    width: 10px;
    height: 10px;
    background: #bbb;
    border-radius: 50%;
    display: inline-block;
    margin: 0 2px;
    transition: background 0.3s;
  }
  .dot.active {
    background: #6a1b9a;
  }
  .hero-overlay {
    position: absolute;
    top: 10vw;
    left: 0;
    width: 100vw;
    padding: 0 1rem;
    text-align: center;
    background: rgba(255,255,255,0.7);
    border-radius: 0 0 18px 18px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  }
  .hero-overlay h1 {
    font-size: 1.3rem;
    color: #6a1b9a;
    margin-bottom: 0.7rem;
  }
  .hero-overlay .btn {
    font-size: 1rem;
    padding: 0.5rem 1.2rem;
    margin-top: 0.5rem;
  }
}
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    background: rgba(40, 10, 80, 0.98);
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    padding: 1.2rem 0 1.2rem 0;
    margin: 0;
    border-radius: 0 0 18px 18px;
    z-index: 1001;
    transition: max-height 0.3s;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links li {
    margin: 0.7rem 0;
    text-align: left;
    padding-left: 2rem;
  }
  .nav-links li a {
    font-size: 1.15rem;
    color: #fff;
    padding: 0.5rem 0;
    display: block;
  }
  .dropdown-content {
    position: static;
    min-width: unset;
    max-height: unset;
    box-shadow: none;
    background: none;
    border-radius: 0;
    margin-left: 1.2rem;
  }
  .dropdown.open .dropdown-content {
    display: block;
  }
  .nav-toggle {
    display: block !important;
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1002;
  }
}

@media (min-width: 901px) {
  .nav-toggle {
    display: none !important;
  }
  .nav-links {
    display: flex !important;
    position: static;
    flex-direction: row;
    background: none;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
  }
}
/* Mobile Navigation Dropdown */
@media (max-width: 900px) {
  nav {
    position: relative;
  }
  .nav-toggle {
    display: block !important;
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1002;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    background: rgba(40, 10, 80, 0.98);
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    padding: 1.2rem 0 1.2rem 0;
    margin: 0;
    border-radius: 0 0 18px 18px;
    z-index: 1001;
    transition: max-height 0.3s;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links li {
    margin: 0.7rem 0;
    text-align: left;
    padding-left: 2rem;
  }
  .nav-links li a {
    font-size: 1.15rem;
    color: #fff;
    padding: 0.5rem 0;
    display: block;
  }
  .dropdown-content {
    position: static;
    min-width: unset;
    max-height: unset;
    box-shadow: none;
    background: none;
    border-radius: 0;
    margin-left: 1.2rem;
  }
  .dropdown.open .dropdown-content {
    display: block;
  }
}
/* Mobile Navigation Dropdown */
@media (max-width: 900px) {
  nav {
    position: relative;
  }
  .nav-toggle {
    display: block !important;
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1002;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    background: rgba(40, 10, 80, 0.98);
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    padding: 1.2rem 0 1.2rem 0;
    margin: 0;
    border-radius: 0 0 18px 18px;
    z-index: 1001;
    transition: max-height 0.3s;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links li {
    margin: 0.7rem 0;
    text-align: left;
    padding-left: 2rem;
  }
  .nav-links li a {
    font-size: 1.15rem;
    color: #fff;
    padding: 0.5rem 0;
    display: block;
  }
  .dropdown-content {
    position: static;
    min-width: unset;
    max-height: unset;
    box-shadow: none;
    background: none;
    border-radius: 0;
    margin-left: 1.2rem;
  }
  .dropdown.open .dropdown-content {
    display: block;
  }
}
body {
  min-height: 100vh;
  background: #fff;
  background-attachment: initial;
  background-size: initial;
@media (max-width: 700px) {
  .service-video-section {
    padding: 1.2rem 0.2rem !important;
    max-width: 100vw !important;
  }
  .service-video-section div[style*="aspect-ratio:16/9"] {
    max-width: 100vw !important;
    min-height: 180px !important;
    height: auto !important;
    border-radius: 10px !important;
    margin-bottom: 1rem !important;
  }
  .service-video-section iframe {
    min-height: 180px !important;
    height: 38vw !important;
    max-height: 220px !important;
    width: 100% !important;
    border-radius: 10px !important;
    background: #222;
    display: block;
  }
  .service-video-section p {
    font-size: 1rem !important;
    padding: 0 0.3rem;
    text-align: left !important;
  }
}
@media (max-width: 700px) {
  .news-item.reverse {
    flex-direction: column !important;
    align-items: center;
    max-width: 98vw;
    min-width: 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    margin: 0 auto 1.5rem auto;
  }
  .news-item.reverse img {
    width: 100% !important;
    max-width: 340px;
    min-width: 0;
    height: auto !important;
    border-radius: 14px 14px 0 0 !important;
    margin: 0 auto 1.2rem auto;
    object-fit: cover;
    display: block;
    background: #fff;
  }
  .news-item.reverse .news-content {
    width: 100% !important;
    min-width: 0;
    padding: 1.2rem 0.7rem 1.5rem 0.7rem !important;
    box-sizing: border-box;
    text-align: left;
  }
}
@media (max-width: 700px) {
  .priest-container {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem 0.5rem;
  }
  .priest-photo {
    width: 90vw;
    max-width: 320px;
    height: auto;
    display: block;
    margin: 0 auto 1.2rem auto;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    background: #fff;
  }
  .priest-info {
    padding: 0 0.5rem;
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
  }
  .priest-info h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #6a1b9a;
    text-align: left;
  }
  .priest-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.7rem;
    color: #222;
    text-align: left;
  }
  .priest-info p {
    font-size: 1.08rem;
    color: #333;
    line-height: 1.7;
    text-align: left;
  }
}
@media (max-width: 900px) {
  nav {
    position: relative;
  }
  .nav-links {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    position: static;
    width: 100%;
    background: none;
    box-shadow: none;
    padding: 0.5rem 0 0.5rem 0;
    border-radius: 0;
    gap: 0.2rem;
  }
  .nav-links li {
    margin: 0.3rem 0;
    text-align: left;
    width: 100%;
  }
  .nav-links a {
    color: #fff;
    font-size: 1.13rem;
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    display: block;
    text-align: left;
  }
  .nav-links a:hover {
    background: #51217a;
  }
  .hamburger {
    display: none !important;
  }
}


@media (max-width: 800px) {
  .nav-links {
    display: flex !important;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
    background: #2d3e50;
    padding: 0.5rem 0;
    position: static;
    width: 100%;
    box-shadow: none;
    border-radius: 0;
    z-index: 1000;
  }
  .nav-links li {
    width: 100%;
    text-align: left;
  }
  .nav-links a,
  .nav-links .dropbtn {
    width: 100%;
    text-align: left;
    padding: 0.7rem 1vw;
    font-size: 1rem;
  }
  .dropdown-content {
    position: static;
    min-width: 100%;
    box-shadow: none;
    border-radius: 0;
    background: #f8f8fa;
  }
  .dropdown-content li a {
    padding: 0.7rem 2vw;
    font-size: 0.98rem;
  }
  .hamburger {
    display: none !important;
  }
}
@media (max-width: 700px) {
  .parish-activity-gallery {
    flex-direction: column !important;
    gap: 1.1rem !important;
    align-items: center !important;
  }
  .parish-activity-gallery a {
    max-width: 98vw !important;
    min-width: 0 !important;
  }
  .parish-activity-gallery img {
    height: 38vw !important;
    max-width: 98vw !important;
    min-width: 0 !important;
    border-radius: 12px !important;
  }
}
/* Parish Priest Section Styles */
.priest-section {
    background: #f8f8fc;
    padding: 2.5rem 0;
}
.priest-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
@media (max-width: 800px) {
    .logo {
        font-size: 1.2rem;
        margin-bottom: 0.3rem;
    }
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
        background: #2d3e50;
        padding: 0.5rem 0;
    }
    .nav-links li {
        width: 100%;
    }
    .nav-links a,
    .nav-links .dropbtn {
        width: 100%;
        text-align: left;
        padding: 0.7rem 1vw;
        font-size: 1rem;
    }
    .dropdown-content {
        display: none;
        position: absolute;
        left: 0;
        top: 100%;
        min-width: 180px;
        box-shadow: 0 2px 12px rgba(0,0,0,0.10);
        border-radius: 8px;
        background: #fff;
        z-index: 1002;
    }
    .dropdown.open .dropdown-content {
        display: block;
    }
    .dropdown-content li a {
        padding: 0.7rem 2vw;
        font-size: 0.98rem;
    }
    .hamburger {
        display: none !important;
    }
}
    }
    .priest-photo {
        width: 90vw;
        height: auto;
        max-width: 340px;
    }
    .priest-info {
        padding: 0;
    }


/* History Page Hero Section */
.history-hero {
    width: 100vw;
    min-height: 60vh;
    height: 60vh;
    background: url('https://images.unsplash.com/photo-1465101178521-c1a9136a3b41?auto=format&fit=crop&w=1200&q=80') center center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}
.history-overlay {
    background: rgba(34, 34, 34, 0.55);
    color: #fff;
    padding: 3rem 2rem;
    border-radius: 18px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}
.history-overlay h1 {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
    color: #f9d342;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.history-overlay p {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
@media (max-width: 700px) {
    .history-hero {
        min-height: 32vh;
        height: 32vh;
    }
    .history-overlay {
        padding: 1.2rem 0.7rem;
    }
    .history-overlay h1 {
        font-size: 1.3rem;
    }
    .history-overlay p {
        font-size: 1rem;
    }
}
/* Footer Social Icons */
/* Footer Flex Container for Social Icons and Copyright */
.footer-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 2vw 1.8rem 2vw;
    background: linear-gradient(135deg, #175da2 0%, #e0c3fc 50%, #f8fafc 100%);
    color: #fff;
    box-sizing: border-box;
}
.footer-social-label {
    order: 0;
    width: 100%;
    text-align: center;
    margin-bottom: 0.5rem;
}
.footer-social {
    order: 1;
    justify-content: center;
    width: 100%;
    display: flex;
    gap: 1.2rem;
    margin-bottom: 0.5rem;
}
.footer-social .social-icon {
    font-size: 1.7rem;
    color: #fff;
    background: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0.2rem 0.3rem;
    transition: color 0.2s;
}
.footer-social .social-icon:hover {
    color: #6a1b9a;
}
.footer-spacer {
    display: none;
}
.footer-copy {
    text-align: center;
    font-size: 1.08rem;
    font-weight: 400;
    width: 100%;
    margin: 0.2rem 0 0.2rem 0;
    line-height: 1.5;
    background: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
}
footer {
    background: #23272b;
    color: #fff;
    text-align: center;
    padding: 2rem 0 1rem 0;
    margin-top: 2rem;
}

.footer-copy {
    margin: 0;
    font-size: 1rem;
    color: #fff;
    text-align: left;
    flex: 0 0 auto;
}

@media (min-width: 600px) {
    .footer-flex {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 1.2rem 5vw 1.8rem 5vw;
    }
    .footer-social {
        justify-content: flex-start;
        margin-bottom: 0;
        width: auto;
    }
    .footer-copy {
        text-align: right;
        margin: 0;
        width: auto;
    }
}
/* Section Divider */
.section-divider {
    border: none;
    border-top: 2px solid #e0e4ea;
    margin: 0 auto 2.5rem auto;
    width: 90%;
    max-width: 1200px;
    opacity: 0.85;
}
/* Announcement Section */
.announcement-section {
    max-width: 1200px;
    margin: 3rem auto 2.5rem auto;
    padding: 0 1rem;
}
.announcement-title {
    font-size: 2.1rem;
    font-weight: 700;
    color: #2d3e50;
    margin-bottom: 2.2rem;
    letter-spacing: -1px;
    text-align: left;
}
.announcement-row {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
}
.announcement-item {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    overflow: hidden;
    max-width: 540px;
    width: 100%;
    min-width: 260px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 1.5rem;
    transition: box-shadow 0.2s, transform 0.2s;
}
.announcement-item img {
width: 100%;
height: 650px;
object-fit: cover;
border-radius: 14px 14px 0 0;
background: #222;
display: block;
max-width: 100%;
}
.announcement-content {
    padding: 2rem 2rem 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.announcement-content h3 {
    font-size: 1.25rem;
    color: #2d3e50;
    margin: 0 0 0.7rem 0;
    font-weight: 700;
}
.announcement-content p {
    font-size: 1.05rem;
    color: #444;
    margin: 0;
    line-height: 1.6;
}
@media (max-width: 900px) {
    .announcement-row {
        flex-direction: column;
        gap: 2rem;
    }
    .announcement-item {
        max-width: 98vw;
    }
    .announcement-item img {
        height: 440px;
        max-width: 100vw;
    }
    .announcement-content {
        padding: 1.2rem 1.2rem 1.2rem 1.2rem;
    }
}
.news-row {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
    width: 100%;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}
.news-item {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.12);
    overflow: hidden;
    max-width: 1200px;
    width: 96vw;
    min-width: 260px;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    transition: box-shadow 0.2s, transform 0.2s;
    margin: 0 auto;
    min-height: 380px;
    position: relative;
}
.news-item.reverse {
    flex-direction: row-reverse;
}
.news-item img {
    width: 50%;
    min-width: 220px;
    height: 100%;
    object-fit: cover;
    border-radius: 12px 0 0 12px;
    flex-shrink: 0;
    filter: grayscale(0.1) contrast(1.08);
    background: #222;
    border: none;
}
.news-item.reverse img {
    border-radius: 0 12px 12px 0;
}
.news-content {
    padding: 3rem 3rem 3rem 3rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
    min-width: 260px;
    background: #fff;
    box-sizing: border-box;
}
.news-item.reverse .news-content {
    text-align: left;
    align-items: flex-start;
}
.news-content .news-subtitle {
    font-size: 0.85rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.news-content h2 {
    font-size: 1.45rem;
    margin: 0 0 1.1rem 0;
    color: #222;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
}
.news-content p {
    font-size: 1.05rem;
    color: #444;
    margin: 0 0 1.2rem 0;
    line-height: 1.7;
}
.news-content .news-link {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    margin-top: 0.5rem;
    letter-spacing: 0.2px;
    transition: color 0.2s;
    display: inline-block;
}
.news-content .news-link:hover {
    color: #143a7b;
    text-decoration: underline;
}
@media (max-width: 900px) {
    .news-row {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
    .news-item, .news-item.reverse {
        max-width: 100vw;
        width: 100vw;
        flex-direction: column;
        align-items: center;
        min-height: unset;
    }
    .news-item img {
        width: 100%;
        height: 180px;
        border-radius: 16px 16px 0 0;
    }
    .news-content, .news-item.reverse .news-content {
        width: 100%;
        min-width: unset;
        text-align: left;
        align-items: flex-start;
        padding: 1.2rem 1.2rem 1.5rem 1.2rem;
    }
}
/*Church Website Styles */
html, body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    /* background: #f9f9f9; */
    color: #222;
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}
header {
    background: #4e3de4;
    color: #222;
    padding: 0.5rem 0;
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}
.logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 2px;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    flex: 1 1 auto;
    justify-content: flex-end;
}

/* Dropdown Styles for Associations */
.dropdown {
    position: relative;
}
.dropbtn {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4em;
    font-weight: 500;
}

/* Dropdown arrow icon */
.dropdown-arrow {
    display: inline-block;
    margin-left: 0.2em;
    font-size: 1em;
    transition: transform 0.2s;
    color: #f6e6a6;
}
.dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
    color: #fff;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #1a2f69;
    min-width: 150px;
    max-height: 260px;
    overflow-y: auto;
    box-shadow: 0 12px 32px rgba(0,0,0,0.18);
    z-index: 1002;
    border-radius: 0 0 12px 12px;
    padding: 0.7rem 0;
    top: 100%;
    left: 0;
    border: 2px solid #f9d342;
    font-size: 1.08rem;
}
.dropdown.open .dropdown-content {
    display: block;
}
.dropdown-content li {
    list-style: none;
}
.dropdown-content a {
    color: #222;
    padding: 0.85rem 1.7rem;
    text-decoration: none;
    display: block;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
    border-radius: 0;
    font-size: 1.08rem;
}
.dropdown-content a:hover {
    background: #ffffff;
    color: #222;
    font-weight: 700;
}
.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover {
    color: #2a0de4;
}
/* Slideshow styles */
.slideshow-container {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    height: 100vh;
    min-height: 400px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    z-index: 1;
}

@media (max-width: 700px) {
  .slideshow-container {
    position: relative;
    width: 100vw !important;
    min-height: 180px !important;
    height: 38vw !important;
    max-height: 260px !important;
    left: 0;
    transform: none;
    border-radius: 0;
  }
  .slide img {
    width: 100vw !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    height: 38vw !important;
    min-height: 180px !important;
    max-height: 260px !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    display: block;
  }
  .prev, .next {
    width: 36px !important;
    height: 36px !important;
    font-size: 1.5rem !important;
    top: 45% !important;
    left: 8px !important;
    right: 8px !important;
    border-radius: 50% !important;
    padding: 0 !important;
  }
  .next {
    right: 8px !important;
    left: auto !important;
  }
  .prev {
    left: 8px !important;
    right: auto !important;
  }
  .slideshow-dots {
    bottom: 12px !important;
    gap: 8px !important;
  }
}
}
.slide {
    display: none;
}
.slide img {
    width: 100vw;
    height: 100vh;
    min-height: 400px;
    object-fit: cover;
    display: block;
}
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    color: #fff;
    font-weight: bold;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, color 0.3s, box-shadow 0.2s;
    border-radius: 50%;
    user-select: none;
    background: rgba(45,62,80,0.5);
    z-index: 10;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.next {
    right: 32px;
}
.prev {
    left: 32px;
}
.prev:hover, .next:hover {
    background: #f9d342;
    color: #222;
    border-color: #f9d342;
}
.slideshow-dots {
    position: absolute;
    left: 50%;
    bottom: 48px;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 18px;
    pointer-events: auto;
}
.dot {
    cursor: pointer;
    height: 22px;
    width: 22px;
    margin: 0;
    background-color: rgba(187,187,187,0.85);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s, transform 0.2s;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.active, .dot:hover {
    background-color: #f9d342;
    transform: scale(1.25);
    border-color: #f9d342;
}
.fade {
    animation-name: fade;
    animation-duration: 1s;
}
@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}
/* Centered overlay for hero text */
.hero {
    background: none;
    padding: 0;
    position: relative;
    min-height: 100vh;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 15;
    pointer-events: none;
}
.hero-overlay h1,
.hero-overlay p,
.hero-overlay .btn {
    pointer-events: auto;
}
.hero-overlay h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    text-align: center;
}
.hero-overlay p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    text-align: center;
}
.hero-overlay .btn {
    background: #2c7ace;
    color: #fff;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1.2rem;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s;
    z-index: 3;
    margin-top: 1.2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.hero-overlay .btn:hover {
    background: #f9d342;
    color: #222;
    box-shadow: 0 4px 16px rgba(249,211,66,0.18);
}
main {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
}
.content {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 2rem;
}
.events-list {
    padding-left: 1.2rem;
}
footer {
    background: #fff;
    color: #222;
    text-align: center;
    padding: 1rem 0;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}
.contact-form input,
.contact-form textarea {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}
.contact-form button {
    background: #2d3e50;
    color: #fff;
    border: none;
    padding: 0.75rem;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}
.contact-form button:hover {
    background: #f9d342;
    color: #222;
}
/* Add to style.css for colourful event page matching the uploaded design */
body {
    font-family: 'Montserrat', Arial, sans-serif;
    /* background: #fff; */
    color: #222;
    margin: 0;
    padding: 0;
}
.events-hero {
    background: linear-gradient(120deg, #2d3e50 0%, #6a1b9a 100%);
    color: #fff;
    padding: 3.5rem 0 2.5rem 0;
    position: relative;
 margin-bottom: 80px;
}
.events-hero-content {
    max-width: 420px;
    margin-left: 5vw;
    display: inline-block;
    vertical-align: top;
}
.events-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 0.7rem;
    line-height: 1.1;
}
.events-desc {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    color: #e0e0e0;
}
.events-timetable {
    display: inline-block;
    background: #fff;
    color: #6a1b9a;
    font-weight: 600;
    padding: 0.5rem 1.2rem;
    border-radius: 22px;
    text-decoration: none;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.events-slider {
    display: inline-flex;
    gap: 1.2rem;
    margin-left: 3vw;
    vertical-align: top;
}
.event-card {
    background: #222;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.12);
    width: 260px;
    min-height: 260px;
    position: relative;
    color: #fff;
}
.event-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}
.event-info {
    padding: 1.1rem 1rem 0.7rem 1rem;
}
.event-info span {
    font-size: 0.95rem;
    color: #bdbdbd;
    display: block;
    margin-bottom: 0.5rem;
}
.event-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}
.buy-tickets {
    display: inline-block;
    margin-top: 0.7rem;
    background: #6a1b9a;
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 18px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
}
.slider-controls {
    position: absolute;
    bottom: 1.2rem;
    left: 5vw;
    color: #fff;
    font-size: 1.1rem;
    opacity: 0.7;
}
.recent-events {
    background: #fff;
    padding: 3rem 0 2.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
 margin-top: 0;
}
.recent-events-content {
    max-width: 320px;
    margin-left: 5vw;
}
.recent-events-content h2 {
    font-size: 2.1rem;
    font-weight: 800;
    color: #6a1b9a;
    margin-bottom: 0.7rem;
}
.recent-events-content p {
    color: #444;
    font-size: 1.05rem;
}
.recent-events-list {
    display: flex;
    gap: 1.2rem;
}
.recent-events-list .event-card {
    width: 220px;
    min-height: 220px;
}
.all-events {
    display: flex;
    padding: 2.5rem 0 3rem 0;
    background: #fff;
    gap: 2.5rem;
}
.all-events-sidebar {
    width: 220px;
    margin-left: 5vw;
}
.all-events-sidebar h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #6a1b9a;
    margin-bottom: 0.7rem;
}
.all-events-sidebar p {
    color: #444;
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
}
.event-search {
    width: 100%;
    padding: 0.5rem 0.8rem;
    border-radius: 18px;
    border: 1px solid #e0e0e0;
    margin-bottom: 1.2rem;
    font-size: 1rem;
}
.event-archive h3 {
    font-size: 1.1rem;
    color: #222;
    margin-bottom: 0.5rem;
}
.event-archive ul {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #888;
    font-size: 0.98rem;
}
.event-archive ul li {
    margin-bottom: 0.3rem;
}
.all-events-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    flex: 1;
}
.all-events-list .event-card {
    width: 100%;
    min-height: 220px;
}
.pagination {
    margin-top: 2.2rem;
    text-align: left;
    margin-left: 5vw;
    font-size: 1.1rem;
    color: #6a1b9a;
}
@media (max-width: 1100px) {
    .events-slider, .recent-events-list, .all-events-list {
        grid-template-columns: 1fr 1fr;
        flex-wrap: wrap;
    }
    .all-events-list {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 800px) {
    .events-hero-content, .recent-events-content, .all-events-sidebar {
        margin-left: 2vw;
    }
    .events-slider, .recent-events-list, .all-events-list {
        gap: 0.7rem;
    }
    .all-events-list {
        grid-template-columns: 1fr;
    }
    .all-events {
        flex-direction: column;
    }
}

/* Remove excessive left margin and center event sections for better fit */
.events-hero,
.recent-events,
.all-events {
    max-width: 100vw;
    width: 100vw;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
}
.events-hero-content,
.recent-events-content,
.all-events-sidebar {
    margin-left: 0;
}
@media (max-width: 800px) {
    .events-hero,
    .recent-events,
    .all-events {
        padding-left: 0;
        padding-right: 0;
    }
}

/* Expand event page sections to fit the whole screen width */
.events-hero,
.recent-events,
.all-events {
    max-width: 100vw;
    width: 100vw;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}
.events-hero-content,
.recent-events-content,
.all-events-sidebar {
    margin-left: 0;
}
.events-slider,
.recent-events-list,
.all-events-list {
    margin-left: 0;
}
@media (max-width: 800px) {
    .events-hero-content,
    .recent-events-content,
    .all-events-sidebar {
        margin-left: 2vw;
    }
}

/* Responsive header nav bar for mobile mode */
header nav {
    width: 100%;
    background: #4e3de4;
    color: #fff;
    padding: 0.7rem 2vw;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}
.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
}
.nav-links li {
    position: relative;
}
.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.08rem;
    padding: 0.5rem 0.7rem;
    border-radius: 6px;
    transition: background 0.2s;
}
.nav-links a:hover,
.nav-links .dropbtn:hover {
    background: #0b88d0;
}
.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    color: #222;
    min-width: 180px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    border-radius: 8px;
    display: none;
    z-index: 10;
}
.dropdown.open .dropdown-content {
    display: block;
}
.dropdown-content li a {
    color: #ffffff;
    padding: 0.7rem 1rem;
    display: block;
    border-radius: 0;
}
.dropdown-content li a:hover {
    background: #32c4f0;
    color: #f3f0f4;
}
.dropdown-arrow {
    margin-left: 0.3rem;
}
@media (max-width: 800px) {
    .logo {
        font-size: 1.2rem;
        margin-bottom: 0.3rem;
    }
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
        background: #3069a5;
        padding: 0.5rem 0;
    }
    .nav-links li {
        width: 100%;
    }
    .nav-links a,
    .nav-links .dropbtn {
        width: 100%;
        text-align: left;
        padding: 0.7rem 1vw;
        font-size: 1rem;
    }
    .dropdown-content {
        position: static;
        min-width: 100%;
        box-shadow: none;
        border-radius: 0;
        background: #f8f8fa;
    }
    .dropdown-content li a {
        padding: 0.7rem 2vw;
        font-size: 0.98rem;
    }
}

/* Remove left margin and align event sections flush to the left edge */
.events-hero,
.recent-events,
.all-events {
    max-width: 100vw;
    width: 100vw;
    margin: 0;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
}
.events-hero-content,
.recent-events-content,
.all-events-sidebar {
    margin-left: 0 !important;
}
@media (max-width: 800px) {
    .events-hero,
    .recent-events,
    .all-events {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* Make event sections use full available width, remove container constraints */
.events-hero,
.recent-events,
.all-events {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}
.events-hero-content,
.recent-events-content,
.all-events-sidebar {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
}
.events-slider,
.recent-events-list,
.all-events-list {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
}
.event-card {
    width: 100%;
    max-width: 100%;
}
@media (max-width: 800px) {
    .events-hero,
    .recent-events,
    .all-events {
        padding: 0 !important;
    }
}

/* Footer Social Label vertical alignment */
.footer-social-label {
    text-align: center;
    font-size: 1.08rem;
    font-weight: 600;
    color: #6a1b9a;
    margin-bottom: 0.5rem;
}
.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 0.5rem;
}
@media (max-width: 700px) {
    .footer-social {
        gap: 0.7rem;
    }
    .footer-social-label {
        font-size: 1rem;
    }
}
