/*
common colors
#20d0ce teal
#3257a8 blue

#fff white


*/
/* For devices smaller than 400px: */

body {
    padding-top: 56px;
}

/*iframe,
object,
embed {
    height: 100%;
    width: 100%;

    `
}*/


.navbar {

    background-color: #20d0ce;
    color: #fff;

}


.navPic {
    display: none;
}
.parallax {
    /* The image used */
    background-image: url("../img/tempImg/medicalChart.jpg");
    /* Set a specific height */
    min-height: 70vh;
    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    margin-bottom: 130px;
}

#carouselLg {
    display: none;
}


/*// Small devices (landscape phones, 576px and up)*/
@media (min-width: 476px) {
    .navPicSmall {
        display: none;


    }

    .navbar {
        background-color: #fff;
        color: #fff;
    }

    .navPic {
        display: block;
    }



}


#header {
    position: relative;
    padding: 2rem;
    text-align: right;
    color: #fff;
    min-height: 70vh;
}

    #header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(to right, rgba(0,0,0,0.0), rgba(0,0,0,.6));
        z-index: 0;
    }

#headerText {
    position: relative;
    z-index: 1;
    font-size: clamp(2rem, 6vw, 4rem); /* Responsive scaling with a min and max */
    font-weight: 800;
    color: #fff;
    text-shadow: 0 4px 12px rgba(0,0,0,0.7);
    line-height: 1.2;
}

#subHeader {
    position: relative;
    z-index: 1;
    font-size: clamp(1.2rem, 3.5vw, 2rem);
    color: #d0f0ff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
    font-weight: 600;
    margin-top: 0.5rem;
}

#header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.6), rgba(0,0,0,0.3));
    z-index: 0;
}

/* On small screens, make overlay darker for readability */
@media (max-width: 576px) {
    #header::before {
        background: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.5));
    }
}
/*// Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {

    #carouselLg {
        display: block;
    }

    #carouselSm {
        display: none;
    }
}

/*// Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {
    ...
}

/*// Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {
    ...
}



.portrait {
    position: relative;
    width: 200px;
    height: 200px;
    background: url('../img/profilePic.jpg') center/cover no-repeat;
    overflow: hidden;
    transition: all 1s ease;
}

    /* The skeleton overlay (initially hidden) */
    .portrait::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('../img/Swhite.jpg') center/cover no-repeat;
        opacity: 0;
        transform: scale(1.1);
        mix-blend-mode: screen; /* Creates glowing overlay effect */
        box-shadow: 0 0 30px rgba(32,208,206,0.7);
        transition: opacity 1.5s ease, transform 1.5s ease;
    }

    /* Scan line effect (faint animated line) */
    .portrait::before {
        content: '';
        position: absolute;
        top: -100%;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient( to bottom, rgba(32,208,206,0.1) 0%, rgba(32,208,206,0.4) 50%, rgba(32,208,206,0.1) 100% );
        opacity: 0;
        transition: opacity 0.5s ease;
    }

    /* Hover state: fade in skeleton, animate scan line */
    .portrait:hover::after {
        opacity: 1;
        transform: scale(1);
    }

    .portrait:hover::before {
        opacity: 1;
        animation: scanDown 1.5s ease forwards;
    }

/* Scan line keyframes */
@keyframes scanDown {
    from {
        top: -100%;
    }

    to {
        top: 100%;
    }
}


#address {
    margin-top: 50px;
}

h2 {
    color: #20d0ce;
    font-size: 2.4em;
    text-shadow: 1px 1px #3257a8;
    margin-bottom: 30px;

}

.carousel-indicators li {}

.iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* Ratio 16:9 ( 100%/16*9 = 56.25% ) */
}

.iframe-container > * {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
}
.carousel-img {
    height: 200px; /* Fixed height */
    object-fit: cover; /* Crops to fit while keeping aspect ratio */
    width: 100%; /* Full column width */
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

    .carousel-img:hover {
        transform: scale(1.05);
        box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    }

/* Smooth fade transition (Bootstrap carousel-fade fix for 4.5) */
.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

    .carousel-fade .carousel-item.active,
    .carousel-fade .carousel-item-next.carousel-item-left,
    .carousel-fade .carousel-item-prev.carousel-item-right {
        opacity: 1;
    }

.carousel-fade .active.carousel-item-left,
.carousel-fade .active.carousel-item-right {
    opacity: 0;
}