/* Font Implementation */
/* Font Loading */
@font-face {
    font-family: 'Baskerville Old Face';
    src: url('../fonts/baskerville-old-face.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* Improves loading performance */
}

@font-face {
    font-family: 'Avenir Next LT Pro';
    src: url('../fonts/AvenirLTProLight.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* Headers */
h1, h2, h3, h4, h5, h6, label, .card-title {
    font-family: 'Inter', Arial, sans-serif !important;
    /* Fallback fonts included for better compatibility */
}

/* Body Text */
body, .card-subtitle {
    font-family: 'Inter', Arial, sans-serif !important;
}

/* Dropdown Menu */
.dropdown,
.dropdown-menu,
select {
    font-family: 'Inter', Arial, sans-serif !important;
}

/* Table and Chart Text */
table,
.chart-content,
td,
th {
    font-family: 'Inter', Arial, sans-serif !important;
}


.app-tile {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
    transition: transform 0.2s;
}
.app-tile:hover {
    transform: scale(1.05);
}
.app-icon {
    width: 300px;
    height: 235px;
    margin-bottom: 10px;
}
.app-name {
    font-size: 1.2em;
    margin-bottom: 10px;
}


body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    flex: 1;
}

.footer {
    position: sticky;
    bottom: 0;
    width: 100%;
}

.min-h-100 {
    min-height: 100px;
}

.max-h-100 {
    max-height: 100px;
}


.overflow-y-hidden {
    overflow-y: scroll;
    /* text-overflow: scroll; */
    /* max-height: 2.6em; */
}

.btn-primary {
    background-color: #7da44f;
    border-color:  #7da44f;
    width: 300px;
}

/* change font size as the text is changed  */
.card-title {
    font-size: 26px;
    font-weight: bold;
}

.card-subtitle {
    font-size: medium;
    
}

#main-content {
    margin-top: 80px;
}

#card-container {
    display: flex;
    flex-direction: column; 
    align-items: center; 
}

#button-img-section {
    display: flex;
    justify-content: center;
}

.q-button {
    background-color: #003d5c; /* Deep professional blue */
    font-size: 0.6rem;
    color: white;
    border: 2px solid #003d5c;
    border-radius: 4px; /* More corporate, less rounded */
    cursor: pointer;
    padding: 8px 24px;
    width: 200px;
    flex-shrink: 0;
    transition: all 0.2s ease;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.q-button:hover {
    background-color: #005580;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 61, 92, 0.3);
}

#navigate-button {
    text-decoration: none !important;
}

#navigate-button:hover {
    text-decoration: none !important;
    color: white; 
}

/* for super small screen */
@media (max-width: 449px) {
    .q-wave-img {
        display: none;
    }
}

/* Extra small devices (phones, less than 576px) */
@media (min-width: 450px) and (max-width: 575.98px) {
    .q-wave-img {
        height: 10%;
        bottom: 4%;
        left: 0%;
    }
}

/* Small devices (tablets, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .q-wave-img {
        height: 10%;
        bottom: 4%;
        left: 2%;
    }
}

/* Medium devices (laptops, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .q-wave-img {
        height: 14%;
        bottom: 5%;
        left: 8%;
    }
}

/* for super small screen */
@media (max-width: 575.98px) {
    #card-container {
        flex-direction: column !important;
        margin-bottom: 20px;
    }
    #button-img-section {
        width: 100% !important;
        align-items: center;
        margin-bottom: 20px;
        flex-direction: row !important;
    }
    .card-title {
        display: none;
    }
    #hidden-title {
        text-align: center;
        display: unset !important;
    }
    .app-icon {
        width: 200px;
        height: 150px;
    }
    #navigate-button {
        width: 100% !important;
        margin-left: 10px;
        font-size: 14px;
    }
}