﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

div.image-text-box > div.row > h4.text-center {
    min-height: 60px;
}

html {
    font-size: 16px;
}

@media (min-width: 768px) {
    html {
        font-size: 18px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
    overflow-x: hidden;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    overflow-x: hidden;
    overflow-y: hidden;
    background-color: #f7fafa;
    font-family: Montserrat;
}

.primary-background-color {
    background-color: #e8f4f8; 
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

#logo{
    margin-bottom: 65px;
}

.box {
    padding: 25px 15px;
    position: relative;
    overflow: hidden;
    background: #fff;
    box-shadow: 5px 5px 20px rgba(18, 66, 101, 0.2);
    transition: all 0.3s ease-in-out;
    border-radius: 8px;
}

.box .title {
    font-weight: 700;
    margin-bottom: 15px;
}

.box .text {
    line-height: 28px;
    margin-bottom: 0;
}

.box .icon {
    margin-bottom: 20px;
    padding-top: 10px;
    display: inline-block;
    transition: all 0.3s ease-in-out;
    font-size: 36px;
    line-height: 1;
    color: #2487ce;
}

.box:hover {
    transform: scale(1.08);
}

/* The flip box container - set the width and height to whatever you want. We have added the border property to demonstrate that the flip itself goes out of the box on hover (remove perspective if you don't want the 3D effect */
.image-text-box {
    width: 23.3%;
}

.flip-box-inner, .image-box {
    height: 275px;
    width: 100%;
}

.flip-box {
    background-color: transparent;
    perspective: 1000px; /* Remove this if you don't want the 3D effect */
}

/* This container is needed to position the front and back side */
.flip-box-inner {
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-box:hover .flip-box-inner {
    transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-box-front, .flip-box-back {
    border-radius: 8px;
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
}

/* Style the front side (fallback if image is missing) */
.flip-box-front {
    color: black;
}

/* Style the back side */
.flip-box-back {
    background-color: royalblue;
    color: white;
    transform: rotateY(180deg);
}

.flip-box-front img {
    border-radius: 8px;
}

.contact-box {
    height: 220px !important;
}

.text-justify {
    text-align: justify;
}

@media screen and (max-width: 4000px) {
    .image-text-box {
        width: 19%;
    }
}

@media screen and (max-width: 3000px) {
    .image-text-box {
        width: 23.3%;
    }
}

@media screen and (max-width: 2200px) {
    .image-text-box {
        width: 33%;
    }
}

@media screen and (max-width: 1399px) {
    .image-text-box{
        width: 40%;
    }
}

@media screen and (max-width: 992px) {
    .image-text-box {
        width: 50%;
    }
}

@media screen and (max-width: 650px) {
    .image-text-box {
        width: 65%;
    }
}

@media screen and (max-width: 520px) {
    .image-text-box {
        width: 90%;
    }
    .image-box {
        height: 245px;
    }
}