/*
Theme Name: NBC Church Headquarters
Theme URI: https://nigerianbaptist.org
Author: NBC ICT Team
Author URI: https://nigerianbaptist.org
Description: A professional WordPress theme for Nigerian Baptist Convention Headquarters
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nbc-church
*/

/* ============================================
   CSS VARIABLES & RESET
   ============================================ */
:root {
    --primary-color: #1e3c72;
    --secondary-color: #2a5298;
    --accent-color: #d4af37;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --transition: all 0.3s ease;
    --shadow: 0 5px 20px rgba(0,0,0,0.1);
    --shadow-hover: 0 10px 30px rgba(0,0,0,0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.site-header.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-top {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.header-top a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.header-top a:hover {
    color: var(--accent-color);
}

.main-navigation {
    padding: 1rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 60px;
    width: auto;
}

.brand-text h1 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.2;
}

.brand-text span {
    font-size: 0.75rem;
    color: var(--text-light);
    display: block;
}

.navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.75rem 1rem;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--accent-color);
    transform: scaleX(0);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow);
    border-radius: 8px;
    padding: 0.5rem;
}

.dropdown-item {
    padding: 0.75rem 1rem;
    border-radius: 4px;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: var(--light-bg);
    color: var(--primary-color);
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(30,60,114,0.9) 0%, rgba(30,60,114,0.4) 100%);
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    color: var(--white);
    padding-top: 100px;
}

.hero-subtitle {
    color: var(--accent-color);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-transform: capitalize;
}

.hero-text {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    opacity: 0.9;
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--accent-color) 0%, #b8941f 100%);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    transition: var(--transition);
    display: inline-block;
    text-decoration: none;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212,175,55,0.3);
    color: var(--white);
}

.btn-outline-custom {
    border: 2px solid var(--white);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    display: inline-block;
    text-decoration: none;
    margin-left: 1rem;
}

.btn-outline-custom:hover {
    background: var(--white);
    color: var(--primary-color);
}

.slider-controls {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 1rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--accent-color);
    width: 30px;
    border-radius: 6px;
}

.slider-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 10;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.slider-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    pointer-events: auto;
}

.slider-arrow:hover {
    background: var(--accent-color);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    padding: 6rem 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-title span {
    color: var(--accent-color);
}

.section-desc {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: auto;
}

.about-experience {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--accent-color);
    color: var(--white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
}

.about-experience h3 {
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
}

.about-experience p {
    margin: 0;
    font-size: 0.875rem;
}

.about-content h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-list {
    list-style: none;
    margin: 2rem 0;
}

.about-list li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.about-list i {
    color: var(--accent-color);
    font-size: 1.25rem;
}

/* ============================================
   MINISTRIES SECTION
   ============================================ */
.ministries-section {
    padding: 6rem 0;
    background: var(--light-bg);
}

.ministry-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.ministry-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.ministry-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

.ministry-content {
    padding: 0 2rem 2rem;
    text-align: center;
}

.ministry-content h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.ministry-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.ministry-link {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.ministry-link:hover {
    gap: 1rem;
}

/* ============================================
   EVENTS SECTION
   ============================================ */
.events-section {
    padding: 6rem 0;
    background: var(--white);
}

.event-card {
    display: flex;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    margin-bottom: 2rem;
}

.event-card:hover {
    box-shadow: var(--shadow-hover);
}

.event-date {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

.event-date .day {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.event-date .month {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-content {
    padding: 2rem;
    flex: 1;
}

.event-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

.event-meta i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

.event-content h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.event-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* ============================================
   BLOG SECTION
   ============================================ */
.blog-section {
    padding: 6rem 0;
    background: var(--light-bg);
}

.blog-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.blog-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

.blog-content h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more:hover {
    color: var(--accent-color);
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */
.newsletter-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.newsletter-content {
    color: var(--white);
    position: relative;
    z-index: 1;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter-form .input-group {
    background: var(--white);
    padding: 0.5rem;
    border-radius: 50px;
    display: flex;
}

.newsletter-form input {
    border: none;
    padding: 1rem 1.5rem;
    flex: 1;
    background: transparent;
    outline: none;
}

.newsletter-form button {
    background: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: #b8941f;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: #1a1a2e;
    color: var(--white);
    padding: 5rem 0 0;
}

.footer-widget h4 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent-color);
}

.footer-widget p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 0.5rem;
}

.footer-contact li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.7);
}

.footer-contact i {
    color: var(--accent-color);
    font-size: 1.25rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 2rem 0;
    margin-top: 4rem;
    text-align: center;
    color: rgba(255,255,255,0.5);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-experience {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 2rem;
    }
    
    .event-card {
        flex-direction: column;
    }
    
    .event-date {
        flex-direction: row;
        gap: 0.5rem;
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-text {
        font-size: 1rem;
    }
    
    .btn-outline-custom {
        margin-left: 0;
        margin-top: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* ============================================
   NAVIGATION & DROPDOWN STYLES
   ============================================ */

/* Main Navigation */
.main-navigation {
    padding: 1rem 0;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-nav {
    align-items: center;
}

.nav-link {
    color: #2c3e50;
    font-weight: 500;
    padding: 0.75rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #1e3c72;
}

/* Dropdown Toggle */
.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-icon {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.dropdown.show .dropdown-icon,
.dropdown-toggle[aria-expanded="true"] .dropdown-icon {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 12px;
    padding: 0.5rem;
    margin-top: 0.5rem;
    min-width: 220px;
    animation: dropdownFade 0.3s ease;
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    color: #2c3e50;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active {
    background: #f8f9fa;
    color: #1e3c72;
    padding-left: 1.25rem;
}

.dropdown-item::before {
    content: '\F285';
    font-family: 'bootstrap-icons';
    font-size: 0.75rem;
    color: #d4af37;
    opacity: 0;
    transition: all 0.3s ease;
}

.dropdown-item:hover::before {
    opacity: 1;
}

/* Submenu (3rd level) */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -0.5rem;
    margin-left: 0.5rem;
    animation: submenuFade 0.3s ease;
}

@keyframes submenuFade {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile Dropdown */
@media (max-width: 991px) {
    .navbar-collapse {
        background: #ffffff;
        padding: 1rem;
        border-radius: 12px;
        margin-top: 1rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    }
    
    .dropdown-menu {
        box-shadow: none;
        border: 1px solid #e9ecef;
        margin-left: 1rem;
        margin-top: 0.5rem;
    }
    
    .dropdown-submenu .dropdown-menu {
        left: 0;
        margin-left: 1rem;
    }
    
    .nav-link {
        padding: 0.75rem 0 !important;
    }
    
    .dropdown-toggle {
        justify-content: space-between;
    }
}

/* ============================================
   HOVER DROPDOWN MENU - Desktop Only
   ============================================ */

/* Desktop: Show dropdown on hover */
@media (min-width: 992px) {
    
    /* Main dropdown */
    .navbar-nav .dropdown:hover > .dropdown-menu {
        display: block;
        animation: dropdownFadeIn 0.3s ease;
    }
    
    /* Keep dropdown open when hovering the menu itself */
    .navbar-nav .dropdown-menu:hover {
        display: block;
    }
    
    /* Submenu (3rd level) positioning */
    .dropdown-submenu {
        position: relative;
    }
    
    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -0.5rem;
        margin-left: 0.1rem;
        display: none;
    }
    
    /* Show submenu on hover */
    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
        animation: dropdownFadeIn 0.3s ease;
    }
    
    /* Arrow rotation on hover */
    .navbar-nav .dropdown:hover > .dropdown-toggle .dropdown-icon,
    .navbar-nav .dropdown-toggle[aria-expanded="true"] .dropdown-icon {
        transform: rotate(180deg);
    }
    
    /* Prevent click from closing immediately */
    .navbar-nav .dropdown > .dropdown-toggle:active {
        pointer-events: none;
    }
}

/* Dropdown Animation */
@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile: Keep click functionality */
@media (max-width: 991px) {
    
    .navbar-nav .dropdown-menu {
        display: none;
        box-shadow: none;
        border: none;
        padding-left: 1rem;
        background: transparent;
    }
    
    .navbar-nav .dropdown-menu.show {
        display: block;
        animation: none;
    }
    
    /* Mobile submenu */
    .dropdown-submenu > .dropdown-menu {
        left: 0;
        margin-left: 1rem;
    }
}

/* ============================================
   ENHANCED DROPDOWN STYLES
   ============================================ */

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border-radius: 12px;
    padding: 0.75rem;
    margin-top: 0.5rem;
    min-width: 240px;
    background: #ffffff;
}

.dropdown-item {
    padding: 0.875rem 1.25rem;
    border-radius: 8px;
    color: #2c3e50;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: #d4af37;
    transform: scaleY(0);
    transition: transform 0.25s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: #f8f9fa;
    color: #1e3c72;
    padding-left: 1.5rem;
}

.dropdown-item:hover::before {
    transform: scaleY(1);
}

/* Parent menu item hover effect */
.navbar-nav .nav-item.dropdown:hover > .nav-link {
    color: #1e3c72;
}

/* Dropdown with icons */
.dropdown-item i {
    color: #d4af37;
    font-size: 1.1rem;
    transition: transform 0.25s ease;
}

.dropdown-item:hover i {
    transform: translateX(3px);
}

/* Divider */
.dropdown-divider {
    margin: 0.5rem 0;
    border-color: #e9ecef;
}

/* Header badge */
.nav-link .badge {
    margin-left: 0.5rem;
    font-size: 0.65rem;
    padding: 0.25em 0.6em;
    background: #d4af37 !important;
    color: #fff !important;
}

/* ============================================
   TOP BAR SOCIAL ICONS
   ============================================ */

.social-icons-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.social-icons-top a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-icons-top a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #d4af37;
    transform: scale(0);
    border-radius: 50%;
    transition: transform 0.3s ease;
    z-index: -1;
}

.social-icons-top a:hover::before {
    transform: scale(1);
}

.social-icons-top a:hover {
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Individual platform colors on hover */
.social-icons-top a[href*="facebook"]:hover::before {
    background: #1877f2;
}

.social-icons-top a[href*="twitter"]:hover::before,
.social-icons-top a[href*="x.com"]:hover::before {
    background: #000000;
}

.social-icons-top a[href*="instagram"]:hover::before {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icons-top a[href*="youtube"]:hover::before {
    background: #ff0000;
}

.social-icons-top a[href*="tiktok"]:hover::before {
    background: #000000;
}

.social-icons-top a[href*="whatsapp"]:hover::before {
    background: #25d366;
}

/* Header top bar adjustments */
.header-top {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #ffffff;
    padding: 10px 0;
    font-size: 0.875rem;
}

.header-top a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.header-top a:hover {
    color: #ffffff;
}

/* Mobile: Show social in different location */
@media (max-width: 991px) {
    .social-icons-top {
        display: none; /* Hide from top bar on mobile */
    }
    
    /* Optional: Show in mobile menu instead */
    .mobile-social-icons {
        display: flex;
        padding: 15px;
        justify-content: center;
        gap: 15px;
        border-top: 1px solid rgba(255,255,255,0.1);
        margin-top: 15px;
    }
    
    .mobile-social-icons a {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: rgba(30, 60, 114, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #1e3c72;
        font-size: 18px;
        transition: all 0.3s ease;
    }
    
    .mobile-social-icons a:hover {
        background: #1e3c72;
        color: #ffffff;
    }
}

/* ============================================
   TOP BAR - FIXED STYLES
   ============================================ */

.header-top {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #ffffff;
    padding: 12px 0;
    font-size: 0.875rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
}

.top-bar-item i {
    color: #d4af37;
    font-size: 1rem;
}

.top-bar-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-bar-item a:hover {
    color: #d4af37;
}

/* Social Icons */
.social-icons-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.social-icons-top a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-icons-top a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #d4af37;
    transform: scale(0);
    border-radius: 50%;
    transition: transform 0.3s ease;
    z-index: -1;
}

.social-icons-top a:hover::before {
    transform: scale(1);
}

.social-icons-top a:hover {
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Platform specific colors */
.social-icons-top a[href*="facebook"]:hover::before { background: #1877f2; }
.social-icons-top a[href*="twitter"]:hover::before,
.social-icons-top a[href*="x.com"]:hover::before { background: #000000; }
.social-icons-top a[href*="instagram"]:hover::before { background: #e4405f; }
.social-icons-top a[href*="youtube"]:hover::before { background: #ff0000; }
.social-icons-top a[href*="tiktok"]:hover::before { background: #000000; }
.social-icons-top a[href*="wa.me"]:hover::before { background: #25d366; }
.social-icons-top a[href*="linkedin"]:hover::before { background: #0a66c2; }

/* Responsive */
@media (max-width: 991px) {
    .header-top {
        display: none !important;
    }
}

/* News & Announcements Section */
.news-announcements-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.news-announcements-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 48px;
    text-align: center;
    letter-spacing: -0.02em;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* Card Styling */
.news-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 32px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 
                0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e5e7eb;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 
                0 10px 10px -5px rgba(0, 0, 0, 0.02);
    border-color: #d1d5db;
}

.card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.card-icon svg {
    width: 28px;
    height: 28px;
    color: #ffffff;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.card-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #6b7280;
    margin-bottom: 24px;
}

.card-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: #667eea;
    text-decoration: none;
    transition: color 0.2s ease;
}

.card-link:hover {
    color: #764ba2;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .news-card {
        padding: 32px 24px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/*Location Map */

/* Location Map Section - Full Width Grey */
.location-map-section {
    overflow: hidden;
}

/* Full Width Map */
.map-fullwidth {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    line-height: 0;
}

.map-fullwidth iframe {
    width: 100%;
    display: block;
    border: none;
}

/* Info Bar */
.location-info-bar {
    padding: 24px 0;
    border-top: 4px solid #6b7280;
}

.location-info-bar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.info-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.info-item .icon {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    flex-shrink: 0;
}

.info-item .icon svg {
    width: 24px;
    height: 24px;
}

.info-item .text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-item .text strong {
    color: #f9fafb;
    font-size: 1.1rem;
    font-weight: 600;
}

.info-item .text span {
    color: #9ca3af;
    font-size: 0.95rem;
}

/* Directions Button */
.directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.directions-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.directions-btn svg {
    width: 18px;
    height: 18px;
}

/* Responsive */
@media (max-width: 768px) {
    .info-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .directions-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Image Gallery Section */
.image-gallery-section {
    padding: 80px 0;
}

.image-gallery-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.gallery-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
    margin-bottom: 48px;
    letter-spacing: -0.02em;
}

/* Grid Layout */
.gallery-grid {
    display: grid;
    gap: 24px;
}

.gallery-grid {
    grid-template-columns: repeat(3, 1fr);
}

/* Masonry Layout */
.gallery-masonry {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
}

.gallery-masonry .gallery-item:nth-child(1) { grid-row: span 2; }
.gallery-masonry .gallery-item:nth-child(4) { grid-row: span 2; }

/* Gallery Item */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    background: #e5e7eb;
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* Overlay */
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
}

/* Lightbox */
.gallery-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.gallery-lightbox.active {
    display: flex;
}

.gallery-lightbox img {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 48px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: #ffffff;
    font-size: 48px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255,255,255,0.2);
}

.lightbox-caption {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 1.1rem;
    text-align: center;
    padding: 0 24px;
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-grid,
    .gallery-masonry {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-masonry .gallery-item:nth-child(1),
    .gallery-masonry .gallery-item:nth-child(4) {
        grid-row: span 1;
    }
    
    .gallery-title {
        font-size: 2rem;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 48px;
        height: 48px;
        font-size: 32px;
    }
    
    .lightbox-prev { left: 12px; }
    .lightbox-next { right: 12px; }
}