/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/

/* Slightly reduce slider bottom margin */
#slider,
.slider-element,
.slider-element.slider-parallax {
    margin-bottom: 1rem !important; /* Small gap */
}

/* Slightly reduce gap between slider and first section */
#slider + .section,
.slider-element + .section {
    margin-top: 0 !important;
}

/* Reduce Section Spacing - moderate reduction */
.section {
    margin: 2.5rem 0 !important;  /* Reduced from 4rem to 2.5rem (moderate) */
    padding: 2.5rem 0 !important; /* Reduced from 4rem to 2.5rem (moderate) */
}

/* First section after slider - less top padding */
#village-info {
    margin-top: 0 !important;
    padding-top: 1.5rem !important; /* Moderate padding */
}

/* Reduce Section Title Spacing */
.section-title {
    margin-top: 0 !important;
    margin-bottom: 2rem !important; /* Reduced from 3rem (mb-5) to 2rem - moderate */
    padding-top: 0 !important;
}

/* Reduce header/title spacing in sections */
.section h2 {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.section h2.section-title {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
	
/* Slightly reduce container top spacing */
.section .container {
    padding-top: 0;
}

/* Reduce bottom margin on various elements inside sections */
.section .mb-5 {
    margin-bottom: 1.5rem !important;
}

.section .mb-4 {
    margin-bottom: 1rem !important;
}

/* Reduce spacing in specific sections - moderate */
#village-info,
#gp-members,
#schemes,
#social-infrastructure,
#photo-gallery,
#contact-info {
    margin: 2rem 0 !important;
    padding: 2rem 0 !important;
}

/* Less padding for the first section */
#village-info {
    padding-top: 1.5rem !important;
}

/* Reduce spacing between rows in sections */
.section .row {
    margin-bottom: 0;
}

/* Fine-tune card spacing */
.section .card {
    margin-bottom: 1rem;
}

/* Reduce special identity section spacing */
.section .row.mt-4 {
    margin-top: 1rem !important;
}

.section .row.mt-5 {
    margin-top: 1.5rem !important;
}

/* Reduce Page Title spacing on internal pages */
#page-title,
.page-title,
.page-title-parallax {
    padding:50px 0 !important; /* Reduced from 120px to 50px */
}

/* Reduce content wrap padding */
.content-wrap {
    padding: 40px 0 !important; /* Reduced padding */
}
	
/* Reduce heading block spacing */
.heading-block {
    margin-bottom: 30px !important; /* Reduced from default */
}

.heading-block h2 {
    margin-bottom: 10px !important;
}

.heading-block span {
    margin-top: 5px !important;
}

/* Add padding to content wrap container */
#content .container {
    padding-left: 15px;
    padding-right: 15px;
}

/* Add spacing between cards and edges */
#content .row [class*="col-"] {
    padding-left: 12px;
    padding-right: 12px;
}

/* ==================== GOVERNMENT WEBSITE UI ENHANCEMENTS ==================== */

/* Professional Government Color Scheme */
:root {
    --gov-primary: #1e3a8a;
    --gov-secondary: #065f46;
    --gov-accent: #b91c1c;
    --gov-light: #f3f4f6;
    --gov-dark: #1f2937;
}

/* Enhanced Section Titles */
.section-title {
    font-weight: 700;
    color: var(--gov-primary);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
    border-radius: 2px;
}

/* Enhanced Heading Block */
.heading-block {
    text-align: center;
    margin-bottom: 40px !important;
}

.heading-block h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gov-primary);
    margin-bottom: 10px !important;
}

.heading-block span {
    color: #6b7280;
    font-size: 1rem;
    display: block;
}

/* Professional Card Styles */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.card-body {
    padding: 1.2rem;
}

/* Special Identity Card */
.special-identity-card .card-body {
    padding: 1.5rem 1rem;
}

.special-identity-card h5 {
    font-size: 1.2rem;
}

.special-identity-card p {
    line-height: 1.5;
}

/* Village Info Statistics Cards */
#village-info .card {
    border-radius: 16px;
    transition: all 0.3s ease;
}

#village-info .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

#village-info .card-body {
    padding: 1.2rem 1rem;
}

#village-info .card i {
    opacity: 0.9;
    font-size: 2rem !important;
}

#village-info .card-title {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

#village-info .card .h4 {
    font-size: 1.5rem;
}

/* Member Cards Enhancement */
.member-card {
    border-radius: 16px;
    background: #fff;
    transition: all 0.3s ease;
}

.member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.member-card .rounded-circle {
    border: 4px solid #f0f0f0;
    transition: all 0.3s ease;
}

.member-card:hover .rounded-circle {
    border-color: #4ecdc4;
}

.member-card .card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gov-dark);
}

.member-card .text-primary {
    font-size: 1rem;
}

/* Scheme Cards Enhancement */
#schemes .card {
    border-left: 4px solid #4ecdc4;
    border-radius: 8px;
    background: #fff;
}

#schemes .card:hover {
    border-left-color: #ff6b6b;
}

#schemes .card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--gov-primary);
    margin-bottom: 15px;
}

#schemes .card-text {
    color: #4b5563;
    line-height: 1.6;
}

#schemes .badge {
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 20px;
}

/* Facility Cards Enhancement */
.facility-card {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.facility-image-container {
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

.facility-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.facility-card:hover .facility-image {
    transform: scale(1.1);
}

.facility-card .card-body {
    padding: 1.5rem;
}

.facility-card .card-title {
    font-weight: 600;
    color: var(--gov-dark);
    font-size: 1.1rem;
}

/* Photo Gallery Enhancement */
#photo-gallery .card {
    border-radius: 10px;
    overflow: hidden;
}

#photo-gallery .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

#photo-gallery .card:hover .card-img-top {
    transform: scale(1.08);
}

#photo-gallery .card-body {
    padding: 1rem;
}

#photo-gallery .card-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--gov-dark);
}

/* Finance Section Enhancement */
#monthly-finance .card {
    border-radius: 16px;
    transition: all 0.3s ease;
}

#monthly-finance .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
}

/* Contact Info Enhancement */
.contact-info-box {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    padding: 2.5rem;
    border-radius: 12px;
    border-left: 5px solid var(--gov-primary);
}

.contact-info-box h4 {
    color: var(--gov-primary);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.contact-info-box p {
    margin-bottom: 1rem;
    color: var(--gov-dark);
    font-size: 1rem;
}

.contact-info-box strong {
    color: var(--gov-primary);
    font-weight: 600;
}

/* Section Background Alternation */
.section.bg-light {
    background: linear-gradient(180deg, #f9fafb 0%, #f3f4f6 100%) !important;
}

.section:not(.bg-light) {
    background: #ffffff;
}

/* Button Enhancements */
.btn-primary {
    background: linear-gradient(135deg, var(--gov-primary) 0%, #3b82f6 100%);
    border: none;
    border-radius: 8px;
    padding: 12px 28px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1e40af 0%, var(--gov-primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.3);
}

.btn-outline-primary {
    border: 2px solid var(--gov-primary);
    color: var(--gov-primary);
    border-radius: 8px;
    padding: 10px 26px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--gov-primary);
    color: #fff;
    transform: translateY(-2px);
}

/* Badge Styles */
.badge-success {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: #fff;
}

.badge-warning {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
    color: #fff;
}

.badge-info {
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
    color: #fff;
}

/* Typography Improvements */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #374151;
}

h2, h3, h4, h5 {
    font-weight: 600;
}

.lead {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #4b5563;
}

/* Small Text Enhancement */
small.text-muted {
    color: #6b7280 !important;
}

/* Links */
a {
    color: var(--gov-primary);
    transition: color 0.2s ease;
}

a:hover {
    color: #3b82f6;
}

/* Icon Enhancements */
.fa, .fas, .far {
    transition: all 0.3s ease;
}

/* Map Container */
.map-container {
    border-radius: 12px;
    overflow: hidden;
}

/* Responsive Improvements */
@media (max-width: 768px) {
    .heading-block h2 {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .card-body {
        padding: 1.5rem 1rem;
    }
}

/* ==================== NAVIGATION BAR ENHANCEMENTS ==================== */

/* Header Wrapper - Default (not sticky) */
#header-wrap {
    background: #ffffff;
    transition: all 0.3s ease;
    position: relative;
    z-index: 100;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

#header-wrap + * {
    margin-top: 0 !important;
}

#header {
    margin-bottom: 0 !important;
}

#header .container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.header-row {
    margin-bottom: 0 !important;
    padding-top: 3px !important;
    padding-bottom: 3px !important;
}

/* Logo Section - Reduce Size */
#logo {
    margin: 0 !important;
    padding: 0 !important;
}

#logo a {
    padding: 0 !important;
    gap: 8px;
}

#logo img {
    width: 50px !important;
    height: auto !important;
}

.logo-text {
    line-height: 1.1;
}

.logo-text h4 {
    font-size: 1.1rem !important;
    margin-bottom: 1px !important;
    line-height: 1.1;
}

.logo-text p {
    font-size: 0.75rem !important;
    margin-bottom: 0 !important;
}

/* Header Misc Section */
.header-misc {
    font-size: 0.85rem;
}

.header-misc .he-text {
    font-size: 0.8rem;
}

.header-misc i {
    font-size: 1rem;
}

/* Header Wrapper - Sticky on Scroll */
#header-wrap.header-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    animation: slideDown 0.3s ease-out;
    background: #ffffff;
}

#header-wrap.header-sticky #header {
    position: relative;
    z-index: 10000 !important;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Top Bar Enhancement */
#top-bar {
    background: linear-gradient(135deg, var(--gov-primary) 0%, #3b82f6 100%);
    color: #fff;
    padding: 0;
    transition: all 0.3s ease;
}

/* Marquee Container */
.marquee-container {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    padding: 5px 0;
    overflow: hidden;
    border-bottom: 2px solid #fbbf24;
}

.marquee-wrapper {
    display: flex;
    align-items: center;
}

.marquee-label {
    background: #fbbf24;
    color: #1f2937;
    padding: 4px 15px;
    font-weight: 700;
    font-size: 13px;
    margin-right: 10px;
    border-radius: 0 18px 18px 0;
    white-space: nowrap;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
}

.marquee-content {
    flex: 1;
    overflow: hidden;
}

.marquee-text {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
    color: #ffffff;
    font-weight: 600;
    font-size: 13px;
}

.marquee-text span {
    margin-right: 100px;
    display: inline-block;
}

.marquee-text .date {
    color: #fbbf24;
    font-weight: 700;
    margin-right: 10px;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.marquee-text:hover {
    animation-play-state: paused;
}

/* Hide Top Bar when header is sticky */
.header-sticky-active #top-bar {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0;
}

.header-sticky-active .marquee-container {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0;
    border: 0;
}

/* Add spacing when header becomes sticky to prevent content jump */
body.header-sticky-active {
    padding-top: 0;
}

/* Sticky spacer to prevent content jump */
.header-sticky-spacer {
    height: 0;
    transition: height 0.3s ease;
}

body.header-sticky-active .header-sticky-spacer {
    height: 110px;
}

#top-bar .he-text {
    color: #fff !important;
}

#top-bar .he-text span,
#top-bar .he-text span a {
    color: rgba(255, 255, 255, 0.9) !important;
    transition: color 0.2s ease;
}

#top-bar .he-text span a:hover {
    color: #fff !important;
}

/* Primary Menu Enhancement */
.primary-menu {
    font-weight: 600;
}

.primary-menu .menu-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.primary-menu .menu-item {
    position: relative;
    margin: 0;
}

.primary-menu .menu-link {
    padding: 12px 16px !important;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 8px;
    display: inline-flex !important;
    align-items: center;
    white-space: nowrap;
}

.primary-menu .menu-link div {
    color: #ffffff !important;
    display: inline-block;
    white-space: nowrap;
}

/* Menu Link Hover Effect */
.primary-menu .menu-item > .menu-link:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.15);
}

.primary-menu .menu-item > .menu-link:hover div {
    color: #ffffff !important;
}

/* Active Menu Item */
.primary-menu .menu-item.current > .menu-link {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.2);
}

.primary-menu .menu-item.current > .menu-link div {
    color: #ffffff !important;
}

/* Modern Underline Animation */
.primary-menu .menu-link::before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 40px;
    height: 3px;
    background: #fbbf24;
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.primary-menu .menu-item.current > .menu-link::before,
.primary-menu .menu-item:hover > .menu-link::before {
    transform: translateX(-50%) scaleX(1);
}

/* ==================== DROPDOWN MENU ENHANCEMENTS ==================== */

/* Dropdown Container */
.primary-menu .sub-menu-container {
    background: #ffffff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    margin-top: 10px;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Show Dropdown on Hover */
.primary-menu .sub-menu:hover > .sub-menu-container {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown Arrow Indicator */
.primary-menu .sub-menu > .menu-link::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 8px;
    font-size: 13px;
    transition: transform 0.3s ease;
    display: inline-block;
    vertical-align: middle;
}

.primary-menu .sub-menu:hover > .menu-link::after {
    transform: rotate(180deg);
}

.primary-menu .sub-menu.menu-item.current > .menu-link::after,
.primary-menu .sub-menu:hover > .menu-link::after {
    color: #ffffff !important;
}

/* Ensure dropdown parent stays inline */
.primary-menu .sub-menu > .menu-link {
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
}

/* Dropdown Menu Items */
.primary-menu .sub-menu-container .menu-item {
    margin: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.primary-menu .sub-menu-container .menu-item:last-child {
    border-bottom: none;
}

.primary-menu .sub-menu-container .menu-link {
    padding: 14px 20px !important;
    color: #374151 !important;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
    border-radius: 0;
}

.primary-menu .sub-menu-container .menu-link div {
    color: #374151 !important;
}

.primary-menu .sub-menu-container .menu-link:hover {
    background: linear-gradient(135deg, var(--gov-primary) 0%, #3b82f6 100%);
    color: #ffffff !important;
    padding-left: 28px !important;
}

.primary-menu .sub-menu-container .menu-link:hover div {
    color: #ffffff !important;
}

/* Active Dropdown Item */
.primary-menu .sub-menu-container .menu-item.current .menu-link {
    background: linear-gradient(135deg, var(--gov-primary) 0%, #3b82f6 100%);
    color: #ffffff !important;
    border-left: 4px solid #fbbf24;
}

.primary-menu .sub-menu-container .menu-item.current .menu-link div {
    color: #ffffff !important;
}

/* Dropdown Icon Bullets */
.primary-menu .sub-menu-container .menu-link::before {
    content: '▸';
    margin-right: 8px;
    color: var(--gov-primary);
    font-size: 14px;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.2s ease;
}

.primary-menu .sub-menu-container .menu-link:hover::before {
    opacity: 1;
    transform: translateX(0);
    color: #fbbf24;
}

/* Mobile Menu Trigger */
.primary-menu-trigger button {
    background: var(--gov-primary);
    border-radius: 8px;
    padding: 12px;
    transition: all 0.3s ease;
}

.primary-menu-trigger button:hover {
    background: #3b82f6;
    transform: scale(1.05);
}

.primary-menu-trigger .cnvs-hamburger-inner,
.primary-menu-trigger .cnvs-hamburger-inner::before,
.primary-menu-trigger .cnvs-hamburger-inner::after {
    background-color: #fff !important;
}

/* ==================== SLIDER ENHANCEMENTS ==================== */

/* Slider Container */
.slider-element {
    position: relative;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
    margin-top: 0 !important;
    padding-top: 0 !important;
    z-index: 1;
}

#slider {
    margin-top: 0 !important;
    padding-top: 0 !important;
    position: relative;
    z-index: 1;
}

.swiper_wrapper {
    margin-top: 0 !important;
}

.swiper-slide {
    position: relative;
    min-height: 500px !important;
}

/* Slider Image Enhancement */
.swiper-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center center !important;
    transition: transform 8s ease-out;
}

.swiper-slide-active .swiper-slide-bg {
    animation: kenBurns 8s ease-out;
}

/* Ken Burns Effect */
@keyframes kenBurns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

/* Slider Overlay */
.swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.4) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

/* Enhanced Caption Styling */
.slider-caption {
    position: absolute;
    top: 50%;
    left: 50px;
    transform: translateY(-50%);
    z-index: 5;
    max-width: 600px;
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

.slider-caption div {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 35px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border-left: 6px solid var(--gov-primary);
}

.slider-caption h2 {
    color: var(--gov-primary) !important;
    margin-bottom: 15px;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.slider-caption p {
    color: #4b5563 !important;
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.6;
    font-weight: 500;
}

/* Enhanced Navigation Arrows */
.swiper-button-prev,
.swiper-button-next {
    width: 55px !important;
    height: 55px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-radius: 50% !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 2px solid rgba(30, 58, 138, 0.1);
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: var(--gov-primary) !important;
    transform: scale(1.1);
    box-shadow: 0 10px 35px rgba(30, 58, 138, 0.4);
}

.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 22px !important;
    font-weight: 900;
    color: var(--gov-primary);
    transition: color 0.3s ease;
}

.swiper-button-prev:hover:after,
.swiper-button-next:hover:after {
    color: #fff;
}

.swiper-button-prev {
    left: 25px !important;
}

.swiper-button-next {
    right: 25px !important;
}

/* Slider Pagination Dots Enhancement */
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.6);
    opacity: 1;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #fff;
    width: 35px;
    border-radius: 6px;
}

/* ==================== RESPONSIVE ENHANCEMENTS ==================== */

@media (max-width: 991px) {
    .primary-menu .menu-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .primary-menu .menu-link {
        padding: 15px 20px !important;
    }
    
    .primary-menu .sub-menu-container {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-left: 3px solid var(--gov-primary);
        margin-left: 15px;
        margin-top: 5px;
    }
}

@media (max-width: 768px) {
    .swiper-slide {
        min-height: 450px !important;
    }
    
    .slider-caption {
        left: 20px;
        right: 20px;
        max-width: calc(100% - 40px);
    }
    
    .slider-caption div {
        padding: 25px 25px;
        border-radius: 15px;
    }
    
    .slider-caption h2 {
        font-size: 1.8rem;
    }
    
    .slider-caption p {
        font-size: 1rem;
    }
    
    .swiper-button-prev,
    .swiper-button-next {
        width: 45px !important;
        height: 45px !important;
    }
    
    .swiper-button-prev {
        left: 15px !important;
    }
    
    .swiper-button-next {
        right: 15px !important;
    }
}

@media (max-width: 576px) {
    .swiper-slide {
        min-height: 350px !important;
    }
    
    .slider-caption {
        top: auto;
        bottom: 30px;
        transform: none;
    }
    
    .slider-caption div {
        padding: 20px;
    }
    
    .slider-caption h2 {
        font-size: 1.4rem;
    }
    
    .slider-caption p {
        font-size: 0.9rem;
    }
}
