/* ============================================
   Don Bosco Bandlaguda - Main Stylesheet
   ============================================ */

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

section {
    margin: 0;
    padding: 0;
}

html,
body {
    font-family: 'Roboto Slab', serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: linear-gradient(to bottom right, #f0fdfa, #f0f9ff, #e0f2fe);
    min-height: 100vh;
    margin: 0;
    padding: 0;
    width: 100%;
}

.font-roboto-slab {
    font-family: 'Roboto Slab', serif;
}


/* colors */
.text-navy {
    color: #002c6f;
}

.bg-navy {
    background-color: #002c6f;
}

.orange-dark {
    background: #e46713;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Topbar Styles */
.topbar {
    font-size: 14px;
}

.topbar a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Header Styles */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo-icon {
    transition: transform 0.3s ease;
}

.logo-icon:hover {
    transform: rotate(-5deg) scale(1.05);
}

.main-logo {
    width: 351px;
    height: auto;
    padding: 5px 0;

}


/* Mobile Menu Button */
/* Mobile Menu Button - Already defined, ensure it's visible and clickable */
.mobile-menu-btn {
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    padding: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease;
    z-index: 100;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.mobile-menu-btn:hover {
    transform: scale(1.1);
    color: #3b82f6;
}

.mobile-menu-btn:active {
    transform: scale(0.95);
}

/* Desktop Menu Styles */
.desktop-menu ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.menu-item {
    position: relative;
}

.menu-link {
    display: block;
    padding: 12px 20px;
    color: #002c6f;
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: color 0.3s ease;
    position: relative;
}

.menu-link:hover,
.menu-link.active {
    color: #ff6600;
}

/* Unique Dropdown Menu Design */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
    min-width: 250px;
}

.menu-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    animation: dropdownFadeIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Keep header nav visible on desktop when using Bootstrap collapse for mobile */
@media (min-width: 992px) {
    #headerNav.collapse {
        display: flex !important;
        height: auto !important;
        overflow: visible !important;
    }
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.dropdown-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 8px;
    border: 2px solid #e5e7eb;
    position: relative;
    overflow: visible;
}

.dropdown-content::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
    border-radius: 12px 12px 0 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #374151;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    margin: 0;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transform: translateY(-50%);
    transition: width 0.3s ease;
    border-radius: 0 2px 2px 0;
}

.dropdown-item:hover::before {
    width: 4px;
}

.dropdown-icon {
    width: 18px;
    text-align: center;
    color: #3b82f6;
    font-size: 14px;
    transition: all 0.3s ease;
}

.dropdown-item:hover .dropdown-icon {
    transform: scale(1.2) rotate(5deg);
    color: #2563eb;
}

.dropdown-item:not(.has-submenu):hover {
    color: #1e40af;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.1), transparent);
    padding-left: 20px;
    transform: translateX(4px);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(5px);
    }
}

.dropdown-item.has-submenu {
    position: relative;
    cursor: pointer;
}

.dropdown-item.has-submenu>span {
    display: flex;
    align-items: center;
    width: 100%;
}

/* Submenu (Level 2) */
.submenu {
    position: absolute;
    left: 100%;
    top: 0;
    margin-left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 8px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-5px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 2px solid #e5e7eb;
    z-index: 1001;
    overflow: visible;
}

.submenu::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 0;
    width: 5px;
    height: 100%;
    background: transparent;
}

.dropdown-item.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.submenu>a {
    display: block;
    padding: 10px 14px;
    color: #374151;
    text-decoration: none;
    border-radius: 8px;
    transition: color 0.3s ease;
    margin: 0;
    position: relative;
}

.submenu>a:hover {
    color: #166534;
}

/* Child Submenu (Level 3) */
.submenu .has-child-submenu {
    position: relative;
    display: block;
    margin: 0;
    padding: 0;
}

.submenu .has-child-submenu>a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    color: #374151;
    text-decoration: none;
    border-radius: 8px;
    transition: color 0.3s ease;
    margin: 0;
    position: relative;
    cursor: pointer;
    width: 100%;
}

.submenu .has-child-submenu>a:hover {
    color: #166534;
}

.submenu .child-submenu {
    position: absolute;
    left: 100%;
    top: 0;
    margin-left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 8px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-5px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 2px solid #e5e7eb;
    z-index: 1002;
    white-space: nowrap;
    pointer-events: none;
}

.submenu .has-child-submenu:hover .child-submenu,
.submenu .child-submenu:hover {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0) !important;
    pointer-events: auto !important;
}

.submenu .child-submenu::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 0;
    width: 5px;
    height: 100%;
    background: transparent;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.submenu .child-submenu a,
.submenu .child-submenu .dropdown-item {
    display: block;
    padding: 8px 12px;
    font-size: 14px;
    color: #374151;
    text-decoration: none;
    border-radius: 8px;
    transition: color 0.3s ease;
    margin: 0;
}

.submenu .child-submenu a:hover,
.submenu .child-submenu .dropdown-item:hover {
    color: #92400e;
}

/* Slider Styles */
/* Slider Section - Unique Creative Design */
.slider-section {
    position: relative;
    margin: 0;
    padding: 0;
    margin-top: 0 !important;
    overflow: hidden;
}

/* Decorative Background Shapes */
.slider-bg-shape-1,
.slider-bg-shape-2 {
    animation: sliderFloat 20s ease-in-out infinite;
    pointer-events: none;
}

.slider-bg-shape-2 {
    animation-delay: 10s;
}

@keyframes sliderFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-30px, 30px) scale(1.1);
    }
}

.slider-container {
    position: relative;
    overflow: hidden;
}

.slider-gradient-overlay {
    z-index: 10;
    pointer-events: none;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 100%;
    height: 100%;
    will-change: transform;
}

.slide {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
    position: relative;
}

.slide-image-wrapper {
    position: absolute;
    inset: 0;
}

.slide-image-wrapper img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.slide-overlay {
    z-index: 5;
}

/* Slide Content */
.slide-content {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: flex;
    align-items: center;
}

.slide-badge {
    animation: slideInLeft 0.8s ease-out both;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.slide-title {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    animation: slideInLeft 0.8s ease-out both;
}

.slide-description {
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    animation: slideInLeft 0.8s ease-out both;
}

.slide-buttons {
    animation: slideInLeft 0.8s ease-out both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-btn-primary {
    position: relative;
    overflow: hidden;
}

.slide-btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.slide-btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.slide-btn-secondary {
    position: relative;
    overflow: hidden;
}

/* Navigation Arrows - Unique Design */
.slider-nav {
    cursor: pointer;
    transition: all 0.3s ease;
    background: none;
    border: none;
    padding: 0;
    z-index: 30;
    opacity: 0;
    visibility: hidden;
}

.slider-section:hover .slider-nav {
    opacity: 1;
    visibility: visible;
}

.nav-arrow-container {
    position: relative;
    transition: all 0.3s ease;
}

.nav-arrow-inner {
    position: relative;
    z-index: 2;
}

.nav-arrow-pulse {
    animation: navPulse 2s ease-in-out infinite;
}

@keyframes navPulse {

    0%,
    100% {
        opacity: 0;
        transform: scale(1);
    }

    50% {
        opacity: 0.2;
        transform: scale(1.2);
    }
}

/* Progress Bar */
.slider-progress-container {
    z-index: 30;
    pointer-events: none;
}

.slider-progress-bar {
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Enhanced Dot Indicators */
.slider-indicators {
    display: flex;
    gap: 12px;
    z-index: 30;
}

.indicator-wrapper {
    cursor: pointer;
    transition: all 0.3s ease;
    background: none;
    border: none;
    padding: 0;
}

.indicator-outer {
    transition: all 0.3s ease;
    position: relative;
}

.indicator-dot {
    display: block;
    transition: all 0.3s ease;
    position: relative;
}

.indicator-wrapper[data-slide="0"] .indicator-dot.active,
.indicator-wrapper[data-slide="1"] .indicator-dot.active,
.indicator-wrapper[data-slide="2"] .indicator-dot.active,
.indicator-wrapper[data-slide="3"] .indicator-dot.active {
    background: white;
    opacity: 1;
    transform: scale(1.2);
}

.indicator-wrapper:not([data-slide="0"]):not([data-slide="1"]):not([data-slide="2"]):not([data-slide="3"]) .indicator-dot.active,
.indicator-wrapper .indicator-dot:not(.active) {
    background: rgba(255, 255, 255, 0.6);
    opacity: 0.6;
}

/* Slide Counter */
.slide-counter {
    z-index: 30;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Welcome Section */
.welcome-section {
    position: relative;
    /* background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #dbeafe 100%); */
    min-height: 600px;
    display: flex;
    align-items: center;
    margin: 0;
}

.welcome-bg {
    /* background-image: url('https://images.unsplash.com/photo-1562774053-701939374585?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2072&q=80'); */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.12;
}

/* Decorative Shapes */
.welcome-shape-1,
.welcome-shape-2 {
    animation: float 20s ease-in-out infinite;
}

.welcome-shape-1 {
    animation-delay: 0s;
}

.welcome-shape-2 {
    animation-delay: 10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

/* Welcome Badge */
.welcome-badge {
    animation: badgePulse 2s ease-in-out infinite;
    /* box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3); */
}

@keyframes badgePulse {

    0%,
    100% {
        transform: rotate(-2deg) scale(1);
    }

    50% {
        transform: rotate(-2deg) scale(1.05);
    }
}

/* Welcome Content */
.welcome-content-wrapper {
    animation: fadeInLeft 1s ease-out;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.welcome-underline {
    animation: underlineExpand 1.5s ease-out 0.5s both;
}

@keyframes underlineExpand {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

/* Welcome Buttons */
.welcome-btn-primary {
    position: relative;
    overflow: hidden;
}

.welcome-btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.welcome-btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.welcome-btn-primary i {
    transition: transform 0.3s ease;
}

.welcome-btn-primary:hover i {
    transform: translateX(5px);
}

.welcome-btn-secondary {
    transition: all 0.3s ease;
}

.welcome-btn-secondary:hover {
    background: #eff6ff;
    border-color: #1e40af;
}

/* Welcome Stats */
.welcome-stats-wrapper {
    animation: fadeInRight 1s ease-out;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.welcome-stat-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.welcome-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.welcome-stat-card:hover::before {
    left: 100%;
}

.welcome-stat-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-10px) scale(1.05);
}

.stat-icon {
    transition: transform 0.3s ease;
}

.welcome-stat-card:hover .stat-icon {
    transform: rotate(360deg) scale(1.1);
}

.stat-number {
    background: linear-gradient(135deg, currentColor, currentColor);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.welcome-stat-card:hover .stat-number {
    transform: scale(1.1);
}

/* Events Section */
.events-section {
    position: relative;
    /* background: linear-gradient(to bottom, #f9fafb, #f3f4f6); */
}

.events-bg-shape-1,
.events-bg-shape-2 {
    animation: floatShape 15s ease-in-out infinite;
}

.events-bg-shape-2 {
    animation-delay: 7.5s;
}

@keyframes floatShape {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(20px, -20px) scale(1.1);
    }
}

/* Birthday Card Header */
.birthday-card-header {
    animation: headerFloat 3s ease-in-out infinite;
}

@keyframes headerFloat {

    0%,
    100% {
        transform: rotate(-2deg) translateY(0);
    }

    50% {
        transform: rotate(-2deg) translateY(-5px);
    }
}

/* Events Card Header */
.events-card-header {
    animation: headerFloatRight 3s ease-in-out infinite;
}

@keyframes headerFloatRight {

    0%,
    100% {
        transform: rotate(2deg) translateY(0);
    }

    50% {
        transform: rotate(2deg) translateY(-5px);
    }
}

/* Birthday Item Cards */
.birthday-item-card {
    position: relative;
}

.birthday-item-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.birthday-item-card:hover::before {
    left: 100%;
}

.birthday-avatar {
    position: relative;
}

/* Event Item Cards */
.event-item-card {
    position: relative;
}

.event-item-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.event-item-card:hover::before {
    left: 100%;
}

.event-date-badge {
    position: relative;
    overflow: hidden;
}

.event-date-badge::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    animation: badgeShine 3s linear infinite;
}

@keyframes badgeShine {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Scrollable Containers for Birthday and Events */
.birthday-scroll-container,
.events-scroll-container {
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
    margin-right: -4px;
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
    transition: scrollbar-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.birthday-scroll-container:hover,
.events-scroll-container:hover {
    scrollbar-color: rgba(236, 72, 153, 0.5) transparent;
    padding-right: 8px;
    margin-right: -8px;
}

.events-scroll-container:hover {
    scrollbar-color: rgba(59, 130, 246, 0.5) transparent;
}

/* Modern Scrollbar Styles - Webkit Browsers */
.birthday-scroll-container::-webkit-scrollbar,
.events-scroll-container::-webkit-scrollbar {
    width: 6px;
}

.birthday-scroll-container::-webkit-scrollbar-track,
.events-scroll-container::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
    margin: 5px 0;
    transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.birthday-scroll-container:hover::-webkit-scrollbar-track,
.events-scroll-container:hover::-webkit-scrollbar-track {
    background: rgba(243, 244, 246, 0.5);
}

.birthday-scroll-container::-webkit-scrollbar-thumb,
.events-scroll-container::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 10px;
    transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s ease;
    border: 2px solid transparent;
}

.birthday-scroll-container:hover::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ec4899 0%, #f472b6 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.events-scroll-container:hover::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #3b82f6 0%, #60a5fa 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.birthday-scroll-container::-webkit-scrollbar-thumb:hover,
.events-scroll-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #db2777 0%, #ec4899 100%);
}

.events-scroll-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #2563eb 0%, #3b82f6 100%);
}

/* Firefox Scrollbar */
.birthday-scroll-container {
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}

.birthday-scroll-container:hover {
    scrollbar-color: #ec4899 transparent;
}

.events-scroll-container {
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}

.events-scroll-container:hover {
    scrollbar-color: #3b82f6 transparent;
}

/* News Section */
/* News Section - Unique Creative Design */
.news-section {
    position: relative;
    background: transparent;
}

.news-bg-shape-1,
.news-bg-shape-2 {
    animation: newsFloat 20s ease-in-out infinite;
}

.news-bg-shape-2 {
    animation-delay: 10s;
}

@keyframes newsFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(25px, -25px) scale(1.1);
    }
}

/* News Header */
.news-header-icon {
    animation: iconRotate 4s ease-in-out infinite;
}

@keyframes iconRotate {

    0%,
    100% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(10deg) scale(1.1);
    }
}

.news-title-underline {
    animation: underlineExpand 1.5s ease-out 0.5s both;
}

/* News Cards - 3 Cards in Single Row Design */
.news-card-item {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s;
    z-index: 1;
    pointer-events: none;
}

.news-card-item:hover::before {
    left: 100%;
}

/* Gradient Header Section */
.news-card-header {
    position: relative;
    flex-shrink: 0;
}

/* Date Badge in Header */
.news-card-date-badge {
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
}

.news-card-item:hover .news-card-date-badge {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* White Content Section */
.news-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Category Badge */
.news-category-badge {
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
}

.news-card-item:hover .news-category-badge {
    transform: translateY(-2px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Read More Link */
.news-read-more-link {
    position: relative;
    margin-top: auto;
}

.news-read-more-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.3s ease;
}

.news-read-more-link:hover::after {
    width: 100%;
}

.news-section .view-all-btn {
    display: flex;
    align-items: center;
}

/* Management Section */
/* Management Section - Unique Creative Design */
.management-section {
    position: relative;
    background: transparent;
}

.management-bg-shape-1,
.management-bg-shape-2 {
    animation: managementFloat 20s ease-in-out infinite;
}

.management-bg-shape-2 {
    animation-delay: 10s;
}

@keyframes managementFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

/* Management Header */
.management-header-badge {
    animation: headerBadgeFloat 3s ease-in-out infinite;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
}

@keyframes headerBadgeFloat {

    0%,
    100% {
        transform: rotate(-2deg) translateY(0);
    }

    50% {
        transform: rotate(-2deg) translateY(-5px);
    }
}

.management-underline {
    animation: underlineExpand 1.5s ease-out 0.5s both;
}

/* Management Cards */
.management-card-wrapper {
    position: relative;
}

.management-card-principal,
.management-card-chairman {
    position: relative;
    overflow: hidden;
}

.management-card-principal::before,
.management-card-chairman::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
    z-index: 1;
}

.management-card-principal:hover::before,
.management-card-chairman:hover::before {
    left: 100%;
}

.management-card-header {
    position: relative;
    overflow: hidden;
}

.management-card-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: headerShine 3s linear infinite;
}

@keyframes headerShine {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Management Avatar */
.management-avatar-wrapper {
    position: relative;
}

.management-avatar-ring {
    animation: ringPulse 2s ease-in-out infinite;
}

@keyframes ringPulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.management-avatar-badge {
    animation: badgeBounce 2s ease-in-out infinite;
}

@keyframes badgeBounce {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-5px) scale(1.1);
    }
}

/* Management Role Badge */
.management-role-badge {
    animation: roleBadgeSlide 1s ease-out;
}

@keyframes roleBadgeSlide {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Management Quote Icon */
.management-quote-icon {
    animation: quoteFloat 4s ease-in-out infinite;
    line-height: 0.8;
}

@keyframes quoteFloat {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-10px);
        opacity: 0.5;
    }
}

/* Management Card Footer */
.management-card-footer {
    position: relative;
    overflow: hidden;
}

.management-card-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: footerShine 3s linear infinite;
}

@keyframes footerShine {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Bible Verse Section */
/* Bible Verse Section - Unique Religious Design */
.bible-verse-section {
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.bible-verse-bg-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.bible-cross-1,
.bible-cross-2,
.bible-cross-3,
.bible-cross-4 {
    animation: crossFloat 6s ease-in-out infinite;
    opacity: 0.15;
}

.bible-cross-1 {
    animation-delay: 0s;
}

.bible-cross-2 {
    animation-delay: 1.5s;
}

.bible-cross-3 {
    animation-delay: 3s;
}

.bible-cross-4 {
    animation-delay: 4.5s;
}

@keyframes crossFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.15;
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
        opacity: 0.25;
    }
}

/* Light Rays Animation */
.bible-light-ray {
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: lightRay 8s ease-in-out infinite;
    opacity: 0.3;
}

.bible-ray-1 {
    left: 20%;
    animation-delay: 0s;
}

.bible-ray-2 {
    left: 50%;
    animation-delay: 2.5s;
}

.bible-ray-3 {
    left: 80%;
    animation-delay: 5s;
}

@keyframes lightRay {

    0%,
    100% {
        opacity: 0.1;
        transform: translateX(0);
    }

    50% {
        opacity: 0.4;
        transform: translateX(10px);
    }
}

/* Jesus Icon with Halo */
.bible-jesus-icon-wrapper {
    position: relative;
    margin: 0 auto;
}

.bible-jesus-icon {
    position: relative;
    z-index: 2;
    animation: iconGlow 3s ease-in-out infinite;
}

@keyframes iconGlow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(251, 191, 36, 0.5), 0 0 40px rgba(251, 191, 36, 0.3);
    }

    50% {
        box-shadow: 0 0 30px rgba(251, 191, 36, 0.8), 0 0 60px rgba(251, 191, 36, 0.5);
    }
}

.bible-halo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* Bible Verse Card */
.bible-verse-card {
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), inset 0 0 50px rgba(255, 255, 255, 0.05);
}

.bible-verse-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Corner Decorations */
.bible-corner-decoration {
    position: absolute;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(251, 191, 36, 0.4);
    font-size: 24px;
    animation: doveFloat 4s ease-in-out infinite;
}

.bible-corner-tl {
    top: 15px;
    left: 15px;
    animation-delay: 0s;
}

.bible-corner-tr {
    top: 15px;
    right: 15px;
    animation-delay: 1s;
}

.bible-corner-bl {
    bottom: 15px;
    left: 15px;
    animation-delay: 2s;
}

.bible-corner-br {
    bottom: 15px;
    right: 15px;
    animation-delay: 3s;
}

@keyframes doveFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.4;
    }

    50% {
        transform: translateY(-10px) rotate(5deg);
        opacity: 0.7;
    }
}

/* Quote Marks */
.bible-quote-mark {
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
    animation: quoteFade 3s ease-in-out infinite;
}

@keyframes quoteFade {

    0%,
    100% {
        opacity: 0.2;
    }

    50% {
        opacity: 0.4;
    }
}

/* Verse Icon */
.bible-verse-icon {
    animation: bookOpen 4s ease-in-out infinite;
}

@keyframes bookOpen {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }

    50% {
        transform: scale(1.1) rotate(5deg);
    }
}

/* Reference Badge */
.bible-reference-badge {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.bible-reference-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.bible-reference-badge:hover::before {
    left: 100%;
}

.bible-reference-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.5);
}

/* Gallery Section */
.gallery-section {
    background: transparent;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Custom Gallery Modal */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
}

.gallery-modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.gallery-modal-caption {
    margin: 15px auto;
    text-align: center;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    max-width: 90%;
}

.gallery-modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.gallery-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.gallery-modal-prev,
.gallery-modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    padding: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.gallery-modal-prev {
    left: 20px;
}

.gallery-modal-next {
    right: 20px;
}

.gallery-modal-prev:hover,
.gallery-modal-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.gallery-modal-prev:active,
.gallery-modal-next:active {
    transform: translateY(-50%) scale(0.95);
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
}

.footer h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}


.footer-title {
    font-size: 36px !important;
}

.footer ul li {
    font-size: 0.875rem;
}

.footer .map-container iframe {
    height: 150px !important;
}

.footer a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer ul {
    list-style: none;
}

.map-container {
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.map-container iframe {
    border: none;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.map-container:hover iframe {
    filter: grayscale(0%);
}

/* Copyright */
.copyright {
    background: #0f172a;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.mobile-menu-btn:hover {
    transform: scale(1.1);
}

/* Offcanvas Menu Styles */
.offcanvas-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: none;
    overflow: hidden;
}

.offcanvas-menu.active {
    display: block !important;
    overflow: hidden;
}

.offcanvas-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.offcanvas-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85%;
    height: 100%;
    background: white;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
    z-index: 10000;
    display: flex;
    flex-direction: column;
}

.offcanvas-menu.active .offcanvas-content {
    transform: translateX(0) !important;
}

.offcanvas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.offcanvas-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px 10px;
    transition: transform 0.3s ease;
}

.offcanvas-close:hover {
    transform: rotate(90deg);
}

.offcanvas-nav {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

.offcanvas-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.offcanvas-nav>ul>li {
    border-bottom: 1px solid #e5e7eb;
}

.offcanvas-link {
    display: block;
    padding: 16px 20px;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.offcanvas-link i {
    float: right;
    margin-top: 2px;
    transition: transform 0.3s ease;
}

.offcanvas-nav .has-submenu.active>.offcanvas-link i,
.offcanvas-nav .has-child-submenu.active>a i {
    transform: rotate(180deg);
}

.offcanvas-link:hover,
.offcanvas-link.active {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #1e40af;
    padding-left: 28px;
}

.offcanvas-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #3b82f6, #8b5cf6);
}

/* Offcanvas Submenu */
.offcanvas-nav .submenu {
    display: none !important;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.offcanvas-nav .submenu.active {
    display: block !important;
    max-height: 1000px;
}

.offcanvas-nav .submenu li {
    border-bottom: 1px solid #e5e7eb;
}

.offcanvas-nav .submenu a {
    display: block;
    padding: 14px 20px 14px 40px;
    color: #6b7280;
    text-decoration: none;
    transition: all 0.3s ease;
}

.offcanvas-nav .submenu a:hover {
    background: #e5e7eb;
    color: #1e40af;
    padding-left: 48px;
}

/* Offcanvas Child Submenu */
.offcanvas-nav .child-submenu {
    display: none !important;
    background: #f3f4f6;
    border-top: 1px solid #e5e7eb;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.offcanvas-nav .child-submenu.active {
    display: block !important;
    max-height: 1000px;
}

.offcanvas-nav .child-submenu li {
    border-bottom: 1px solid #e5e7eb;
}

.offcanvas-nav .child-submenu a {
    display: block;
    padding: 12px 20px 12px 60px;
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.offcanvas-nav .child-submenu a:hover {
    background: #e5e7eb;
    color: #1e40af;
    padding-left: 68px;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

/* Utility Classes */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Achievements Section */
.achievements-section {
    position: relative;
}

.achievements-bg-shape {
    animation: floatShape 20s ease-in-out infinite;
}

.achievement-card {
    position: relative;
    overflow: hidden;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.achievement-card:hover::before {
    left: 100%;
}

.achievement-icon-wrapper {
    position: relative;
}

/* Floating News Button */
.floating-news-btn {
    position: relative;
    cursor: pointer;
    animation: shake 2s ease-in-out infinite;
    width: 56px;
    height: 56px;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0) rotate(0deg);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-3px) rotate(-2deg);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(3px) rotate(2deg);
    }
}

.floating-news-btn:hover {
    animation: none;
    transform: scale(1.1);
}

/* Floating News Panel */
.floating-news-panel {
    max-height: 500px;
    overflow: visible;
}

.floating-news-header {
    position: relative;
    z-index: 10;
    background: #dc2626;
    min-height: 48px;
    display: flex;
    align-items: center;
}

.floating-news-content {
    scrollbar-width: thin;
    scrollbar-color: rgba(156, 163, 175, 0.5) transparent;
    max-height: 450px;
    min-height: 250px;
}

.floating-news-content::-webkit-scrollbar {
    width: 4px;
}

.floating-news-content::-webkit-scrollbar-track {
    background: transparent;
}

.floating-news-content::-webkit-scrollbar-thumb {
    background: rgba(156, 163, 175, 0.5);
    border-radius: 10px;
}

.floating-news-content::-webkit-scrollbar-thumb:hover {
    background: rgba(156, 163, 175, 0.7);
}

.floating-news-item {
    position: relative;
    transition: all 0.2s ease;
}

.floating-news-item:last-child {
    border-bottom: none !important;
}

.floating-news-item:hover {
    background-color: #f9fafb;
}

/* Custom Image Popup Modal */
.image-popup-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.image-popup-modal.active {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

.image-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    pointer-events: none;
}

.image-popup-container {
    position: relative;
    z-index: 10001;
    max-width: 650px;
    width: 90%;
    max-height: 90vh;
    animation: popupSlideIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: auto;
}

@keyframes popupSlideIn {
    0% {
        transform: scale(0.3) translateY(-100px) rotate(-5deg);
        opacity: 0;
    }

    100% {
        transform: scale(1) translateY(0) rotate(0deg);
        opacity: 1;
    }
}

.image-popup-close {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border: 3px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5);
    z-index: 10002;
    transition: all 0.3s ease;
    font-size: 20px;
    color: white;
}

.image-popup-close:hover {
    transform: rotate(90deg) scale(1.15);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.7);
}

.image-popup-content {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6);
    position: relative;
    border: 4px solid #3b82f6;
}

.image-popup-badge {
    position: absolute;
    top: 25px;
    left: 25px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.5);
    animation: badgePulse 2s ease-in-out infinite;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes badgePulse {

    0%,
    100% {
        transform: scale(1) translateY(0);
        box-shadow: 0 4px 20px rgba(245, 158, 11, 0.5);
    }

    50% {
        transform: scale(1.08) translateY(-3px);
        box-shadow: 0 6px 25px rgba(245, 158, 11, 0.7);
    }
}

.image-popup-decorative-shape {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
    opacity: 0.1;
    animation: floatShape 8s ease-in-out infinite;
}

.image-popup-shape-1 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    top: -50px;
    right: -50px;
}

.image-popup-shape-2 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #ef4444, #f59e0b);
    bottom: -40px;
    left: -40px;
    animation-delay: 2s;
}

@keyframes floatShape {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(20px, -20px) rotate(180deg);
    }
}

.image-popup-image-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
}

.image-popup-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-popup-link {
    display: block;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.image-popup-link:hover .image-popup-image {
    transform: scale(1.15) rotate(2deg);
}

.image-popup-overlay-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.95), rgba(139, 92, 246, 0.95));
    padding: 40px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.image-popup-link:hover .image-popup-overlay-text {
    transform: translateY(0);
    opacity: 1;
}

.image-popup-text-content {
    color: white;
    text-align: center;
    width: 100%;
}

.image-popup-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 35px;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    animation: iconRotate 3s ease-in-out infinite;
}

@keyframes iconRotate {

    0%,
    100% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(10deg) scale(1.1);
    }
}

.image-popup-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 12px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.image-popup-subtitle {
    font-size: 18px;
    margin-bottom: 10px;
    opacity: 0.95;
    font-weight: 500;
}

.image-popup-description {
    font-size: 14px;
    margin-bottom: 25px;
    opacity: 0.9;
    line-height: 1.6;
}

.image-popup-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: #3b82f6;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    margin-top: 10px;
}

.image-popup-link:hover .image-popup-cta-button {
    transform: translateX(10px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.image-popup-cta-button i {
    transition: transform 0.3s ease;
}

.image-popup-link:hover .image-popup-cta-button i {
    transform: translateX(5px);
}

/* Gallery Section Improvements */
.gallery-section {
    position: relative;
}

.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Flash News */
/* Flash News Section - Unique Creative Design */
.flash-news {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    z-index: 1;
}

.flash-news-bg {
    z-index: 1;
}

.flash-news-pattern {
    z-index: 2;
    pointer-events: none;
}

/* Animated Shapes */
.flash-shape-1,
.flash-shape-2 {
    z-index: 2;
    pointer-events: none;
    animation: flashFloat 4s ease-in-out infinite;
}

@keyframes flashFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(20px, -20px) scale(1.1);
    }
}

/* Flash Label - Unique Design */
.flash-label-wrapper {
    position: relative;
    z-index: 10;
}

.flash-label-bg {
    z-index: 1;
    animation: labelRotate 3s ease-in-out infinite;
}

@keyframes labelRotate {

    0%,
    100% {
        transform: rotate(-2deg) scale(1);
    }

    50% {
        transform: rotate(2deg) scale(1.02);
    }
}

.flash-label {
    position: relative;
    z-index: 2;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); */
    transition: all 0.3s ease;
}

.flash-label:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.flash-icon-wrapper {
    animation: iconSpin 2s ease-in-out infinite;
}

@keyframes iconSpin {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-5deg);
    }

    75% {
        transform: rotate(5deg);
    }
}

.flash-label-badge {
    animation: badgeBounce 1.5s ease-in-out infinite;
}

@keyframes badgeBounce {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-3px) scale(1.1);
    }
}

/* Flash Content Wrapper */
.flash-content-wrapper {
    position: relative;
    z-index: 10;
}

.flash-fade-left,
.flash-fade-right {
    z-index: 11;
    pointer-events: none;
}

.flash-content {
    position: relative;
    z-index: 10;
}

.flash-marquee {
    display: inline-block;
    white-space: nowrap;
}

.flash-items-wrapper {
    display: inline-flex;
    align-items: center;
}

/* Flash Items - Unique Design */
.flash-item {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.flash-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.flash-item:hover::before {
    left: 100%;
}

.flash-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.flash-dot {
    flex-shrink: 0;
    animation: dotPulse 1.5s ease-in-out infinite;
}

@keyframes dotPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

.flash-separator {
    flex-shrink: 0;
    animation: separatorBlink 2s ease-in-out infinite;
}

@keyframes separatorBlink {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.6;
    }
}

/* Bottom Border Animation */
.flash-border-bottom {
    z-index: 10;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

/* Floating News */
.floating-news {
    border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.news-label {
    flex-shrink: 0;
}

.floating-news-content {
    position: relative;
    height: 24px;
    overflow: hidden;
}

.floating-news-scroll {
    display: flex;
    gap: 60px;
    animation: scroll-floating 25s linear infinite;
    white-space: nowrap;
}

.floating-news-item {
    flex-shrink: 0;
    padding-right: 60px;
    font-size: 14px;
}

@keyframes scroll-floating {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* WhatsApp Float */
.whatsapp-float {
    animation: bounce 2s infinite;
    width: 56px;
    height: 56px;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* News Carousel Indicators */
.news-indicator,
.management-indicator {
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
    transition: all 0.3s ease;
    display: inline-block;
}

.news-indicator .indicator-dot,
.management-indicator .indicator-dot {
    display: block;
    width: 10px;
    height: 10px;
    background: #cbd5e1;
    border: 2px solid #94a3b8;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.news-indicator.active .indicator-dot,
.management-indicator.active .indicator-dot {
    background: #1e3a8a;
    border-color: #1e3a8a;
    width: 24px;
    border-radius: 5px;
}

/* Footer Quick Links with Icons */
.footer-quick-link {
    position: relative;
    padding: 8px 0;
}

.footer-quick-link i {
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-quick-link:hover i {
    transform: translateX(5px) scale(1.2);
    color: #fbbf24;
}

.footer-quick-link:hover {
    padding-left: 5px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #3b82f6, #2563eb);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #2563eb, #1e40af);
}

/* ============================================
   Gallery Modal (lightbox)
   ============================================ */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
}

.gallery-modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    animation: galleryZoomIn 0.3s ease;
}

@keyframes galleryZoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.gallery-modal-caption {
    margin: 15px auto;
    text-align: center;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    max-width: 90%;
}

.gallery-modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
}

.gallery-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.gallery-modal-prev,
.gallery-modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    padding: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.gallery-modal-prev { left: 20px; }
.gallery-modal-next { right: 20px; }

.gallery-modal-prev:hover,
.gallery-modal-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

/* ============================================
   Image Popup Modal (announcement)
   ============================================ */
.image-popup-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.image-popup-modal.active {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

.image-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    pointer-events: none;
}

.image-popup-container {
    position: relative;
    z-index: 10001;
    max-width: 650px;
    width: 90%;
    max-height: 90vh;
    animation: popupSlideIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: auto;
}

@keyframes popupSlideIn {
    0% { transform: scale(0.3) translateY(-100px) rotate(-5deg); opacity: 0; }
    100% { transform: scale(1) translateY(0) rotate(0deg); opacity: 1; }
}

.image-popup-close {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border: 3px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5);
    z-index: 10002;
    transition: all 0.3s ease;
    font-size: 20px;
    color: white;
}

.image-popup-close:hover {
    transform: rotate(90deg) scale(1.15);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.7);
}

.image-popup-content {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6);
    position: relative;
    border: 4px solid #3b82f6;
}

.image-popup-badge {
    position: absolute;
    top: 25px;
    left: 25px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.image-popup-image-wrapper {
    position: relative;
    overflow: hidden;
}

.image-popup-image {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: middle;
}

.image-popup-overlay-text {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30, 58, 138, 0.9) 0%, rgba(30, 58, 138, 0.4) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 30px 25px;
}

.image-popup-text-content {
    width: 100%;
}

.image-popup-icon-wrapper {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 24px;
    color: white;
}

.image-popup-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.image-popup-subtitle,
.image-popup-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.image-popup-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: #1e40af;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.image-popup-link:hover .image-popup-cta-button {
    background: #fef3c7;
    transform: scale(1.05);
}

.image-popup-decorative-shape {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.1);
    pointer-events: none;
}

.image-popup-shape-1 { top: -30px; right: -30px; }
.image-popup-shape-2 { bottom: -30px; left: -30px; }