/* ==========================================================================
   OPTIMIZED BALANCED FOOTER ROW LAYOUT
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

/* MAIN FOOTER */
.footer-section {
    width: 100%;
    background: #d3f2c5 !important; /* Preserves requested crisp white template background */
    color: #333333;
    overflow: hidden;
    border-top: 1px solid #e5e5e5;
}

/* CONTAINER - CONVERTED TO BALANCED 4-COLUMN FLEX GRID */
.footer-container {
    width: 94%;
    margin: 0 auto;
    padding: 60px 0 45px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 25px; /* Tightened layout gap matrix down to maximize width */
    flex-wrap: nowrap; /* Strictly bars text columns from shifting down */
}

/* FOUR DISTINCT PROPORTIONAL GRID COLUMNS */
.contact-column {
    flex: 1.4 !important; /* Extra padding area room allocated to contact block layout images */
    min-width: 320px;
}

.quick-links {
    flex: 0.7 !important; /* Tightens width footprint since links look compact */
    min-width: 140px;
}

.useful-links {
    flex: 1.2 !important; /* Balances the government links item widget blocks */
    min-width: 260px;
}

.social-column {
    flex: 0.9 !important; /* Spreads out social container block width space footprint */
    min-width: 220px;
}

/* COLUMN MODULE TITLES */
.footer-container h2,
.useful-title {
    font-size: 20px !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    color: #111111 !important;
    text-align: left !important; /* Forces left alignment consistency */
    position: relative;
}

/* CONTACT BOX DESIGN */
.contact-box {
    border: 1px solid #847e73;
    border-radius: 12px;
    padding: 20px;
    background: #d3f2c5;
    width: 100%;
}

.logo-content {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-logo {
    width: 65px; /* Proportional compact sizing matching modern templates */
    height: auto;
    flex-shrink: 0;
}

.logo-text h3 {
    font-size: 17px;
    line-height: 1.4;
    font-weight: 700;
    color: #0d5b7a;
}

.sub-text {
    font-size: 13px;
    line-height: 1.3;
    color: #555555;
    margin: 3px 0 0 0;
}

.address-block p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 12px;
    color: #333333;
}
.address-block p:last-child {
    margin-bottom: 0;
}

/* QUICK LINKS LIST COMPONENT */
.quick-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-links ul li {
    margin-bottom: 12px;
}

.quick-links ul li a {
    text-decoration: none;
    color: #4a5568;
    font-size: 16px;
    transition: all 0.25s ease;
}

.quick-links ul li a:hover {
    color: #f37021;
    padding-left: 5px;
}

/* GOVERNMENT USEFUL WIDGET GRID */
.useful-links-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.useful-box {
    width: 60%;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 14px;
    min-height: 65px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.useful-box:hover {
    transform: translateY(-2px);
    background: #ffffff;
    border-color: #0d5b7a;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.useful-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    background: #ffffff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
}

.useful-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.useful-content h4 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #1a202c;
}

.useful-content p {
    margin: 0;
    font-size: 15px;
    color: #718096;
}

.useful-box:hover h4 {
    color: #0d5b7a;
}

/* STAY CONNECTED SOCIAL ROW GRID SYSTEM */
.social-title {
    font-size: 22px !important;
    font-weight: 700;
    color: #111111 !important;
    margin-bottom: 20px;
}

.social-icons {
    display: flex !important;
    flex-direction: row !important; /* FORCES ALL ICONS HORIZONTALLY SIDE-BY-SIDE */
    flex-wrap: nowrap !important; /* PREVENTS ANY ICON SNAPPING BLOCKS DOWNWARD */
    gap: 10px !important; /* Tight margin gap boundaries to preserve space layout ratios */
    align-items: center !important;
    width: 100% !important;
}

.social-icons a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease;
}

.social-icons a:hover {
    transform: translateY(-4px) scale(1.08);
}

.social-icons img {
    width: 38px !important; /* Perfectly proportioned to match header bars without wrapping */
    height: 38px !important;
    object-fit: contain;
}

/* FOOTER BASE LEGALS FRAME */
.footer-bottom {
    width: 100%;
    text-align: center;
    padding: 20px 15px;
    background: #08465f;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 15px;
    color: #ffffff;
}

.sticky-incubation-btn {
    position: fixed;
    right: 0;
    bottom: 20px;
    z-index: 9999;
}
.sticky-incubation-btn a {
    background: #0d5b7a;
    color: white;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 8px 0 0 8px;
    font-size: 17px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* ==========================================================================
   RESPONSIVE DESIGN SYSTEM OVERRIDES
   ========================================================================== */

@media (max-width: 1140px) {
    .footer-container {
        flex-wrap: wrap !important; /* Wrap columns on small displays or laptop sizing tracks */
        gap: 30px;
        padding: 40px 20px;
    }
    .contact-column {
        flex: 100% !important; /* Forces input contact window to top tier full span grid width */
    }
    .quick-links, .useful-links, .social-column {
        flex: 1 !important;
    }
    .social-icons {
        flex-wrap: wrap !important; /* Restores simple overflow padding wrap bounds for mobile swiping */
    }
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column !important;
    }
    .quick-links, .useful-links, .social-column {
        width: 100% !important;
    }
}

/* ==========================================================================
   GLOBAL FIXED EXPANDABLE SIDE BAR ACCESSIBILITY NAVIGATION ENGINE
   ========================================================================== */

.iimj-fixed-side-dock {
    position: fixed !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important; /* Perfect vertical window centering alignment */
    z-index: 999999 !important; /* Forces layout tracking visibility above all carousel slides & text blocks */
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    padding: 0 !important;
    margin: 0 !important;
}

.iimj-side-dock-item {
    display: flex !important;
    flex-direction: row-reverse !important; /* Lines up text elements smoothly tracking right-to-left expansion */
    align-items: center !important;
    justify-content: flex-start !important;
   background-color: #214AAB !important;
    color: #ffffff !important;
    text-decoration: none !important;
    height: 48px !important;
    width: 48px !important; /* Squarish defaults showing icons only */
    border-radius: 8px 0 0 8px !important; /* Curved outer corner design edge */
    overflow: hidden !important;
    cursor: pointer !important;
    box-shadow: -2px 4px 12px rgba(0, 0, 0, 0.15) !important;
    box-sizing: border-box !important;
    
    /* Elegant smooth width easing slider transition values */
    transition: width 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), background-color 0.2s ease !important;
}

.iimj-side-dock-icon {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
}

.iimj-side-dock-label {
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding-left: 15px !important;
    padding-right: 5px !important;
    white-space: nowrap !important;
    opacity: 0 !important;
    transition: opacity 0.2s ease !important;
}

/* Expansion Action on Element Hover Trigger */
.iimj-side-dock-item:hover {
    width: 170px !important; /* Expands smoothly out to the left to show labels */
    background-color: #f37021 !important; /* Switches cleanly into brand accent orange color */
}

.iimj-side-dock-item:hover .iimj-side-dock-label {
    opacity: 1 !important;
}

/* Sync properties logic overrides for Dark Theme active viewport states */
body.dark-mode .iimj-side-dock-item {
    background-color: #333333 !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-right: none !important;
}

body.dark-mode .iimj-side-dock-item:hover {
    background-color: #f37021 !important;
}

/* Responsive configuration mapping targets for standard mobile screens */
@media (max-width: 768px) {
    .iimj-fixed-side-dock {
        display: none !important; /* Suppresses dock panel execution overlay on small mobile displays */
    }
}

/* QR CODE SECTION UNDER SOCIAL ICONS - INCREASING SIZE */
.footer-qr-wrapper {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.qr-title {
    font-size: 20px !important;
    font-weight: 650;
    color: #111111 !important;
    margin-bottom: 10px;
}

.qr-image-box {
    background: #ffffff;
    padding: 12px; /* Slightly increased padding to match the larger image scale */
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.qr-image-box img {
    width: 160px;  /* Increased width */
    height: 160px; /* Increased height */
    object-fit: contain;
    display: block;
}

/* Dark Mode adaptation support */
body.dark-mode .qr-title {
    color: #ffffff !important;
}