/* ==========================================
   JDIH CLEAN DESIGN SYSTEM
   Minimal, Clean, & Professional
   ========================================== */

/* ===== CLEAN COLOR PALETTE ===== */
:root {
    /* Primary - Clean Blue */
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #60a5fa;

    /* Secondary - Teal */
    --secondary: #14b8a6;
    --secondary-dark: #0d9488;

    /* Neutrals */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-900: #111827;

    /* Shadows - Subtle */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.1);

    /* Slider Dimensions */
    --slider-height: 450px;
    --slider-height-tablet: 400px;
    --slider-height-mobile: 350px;
    --slider-interval: 5000ms;
    --search-section-offset: -320px;
    --search-section-height: 380px;
}

/* ===== MODERN TOPBAR ===== */
.topbar-modern {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.topbar-modern .navbar-brand img {
    filter: brightness(1.1);
    transition: transform 0.2s ease;
}

.topbar-modern .navbar-brand:hover img {
    transform: scale(1.05);
}

/* ===== MODERN NAVBAR ===== */
.navbar-modern {
    background: white !important;
    border-bottom: 1px solid var(--gray-200);
}

.navbar-modern .navbar-nav-link {
    color: var(--gray-700) !important;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    position: relative;
}

.navbar-modern .navbar-nav-link:hover {
    background: var(--gray-100) !important;
    color: var(--primary) !important;
}

.navbar-modern .navbar-nav-link.active {
    background: var(--primary) !important;
    color: white !important;
}

.navbar-modern .navbar-nav-link i {
    font-size: 1.1rem;
}

/* Modern Dropdown */
.dropdown-menu-modern {
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    margin-top: 0.5rem !important;
}

.dropdown-menu-modern .dropdown-item {
    border-radius: 8px;
    padding: 0.625rem 1rem;
    transition: all 0.15s ease;
    color: var(--gray-700);
}

.dropdown-menu-modern .dropdown-item:hover {
    background: var(--gray-100);
    color: var(--primary);
    transform: translateX(4px);
}

.dropdown-menu-modern .dropdown-item.active {
    background: var(--primary);
    color: white;
}

.dropdown-menu-modern .dropdown-item i {
    color: var(--gray-500);
}

.dropdown-menu-modern .dropdown-item:hover i,
.dropdown-menu-modern .dropdown-item.active i {
    color: inherit;
}

/* ===== CLEAN HERO ===== */
.hero-clean {
    background: linear-gradient(to bottom, #f9fafb 0%, #ffffff 100%);
    border-bottom: 1px solid var(--gray-200);
}

/* ===== CLEAN CARD ===== */
.card-clean {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.2s ease;
}

.card-clean:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

/* ===== STAT CARD CLEAN ===== */
.stat-card-clean {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.2s ease;
}

.stat-card-clean:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
    transform: translateY(-4px);
}

.stat-icon-clean {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.stat-icon-blue {
    background: #eff6ff;
    color: var(--primary);
}
.stat-icon-teal {
    background: #f0fdfa;
    color: var(--secondary);
}
.stat-icon-green {
    background: #f0fdf4;
    color: #10b981;
}
.stat-icon-amber {
    background: #fffbeb;
    color: #f59e0b;
}

/* ===== BUTTONS CLEAN ===== */
.btn-clean {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid var(--gray-300);
}

.btn-clean-primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-clean-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

/* ===== BADGE CLEAN ===== */
.badge-clean {
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-blue {
    background: #eff6ff;
    color: var(--primary);
}
.badge-teal {
    background: #f0fdfa;
    color: var(--secondary);
}
.badge-green {
    background: #f0fdf4;
    color: #10b981;
}
.badge-amber {
    background: #fffbeb;
    color: #f59e0b;
}

/* ===== SECTION TITLE CLEAN ===== */
.section-title-clean {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.section-subtitle-clean {
    font-size: 1.125rem;
    color: var(--gray-500);
    font-weight: 400;
}

/* ===== ANIMATIONS - Subtle ===== */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .stat-card-clean {
        padding: 1.5rem;
    }

    .section-title-clean {
        font-size: 1.5rem;
    }

    .navbar-modern .navbar-nav-link {
        font-size: 0.875rem;
        padding: 0.5rem 0.875rem;
    }
}

/* ===== UTILITIES ===== */
.text-primary {
    color: var(--primary);
}
.text-secondary {
    color: var(--secondary);
}
.text-gray {
    color: var(--gray-500);
}

.bg-gray-50 {
    background: var(--gray-50);
}
.bg-white {
    background: white;
}

.border-gray {
    border-color: var(--gray-200);
}
.border-primary {
    border-color: var(--primary);
}

/* Remove purple/pink gradients */
.bg-gradient-hero {
    background: linear-gradient(to bottom, #f9fafb 0%, #ffffff 100%) !important;
}

.gradient-text {
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--secondary) 100%
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Clean up excessive animations */
.hero-pattern {
    opacity: 0.03 !important;
}

.floating {
    animation: none !important;
}

/* Simplify glass effects */
.glass-card {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(8px) !important;
    border: 1px solid var(--gray-200) !important;
    box-shadow: var(--shadow) !important;
}

/* ===== MODERN HERO SLIDER ===== */
.hero-slider-modern {
    position: relative;
    width: 100%;
    height: var(--slider-height);
    overflow: hidden;
}

.hero-slider-modern .carousel,
.hero-slider-modern .carousel-inner,
.hero-slider-modern .carousel-item {
    height: 100%;
}

/* Skeleton Loader */
.slide-skeleton {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        var(--gray-200) 0%,
        var(--gray-100) 50%,
        var(--gray-200) 100%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    z-index: 0;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.hero-slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Ken Burns Effect */
.carousel-item.active .hero-slide-image {
    animation: kenBurns 8s ease-in-out forwards;
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.08);
    }
}

/* Pause Ken Burns on hover */
.hero-slider-modern:hover .hero-slide-image,
.hero-slider-modern:focus-within .hero-slide-image {
    animation-play-state: paused;
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(30, 58, 138, 0.7) 0%,
        rgba(30, 64, 175, 0.6) 100%
    );
    backdrop-filter: blur(2px);
    z-index: 2;
}

.hero-slider-modern .container {
    position: relative;
    z-index: 3;
    height: 100%;
}

.hero-content {
    color: white;
}

/* Staggered content animation */
.hero-slide-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    line-height: 1.3;
    max-width: 700px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.hero-slide-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    line-height: 1.6;
}

.carousel-item.active .hero-slide-title {
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.carousel-item.active .hero-slide-description {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.carousel-item.active .hero-content .btn {
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

/* Progress Bar */
.slide-progress-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.slide-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-light), white);
    transition: width 0.1s linear;
}

.slide-progress-bar.animate {
    animation: progressFill var(--slider-interval) linear forwards;
}

@keyframes progressFill {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

/* Pause progress on hover */
.hero-slider-modern:hover .slide-progress-bar,
.hero-slider-modern:focus-within .slide-progress-bar {
    animation-play-state: paused;
}

/* Pause Indicator */
.slide-pause-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    z-index: 20;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.hero-slider-modern.paused .slide-pause-indicator {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* Modern Indicators */
.modern-indicators {
    bottom: 20px;
    z-index: 5;
}

.modern-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.35);
    border: none;
    margin: 0 5px;
    padding: 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.modern-indicators button.active {
    width: 24px;
    border-radius: 4px;
    background-color: #ffffff;
}

.modern-indicators button:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* Improved Focus States for Accessibility */
.modern-indicators button:focus {
    outline: 2px solid white;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
}

/* Modern Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    opacity: 0;
    z-index: 5;
    transition: opacity 0.3s ease;
}

.hero-slider-modern:hover .carousel-control-prev,
.hero-slider-modern:hover .carousel-control-next,
.carousel-control-prev:focus,
.carousel-control-next:focus {
    opacity: 1;
}

.carousel-control-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.carousel-control-icon i {
    font-size: 1.5rem;
    color: white;
}

.carousel-control-prev:hover .carousel-control-icon,
.carousel-control-next:hover .carousel-control-icon {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

/* Improved Focus States for Controls */
.carousel-control-prev:focus .carousel-control-icon,
.carousel-control-next:focus .carousel-control-icon {
    outline: 2px solid white;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
}

/* Fade Animation */
.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
}

/* Content Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Search Section Overlay */
.search-section-overlay {
    margin-top: var(--search-section-offset);
    height: var(--search-section-height);
    z-index: 10;
    position: relative;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-slider-modern {
        height: var(--slider-height-tablet);
    }

    .hero-slide-title {
        font-size: 2.25rem;
    }

    .hero-slide-description {
        font-size: 1.125rem;
    }
}

@media (max-width: 768px) {
    .hero-slider-modern {
        height: var(--slider-height-mobile);
    }

    .hero-slide-title {
        font-size: 1.875rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .hero-slide-description {
        font-size: 1rem;
    }

    .carousel-control-icon {
        width: 40px;
        height: 40px;
    }

    .carousel-control-icon i {
        font-size: 1.25rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        opacity: 1;
    }
}

/* ===== MODERN CARD STYLES ===== */
.modern-card {
    background: white;
    border-radius: 12px;
    transition: all 0.25s ease-out;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.modern-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08), 0 4px 8px rgba(0, 0, 0, 0.04);
}

.modern-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--primary-dark) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.modern-card-title {
    line-height: 1.5;
    transition: color 0.2s ease;
    font-size: 1.125rem;
}

.modern-card-title:hover {
    color: var(--primary) !important;
}

.modern-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.modern-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.modern-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.3) 100%
    );
}

/* Line Clamp Utility */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Section Title */
.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--gray-900);
}

/* Button Enhancements */
.btn-primary {
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--primary-dark) 100%
    );
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.3);
}

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

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Focus Styles */
*:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Responsive Text */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }

    .modern-card-image {
        height: 160px;
    }
}

/* Hide default btn-to-top from library, we use custom one */
.btn-to-top {
    display: none !important;
}

/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--primary-dark) 100%
    );
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

/* ===== GLASSMORPHISM SEARCH MODAL ===== */
#search-modal .modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

#search-modal .modal-dialog {
    margin-top: 15vh;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

#search-modal.show .modal-dialog {
    transform: translateY(0);
}

#search-modal .form-control {
    border-radius: 16px;
    transition: all 0.3s ease;
}

#search-modal .form-control:focus {
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
    border-color: var(--primary);
}

#search-modal .modal-backdrop {
    backdrop-filter: blur(4px);
}

/* ===== ENHANCED FOOTER ===== */
footer.bg-white {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
    position: relative;
}

footer.bg-white::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--primary) 0%,
        var(--secondary) 100%
    );
}

/* Social icons hover with brand colors */
footer .btn-outline-secondary {
    transition: all 0.3s ease;
}

footer .btn-outline-secondary:hover {
    transform: translateY(-4px);
}

footer a[title="Facebook"]:hover {
    background: #1877f2 !important;
    border-color: #1877f2 !important;
    color: white !important;
}

footer a[title="Instagram"]:hover {
    background: linear-gradient(
        45deg,
        #f09433,
        #e6683c,
        #dc2743,
        #cc2366,
        #bc1888
    ) !important;
    border-color: #dc2743 !important;
    color: white !important;
}

footer a[title="TikTok"]:hover {
    background: #000000 !important;
    border-color: #000000 !important;
    color: white !important;
}

footer a[title="YouTube"]:hover {
    background: #ff0000 !important;
    border-color: #ff0000 !important;
    color: white !important;
}

footer a[title="Twitter"]:hover {
    background: #1da1f2 !important;
    border-color: #1da1f2 !important;
    color: white !important;
}

/* Footer stats animated */
footer .fw-semibold,
footer .fw-bold {
    transition: color 0.3s ease;
}

footer li:hover .fw-semibold,
footer li:hover .fw-bold {
    color: var(--primary) !important;
}

/* ===== SCROLL ANIMATIONS ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for children */
.animate-stagger > *:nth-child(1) {
    transition-delay: 0.1s;
}
.animate-stagger > *:nth-child(2) {
    transition-delay: 0.2s;
}
.animate-stagger > *:nth-child(3) {
    transition-delay: 0.3s;
}
.animate-stagger > *:nth-child(4) {
    transition-delay: 0.4s;
}

/* ===== PAGE LOADING INDICATOR ===== */
.page-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--primary) 0%,
        var(--secondary) 50%,
        var(--primary) 100%
    );
    background-size: 200% 100%;
    animation: loading-shimmer 1.5s infinite;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.page-loading.active {
    opacity: 1;
}

@keyframes loading-shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* ===== ENHANCED NAVBAR MOBILE ===== */
@media (max-width: 991px) {
    .navbar-modern {
        padding: 0.5rem 0;
    }

    .main-nav {
        padding-bottom: 0.5rem;
    }

    .main-nav::-webkit-scrollbar {
        height: 0;
        display: none;
    }
}

/* ===== POPUP BANNER ENHANCEMENT ===== */
#popup-banner .modal-content {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: none;
}

#popup-banner .modal-dialog {
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

#popup-banner.show .modal-dialog {
    transform: scale(1);
}

/* ===== HEADER ENHANCEMENT ===== */
.page-header {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    transition: box-shadow 0.3s ease;
}

.page-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Header search animation */
.page-header .form-control {
    transition: all 0.3s ease;
}

.page-header .form-control:focus,
.page-header .form-control:hover {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* ===== RESPONSIVE ENHANCEMENTS ===== */
@media (max-width: 576px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
    }

    footer.bg-white::before {
        height: 3px;
    }
}
