/* Custom CSS for styles not easily covered by Bootstrap utility classes */

html {
    overflow-y: scroll;
    /* always reserve scrollbar */
}

body {
    /* padding-top: 55px; */
    overflow-x: hidden;
}

@media (min-width: 992px) {
    body {
        /* padding-top: 76px; */
    }
}

.page-title-section {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* .navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  transition: top 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
} */
.navbar {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    background-color: transparent !important;
    box-shadow: none !important;
    z-index: 1050;
}

/* SCROLLED STATE */
.navbar.scrolled {
    background-color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
}

/* Target the custom heading color (like the teal/blue in the image) */
.custom-heading-color {
    color: #000 !important;
    /* Teal/Blue color */
    font-weight: 700;
}

/* Custom button style for the "Learn More" button */
.custom-btn-outline-primary {
    color: #000 !important;
    border-color: #000 !important;
    font-weight: 700;
    transition: all 0.3s;
}

.custom-btn-outline-primary:hover {
    background-color: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
}

/* Style for the language switch in the navbar */
.custom-lang-switch {
    color: #000 !important;
    font-weight: 400 !important;
}

/* Hero */

.hero-section img {
    width: 100%;
    /* height: auto;              ✅ keeps ratio */
    max-height: 107vh;
    /* optional safety */
    object-fit: cover;
    /* ✅ NEVER CUT */
    object-position: center;
    display: block;
    background-color: #f8f9fa;
    /* optional side space */
}

.card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-body {
    margin-top: auto;
    /* pushes text to bottom */
}

.card-img-top {
    width: 100%;
    height: 290px;
    /* fixed height for alignment */
    object-fit: contain;
    /* ✅ shows full image */
    background-color: #fff;
    /* optional: cleaner look */
    padding: 10px;

}

/* @media (min-width: 1100px) {
    .hero-section img {
        max-height: 90vh;
    }
} */

/* Optional: Adjust height for smaller screens (like mobiles)
   if 100vh is too overwhelming, but usually 100vh works well for the *first* section. */
@media (max-width: 768px) {
    .hero-banner-bs {
        height: 70vh;
        /* Reduce height slightly on small devices if desired */
    }

    .card-img-top {
        height: 140px;
    }
}

/* Custom darker background for the copyright area */
.bg-darker-custom {
    background-color: #1a252f;
}

/* Ensure card images are properly sized (optional, depends on your images) */



/*Social section home*/
/* --- Social Section Custom Styling --- */

/* Style for the container box around each social link */
.custom-social-box {
    /* Replicates the white background and thin border from the image */
    background-color: #fff;
    border: 1px solid #333;
    border-radius: 5px;
    /* Slight rounding on corners */
    text-decoration: none;
    /* Remove underline from the anchor tag */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    /* Optional subtle shadow */
    transition: box-shadow 0.3s;
    height: 100%;
    /* Ensures consistency in grid */
}

.custom-social-box:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.social-section h3 {
    /* Ensure the heading is styled correctly */
    color: #333;
}

/* Ensure the logo within the box is placed correctly */
.filafil-logo-social {
    /* Add any specific height/width/margin if needed */
    margin-top: 10px;
}

/* --- Footer Custom Styling (Light Background) --- */

/* Main Footer Background and Text */
.custom-light-footer {
    background-color: #f8f9fa;
    /* Very light gray/white background */
    color: #333;
    /* Dark text color */
}

/* Link color for navigation */
.custom-footer-link {
    color: black;
    !important;
    text-decoration: none;
    transition: color 0.2s;
}

.custom-footer-link:hover {
    color: #000 !important;
    /* Teal/Blue color on hover */
}

/* Contact information text color */
.custom-contact-text {
    font-size: 0.95em;
    color: #555;
    /* Slightly lighter gray for contact text */
}

/* Custom border color */
.custom-border-dark {
    border-color: #ccc !important;
    /* Light separator line */
}

/* Copyright Bar Styling (Dark Background) */
.custom-dark-copyright {
    /* Adjust this to match the dark bottom bar color precisely */
    background-color: #222;
    color: #aaa;
}

.custom-social-icons img {
    filter: none;
}

.custom-heading-color {
    color: #000 !important;
    font-weight: 700;
}

/* @media (max-width: 1320px) { */
/* .custom-heading-color {
        margin-left: 45px !important;
    } */
/* } */

/* --- Contact Page Styling --- */


.custom-form-field {
    height: 60px;
    background-color: #f0f0f0;
    font-size: 1.1rem;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    font-weight: 500;
}

.custom-textarea {
    height: 150px !important;
    resize: none;
}

.custom-form-field:focus {
    background-color: #fff;
    border-color: #000;
    box-shadow: 0 0 0 0.25rem rgba(0, 128, 128, 0.25);
}

/* Custom "Send Now" Button Style */
.custom-send-btn {
    background-color: #e0e0e0;
    color: #333;
    border: 1px solid #ccc;
    font-weight: bold;
    padding: 0.75rem 2.5rem;
    transition: background-color 0.3s;
    border-radius: 50px;
}

.custom-send-btn:hover {
    background-color: #d0d0d0;
    color: #333;
}

.contact-form-info-section .fa-2x {
    font-size: 1.75em;
}

.map-container {
    height: 400px;
    overflow: hidden;
    border-radius: 20px;
}

@media (max-width: 767.98px) {
    .desktop-view {
        display: none;
    }

    .mobile-view {
        display: block;
    }

    /* Mobile banner: full viewport height */
    .mobile-banner {
        /* height: 100svh;              Full screen height */
        overflow: hidden;
        /* Hide overflow */
        position: relative;
    }

    /* Ensure image covers perfectly */
    .mobile-banner img {
        width: 100%;
        height: auto;
        max-height: 100vh;
        object-fit: contain;
        /* ✅ NEVER CUT */
    }

}

@media (min-width: 768px) {
    .desktop-view {
        display: block;
    }

    .mobile-view {
        display: none;
    }
}

/* ================================
   ABOUT US BANNER (NO IMAGE CUT)
   ================================ */

/* Shared banner styles */
.about-banner-img {
    max-width: 100%;
    height: auto;
    /* ✅ keeps 1900×600 ratio */
    display: block;
}

/* Optional: limit height on very large screens */
@media (min-width: 1400px) {
    .about-banner-img {
        max-height: 600px;
    }
}

footer p {
    line-height: 1.6;
}

footer h6 {
    margin-bottom: 12px;
}

/* FOOTER RESPONSIVENESS FIXES */
.footer-section p,
.footer-section a {
    word-break: break-word;
}

/* Icons alignment */
.footer-section i {
    min-width: 18px;
    font-size: 14px;
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .footer-section {
        text-align: center;
    }

    .footer-section .d-flex {
        justify-content: center;
    }

    .footer-section .col-md-5,
    .footer-section .col-md-4,
    .footer-section .col-md-3 {
        text-align: center;
    }

    /* Center icons + text */
    .footer-section .d-flex.align-items-start {
        justify-content: center;
        text-align: left;
    }

    /* Phone numbers vertical spacing */
    .footer-section .fa-phone+div div {
        margin-bottom: 4px;
    }

    /* Logo spacing */
    .footer-section img {
        margin-bottom: 15px;
    }
}

/* Tablet fixes */
@media (min-width: 768px) and (max-width: 991px) {
    .footer-section .col-md-5 {
        margin-top: 10px;
    }
}

/* ================= MOBILE NAV FIX ================= */
@media (max-width: 991px) {

    .navbar {
        /* background-color: #fff !important; */
    }

    /* Keep navbar height stable */
    .navbar>.container-fluid {
        min-height: 56px;
        display: flex;
        align-items: center;
    }

    /* Center logo absolutely */
    .mobile-logo-center {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1051;
        padding: 0;
    }

    /* Language on left */
    .mobile-lang {
        position: absolute;
        left: 15px;
        z-index: 1051;
    }

    /* Hamburger right */
    .navbar-toggler {
        z-index: 1051;
    }

    /* Mobile dropdown menu */


    .active-lang {
        text-decoration: none;
        font-weight: 700;
    }

    .mobile-menu {
        position: absolute;
        top: 70%;
        /* right under navbar */
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        padding-top: 10px;
        z-index: 1049;
    }

    /* White menu card */
    .mobile-menu .navbar-nav {
        background-color: #ffffff;
        max-width: 300px;
        /* like 2nd image */
        margin: 0 auto;
        /* CENTER */
        padding: 18px 0;
        border-radius: 16px;
        box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
        text-align: center;
    }

    /* Menu items */
    .mobile-menu .nav-item {
        padding: 8px 0;
    }


    /* Menu links */
    .mobile-menu .nav-link {
        font-size: 18px;
        font-weight: 600;
        color: #000;
    }
}

footer p {
    line-height: 1.6;
}

/* space between card and image */
.product-img-wrapper {
    margin: 12px;
    /* padding between card & image */
    padding: 0;
    /* space inside the border */
    border: 1px solid #000;
    /* border ONLY around image */
    background: #fff;
}

/* image styling */
.product-img {
    width: 100%;
    height: 290px;
    /* desktop height */
    object-fit: contain;
    /* no cropping */
    display: block;
    background-color: #fff;
    transition: transform 0.3s ease;
}

/* hover effect */


/* mobile */
@media (max-width: 768px) {
    .product-img {
        height: 140px;
    }
}

.modal-img-wrapper {
    margin: 16px;
    /* space between modal and border */
    border: 1px solid #000;
    /* border hugs image */
    padding: 0;
    /* ❌ no space between border & image */
    background: #fff;
}

/* modal image */
.modal-img {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    display: block;
    /* removes inline gaps */
}

.industry {
    transition: all 0.3s;
}

.industry:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.capability-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}