body {
    margin: 0 auto;
    font-family: 'Lato', sans-serif;
    display: block;
    background-color: #F0F6F5;
}

body,
html {
    height: 100%;
}

#header {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    align-items: end;
}

#navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

#navbar>ul>li {
    position: relative;
    white-space: nowrap;
    margin: 0 12px;
}

.nav-desktop a {
    display: flex;
    justify-content: space-between;
    padding: 25px 3px;
    font-size: 22px;
    color: #0E3A53;
    white-space: nowrap;
    font-weight: 700;
    transition: 0.3s;
    position: relative;
}

.nav-opaque {
    opacity: 0.7;
    font-weight: 700;
}

#hero {
    width: 100%;
    height: 100vh;
    background: url('https://kat632.github.io/Integration-Station/assets/images/TamarBridges_1_optimized_950.jpg');
    background-attachment: scroll;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    z-index: -1;
}

#hero .container {
    padding-top: 72px;
    position: relative;
    text-align: left;
}

.negative-margin {
    margin-right: 150px;
    margin-top: 15px;
}

#hero p {
    font-family: "Biryani", sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #F0F6F5;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

#hero h1 {
    color: #F0F6F5;
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

#hero h2 {
    color: #F0F6F5;
    font-weight: 600;
    font-size: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.blue-background {
    background: rgba(18, 55, 78, 0.7); /* Adjust last value for transparency */
    padding: 15px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2); /* Adds depth */
}

#hero .hero-left {
    color: #F0F6F5;
    font-weight: 300;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

section {
    padding-top: 30px;
    padding-bottom: 10px;
}

/* -- Overall section spacing -- */
.section {
    padding: 40px 0; /* Adjust as needed */
}

.section-title {
    padding-bottom: 30px;
}

.section-title h1,
.section-title h2,
.section-title h3 {
    font-family: 'Lato', sans-serif;
    color: #000100;
    border-bottom: 3px solid #75BCF3;
    font-weight: 600;
    display: inline-block;
    padding-bottom: 8px;
}

.section-title h1:after
.section-title h2:after,
.section-title h3:after {
    content: "";
    position: absolute;
    display: block;
    width: 50px;
    height: 3px;
    bottom: 0;
    left: 0;
}

.about .content p{
    font-size: 21px;
    line-height: 1.6;
    color: #000100;
    font-family: 'Lato', sans-serif;
}

.top-paragraph {
    padding-top: 30px;
    font-size: 21px;
    line-height: 1.6;
}

.normal-paragraph {
    font-size: 21px;
    line-height: 1.6;
    padding-bottom: 15px;
    margin-top: 25px;
    margin-bottom: 15px;
}

.about {
    background-color: #F0F6F5;
    /*padding: 15px 0;*/
    /*border-radius: 12px;*/
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.about .content {
    font-family: "Biryani", sans-serif;
    font-size: 15px;
    color: #151a21;
}

.about-info {
    background-color: #0E3A53;
    padding: 25px;
    /*box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);*/ /* Adds depth */
}

.left-box {
    background-color: #0E3A53;
    padding: 25px;
    box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.2); /* shadow to the left, bottom, and top */
}

.right-box {
    background-color: #0E3A53;
    padding: 25px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2); /* shadow to the right, bottom, and top */
}

.about-info h4 {
    font-size: 22px;
    font-family: 'Lato', sans-serif;
    color: #F0F6F5;
    border-bottom: 3px solid #75BCF3;
    font-weight: 600;
    padding-bottom: 8px;
    display: inline-block;
    margin-bottom: 8px;;
}

/* Marquee styles */
.marquee {
    --gap: 2rem;
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    background: #F0F6F5;
    padding: 1rem 0;
}

.marquee__content {
    display: flex;
    gap: var(--gap);
    min-width: 200%;
    animation: scroll 20s linear infinite;
}

/* Left this media query here to keep all the marquee styles together. */
@media (max-width: 768px) { 
    .marquee__content {
        min-width: 300%; /* Ensures smooth looping */
        animation: scroll 5s linear infinite; /* Adjust timing */
    }
}
  
@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Left this media query here to keep all the marquee styles together. */
/* Pause animation when reduced-motion is set */
@media (prefers-reduced-motion: reduce) {
    .marquee__content {
      animation-play-state: paused !important;
    }
  }

/* Enable animation */
.enable-animation .marquee__content {
    animation: scroll 20s linear infinite;
  }

/* Pause on hover */
.marquee--hover-pause:hover .marquee__content {
    animation-play-state: paused;
  }
  
/* Attempt to size parent based on content. Keep in mind that the parent width is equal to both content containers that stretch to fill the parent. */
.marquee--fit-content {
max-width: fit-content;
}

/* A fit-content sizing fix: Absolute position the duplicate container. This will set the size of the parent wrapper to a single child container. Shout out to Olavi's article that had this solution 👏 @link: https://olavihaapala.fi/2021/02/23/modern-marquee.html  */
.marquee--pos-absolute .marquee__content:last-child {
position: absolute;
top: 0;
left: 0;
}

/* Enable position absolute animation on the duplicate content (last-child) */
.enable-animation .marquee--pos-absolute .marquee__content:last-child {
animation-name: scroll-abs;
}

@keyframes scroll-abs {
from {
    transform: translateX(calc(100% + var(--gap)));
}
to {
    transform: translateX(0);
}
}

.marquee__content li {
    font-family: "Biryani", sans-serif;
    list-style: none;
    padding: 1rem;
    background: #0E3A53;
    color: white;
    border-radius: 0.25rem;
    text-align: center;
}

.about-us-again {
    /* padding-top: 30px; */
    margin-top: -30px;
    padding-bottom: 15px;
}

.about-us-again p {
    color: #000100;
    font-family: 'Lato', sans-serif;
    font-size: 21px;
    line-height: 1.6;
    padding-bottom: 5px;
}

.ci-link, .ci-link:active,
.ci-link:hover, .ci-link:visited {
    color: #2c3437;
}

.about .content ul {
    list-style: none;
    padding: 0;
}

.about .content ul li {
    font-size: 16px;
    color: #F0F6F5;
    position: relative;
}

.about .content ul i {
    color: #75BCF3;
    font-size: 22px;
    position: absolute;
    left: 0;
    top: 4px;
}

/* -- Scroll Container - mobile only -- */
.scroll-container {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    gap: 10px;
    padding: 10px;
}

.scroll-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0E3A53;
    color: #F0F6F5;
    padding: 10px 15px;
    border-radius: 5px;
    min-width: 150px;
    text-align: center;
    font-weight: bold;
    flex-shrink: 0; /* Prevents shrinking */
}

.scroll-item i {
    margin-right: 5px;
}

.centred {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.about .content .btn-skills {
    font-family: "Biryani", sans-serif;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 1px;
    display: block;
    padding: 12px 32px;
    border-radius: 50px;
    transition: 0.3s;
    line-height: 1;
    color: #0E3A53;
    animation-delay: 0.8s;
    margin-top: 6px auto 0;
    border: 2px solid #0E3A53;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 12px 28px 0px, rgba(0, 0, 0, 0.1) 0px 2px 4px 0px, rgba(255, 255, 255, 0.05) 0px 0px 0px 1px inset;
}

.about .content .btn-skills:hover {
    background-color: #0E3A53;
    border: 2px solid #0E3A53;
    color: white;
    transform: scale(1.05);
}

/* -- Location Images -- */
.location-hover:hover {
    transform: scale(1.1);
}

/* -- Skills Modal -- */

.button .btn-settings {
    margin: 25px;
    padding: 20px 30px;
    font-size: 1.2em;
    background-color: #0E3A53;
    color: #151a21;
}

.button .btn-settings:active {
    color: #0E3A53;
    background-color: #000100;
}

.modal {
    overflow: hidden;
}

.modal-content {
    background-color: #F0F6F5;
    border-radius: 12px;
}

.modal-dialog {
    /*
    margin-right: 0;
    margin-left: 0;
    */
    max-width: 50%;
    margin: auto;
}

.modal-header {
    height: 30px;
    padding: 20px;
    background-color: #0E3A53;
    color: white;
    cursor: move;
}

.modal-title {
    margin-top: -10px;
    font-size: 16px;
}

.modal-body {
    color: #0E3A53;
    font-size: 16px;
    font-family: 'Lato', sans-serif;
    padding: 5px 35px 20px;
}

.modal-body h3 {
    text-align: center;
}

.modal-body p {
    padding-top: 10px;
    font-size: 1.1em;
}

    /* -- Modal Table -- */

    .table-responsive-stack tr {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
    }

    .table-responsive-stack td,
    .table-responsive-stack th {
        display: block;
        /*      
       flex-grow | flex-shrink | flex-basis   */
        -ms-flex: 1 1 auto;
        flex: 1 1 auto;
    }

    .table-responsive-stack td,
    .table-responsive-stack th {
        display: block;
        /* flex-grow | flex-shrink | flex-basis   */
        -ms-flex: 1 1 auto;
        flex: 1 1 auto;
    }

    .table-responsive-stack thead {
        font-weight: bold;
        font-family: "Biryani", sans-serif;
        font-size: 14px;
        text-transform: uppercase;
        color: white;
        background: #0E3A53;
    }

    /* @media screen and (max-width: 768px) {
    .table-responsive-stack tr {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        border-bottom: 3px solid #ccc;
        display: block;

    }
    */

    /*  IE9 FIX   */
    /*.table-responsive-stack td {
        float: left;
        width: 100%;
    }
} */

/* -- Shadow Effect -- */
.shadow-effect {
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.15); /* Soft shadow */
    border-radius: 10px; /* Optional: Softens corners */
    padding: 10px; /* Ensures shadow is not cut off */
    display: inline-block; /* Prevents stretching */
}

#bottom-line {
    margin-bottom: 0;
    padding-bottom: 0;
}

/* -- Contact Section -- */
#contact {
    background-color: #F0F6F5;
    margin-top: -100px;
    /*padding: 50px 0;*/
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);   
}

#contact p{
    font-size: 21px;
    line-height: 1.6;
    color: #151a21;
    font-family: 'Lato', sans-serif;
}

#contact a {
    text-decoration: none; /* Removes underline */
    color: #0E3A53;
}

#contact a:hover {
    color: #75BCF3; /* Change color on hover */
    text-decoration: none; /* Add underline on hover if desired */
}

#contact .social-links {
    display: flex;  
    align-items: center;  /* Aligns items vertically */
    justify-content: center;  /* Centers them horizontally */
    gap: 15px;  /* Space between elements */
    flex-wrap: wrap;  /* Ensures it wraps on smaller screens */
    width: 100%;  /* Ensures it takes up full width of the parent */
}

/* Style for each profile (image + icon) */
#contact .social-links .profile-container {
    display: flex;
    flex-direction: column;  /* Stack image above LinkedIn icon */
    align-items: center;
    gap: 15px;
    text-align: center;
}

/* General styling for social link anchors (for icons) */
#contact .social-links a {
    font-size: 18px;
    display: inline-block;
    background: #F0F6F5;
    color: #151a21;
    line-height: 1;
    padding: 8px 0;
    border-radius: 50%;
    text-align: center;
    width: 36px;
    height: 36px;
    transition: 0.3s;
}

#contact .social-links a:hover {
    background: #75BCF3;
}

/* Reset styling for profile image links */
#contact .social-links a.profile-link {
    background: none;
    width: auto;
    height: auto;
    padding: 0;
}

/* -- Profile Images -- */
.linkedin-photo {
    width: 100px;  /* Adjust as needed */
    height: 100px;
    border-radius: 50%;  /* Makes it circular */
    object-fit: cover;  /* Ensures it fills the circle */
    transition: transform 0.2s ease-in-out;
}

.linkedin-photo:hover {
    transform: scale(1.1);
}

/* -- Footer Section -- */
#footer {
    background: #0E3A53;
    color: #F0F6F5;
    font-family: "Biryani", sans-serif;
    text-align: center;
    padding: 30px 0;
}

#footer .container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#footer .row {
    width: 100%;
    display: flex;
    justify-content: center;
}

#footer p {
    margin: 5px 0;
    text-align: center;
    width: 100%;
}

#footer .copyright {
    margin-top: 20px;
    font-size: 14px;
    text-align: center;
    width: 100%;
}

/* -- Media Queries -- */
@media (min-width: 769px) {
    .show-on-mobile {
        display: none !important;
    }

    *,
    *:before,
    *:after {
        box-sizing: border-box !important;
    }

    .container {
        margin-top: 1%;
        margin-bottom: 3%;
    }

    /* -- So modal content fits in properly -- */
    .modal-body {
        padding-left: 35px;
        padding-right: 35px;
    }

    .table-responsive {
        padding-left: 15px;
        padding-right: 15px;
    }
}


@media (max-width: 768px) {

    /* touchscreens */
    .hide-on-mobile {
        display: none !important;
    }

    #hero {
        margin-top: 100px;
      }

    #hero p {
        text-align: left;
    }

    #hero h1,
    #hero h2 {
        text-align: left;
    }

    #hero h1 {
        font-size: 2.5rem;
    }

    .blue-background h2,
    .blue-background p {
        text-align: left;
    }

    .blue-background.box {
        height: auto !important; /* Allow the box to expand */
        min-height: fit-content; /* Ensure it grows with text */
        overflow: visible; /* Prevent content from being cut off */
        padding-bottom: 1rem; /* Add some padding to avoid text cutoff */
    }

    .section {
        padding: 20px 0;
    }

    .bs-columns {
        max-width: 75%;
        margin: 0 auto;
    }

    .bs-columns h4 {
        color: #2D849c;
        text-transform: uppercase;
    }

    .modal-dialog {
        /*
        margin-right: 0;
        margin-left: 0;
        */
        max-width: 80%;
        margin: auto;
    }

    .modal-mobile-list li {
        padding-left: 0 !important;
        color: #151a21 !important;
    }

    /* -- Box spacing on mobile -- */
    .box {
        margin-bottom: 10px; /* Adjust as needed */
    }
}

