/* ============================================================
   ELiM AUTOMOTIVE – Complete Styles
   (Footer Background: #159A49)
   ============================================================ */

:root {
    /* Brand Colors */
    --elim-navy: #082B75;
    --elim-royal: #1246A0;
    --elim-blue: #1E63C6;
    --elim-red: #E31B23;
    --elim-white: #FFFFFF;
    --elim-light-blue: #E8EDF5;
    --elim-green: #25D366;      /* WhatsApp Green (still used for other elements) */
    
    /* Other Colors */
    --whatsapp-green: #25D366;
    
    /* Transitions */
    --transition-fast: 150ms;
    --transition-normal: 250ms;
    --transition-slow: 400ms;
}

/* ============================================================
   BRAND COLORS (Bootstrap Overrides)
   ============================================================ */
.bg-primary {
    background-color: var(--elim-royal) !important;
}
.btn-primary {
    background-color: var(--elim-royal);
    border-color: var(--elim-royal);
}
.btn-primary:hover {
    background-color: var(--elim-navy);
    border-color: var(--elim-navy);
}
.text-primary {
    color: var(--elim-royal) !important;
}
.bg-danger {
    background-color: var(--elim-red) !important;
}
.btn-danger {
    background-color: var(--elim-red);
    border-color: var(--elim-red);
}
.btn-danger:hover {
    background-color: #c22029;
    border-color: #c22029;
}
.text-danger {
    color: var(--elim-red) !important;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#mainNav {
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 12px 0;
    border-radius: 0 0 30px 30px;
}
#mainNav .navbar-brand {
    padding: 0;
}
#mainNav .navbar-brand img {
    height: 60px;
    width: auto;
    max-height: 60px;
    transition: height 0.3s ease;
}

.nav-menu .nav-link {
    color: var(--elim-royal) !important;
    font-weight: 600;
    font-size: 1.15rem;
    padding: 6px 24px;
    position: relative;
    transition: var(--transition-normal);
    border-radius: 8px;
    background: transparent;
    letter-spacing: 0.3px;
}
.nav-menu .nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--elim-red);
    transition: var(--transition-normal);
    transform: translateX(-50%);
}
.nav-menu .nav-link:hover {
    color: var(--elim-red) !important;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 16px rgba(227, 27, 35, 0.2);
    transform: translateY(-1px);
}
.nav-menu .nav-link:hover::after {
    width: 70%;
}

.nav-menu .nav-link.btn-danger {
    color: white !important;
    background: var(--elim-red) !important;
    border-radius: 8px;
    padding: 6px 20px;
}
.nav-menu .nav-link.btn-danger:hover {
    background: #c22029 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(227, 27, 35, 0.3);
}
.nav-menu .nav-link.btn-danger::after {
    display: none;
}

/* ============================================================
   DECORATIVE SYSTEM – Extremely Subtle
   ============================================================ */

/* ----- Hero Flowing Lines ----- */
.elim-hero-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.03;
    z-index: 1;
}
.elim-hero-lines svg {
    width: 100%;
    height: 100%;
}
.elim-hero-lines .line {
    fill: none;
    stroke: var(--elim-white);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: drawLine 3s ease-in-out infinite alternate;
}
.elim-hero-lines .line-1 {
    stroke-dasharray: 200 300;
    animation-delay: 0s;
}
.elim-hero-lines .line-2 {
    stroke-dasharray: 180 280;
    animation-delay: 0.5s;
}
.elim-hero-lines .line-3 {
    stroke-dasharray: 160 260;
    animation-delay: 1s;
    stroke: var(--elim-red);
}
.elim-hero-lines .line-4 {
    stroke-dasharray: 150 250;
    animation-delay: 1.5s;
}
.elim-hero-lines .line-5 {
    stroke-dasharray: 140 240;
    animation-delay: 2s;
}

@keyframes drawLine {
    0% { stroke-dashoffset: 400; opacity: 0.3; }
    50% { stroke-dashoffset: 100; opacity: 1; }
    100% { stroke-dashoffset: -100; opacity: 0.3; }
}

/* ----- Section Separators ----- */
.elim-section-separator {
    position: relative;
    width: 100%;
    height: 80px;
    overflow: hidden;
    margin: -40px 0;
    z-index: 2;
}
.elim-section-separator svg {
    width: 100%;
    height: 100%;
}
.elim-section-separator .wave {
    fill: none;
    stroke: var(--elim-royal);
    stroke-width: 2;
    opacity: 0.03;
}
.elim-section-separator .wave-red {
    stroke: var(--elim-red);
    opacity: 0.04;
}
.elim-section-separator .wave-fill {
    fill: var(--elim-royal);
    opacity: 0.01;
}

/* ----- Corner Decorations ----- */
.elim-corner {
    position: absolute;
    width: 120px;
    height: 120px;
    pointer-events: none;
    opacity: 0.02;
    z-index: 0;
}
.elim-corner svg {
    width: 100%;
    height: 100%;
}
.elim-corner-top-right {
    top: 0;
    right: 0;
}
.elim-corner-top-left {
    top: 0;
    left: 0;
}
.elim-corner-bottom-right {
    bottom: 0;
    right: 0;
}
.elim-corner-bottom-left {
    bottom: 0;
    left: 0;
}
.elim-corner .corner-line {
    fill: none;
    stroke: var(--elim-royal);
    stroke-width: 2;
    stroke-linecap: round;
}

/* ----- Card Accents ----- */
.elim-card-accent {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 60px;
    height: 60px;
    pointer-events: none;
    opacity: 0.015;
    z-index: 0;
}
.elim-card-accent svg {
    width: 100%;
    height: 100%;
}
.elim-card-accent .accent-line {
    fill: none;
    stroke: var(--elim-royal);
    stroke-width: 1.5;
}

/* ----- Technical Elements ----- */
.elim-tech-element {
    position: absolute;
    pointer-events: none;
    opacity: 0.01;
    z-index: 0;
}
.elim-tech-element svg {
    width: 100%;
    height: 100%;
}
.elim-tech-element .tech-line {
    fill: none;
    stroke: var(--elim-royal);
    stroke-width: 1.5;
}

/* ----- Footer Decorative Pattern ----- */
.elim-footer-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.08;
    z-index: 0;
}
.elim-footer-pattern svg {
    width: 100%;
    height: 100%;
}
.elim-footer-pattern .footer-line {
    fill: none;
    stroke: var(--elim-white);
    stroke-width: 1.5;
    stroke-linecap: round;
}

/* ----- Background Pattern ----- */
.elim-bg-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.01;
    z-index: 0;
}
.elim-bg-pattern svg {
    width: 100%;
    height: 100%;
}

/* ============================================================
   IMIGONGO DIVIDER
   ============================================================ */
.imigongo-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--elim-royal);
    margin: 30px 0;
}
.divider-diamond {
    display: inline-block;
    width: 14px;
    height: 14px;
    background: var(--elim-royal);
    transform: rotate(45deg);
    opacity: 0.04;
}
.divider-diamond:nth-child(2) {
    width: 20px;
    height: 20px;
    opacity: 0.07;
}
.divider-diamond:nth-child(3) {
    width: 14px;
    height: 14px;
    opacity: 0.04;
}

/* ============================================================
   BANNER CAROUSEL (with video support)
   ============================================================ */
.carousel-slide {
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}
.carousel-slide .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}
.carousel-slide .slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 20px;
}
.carousel-slide .slide-content h1 {
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.carousel-slide .slide-content p {
    font-size: 1.25rem;
    text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.carousel-slide .slide-content .btn {
    text-shadow: none;
}

/* Video banner styling */
.carousel-slide video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    z-index: 0;
}
.carousel-slide .video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
}
.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(0, 0, 0, 0.5);
}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.product-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: var(--transition-normal);
    height: 100%;
    background: #f8f9fa;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(227, 27, 35, 0.15);
    border-color: var(--elim-red);
}
.product-card .product-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 75%;
    overflow: hidden;
    background: #e9ecef;
}
.product-card .product-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.product-card:hover .product-image-wrapper img {
    transform: scale(1.05);
}
.product-card .product-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 20px 16px;
    background: linear-gradient(to top, rgba(8, 43, 117, 0.92) 0%, rgba(8, 43, 117, 0.7) 60%, rgba(8, 43, 117, 0.0) 100%);
    color: white;
    pointer-events: none;
}
.product-card .product-info h5 {
    color: white !important;
    font-weight: 700;
    margin-bottom: 4px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
    font-size: 1.1rem;
}
.product-card .product-info .product-category {
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
    margin-bottom: 4px;
}
.product-card .product-info .product-description {
    color: rgba(255,255,255,0.75);
    font-size: 0.85rem;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card .product-info .btn {
    pointer-events: auto;
    background: white;
    color: var(--elim-royal);
    border: none;
    font-weight: 600;
    padding: 4px 16px;
    font-size: 0.85rem;
    border-radius: 20px;
}
.product-card .product-info .btn:hover {
    background: var(--elim-red);
    color: white;
}

.product-card-sm .product-image-wrapper {
    padding-top: 100%;
}
.product-card-sm .product-info {
    padding: 12px 12px 10px;
}
.product-card-sm .product-info h6 {
    color: white !important;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.product-card-sm .product-info .product-category {
    color: rgba(255,255,255,0.8);
    font-size: 0.75rem;
}
.product-card-sm .product-info .btn {
    font-size: 0.75rem;
    padding: 2px 12px;
}

/* ===== Product Detail Description ===== */
.product-detail-description {
    text-align: justify;
    word-wrap: break-word;
    white-space: normal;
    line-height: 1.8;
}

/* ============================================================
   SCROLL-REACTIVE DECORATIVE TRANSITIONS – PERMANENTLY VISIBLE
   (Extremely Subtle Opacity)
   ============================================================ */
.elim-section-transition {
    position: sticky;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 200px;
    pointer-events: none;
    overflow: visible;
    z-index: 1;
    background: transparent;
    margin: 0;
    padding: 0;
    opacity: 0.15 !important;
    transition: none !important;
}

.elim-section-transition svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    max-width: 1400px;
    height: auto;
    pointer-events: none;
    animation: crossLines 20s ease-in-out infinite alternate;
}

.elim-section-transition .layer {
    transition: none;
}

/* Crossing animation */
@keyframes crossLines {
    0% { transform: translate(-50%, -50%) translateX(-5%) scale(1); }
    50% { transform: translate(-50%, -50%) translateX(5%) scale(1.02); }
    100% { transform: translate(-50%, -50%) translateX(-3%) scale(0.98); }
}

/* Layer float animations */
.elim-section-transition .layer:nth-child(1) {
    animation: layerFloat 18s ease-in-out infinite alternate;
}
.elim-section-transition .layer:nth-child(2) {
    animation: layerFloat 22s ease-in-out infinite alternate-reverse;
}
.elim-section-transition .layer:nth-child(3) {
    animation: layerFloat 25s ease-in-out infinite alternate;
}

@keyframes layerFloat {
    0% { transform: translateY(-10px) scale(1); }
    100% { transform: translateY(10px) scale(1.05); }
}

/* ============================================================
   TESTIMONIAL AUTO-SLIDER
   ============================================================ */
.testimonial-slider-wrapper {
    overflow: hidden;
    padding: 10px 0;
}
.testimonial-track {
    display: flex;
    gap: 20px;
    animation: scrollTestimonials 30s linear infinite;
    width: max-content;
}
.testimonial-track:hover {
    animation-play-state: paused;
}
.testimonial-card {
    min-width: 300px;
    max-width: 300px;
    transition: var(--transition-normal);
}
.testimonial-card .card {
    transition: var(--transition-normal);
    border: 1px solid #e5e7eb;
}
.testimonial-card .card:hover {
    transform: scale(1.04);
    box-shadow: 0 12px 30px rgba(227, 27, 35, 0.18);
    border-color: var(--elim-red);
}

@keyframes scrollTestimonials {
    0% { transform: translateX(0); }
    100% { transform: translateX(-33.33%); }
}

/* ============================================================
   GENERAL CARDS
   ============================================================ */
.imigongo-card {
    transition: var(--transition-normal);
    cursor: pointer;
    border: 1px solid #e5e7eb;
}
.imigongo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(227, 27, 35, 0.15);
    border-color: var(--elim-red);
}
.imigongo-card .card-title,
.imigongo-card .card-text {
    color: #212529 !important;
}
.imigongo-card .btn {
    pointer-events: auto;
}

/* ============================================================
   SECTIONS
   ============================================================ */
section {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}
section .container {
    position: relative;
    z-index: 1;
}
.section-title {
    margin-bottom: 30px;
}

/* ============================================================
   SIDEBAR (Admin)
   ============================================================ */
.sidebar .nav-link {
    color: #333;
    padding: 0.6rem 1rem;
    border-radius: 4px;
    transition: var(--transition-fast);
}
.sidebar .nav-link:hover {
    background-color: var(--elim-royal) !important;
    color: #FFFFFF !important;
}
.sidebar .nav-link.active {
    background-color: var(--elim-royal) !important;
    color: #FFFFFF !important;
}
.sidebar .nav-link i {
    margin-right: 8px;
}
.imigongo-sidebar-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, var(--elim-royal), transparent);
    opacity: 0.2;
    margin: 1rem 0;
}

/* ============================================================
   LOADER
   ============================================================ */
#elim-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--elim-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease;
}
#elim-loader.loader-hidden {
    opacity: 0;
    pointer-events: none;
}
.loader-container {
    text-align: center;
}
.loader-svg {
    animation: loader-pulse 1.2s ease-in-out infinite;
}
.loader-text {
    margin-top: 1rem;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--elim-royal);
    letter-spacing: 0.05em;
}
@keyframes loader-pulse {
    0% { transform: scale(0.95); opacity: 0.7; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.7; }
}

@media (prefers-reduced-motion: reduce) {
    #elim-loader .loader-svg * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    #elim-loader .loader-svg {
        animation: none;
    }
    .testimonial-track {
        animation: none;
    }
    .elim-hero-lines .line {
        animation: none;
        stroke-dashoffset: 0;
    }
    .elim-section-transition {
        height: 60px;
    }
    .elim-section-transition svg {
        transform: translate(-50%, -50%) scale(0.8);
        animation: none;
    }
    .elim-section-transition .layer {
        animation: none;
    }
}

/* ============================================================
   FOOTER – Background #159A49 with Decorative Pattern
   ============================================================ */
footer {
    position: relative;
    color: #FFFFFF !important;
    background: #159A49 !important;  /* New custom green */
    overflow: hidden;
    padding: 60px 0 30px;
}

/* The decorative pattern sits behind the content */
footer .elim-footer-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.08;  /* Very subtle but visible */
    z-index: 0;
}
footer .elim-footer-pattern svg {
    width: 100%;
    height: 100%;
}
footer .elim-footer-pattern .footer-line {
    fill: none;
    stroke: var(--elim-white);
    stroke-width: 1.5;
    stroke-linecap: round;
}

/* Footer content is layered ON TOP of the pattern */
footer .container {
    position: relative;
    z-index: 1;
}

footer .text-white {
    color: #FFFFFF !important;
}
footer a.text-white {
    color: #FFFFFF !important;
}
footer a.text-white:hover {
    color: var(--elim-red) !important;
    text-decoration: underline !important;
}
footer .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}
footer h5, footer h6 {
    color: #FFFFFF !important;
}
footer .list-unstyled a {
    color: #FFFFFF !important;
}
footer .list-unstyled a:hover {
    color: var(--elim-red) !important;
}

/* ============================================================
   WHATSAPP FLOATING BUTTON – Large with "Need Help?" Label
   ============================================================ */
.whatsapp-float-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1000;
}

/* The label (speech bubble) */
.whatsapp-float-label {
    background: #ffffff;
    color: #333333;
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid rgba(0, 0, 0, 0.06);
    cursor: default;
}
.whatsapp-float-label:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* The circular button – now larger (56px) */
.whatsapp-float {
    background: linear-gradient(135deg, #E31B23 0%, #b3141a 100%);
    color: white;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 3px 10px rgba(227, 27, 35, 0.4);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(227, 27, 35, 0.6);
    color: white;
}
.whatsapp-float i {
    color: white;
}

/* ============================================================
   TABLES (Admin)
   ============================================================ */
.table-hover tbody tr:hover {
    background-color: rgba(18, 70, 160, 0.05);
}
.table th {
    background-color: #f1f3f5;
    font-weight: 600;
}

/* ============================================================
   BADGES
   ============================================================ */
.badge {
    padding: 0.35rem 0.65rem;
    font-weight: 500;
}

/* ============================================================
   GENERAL CARDS
   ============================================================ */
.card {
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
    min-height: 350px;
    display: flex;
    align-items: center;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .nav-menu .nav-link {
        font-size: 1rem;
        padding: 6px 16px;
    }
    #mainNav {
        border-radius: 0 0 15px 15px;
    }
    #mainNav .navbar-brand img {
        height: 40px !important;
        max-height: 40px;
    }
    .navbar-brand {
        margin: 0 auto;
    }
    section {
        padding: 40px 0;
    }
    .hero-section {
        min-height: 250px;
    }
    .hero-section h1 {
        font-size: 2rem !important;
    }
    .carousel-slide {
        height: 300px;
    }
    .carousel-slide .slide-content h1 {
        font-size: 2rem;
    }
    .carousel-slide .slide-content p {
        font-size: 1rem;
    }
    .carousel-control-prev,
    .carousel-control-next {
        width: 35px;
        height: 35px;
    }
    .imigongo-divider .divider-diamond {
        width: 10px;
        height: 10px;
    }
    .imigongo-divider .divider-diamond:nth-child(2) {
        width: 14px;
        height: 14px;
    }
    .elim-section-separator {
        height: 40px;
        margin: -20px 0;
    }
    .elim-corner {
        width: 60px;
        height: 60px;
    }
    .testimonial-card {
        min-width: 240px;
        max-width: 240px;
    }
    .sidebar {
        min-height: auto !important;
    }
    .product-card .product-info {
        padding: 12px 12px 10px;
    }
    .product-card .product-info h5 {
        font-size: 0.95rem;
    }
    .product-card .product-info .product-description {
        font-size: 0.75rem;
    }
    .elim-section-transition {
        height: 120px;
    }
    .elim-section-transition svg {
        width: 150%;
    }
    footer {
        padding: 40px 0 20px;
    }
    footer .elim-footer-pattern {
        opacity: 0.05;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }
    .whatsapp-float-wrapper {
        bottom: 15px;
        right: 15px;
        gap: 8px;
    }
    .whatsapp-float-label {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    .whatsapp-float {
        width: 48px;
        height: 48px;
        font-size: 1.6rem;
    }
    .testimonial-card {
        min-width: 200px;
        max-width: 200px;
    }
    .product-card .product-image-wrapper {
        padding-top: 100%;
    }
    .table-responsive {
        font-size: 0.85rem;
    }
    .btn-sm {
        padding: 0.2rem 0.5rem;
        font-size: 0.75rem;
    }
    .elim-section-transition {
        height: 80px;
    }
    .elim-section-transition svg {
        width: 200%;
    }
    footer {
        padding: 30px 0 15px;
    }
    footer .elim-footer-pattern {
        opacity: 0.03;
    }
}

/* ============================================================
   INSTAGRAM FEED WIDGET (About Section – Right Side)
   ============================================================ */
.elim-instagram-card {
    display: flex;
    flex-direction: column;
}
.elim-instagram-grid {
    margin: 0 -4px;
    align-content: flex-start;
}
.elim-instagram-grid .col-4 {
    display: flex;
    padding: 4px;
}
.elim-instagram-item {
    flex: 1 1 auto;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1 / 1;
}
.elim-instagram-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-normal) ease;
}
.elim-instagram-item:hover img {
    transform: scale(1.08);
}
.elim-instagram-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 43, 117, 0.55);
    color: #FFFFFF;
    font-size: 1.1rem;
    opacity: 0;
    transition: opacity var(--transition-normal) ease;
}
.elim-instagram-item:hover .elim-instagram-overlay {
    opacity: 1;
}
.elim-instagram-placeholder {
    background: var(--elim-light-blue);
    border-radius: 8px;
}

@media (max-width: 991px) {
    .elim-instagram-card {
        margin-top: 1.5rem;
    }
}

/* ============================================================
   SOCIAL MEDIA ICONS (Contact Section & Footer)
   ============================================================ */
.elim-social-block {
    border-top: 1px solid rgba(8, 43, 117, 0.08);
}
.elim-social-icons {
    display: flex;
    gap: 12px;
}
.elim-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #FFFFFF;
    font-size: 1.15rem;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(8, 43, 117, 0.18);
    transition: transform var(--transition-normal) ease, box-shadow var(--transition-normal) ease;
}
.elim-social-icon:hover {
    transform: translateY(-4px) scale(1.06);
    color: #FFFFFF;
    box-shadow: 0 6px 16px rgba(8, 43, 117, 0.28);
}
.elim-social-instagram {
    background: linear-gradient(135deg, #082B75 0%, #1246A0 55%, #E31B23 100%);
}
.elim-social-facebook {
    background: linear-gradient(135deg, #1246A0 0%, #082B75 100%);
}
.elim-social-whatsapp {
    background: linear-gradient(135deg, #E31B23 0%, #b3141a 100%);
}