/* =============================================
   IMPORTS & GLOBAL STYLES
============================================= */
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

body {
    background-color: #f8f9fa;
    -webkit-font-smoothing: antialiased; /* For WebKit-based browsers like Chrome */
    -moz-osx-font-smoothing: grayscale; /* For Firefox on macOS */
    text-rendering: optimizeLegibility;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
}
/* =============================================
   HEADER STYLES
============================================= */
header {
    width: 100%;
    height: auto;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-style: normal;
    color: #ffffff;
}
/* =============================================
   IMAGE STYLES
============================================= */
.full-bleed, .img-fluid {
    width: 100%;
    height: auto;
}
/* =============================================
   NAVBAR STYLES
============================================= */
.navbar {
    background-color: #333333;
    padding: 10px;
}

.navbar a {
    color: white;
}


/* =============================================
   MASONRY GRID STYLES
============================================= */
.masonry-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.grid-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    width: 300px;
}

.grid-item img {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #ddd;
}

.grid-item h5,
.grid-item p {
    padding: 10px;
    margin: 0;
    text-align: left;
}

/* =============================================
   ICON STYLES
============================================= */
.feature-icon {
    font-size: 2rem; 
    color: #ffffff;
}
.icon-wrapper {
            display: inline-flex; /* Center icon within the circle */
            align-items: center;
            justify-content: center;
            width: 50px; /* Circle diameter */
            height: 50px;
            border-radius: 50%;
            background-color: #65C6E7; /* Circle background color */
            color: white; /* Icon color */
        }

/* =============================================
   CARD STYLES
============================================= */
.card {
    border-radius: 6px;
    overflow: hidden;
}

.card-img {
    border-radius: 0 0 6px 6px;
    object-fit: cover;
    height: 66%;
}
.card:hover {
    outline: 4px solid #1877F2;
}

/* =============================================
   TEXT STYLES
============================================= */

.figure-caption {
    font-size: 16px;
    padding-top: 10px;
}
.roboto-normal {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}
.roboto-med {
  font-family: "Roboto", sans-serif; 
  font-optical-sizing: auto;
  font-weight: 500 !important;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}
a.none {
    text-decoration: none;
}
.text-break {
    display: inline; /* Keep text in a single line on larger screens */

}
/*pre.markup {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1rem;
  background-color: #f8f9fa;
  padding: 0.5em;
  border-radius: 4px;
}
pre {
    display: inline;
}*/
/* =============================================
   DNA IFRAME STYLES
============================================= */
  .dna-iframe {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio = 9 / 16 * 100% */
    overflow: hidden;
  }

  .dna-iframe iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border: 0;
/* =============================================
   FOOTER STYLES
============================================= */
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: rgba(248, 249, 250, 0.95); /* Slight transparency */
    transform: translateY(100%); /* Initially hidden */
    transition: transform 0.4s ease-in-out;
}
.btn {
    font-family: "Roboto", sans-serif;
    font-weight: 500 !important;
}

footer.show-footer {
    transform: translateY(0); /* Slide up when visible */
}

/* =============================================
   RESPONSIVE MEDIA QUERIES
============================================= */

/* Small Screens (≥375px) */
@media (min-width: 376px) {
    .img-fluid {
        min-width: 280px;
    }
     .btn {
        margin-bottom: 0;
        font-size: 14px;
        padding: 10px 12px 10px 12px;

}
}

/* Medium Screens (≥768px) */
@media (min-width: 768px) {

    .btn-responsive {
        width: auto;
        margin-bottom: 0;
    }
}

/* Add 2px solid outline on tap for mobile and tablet */
@media (max-width: 991px) {
    .card:active {
        outline: 2px solid #1877F2;
    }

@media (max-width: 414px) {
    .text-break {
        display: block; /* Line break for mobile */
    }    
}