/* GNI Mega Menu Styles */

/* Main Navigation Container */
.gni-mega-nav {
    position: relative;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.gni-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gni-main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.gni-logo {
    flex-shrink: 0;
}

.gni-logo img {
    height: 50px;
    width: auto;
}

.gni-nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 40px;
}

.gni-nav-item {
    position: relative;
}

.gni-nav-link {
    display: flex;
    align-items: center;
    padding: 15px 0;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
    cursor: pointer;
}

.gni-nav-link:hover {
    color: #e74c3c;
}

.gni-nav-link.has-dropdown::after {
    content: '▼';
    margin-left: 8px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.gni-nav-item:hover .gni-nav-link.has-dropdown::after {
    transform: rotate(180deg);
}

/* Mega Menu Dropdown */
.gni-mega-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
    padding: 30px;
}

.gni-nav-item:hover .gni-mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
}

/* Hero Block Styles */
.gni-mega-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.gni-mega-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}

.gni-mega-hero-content {
    position: relative;
    z-index: 2;
}

.gni-mega-hero h2 {
    font-size: 32px;
    margin: 0 0 15px 0;
    font-weight: 700;
}

.gni-mega-hero p {
    font-size: 18px;
    margin: 0 0 25px 0;
    opacity: 0.9;
}

.gni-mega-hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Column Layout */
.gni-mega-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.gni-mega-column {
    display: flex;
    flex-direction: column;
}

.gni-mega-column h3 {
    color: #e74c3c;
    font-size: 18px;
    margin: 0 0 20px 0;
    font-weight: 600;
    border-bottom: 2px solid #e74c3c;
    padding-bottom: 10px;
}

.gni-mega-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.gni-mega-column li {
    margin-bottom: 12px;
}

.gni-mega-column a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.gni-mega-column a:hover {
    color: #e74c3c;
}

.gni-mega-column a::before {
    content: '▶';
    margin-right: 8px;
    font-size: 10px;
    opacity: 0.7;
}

/* Button Styles */
.gni-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #e74c3c;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.gni-btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

.gni-btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.gni-btn-secondary:hover {
    background: white;
    color: #e74c3c;
}

/* Special Styles for Gatherings Menu */
.gni-gatherings-mega {
    width: 1000px;
}

.gni-gatherings-hero {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gni-gatherings-hero-content {
    text-align: center;
}

.gni-gatherings-hero h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.gni-gatherings-hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

/* Image Preview Styles */
.gni-image-preview {
    width: 100%;
    height: 120px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

.gni-image-preview::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    transition: background 0.3s ease;
}

.gni-image-preview:hover::after {
    background: rgba(0,0,0,0.1);
}

/* ========================================
   MOBILE RESPONSIVE NAVIGATION SYSTEM
   ======================================== */

/* Mobile Toggle Button - Enhanced */
.gni-mobile-toggle {
    display: none !important;
    flex-direction: column;
    justify-content: space-around;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
    position: relative;
    transition: all 0.3s ease;
}

.gni-mobile-toggle:hover {
    transform: scale(1.05);
}

.gni-mobile-toggle span {
    width: 28px;
    height: 3px;
    background: #005EB8;
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

.gni-mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.gni-mobile-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.gni-mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Header Overlay */
.gni-mobile-overlay {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.gni-mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Navigation Panel */
.gni-mobile-nav-panel {
    display: none !important;
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: linear-gradient(135deg, #1C244B 0%, #467FF7 100%);
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

.gni-mobile-nav-panel.active {
    right: 0;
}

/* Mobile Panel Header */
.gni-mobile-panel-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gni-mobile-panel-logo {
    color: white;
    font-size: 18px;
    font-weight: 700;
}

.gni-mobile-panel-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.gni-mobile-panel-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Mobile Navigation Content */
.gni-mobile-nav-content {
    padding: 20px 0;
}

/* Mobile Navigation Items */
.gni-mobile-nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gni-mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.gni-mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 30px;
}

.gni-mobile-nav-link svg {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    fill: currentColor;
}

.gni-mobile-nav-arrow {
    transition: transform 0.3s ease;
    font-size: 14px;
    opacity: 0.7;
}

.gni-mobile-nav-item.active .gni-mobile-nav-arrow {
    transform: rotate(180deg);
}

.gni-mobile-nav-arrow.rotated {
    transform: rotate(180deg);
}

/* Mobile Mega Menu Content */
.gni-mobile-mega-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: rgba(255, 255, 255, 0.05);
}

.gni-mobile-nav-item.active .gni-mobile-mega-content {
    max-height: 2000px;
}

/* Mobile Hero Section */
.gni-mobile-hero {
    padding: 30px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 20px 20px 20px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.gni-mobile-hero h3 {
    color: white;
    font-size: 20px;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.gni-mobile-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin: 0 0 20px 0;
    line-height: 1.4;
}

.gni-mobile-hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gni-mobile-hero-buttons .gni-btn {
    background: rgba(255, 255, 255, 0.9);
    color: #1C244B;
    border: none;
    border-radius: 8px;
    padding: 14px 20px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    text-align: center;
}

.gni-mobile-hero-buttons .gni-btn:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.gni-mobile-hero-buttons .gni-btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.gni-mobile-hero-buttons .gni-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
}

/* Mobile Columns */
.gni-mobile-columns {
    padding: 0 20px;
}

.gni-mobile-column {
    margin-bottom: 25px;
}

.gni-mobile-column h4 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 15px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.gni-mobile-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.gni-mobile-column li {
    margin-bottom: 8px;
}

.gni-mobile-column a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    padding: 8px 12px;
    display: block;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 30px;
}

.gni-mobile-column a::before {
    content: '▶';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    opacity: 0.6;
}

.gni-mobile-column a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding-left: 35px;
}

/* Mobile Image Previews */
.gni-mobile-image-preview {
    width: 100%;
    height: 80px;
    background: linear-gradient(135deg, #467FF7 0%, #1C244B 100%);
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Mobile Footer */
.gni-mobile-nav-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: auto;
}

.gni-mobile-nav-footer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    text-align: center;
    margin: 0;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .gni-mobile-nav-panel {
        max-width: 380px;
    }
}

@media (max-width: 768px) {
    /* Show mobile toggle */
    .gni-mobile-toggle {
        display: flex !important;
    }
    
    /* Show mobile overlay and panel */
    .gni-mobile-overlay {
        display: block !important;
    }
    
    .gni-mobile-nav-panel {
        display: block !important;
    }
    
    /* Hide desktop navigation */
    .gni-nav-menu {
        display: none !important;
    }
    
    /* Hide desktop mega dropdowns */
    .gni-mega-dropdown {
        display: none !important;
    }
    
    /* Adjust header for mobile */
    .gni-main-nav {
        height: 70px;
        padding: 0 15px;
    }
    
    .gni-logo img {
        height: 45px;
    }
    
    /* Mobile panel adjustments */
    .gni-mobile-nav-panel {
        max-width: 100%;
        right: -100%;
    }
    
    .gni-mobile-nav-link {
        padding: 18px 20px;
        font-size: 15px;
    }
    
    .gni-mobile-hero {
        padding: 25px 20px;
        margin: 0 15px 15px 15px;
    }
    
    .gni-mobile-columns {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .gni-main-nav {
        height: 65px;
        padding: 0 12px;
    }
    
    .gni-logo img {
        height: 40px;
    }
    
    .gni-mobile-toggle {
        width: 40px;
        height: 40px;
    }
    
    .gni-mobile-toggle span {
        width: 24px;
        height: 2px;
    }
    
    .gni-mobile-nav-link {
        padding: 16px 15px;
        font-size: 14px;
    }
    
    .gni-mobile-hero {
        padding: 20px 15px;
        margin: 0 10px 10px 10px;
    }
    
    .gni-mobile-hero h3 {
        font-size: 18px;
    }
    
    .gni-mobile-hero p {
        font-size: 13px;
    }
    
    .gni-mobile-columns {
        padding: 0 10px;
    }
    
    .gni-mobile-column h4 {
        font-size: 15px;
    }
    
    .gni-mobile-column a {
        font-size: 13px;
        padding: 6px 10px;
        padding-left: 25px;
    }
}

/* Body scroll lock when mobile nav is open */
body.gni-mobile-nav-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
}

/* Desktop Styles - Hide Mobile Elements */
@media (min-width: 769px) {
    /* Hide all mobile elements with maximum specificity */
    .gni-mega-nav .gni-mobile-toggle,
    .gni-main-nav .gni-mobile-toggle,
    .gni-mobile-toggle {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        position: absolute !important;
        left: -9999px !important;
    }
    
    .gni-mobile-nav-panel,
    .gni-mega-nav .gni-mobile-nav-panel,
    .gni-main-nav .gni-mobile-nav-panel {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        position: fixed !important;
        left: -9999px !important;
        right: -9999px !important;
    }
    
    .gni-mobile-overlay,
    .gni-mega-nav .gni-mobile-overlay,
    .gni-main-nav .gni-mobile-overlay {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        position: fixed !important;
        left: -9999px !important;
    }
    
    /* Show desktop navigation */
    .gni-nav-menu {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Ensure desktop mega dropdowns work properly */
    .gni-mega-dropdown {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 90vw !important;
        max-width: 1000px !important;
        max-height: 80vh !important;
        z-index: 99999 !important;
        display: flex !important;
        flex-direction: row !important;
        height: 400px !important;
        padding: 0 !important;
        overflow: hidden !important;
        border-radius: 12px !important;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: all 0.3s ease !important;
    }
    
    .gni-nav-item:hover .gni-mega-dropdown {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translate(-50%, -50%) !important;
    }
    
    .gni-mega-hero {
        flex: 0 0 40% !important;
        height: 100% !important;
        padding: 40px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: flex-start !important;
        text-align: left !important;
        border-radius: 12px 0 0 12px !important;
    }
    
    .gni-mega-columns {
        flex: 1 !important;
        padding: 40px !important;
        height: 100% !important;
        overflow-y: auto !important;
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 30px !important;
        background: #f9f9f9 !important;
        border-radius: 0 12px 12px 0 !important;
    }
}

/* Tablet Landscape (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .gni-mobile-nav-panel {
        max-width: 400px !important;
    }
    
    .gni-mobile-nav-link {
        padding: 20px !important;
        font-size: 16px !important;
    }
    
    .gni-mobile-hero {
        padding: 30px 25px !important;
    }
    
    .gni-mobile-columns {
        padding: 0 25px !important;
    }
}

/* Mobile Portrait (320px - 767px) */
@media (max-width: 767px) {
    .gni-mobile-nav-panel {
        max-width: 100% !important;
        right: -100% !important;
    }
    
    .gni-mobile-nav-link {
        padding: 18px 20px !important;
        font-size: 15px !important;
    }
    
    .gni-mobile-hero {
        padding: 25px 20px !important;
        margin: 0 15px 15px 15px !important;
    }
    
    .gni-mobile-columns {
        padding: 0 15px !important;
    }
    
    .gni-mobile-column h4 {
        font-size: 15px !important;
    }
    
    .gni-mobile-column a {
        font-size: 13px !important;
        padding: 6px 12px !important;
        padding-left: 28px !important;
    }
}

/* Small Mobile (320px - 480px) */
@media (max-width: 480px) {
    .gni-main-nav {
        height: 65px !important;
        padding: 0 12px !important;
    }
    
    .gni-logo img {
        height: 40px !important;
    }
    
    .gni-mobile-toggle {
        width: 40px !important;
        height: 40px !important;
    }
    
    .gni-mobile-toggle span {
        width: 24px !important;
        height: 2px !important;
    }
    
    .gni-mobile-nav-link {
        padding: 16px 15px !important;
        font-size: 14px !important;
    }
    
    .gni-mobile-hero {
        padding: 20px 15px !important;
        margin: 0 10px 10px 10px !important;
    }
    
    .gni-mobile-hero h3 {
        font-size: 18px !important;
    }
    
    .gni-mobile-hero p {
        font-size: 13px !important;
    }
    
    .gni-mobile-columns {
        padding: 0 10px !important;
    }
    
    .gni-mobile-column h4 {
        font-size: 14px !important;
    }
    
    .gni-mobile-column a {
        font-size: 12px !important;
        padding: 5px 10px !important;
        padding-left: 25px !important;
    }
    
    .gni-mobile-image-preview {
        height: 70px !important;
        font-size: 13px !important;
    }
}

/* Extra Small Mobile (320px and below) */
@media (max-width: 320px) {
    .gni-main-nav {
        height: 60px !important;
        padding: 0 10px !important;
    }
    
    .gni-logo img {
        height: 35px !important;
    }
    
    .gni-mobile-toggle {
        width: 36px !important;
        height: 36px !important;
    }
    
    .gni-mobile-toggle span {
        width: 22px !important;
        height: 2px !important;
    }
    
    .gni-mobile-nav-link {
        padding: 14px 12px !important;
        font-size: 13px !important;
    }
    
    .gni-mobile-hero {
        padding: 18px 12px !important;
        margin: 0 8px 8px 8px !important;
    }
    
    .gni-mobile-hero h3 {
        font-size: 16px !important;
    }
    
    .gni-mobile-hero p {
        font-size: 12px !important;
    }
    
    .gni-mobile-columns {
        padding: 0 8px !important;
    }
    
    .gni-mobile-column h4 {
        font-size: 13px !important;
    }
    
    .gni-mobile-column a {
        font-size: 11px !important;
        padding: 4px 8px !important;
        padding-left: 22px !important;
    }
    
    .gni-mobile-image-preview {
        height: 60px !important;
        font-size: 12px !important;
    }
}

/* High DPI / Retina Display Optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .gni-mobile-toggle span {
        height: 2px !important;
    }
    
    .gni-mobile-nav-link {
        border-bottom: 0.5px solid rgba(255, 255, 255, 0.1) !important;
    }
    
    .gni-mobile-panel-header {
        border-bottom: 0.5px solid rgba(255, 255, 255, 0.2) !important;
    }
}

/* Landscape Orientation Adjustments */
@media (max-width: 768px) and (orientation: landscape) {
    .gni-mobile-nav-panel {
        max-height: 100vh !important;
        overflow-y: auto !important;
    }
    
    .gni-mobile-hero {
        padding: 20px 20px !important;
        margin: 0 15px 10px 15px !important;
    }
    
    .gni-mobile-hero h3 {
        font-size: 18px !important;
        margin-bottom: 8px !important;
    }
    
    .gni-mobile-hero p {
        font-size: 13px !important;
        margin-bottom: 15px !important;
    }
    
    .gni-mobile-hero-buttons {
        flex-direction: row !important;
        gap: 10px !important;
    }
    
    .gni-mobile-hero-buttons .gni-btn {
        flex: 1 !important;
        padding: 12px 16px !important;
        font-size: 13px !important;
    }
}

/* Make existing navigation mobile-responsive */
@media screen and (max-width: 768px) {
    /* Show mobile toggle on mobile */
    .gni-mobile-toggle {
        display: flex !important;
    }
    
    /* Hide desktop navigation menu on mobile */
    .gni-nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, #1C244B 0%, #467FF7 100%);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 80px 0 0 0;
        transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 1001;
        overflow-y: auto;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    }
    
    .gni-nav-menu.mobile-open {
        left: 0;
    }
    
    /* Style navigation items for mobile */
    .gni-nav-item {
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .gni-nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px;
        color: white;
        text-decoration: none;
        font-size: 16px;
        font-weight: 600;
        transition: all 0.3s ease;
        position: relative;
    }
    
    .gni-nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
        padding-left: 30px;
    }
    
    .gni-nav-link svg {
        width: 20px;
        height: 20px;
        margin-right: 12px;
        fill: currentColor;
    }
    
    .gni-nav-link.has-dropdown::after {
        content: '▼';
        font-size: 14px;
        opacity: 0.7;
        transition: transform 0.3s ease;
    }
    
    .gni-nav-item.active .gni-nav-link.has-dropdown::after {
        transform: rotate(180deg);
    }
    
    /* Style mega dropdowns for mobile */
    .gni-mega-dropdown {
        position: static;
        width: 100%;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        padding: 0;
    }
    
    .gni-nav-item.active .gni-mega-dropdown {
        max-height: 2000px;
        padding: 20px;
    }
    
    /* Style mega hero for mobile */
    .gni-mega-hero {
        padding: 30px 20px;
        text-align: center;
        background: rgba(255, 255, 255, 0.1);
        margin: 0 0 20px 0;
        border-radius: 12px;
        backdrop-filter: blur(10px);
    }
    
    .gni-mega-hero h2 {
        color: white;
        font-size: 20px;
        margin: 0 0 10px 0;
        font-weight: 700;
    }
    
    .gni-mega-hero p {
        color: rgba(255, 255, 255, 0.9);
        font-size: 14px;
        margin: 0 0 20px 0;
        line-height: 1.4;
    }
    
    .gni-mega-hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    .gni-mega-hero-buttons .gni-btn {
        background: rgba(255, 255, 255, 0.9);
        color: #1C244B;
        border: none;
        border-radius: 8px;
        padding: 14px 20px;
        font-weight: 600;
        font-size: 14px;
        text-decoration: none;
        transition: all 0.3s ease;
        display: block;
        text-align: center;
    }
    
    .gni-mega-hero-buttons .gni-btn:hover {
        background: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
    }
    
    .gni-mega-hero-buttons .gni-btn-secondary {
        background: transparent;
        color: white;
        border: 2px solid rgba(255, 255, 255, 0.7);
    }
    
    .gni-mega-hero-buttons .gni-btn-secondary:hover {
        background: rgba(255, 255, 255, 0.2);
        border-color: white;
    }
    
    /* Style mega columns for mobile */
    .gni-mega-columns {
        display: block;
        padding: 0;
        gap: 0;
    }
    
    .gni-mega-column {
        margin-bottom: 25px;
    }
    
    .gni-mega-column h3 {
        color: rgba(255, 255, 255, 0.9);
        font-size: 16px;
        font-weight: 600;
        margin: 0 0 15px 0;
        padding-bottom: 8px;
        border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    }
    
    .gni-mega-column ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }
    
    .gni-mega-column li {
        margin-bottom: 8px;
    }
    
    .gni-mega-column a {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        font-size: 14px;
        padding: 8px 12px;
        display: block;
        border-radius: 6px;
        transition: all 0.3s ease;
        position: relative;
        padding-left: 30px;
    }
    
    .gni-mega-column a::before {
        content: '▶';
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 10px;
        opacity: 0.6;
    }
    
    .gni-mega-column a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: white;
        padding-left: 35px;
    }
    
    /* Style image previews for mobile */
    .gni-image-preview {
        width: 100%;
        height: 80px;
        background: linear-gradient(135deg, #467FF7 0%, #1C244B 100%);
        border-radius: 8px;
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-weight: 600;
        font-size: 14px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }
    
    /* Add mobile overlay */
    .gni-mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .gni-mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

/* Legacy mobile styles removed - replaced with comprehensive mobile system above */

/* Animation Classes */
.gni-fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gni-slide-in {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* GNI Mega Menu Positioning Fix - Restore Working Version */
.gni-mega-dropdown {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 90vw !important;
    max-width: 1000px !important;
    max-height: 80vh !important;
    right: auto !important;
    height: auto !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
    z-index: 99999 !important;
}

.gni-nav-item:hover .gni-mega-dropdown {
    transform: translate(-50%, -50%) !important;
}

/* Override any sticky header positioning conflicts */
.she-header .gni-mega-dropdown,
.she-header-yes .gni-mega-dropdown {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 99999 !important;
}

@media (max-width: 768px) {
    .gni-mega-dropdown {
        width: 95vw !important;
        max-height: 85vh !important;
    }
}

@media (max-width: 480px) {
    .gni-mega-dropdown {
        width: 98vw !important;
        max-height: 90vh !important;
    }
}

/* HORIZONTAL LAYOUT - Hero Left, Navigation Right */
/* ================================================ */

/* Main dropdown container - horizontal flex layout */
.gni-mega-dropdown {
    display: flex !important; /* Force flex container */
    flex-direction: row !important; /* Arrange children horizontally */
    height: 400px !important; /* Fixed height for horizontal layout */
    padding: 0 !important; /* Remove padding from dropdown itself */
    overflow: hidden !important; /* Hide overflow if content exceeds height */
}

/* Hero Block Styles - now takes 40% width */
.gni-mega-hero {
    flex: 0 0 40% !important; /* Allocate 40% width to hero */
    height: 100% !important; /* Fill available height */
    padding: 40px !important; /* Add padding inside hero */
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important; /* Align content to start */
    text-align: left !important; /* Align text to left */
    border-radius: 12px 0 0 12px !important; /* Rounded left corners */
}

.gni-mega-hero h2 {
    font-size: 32px !important;
    margin-bottom: 15px !important;
}

.gni-mega-hero p {
    font-size: 18px !important;
    margin-bottom: 25px !important;
}

.gni-mega-hero-buttons {
    justify-content: flex-start !important; /* Align buttons to start */
}

/* Column Layout - now takes remaining 60% width */
.gni-mega-columns {
    flex: 1 !important; /* Take remaining space */
    padding: 40px !important; /* Add padding inside columns */
    height: 100% !important; /* Fill available height */
    overflow-y: auto !important; /* Enable vertical scrolling if content overflows */
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important; /* Force 3 columns */
    gap: 30px !important;
    background: #f9f9f9 !important; /* Light background for columns */
    border-radius: 0 12px 12px 0 !important; /* Rounded right corners */
}

/* Responsive Design for Horizontal Layout */
@media (max-width: 768px) {
    .gni-mega-dropdown {
        flex-direction: column !important; /* Stack vertically on mobile */
        height: auto !important;
        max-height: 90vh !important;
        overflow-y: auto !important;
        padding: 0 !important;
        border-radius: 12px !important;
    }

    .gni-mega-hero {
        flex: 0 0 auto !important;
        height: 200px !important;
        padding: 30px 20px !important;
        text-align: center !important;
        align-items: center !important;
        border-radius: 12px 12px 0 0 !important; /* Rounded top corners */
    }

    .gni-mega-hero-buttons {
        flex-direction: column !important;
        align-items: center !important;
    }

    .gni-mega-columns {
        flex: 1 !important;
        padding: 20px !important;
        height: auto !important;
        overflow-y: visible !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        border-radius: 0 0 12px 12px !important; /* Rounded bottom corners */
    }
}

/* UPDATED NAVIGATION TEXT COLOR - #005EB8 */
/* ======================================= */

/* Main Navigation Links - Updated Default Color */
.gni-nav-link {
    color: #005EB8 !important; /* Updated to specific blue color */
    font-weight: 600 !important;
    font-size: 16px !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
    padding: 8px 12px !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
}

/* Hover state - keep accent blue */
.gni-nav-link:hover {
    color: #467FF7 !important; /* Theme accent blue on hover */
    background: rgba(70, 127, 247, 0.1) !important;
}

/* Dropdown arrows - match the new default color */
.gni-nav-link.has-dropdown::after {
    content: '▼' !important;
    margin-left: 8px !important;
    font-size: 12px !important;
    transition: transform 0.3s ease !important;
    color: #005EB8 !important; /* Match the new default color */
    display: inline-block !important;
}

.gni-nav-item:hover .gni-nav-link.has-dropdown::after {
    transform: rotate(180deg) !important;
    color: #467FF7 !important; /* Accent blue on hover */
}

/* HIDE ALL NAVIGATION ICONS - Emojis and SVGs */
/* =========================================== */

/* Hide SVG icons in navigation */
.gni-nav-link svg {
    display: none !important;
}

/* Hide emoji icons in navigation */
.gni-nav-link::before {
    display: none !important;
}

/* UPDATED HERO BUTTON STYLES - Theme Blue & White */
/* ================================================ */

/* Primary Button - Theme Blue */
.gni-mega-hero-buttons .gni-btn {
    background: #467FF7 !important; /* Theme accent blue */
    color: #FFFFFF !important;
    border: 2px solid #467FF7 !important;
    border-radius: 8px !important;
    padding: 14px 24px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    text-align: center !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(70, 127, 247, 0.2) !important;
    min-width: 180px !important;
}

.gni-mega-hero-buttons .gni-btn:hover {
    background: #1C244B !important; /* Theme primary blue */
    border-color: #1C244B !important;
    color: #FFFFFF !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(28, 36, 75, 0.3) !important;
}

/* Secondary Button - White with Blue Border */
.gni-mega-hero-buttons .gni-btn-secondary {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #1C244B !important; /* Theme primary blue */
    border: 2px solid #467FF7 !important; /* Theme accent blue */
    border-radius: 8px !important;
    padding: 14px 24px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    text-align: center !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.3) !important;
    min-width: 180px !important;
    backdrop-filter: blur(10px) !important;
}

.gni-mega-hero-buttons .gni-btn-secondary:hover {
    background: #467FF7 !important; /* Theme accent blue */
    color: #FFFFFF !important;
    border-color: #467FF7 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(70, 127, 247, 0.3) !important;
}

/* Button container improvements */
.gni-mega-hero-buttons {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    align-items: center !important;
    margin-top: 20px !important;
}

/* UPDATED MEGA MENU TEXT HEADERS - Site Blue */
/* ========================================== */

/* Mega Menu Headers */
.gni-mega-hero h2 {
    color: #FFFFFF !important;
    font-size: 28px !important; /* Reduced from 32px */
    font-weight: 700 !important;
    margin-bottom: 12px !important; /* Reduced from 15px */
    line-height: 1.2 !important;
}

.gni-mega-hero p {
    color: rgba(255, 255, 255, 0.95) !important; /* White text with slight transparency */
    font-size: 16px !important; /* Reduced from 18px */
    margin-bottom: 20px !important; /* Reduced from 25px */
    line-height: 1.4 !important;
}

/* Column Headers - Site Blue */
.gni-mega-column h3 {
    color: #005EB8 !important; /* Site blue for column headers */
    font-size: 18px !important; /* Reduced from 20px */
    font-weight: 600 !important;
    margin-bottom: 8px !important; /* Reduced from 12px */
    padding-bottom: 6px !important;
    border-bottom: 2px solid #467FF7 !important; /* Theme accent blue underline */
    line-height: 1.3 !important;
}

/* Column Links - Theme Text Color */
.gni-mega-column a {
    color: #324A6D !important; /* Theme text color */
    text-decoration: none !important;
    font-size: 14px !important; /* Reduced from 16px */
    font-weight: 400 !important;
    padding: 4px 0 !important; /* Reduced padding */
    margin-bottom: 2px !important; /* Reduced margin */
    display: block !important;
    transition: color 0.2s ease !important;
    line-height: 1.3 !important;
}

.gni-mega-column a:hover {
    color: #467FF7 !important; /* Theme accent blue */
    padding-left: 4px !important;
}

/* Column Descriptions */
.gni-mega-column p {
    color: #324A6D !important; /* Theme text color */
    font-size: 12px !important; /* Reduced from 14px */
    margin-bottom: 8px !important; /* Reduced from 12px */
    line-height: 1.3 !important;
    opacity: 0.8 !important;
}

/* Special Styles for Gatherings Menu */
.gni-gatherings-hero h2 {
    color: #FFFFFF !important; /* White text */
    font-size: 32px !important; /* Match other menus */
    margin-bottom: 15px !important;
    font-weight: 700 !important;
}

.gni-gatherings-hero p {
    color: rgba(255, 255, 255, 0.95) !important; /* White text with slight transparency */
    font-size: 18px !important; /* Match other menus */
    margin-bottom: 25px !important;
    line-height: 1.4 !important;
}

/* Ensure all Gatherings content uses theme colors */
.gni-gatherings-mega .gni-mega-column h3 {
    color: #005EB8 !important; /* Site blue for column headers */
    border-bottom-color: #467FF7 !important; /* Theme accent blue */
}

.gni-gatherings-mega .gni-mega-column a {
    color: #324A6D !important; /* Theme text color */
}

.gni-gatherings-mega .gni-mega-column a:hover {
    color: #467FF7 !important; /* Theme accent blue */
}

.gni-gatherings-mega .gni-mega-column p {
    color: #324A6D !important; /* Theme text color */
}

/* Responsive adjustments for headers */
@media (max-width: 1024px) {
    .gni-mega-hero h2 {
        font-size: 24px !important;
    }
    
    .gni-mega-hero p {
        font-size: 15px !important;
    }
    
    .gni-mega-column h3 {
        font-size: 16px !important;
        margin-bottom: 6px !important;
    }
}

@media (max-width: 768px) {
    .gni-mega-hero h2 {
        font-size: 20px !important;
        margin-bottom: 8px !important;
    }
    
    .gni-mega-hero p {
        font-size: 14px !important;
        margin-bottom: 15px !important;
    }
    
    .gni-mega-column h3 {
        font-size: 16px !important;
        margin-bottom: 6px !important;
    }
    
    .gni-mega-column a {
        font-size: 13px !important;
        padding: 3px 0 !important;
    }
}

@media (max-width: 480px) {
    .gni-mega-hero h2 {
        font-size: 18px !important;
        margin-bottom: 6px !important;
    }
    
    .gni-mega-hero p {
        font-size: 13px !important;
        margin-bottom: 12px !important;
    }
    
    .gni-mega-column h3 {
        font-size: 15px !important;
        margin-bottom: 4px !important;
    }
    
    .gni-mega-column a {
        font-size: 12px !important;
        padding: 2px 0 !important;
    }
}

/* UPDATED GATHERINGS MENU - Blue Theme Match */
/* ========================================== */

/* Gatherings Hero - Updated to Blue Theme */
.gni-gatherings-hero {
    background: linear-gradient(135deg, #1C244B 0%, #467FF7 100%) !important; /* Theme blue gradient */
    min-height: 200px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px 0 0 12px !important; /* Match other menus */
}

.gni-gatherings-hero-content {
    text-align: center !important;
}

.gni-gatherings-hero h2 {
    color: #FFFFFF !important; /* White text */
    font-size: 32px !important; /* Match other menus */
    margin-bottom: 15px !important;
    font-weight: 700 !important;
}

.gni-gatherings-hero p {
    color: rgba(255, 255, 255, 0.95) !important; /* White text with slight transparency */
    font-size: 18px !important; /* Match other menus */
    margin-bottom: 25px !important;
    line-height: 1.4 !important;
}

/* Toronto Fest Image Preview - Updated to Blue Theme */
.gni-image-preview {
    width: 100% !important;
    height: 120px !important;
    background: linear-gradient(135deg, #467FF7 0%, #1C244B 100%) !important; /* Blue gradient instead of red */
    background-size: cover !important;
    background-position: center !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #FFFFFF !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    text-align: center !important;
    margin-bottom: 15px !important;
    box-shadow: 0 4px 12px rgba(70, 127, 247, 0.2) !important;
}

/* Toronto Fest placeholder text */
.gni-image-preview::before {
    content: "Toronto Fest" !important;
    color: #FFFFFF !important;
    font-weight: 600 !important;
    font-size: 16px !important;
}

/* Ensure all Gatherings content uses theme colors */
.gni-gatherings-mega .gni-mega-column h3 {
    color: #005EB8 !important; /* Site blue for column headers */
    border-bottom-color: #467FF7 !important; /* Theme accent blue */
}

.gni-gatherings-mega .gni-mega-column a {
    color: #324A6D !important; /* Theme text color */
}

.gni-gatherings-mega .gni-mega-column a:hover {
    color: #467FF7 !important; /* Theme accent blue */
}

.gni-gatherings-mega .gni-mega-column p {
    color: #324A6D !important; /* Theme text color */
}

/* Gatherings-specific button styling to match theme */
.gni-gatherings-mega .gni-mega-hero-buttons .gni-btn {
    background: #467FF7 !important; /* Theme accent blue */
    color: #FFFFFF !important;
    border: 2px solid #467FF7 !important;
    border-radius: 8px !important;
    padding: 14px 24px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    text-align: center !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(70, 127, 247, 0.2) !important;
    min-width: 180px !important;
}

.gni-gatherings-mega .gni-mega-hero-buttons .gni-btn:hover {
    background: #1C244B !important; /* Theme primary blue */
    border-color: #1C244B !important;
    color: #FFFFFF !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(28, 36, 75, 0.3) !important;
}

.gni-gatherings-mega .gni-mega-hero-buttons .gni-btn-secondary {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #1C244B !important; /* Theme primary blue */
    border: 2px solid #467FF7 !important; /* Theme accent blue */
    border-radius: 8px !important;
    padding: 14px 24px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    text-align: center !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.3) !important;
    min-width: 180px !important;
    backdrop-filter: blur(10px) !important;
}

.gni-gatherings-mega .gni-mega-hero-buttons .gni-btn-secondary:hover {
    background: #467FF7 !important; /* Theme accent blue */
    color: #FFFFFF !important;
    border-color: #467FF7 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(70, 127, 247, 0.3) !important;
}

/* Responsive adjustments for Gatherings */
@media (max-width: 768px) {
    .gni-gatherings-hero {
        border-radius: 12px 12px 0 0 !important; /* Rounded top corners on mobile */
        min-height: 180px !important;
    }
    
    .gni-gatherings-hero h2 {
        font-size: 24px !important;
    }
    
    .gni-gatherings-hero p {
        font-size: 16px !important;
    }
    
    .gni-image-preview {
        height: 100px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .gni-gatherings-hero {
        min-height: 160px !important;
    }
    
    .gni-gatherings-hero h2 {
        font-size: 20px !important;
    }
    
    .gni-gatherings-hero p {
        font-size: 14px !important;
    }
    
    .gni-image-preview {
        height: 80px !important;
        font-size: 12px !important;
    }
}
