/* =========================================================
   START: FOOTER CSS (MAIN WRAPPER)
   ========================================================= */
/* ======= FOOTER CSS START ======= */
/* Reset & base for footer */
.footer-section * { box-sizing: border-box;
   max-height: 350px;
 }

/* =========================================================
   START: FOOTER SECTION CORE STYLES
   - Main layout, colors, padding, top border
   ========================================================= */
.footer-section {
    background-color: #062d51 ; /* Base Brand Blue */
    position: relative;
    color: #ffffff;
    /* Reduced top padding from 70px to 40px */
    padding: 20px 20px 0px 20px;
    margin: 0 15px; 
    font-size: 13px; /* Slightly smaller font for compact look */
    line-height: 1.5; /* Reduced line-height from 1.6 */
    border-top: 5px solid #cfd8dc; 
    overflow: hidden;
    border-radius: 45px 45px 0px 0px;
}
/* =========================================================
   END: FOOTER SECTION CORE STYLES
   ========================================================= */



/* =========================================================
   START: FOOTER BLUEPRINT GRID OVERLAY
   - White grid pattern for premium blueprint effect
   ========================================================= */
.footer-pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.08;
    background-image: 
        linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}
/* =========================================================
   END: FOOTER BLUEPRINT GRID OVERLAY
   ========================================================= */



/* =========================================================
   START: CITY SKYLINE BACKGROUND GRAPHIC
   - CSS–drawn silhouette using layered gradients
   ========================================================= */
.city-skyline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px; /* Reduced height from 90px */
    opacity: 0.2;
    pointer-events: none;
    background-repeat: repeat-x;
    background-position: bottom;
    background-image: 
        linear-gradient(to top, #ffffff 80%, transparent 80%),
        linear-gradient(to top, #ffffff 50%, transparent 50%),
        linear-gradient(to top, #ffffff 30%, transparent 30%),
        linear-gradient(to top, #ffffff 60%, transparent 60%);
    background-size: 120px 100%, 90px 100%, 70px 100%, 140px 100%;
}
/* =========================================================
   END: CITY SKYLINE BACKGROUND GRAPHIC
   ========================================================= */



/* =========================================================
   START: FOOTER GRID CONTAINER
   - 4-column layout (responsive below)
   ========================================================= */
.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 1fr 1.1fr; 
    gap: 30px; /* Reduced gap from 50px */
    position: relative; 
    padding-bottom: 30px; /* Reduced padding from 50px */
    z-index: 2;
}
/* =========================================================
   END: FOOTER GRID CONTAINER
   ========================================================= */



/* =========================================================
   START: FOOTER HEADINGS (H3 & H4)
   ========================================================= */
.footer-section h3 {
    font-family: 'Cinzel', serif;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px; /* Reduced margin from 25px */
    letter-spacing: 1px;
    color: #ffffff;
    border-left: 3px solid #cfd8dc; 
    padding-left: 10px;
    text-shadow: 0px 2px 4px rgba(0,0,0,0.3);
}

.footer-section h4 {
    font-family: 'Cinzel', serif;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 5px;
    margin-top: 10px; /* Reduced margin from 20px */
    color: #cfd8dc;
}
/* =========================================================
   END: FOOTER HEADINGS (H3 & H4)
   ========================================================= */



/* =========================================================
   START: FOOTER LINK LIST STYLES
   ========================================================= */
.footer-section ul { list-style: none; padding:0; margin:0; }
.footer-section ul li { margin-bottom: 8px; /* Reduced from 12px */ }

.footer-section ul li a {
    color: #e3f2fd;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 400;
    display: inline-block;
}
.footer-section ul li a:hover {
    color: #ffffff;
    text-shadow: 0 0 5px rgba(255,255,255,0.6);
    transform: translateX(5px);
}
/* =========================================================
   END: FOOTER LINK LIST STYLES
   ========================================================= */



/* =========================================================
   START: BRAND COLUMN (LOGO + DESCRIPTION)
   ========================================================= */
.brand-col p {
    margin-bottom: 15px; /* Reduced from 25px */
    color: #f1f1f1;
    font-weight: 300;
}

.logo-link { display: inline-block; transition: transform 0.3s; }
.logo-link:hover { transform: scale(1.02); }

.footer-logo {
    max-width: 150px; /* Slightly reduced logo size */
    margin-bottom: 15px; /* Reduced from 20px */
    display: block;
    padding: 5px;
    border-radius: 2px;
}
/* =========================================================
   END: BRAND COLUMN (LOGO + DESCRIPTION)
   ========================================================= */



/* =========================================================
   START: SOCIAL ICONS (CIRCLE OUTLINE)
   ========================================================= */
.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 15px; /* Reduced margin */
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px; /* Smaller icons */
    height: 32px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 12px;
}

.social-icons a:hover {
    background: #fff;
    border-color: #fff;
    color: #0c589c;
    transform: scale(1.1);
}
/* =========================================================
   END: SOCIAL ICONS (CIRCLE OUTLINE)
   ========================================================= */



/* =========================================================
   START: FUNCTIONAL LINKS (MAP, EMAIL, PHONE)
   ========================================================= */
.functional-link {
    color: #fff;
    text-decoration: none;
    display: block;
    transition: opacity 0.3s;
}
.functional-link:hover {
    color: #cfd8dc;
    text-decoration: underline;
}
/* =========================================================
   END: FUNCTIONAL LINKS (MAP, EMAIL, PHONE)
   ========================================================= */



/* =========================================================
   START: BRANCH NAME HIGHLIGHT
   ========================================================= */
.branch-name {
    font-weight: 700;
    display: block;
    color: #ffffff;
    font-family: 'Cinzel', serif;
    border-bottom: 1px dotted rgba(255,255,255,0.3);
    padding-bottom: 2px;
    margin-bottom: 3px;
    width: fit-content;
}
/* =========================================================
   END: BRANCH NAME HIGHLIGHT
   ========================================================= */



/* =========================================================
   START: FOOTER BOTTOM BAR
   ========================================================= */
.footer-bottom {
    position: relative;
    z-index: 2;
    background: rgba(0,0,0,0.3);
    padding: 8px; /* Reduced padding */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 11px; /* Smaller font */
    letter-spacing: 0.5px;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px 20px 0px 0px;
}

.footer-bottom span {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.brand-war-logo-img {
    height: 26px; /* Reduced size */
    width: auto;
    padding: 2px;
    border-radius: 2px;
    transition: opacity 0.3s;
}
.brand-war-logo-img:hover { opacity: 0.8; }
/* =========================================================
   END: FOOTER BOTTOM BAR
   ========================================================= */



/* =========================================================
   START: RESPONSIVE BEHAVIOR
   ========================================================= */
@media (max-width: 1024px) {
    .footer-container { grid-template-columns: 1fr 1fr; }
    .footer-section * {
   max-height: none;
 }
}

@media (max-width: 600px) {
    .footer-container { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 10px; }
    .city-skyline { height: 60px; }
}
/* =========================================================
   END: RESPONSIVE BEHAVIOR
   ========================================================= */

/* ======= FOOTER CSS END ======= */
/* =========================================================
   END: FOOTER CSS (MAIN WRAPPER)
   ========================================================= */