/* ===== TAILWIND CONFIG STYLES ===== */
:root {
    --primary: #0B3D91;
    --secondary: #DC2626;
    --light: #FFFFFF;
    --soft: #F3F4F6;
}

/* ===== CUSTOM UTILITIES ===== */
.border-red {
    border: 1px solid #DC2626;
}

.border-blue {
    border: 1px solid #0B3D91;
}

.border-red-highlight {
    border: 2px solid #DC2626;
}

.soft-shadow {
    box-shadow: 0 10px 30px -5px rgba(11, 61, 145, 0.1);
}

.hover-red:hover {
    border-color: #B91C1C;
    color: #B91C1C;
}

.hover-blue:hover {
    border-color: #083078;
    color: #083078;
}

/* ===== BUTTON STYLES ===== */
.btn-outline-red {
    border: 1px solid #DC2626;
    color: #DC2626;
    padding: 0.75rem 1.5rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-outline-red:hover {
    background-color: #DC2626;
    color: white;
}

.btn-outline-blue {
    border: 1px solid #0B3D91;
    color: #0B3D91;
    padding: 0.75rem 1.5rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-outline-blue:hover {
    background-color: #0B3D91;
    color: white;
}

/* ===== CARD STYLES ===== */
.minimal-card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 1.5rem;
    padding: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.minimal-card:hover {
    border-color: #DC2626;
    border-width: 2px;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(220, 38, 38, 0.1);
}

/* ===== LOADER STYLES ===== */
.loader {
    position: fixed;
    inset: 0;
    background: white;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    pointer-events: none;
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #F3F4F6;
}

::-webkit-scrollbar-thumb {
    background: #0B3D91;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #DC2626;
}

/* ===== SLIDER/CAROUSEL STYLES ===== */
.slider {
    height: 140px;
    margin: auto;
    position: relative;
    width: 100%;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: white;
    border-radius: 1.5rem;
    padding: 20px 0;
}

.slide-track {
    display: flex;
    align-items: center;
    animation: scroll 40s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-2000px);
    }
}

.slide {
    height: 100px;
    width: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 25px;
    flex-shrink: 0;
}

.slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 0.9;
    transition: all 0.5s ease;
}

.slide:hover img {
    opacity: 1;
    transform: scale(1.1);
}

.slider:hover .slide-track {
    animation-play-state: paused;
}

/* ===== BENTO GALLERY STYLES ===== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 1.5rem;
}

.bento-item {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    background: #f3f4f6;
}

.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 61, 145, 0.7), transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    pointer-events: none;
}

.bento-overlay span {
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ===== BENTO GRID ITEM SIZES ===== */
.bento-lg {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-wide {
    grid-column: span 2;
}

.bento-tall {
    grid-row: span 2;
}

/* ===== RESPONSIVE BENTO GRID ===== */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 220px;
    }

    .bento-lg {
        grid-column: span 2;
        grid-row: span 2;
    }

    .bento-wide {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 280px;
    }

    .bento-lg,
    .bento-wide,
    .bento-tall {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* footer style */

/* ===== FOOTER STYLES ===== */
.site-footer {
    background: #0B1E3A; /* Darker shade of primary for contrast */
    color: #E5E7EB;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
    background-size: 200% 100%;
    animation: footer-glow 4s linear infinite;
}

@keyframes footer-glow {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 4rem 2rem 2rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    position: relative;
    z-index: 1;
    background: #0B1E3A; /* Same as footer background */
}

/* Brand Column */
.footer-brand .footer-logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    margin-bottom: 1.25rem;
}

.footer-logo-box {
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.footer-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
}

.footer-brand-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.footer-brand-sub {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.footer-description {
    font-size: 0.85rem;
    line-height: 1.7;
    color: #9CA3AF;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

/* Social Icons */
.footer-socials {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 38px;
    height: 38px;
    background: #0B1E3A; /* Match footer background */
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9CA3AF;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-decoration: none;
}

.social-link:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
}

/* Column Headings */
.footer-heading {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--secondary);
    border-radius: 3px;
}

/* Links List */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #9CA3AF;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a i {
    font-size: 0.6rem;
    color: var(--secondary);
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-links a:hover i {
    transform: translateX(3px);
}

/* Contact List */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #9CA3AF;
    font-weight: 500;
}

.contact-icon-box {
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--secondary);
    font-size: 0.8rem;
}

.footer-contact-link {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-link:hover {
    color: var(--secondary);
}

/* ===== FOOTER MAP SECTION ===== */
.footer-map-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem 1.5rem;
    position: relative;
    z-index: 1;
    background: #0B1E3A; /* Same as footer background */
}

.footer-map-container {
    position: relative;
    width: 100%;
    height: 220px; /* Reduced from 350px */
    border-radius: 1rem; /* Slightly smaller radius */
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.3s ease;
    background: #1a2a4a; /* Slightly lighter shade for contrast */
}

.footer-map-container:hover {
    border-color: var(--secondary);
}

.footer-map-container iframe {
    width: 100%;
    height: 100%;
    display: block;
    filter: grayscale(30%) brightness(0.9);
    transition: filter 0.5s ease;
}

.footer-map-container:hover iframe {
    filter: grayscale(0%) brightness(1);
}

/* Map overlay badge */
.footer-map-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    z-index: 10;
    max-width: 220px;
    border-left: 3px solid var(--secondary);
    pointer-events: none;
}

.footer-map-overlay .flex {
    display: flex;
}

.footer-map-overlay .items-center {
    align-items: center;
}

.footer-map-overlay .gap-2 {
    gap: 0.5rem;
}

.footer-map-overlay .mb-2 {
    margin-bottom: 0.5rem;
}

/* Map section heading */
.footer-map-heading {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    position: relative;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
    background: #0B1E3A; /* Match footer background */
}

.footer-map-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 2rem;
    width: 30px;
    height: 3px;
    background: var(--secondary);
    border-radius: 3px;
}

/* Divider between footer columns and map */
.footer-divider {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem 1.5rem;
    position: relative;
    z-index: 1;
    background: #0B1E3A; /* Match footer background */
}

.footer-divider-line {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

/* Bottom Bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.25rem 2rem;
    background: #091B33; /* Even darker shade for bottom bar */
}

.footer-bottom-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: #6B7280;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-bottom-links a {
    font-size: 0.75rem;
    color: #6B7280;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--secondary);
}

.divider {
    color: #374151;
    font-size: 0.75rem;
}

/* ===== RESPONSIVE FOOTER ===== */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    
    .footer-map-container {
        height: 200px; /* Reduced from 300px */
        border-radius: 0.75rem;
    }
    
    .footer-map-wrapper {
        padding: 0 1.5rem 1.25rem;
    }
    
    .footer-map-overlay {
        top: 12px;
        left: 12px;
        max-width: 200px;
        padding: 0.6rem 0.85rem;
    }
}

@media (max-width: 768px) {
    .footer-map-container {
        height: 180px; /* Reduced from 280px */
    }
}

@media (max-width: 640px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 1.5rem 1.5rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-map-container {
        height: 180px; /* Reduced from 250px */
        border-radius: 0.75rem;
        border-width: 1px;
    }
    
    .footer-map-wrapper {
        padding: 0 1rem 1rem;
    }
    
    .footer-map-overlay {
        top: 10px;
        left: 10px;
        right: 10px;
        max-width: none;
        padding: 0.6rem 0.85rem;
    }
    
    .footer-map-overlay p {
        font-size: 0.65rem;
    }
}