
/* ============================================
   1. SHARED SEARCH STYLES (Desktop & Mobile)
   ============================================ */

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    width: 220px;
    padding: 12px 40px 12px 16px;
    border: 1px solid #dbe4f3;
    border-radius: 12px;
    font-size: 14px;
    color: #333;
    background: #ffffff;
    transition: all 0.3s ease;
    outline: none;
}

.search-input:focus {
    border-color: #001744;
    box-shadow: 0 0 0 3px rgba(0, 23, 68, 0.1);
    width: 260px;
}

.search-button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #001744;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-button:hover {
    color: #0b4fc6;
    transform: translateY(-50%) scale(1.05);
}

/* ============================================
   2. MOBILE SEARCH OVERLAY STYLES
   ============================================ */

.mobile-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    display: none; /* Hidden by default */
    align-items: flex-start;
    justify-content: center;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.mobile-search-overlay.active {
    display: flex; /* Shown via JS */
}

.mobile-search-container {
    width: 90%;
    max-width: 500px;
    margin-top: 80px;
    animation: slideDown 0.3s ease;
}

.mobile-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.mobile-search-input {
    flex: 1;
    padding: 16px 70px 16px 20px;
    border: none;
    font-size: 16px;
    outline: none;
    color: #333;
}

.mobile-search-submit {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #001744;
    font-size: 20px;
    cursor: pointer;
}

.mobile-search-close {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #999;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.mobile-search-close:hover {
    color: #ff4444;
}

/* ============================================
   3. THE SWITCH (Responsive Logic)
   ============================================ */

/* --- Desktop (992px and above) --- */
@media (min-width: 992px) {
    /* 1. Force the Desktop Box to show */
    .desktop-search-wrapper {
        display: block !important;
    }
    
    /* 2. FORCE the Mobile Icon to hide */
    /* We target the ID (#) and multiple classes to ensure it overrides everything else */
    #mobileSearchToggle.mobile-search-toggle.menu-icon-link {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }
}

/* --- Tablet and Mobile (up to 991px) --- */
@media (max-width: 991.98px) {
    /* 1. Hide the Desktop Box */
    .desktop-search-wrapper {
        display: none !important;
    }
    
    /* 2. Show the Mobile Icon */
    #mobileSearchToggle.mobile-search-toggle {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: auto !important;
    }
}

/* Animations */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } }





















/* Reposition hamburger button */
.dj-mobile-open-btn {
    position: fixed !important;
    top: 20px !important;
    left: 20px !important;
    z-index: 10000 !important;
    
    /* Button styling */
    background: #001744 !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 10px 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(0, 23, 68, 1) !important;
    transition: all 0.3s ease !important;
}

.dj-mobile-open-btn:hover {
    background: #001744 !important;
    transform: translateY(-2px) !important;
}

/* Add padding to your custom header to make room for hamburger */
.custom-header {
    padding-left: 100px !important;
}

/* If your header has a different class, adjust accordingly */
.custom-header .header-inner {
    position: relative;
    padding-left: 20px;

}

/* For mobile screens */
@media (max-width: 768px) {
    .dj-mobile-open-btn {
        top: 15px !important;
        left: 15px !important;
        padding: 8px 14px !important;
    }
    
    .custom-header {
        padding-left: 80px !important;
    }
}

@media (max-width: 480px) {
    .dj-mobile-open-btn {
        top: 12px !important;
        left: 12px !important;
        padding: 8px 12px !important;
    }
    
    .custom-header {
        padding-left: 70px !important;
    }
}




/* Smooth floating hover effect */
.my-hover-column {
  transition: box-shadow 0.4s ease, transform 0.4s ease;
  box-shadow: 0 0px 5px rgba(0, 0, 0, 0.15);  /* soft floating shadow */
  transform: translateY(0);          /* default position */
} 

.my-hover-column:hover {
  transform: translateY(-5px);       /* float up slightly */
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15);  /* soft floating shadow */
  z-index: 5;                        /* ensure it floats above others */
} 



.custom-header .header-inner {
    min-height: 110px;
}

.custom-header .site-logo {
    max-height: 95px;
    width: auto;
    display: block;
}

.custom-header .header-menu {
    gap: 12px;
}

/* square icon button */
.custom-header .header-menu .menu-icon-link {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    color: #001744 !important;
    background: #ffffff !important;
    border: 1px solid #dbe4f3 !important;
    border-radius: 14px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
}

.custom-header .header-menu .menu-icon-link i {
    font-size: 24px !important;
    line-height: 1 !important;
}

.custom-header .header-menu .menu-icon-link:hover {
    background: #001744 !important;
    color: #ffffff !important;
    border-color: #001744 !important;
    transform: translateY(-2px);
}

.custom-header .header-menu .menu-icon-link:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(11, 79, 198, 0.18);
}

/* tablet */
@media (max-width: 991.98px) {
    .custom-header .header-inner {
        flex-wrap: wrap;
        justify-content: center !important;
        gap: 16px;
        text-align: center;
    }

    .custom-header .header-brand {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .custom-header .site-logo {
        max-height: 78px;
    }

    .custom-header .header-menu {
        width: 100%;
        justify-content: center;
    }

    .custom-header .header-menu .menu-icon-link {
        width: 50px !important;
        height: 50px !important;
        min-width: 50px !important;
        border-radius: 12px !important;
    }

    .custom-header .header-menu .menu-icon-link i {
        font-size: 22px !important;
    }
}

/* mobile */
@media (max-width: 575.98px) {
    .custom-header .header-inner {
        /* This ensures the logo and icons stay on one line if possible, 
           or wrap neatly below the burger area */
        gap: 12px;
        padding-top: 40px; /* Added space so logo doesn't hug the top edge/burger */
        padding-bottom: 12px;
    }

    .custom-header .header-brand {
        display: flex;
        justify-content: center;
        width: 100%; /* Keeps logo centered */
    }

    .custom-header .site-logo {
        /* INCREASE THIS VALUE */
        max-height: 90px !important; 
        width: auto;
        transition: all 0.3s ease;
    }

    .custom-header .header-menu {
        gap: 8px;
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   MODERN FOOTER STYLES - LARGER LOGOS
   ============================================ */

.jkns-footer {
    background: linear-gradient(135deg, #0a0f1f 0%, #111827 50%, #0b4fc6 100%);
    color: #ffffff;
    width: 100%;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 60px;
    font-family: 'Poppins', 'Roboto', sans-serif;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
}

/* Gradient overlay */
.jkns-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ffffff, #0b4fc6, #ffffff);
    opacity: 0.3;
}

/* Decorative pattern */
.jkns-footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(11,79,198,0.1) 0%, rgba(11,79,198,0) 70%);
    pointer-events: none;
}

.jkns-footer * {
    box-sizing: border-box;
}

/* Container */
.jkns-footer-inner {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 60px 30px 40px;
    position: relative;
    z-index: 2;
}

/* Grid Layout */
.jkns-footer-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.5fr 1.2fr;
    gap: 50px;
    align-items: start;
    margin-bottom: 50px;
}

.jkns-footer-col {
    min-width: 0;
}

/* ============================================
   LOGO SECTION
   ============================================ */

.footer-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin-bottom: 20px;
}

/* Logo base */
.jkns-footer-logo {
    display: block;
    width: 100%;
    max-width: 180px;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* Larger sizes */
.jkns-footer-logo:first-child {
    max-width: 200px;
}

.ms-iso {
    max-width: 160px;
}

/* ✅ INDIVIDUAL HOVER (same glow as map) */
.footer-logo-wrapper img:hover {
    transform: scale(1.1) translateY(-3px);
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.5));
}

/* ============================================
   MAP LINK LOGO
   ============================================ */

.jkns-footer-col a[href*="maps.google"] {
    display: inline-block;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.jkns-footer-col a[href*="maps.google"] img {
    max-width: 60px;
    width: 100%;
    height: auto;
    transition: all 0.3s ease;
}

.jkns-footer-col a[href*="maps.google"]:hover img {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.5));
}

/* ============================================
   TEXT & HEADINGS
   ============================================ */

.jkns-footer-title,
.jkns-footer-heading {
    margin: 0 0 20px;
    font-size: 1.35rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
    color: #ffffff;
}

.jkns-footer-title:after,
.jkns-footer-heading:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #ffffff, #0b4fc6);
    border-radius: 3px;
}

.jkns-footer-heading i {
    margin-right: 10px;
    color: #ffffff;
}

.jkns-footer-text {
    margin: 0 0 12px;
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    line-height: 1.8;
}

.jkns-footer-text i {
    width: 25px;
    color: #ffffff;
    margin-right: 8px;
    opacity: 0.9;
}

/* ============================================
   QUICK LINKS
   ============================================ */

.jkns-footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.jkns-footer-links a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.jkns-footer-links a i {
    width: 20px;
    color: #ffffff;
    transition: all 0.3s ease;
}

.jkns-footer-links a:hover {
    color: #ffffff;
    transform: translateX(8px);
    text-shadow: 0 0 5px rgba(255,255,255,0.5);
}

.jkns-footer-links a:hover i {
    transform: translateX(3px);
}

/* ============================================
   FOOTER BOTTOM (LEFT / RIGHT ALIGN)
   ============================================ */

.jkns-footer-bottom {
    grid-column: 1 / -1;
    margin-top: 20px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* Text styling */
.copyright-text,
.last-updated-text {
    margin: 0;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

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

@media (max-width: 991.98px) {
    .jkns-footer-inner {
        padding: 50px 25px 35px;
    }

    .jkns-footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .footer-logo-wrapper {
        padding: 25px 15px;
    }

    .jkns-footer-logo:first-child {
        max-width: 160px;
    }

    .ms-iso {
        max-width: 140px;
    }
}

@media (max-width: 767.98px) {
    .jkns-footer-inner {
        padding: 40px 20px 30px;
    }

    .jkns-footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }

    .footer-logo-wrapper {
        flex-direction: row;
        justify-content: center;
        gap: 30px;
        padding: 20px;
    }

    .jkns-footer-logo:first-child {
        max-width: 140px;
    }

    .ms-iso {
        max-width: 120px;
    }

    /* Stack bottom text */
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

@media (max-width: 575.98px) {
    .jkns-footer-inner {
        padding: 35px 15px 25px;
    }

    .footer-logo-wrapper {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .jkns-footer-logo:first-child {
        max-width: 130px;
    }

    .ms-iso {
        max-width: 110px;
    }
}

/* ============================================
   ANIMATION
   ============================================ */

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