:root {
    --primary-color: #00659b;
    --secondary-color: #00659b;
}

body {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
}

.navbar-brand img {
    max-height: 50px;
    height: auto;
}


/* Navbar */
.navbar {
    background-color: #fff !important;
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--primary-color) !important;
    font-weight: 500;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #ffdd57;
    /* optional hover contrast */
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* About section image */
.about-img {
    max-width: 100%;
    border-radius: 10px;
}

/* Product cards */
.product-card img {
    height: 200px;
    object-fit: cover;
}

/* Banner */
.banner-slide {
    height: 900px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.banner-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    animation: fadeIn 1.5s ease-in-out;
}

.banner-caption.left {
    position: absolute;
    top: 53%;
    left: 27%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    animation: fadeIn 1.5s ease-in-out;
}

.banner-caption h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #fe9900;
}

.banner-caption p {
    font-size: 1.2rem;
}

.img-grid {
    width: 100%;
    height: 375px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: -1px 3px 20px 0px rgb(0 101 155 / 67%) !important;
}

img.card-img-top.is {
    height: 277px;
}

img.img-fluid.rounded.shadow.pd {
    height: 500px;
    object-fit: cover;
    box-shadow: -12px 12px 20px 4px rgb(0 101 155 / 67%) !important;
}

img.about-img.camp-img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    box-shadow: -1px 8px 20px 5px rgb(0 101 155 / 67%) !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -45%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Client logos */
.client-logo {
    object-fit: contain;
    margin: auto;
}

.client-logo:hover {
    filter: grayscale(0%);
}

/* Footer */
footer {
    background: var(--primary-color);
    color: white;
    padding: 30px 0;
}

footer a {
    text-decoration: none;
    color: white;
}

footer a:hover {
    text-decoration: underline;
}

/* WhatsApp floating button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #198754;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.flip-card {
    background-color: transparent;
    perspective: 1000px;
    height: 100%;
    /* ensure it fits inside the column */
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 350px;
    /* fixed height for both front and back */
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    /* height: 100%; */
    /* match both sides' height */
    backface-visibility: hidden;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.flip-card-front {
    background: #fff;
}

.flip-card-back {
    background: var(--primary-color);
    color: white;
    transform: rotateY(180deg);
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
}

.flip-card-back h5 {
    margin-bottom: 10px;
    font-weight: bold;
}

.flip-card-back table {
    font-size: 0.85rem;
    width: 100%;
}

.flip-card-back table td {
    border-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 480px) {
    .banner-caption.left {
        top: 40%;
        left: 50%;
    }
}