@font-face {
    font-family: 'russo';
    src: url('../fonts/russo.ttf');
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}
body{
    background-color: #20272f;
    font-family: 'inter', sans-serif;
    color: #ffffff;
}

html {
    height: 100%;
    overscroll-behavior-y: auto; /* allow top pull-to-refresh */
}

body {
    min-height: 100vh; /* fills screen if content is short */
    margin: 0;
    overscroll-behavior-y: none; /* block bounce at bottom */
}

.whiteSpaceHider {
    position: fixed;
    bottom: -20vh; left: 0;
    width: 100%; height: 20vh;
    z-index: 500;
    background-color: #20272f;
}


body.noscroll { overflow: hidden; }

h1 {
    font-size: 3.5rem;
    letter-spacing: 0.05ch;
    font-weight: 700;
}
h2 {
    font-size:2.5rem;
    font-weight: 700;
}
h3 {
    font-size: 2rem;
    font-weight: 700;
}
p {
    font-size: 1rem;
    font-weight: 100;
    margin-bottom: 15px;
}

section{
    margin: 10vh;
}

.navSpacer {
    height: 60px;
}

form {
    display: flex; flex-direction: column; gap: 1rem;
}


label {
    font-weight: bold; font-size: 0.9rem;
}

input, textarea {
    padding: 0.75rem; border: 1px solid #ccc; border-radius: 4px;
    font-size: 1rem; width: 100%; box-sizing: border-box; color: black;
}

input:focus, textarea:focus {
    border-color: #007bff; outline: none; box-shadow: 0 0 0 2px rgba(0,123,255,0.2);
}

textarea {
    min-height: 120px; resize: vertical; font: "inter";
}


header {
    position: fixed;
    top: 0;
    left: 0;
    box-sizing: border-box;
    width: 100%;
    display: flex;
    justify-content: space-between; 
    align-items: center;
    height: 60px;
    padding: 10px 2vw;
    color: white;
    z-index: 1000;
    transition: all 0.4s ease-in-out;

    img{
        height: 30px;
        border-radius: 15%;
    }

    #logo {
        margin-right: 10px;
    }

    a {
        display: flex;
        align-items: center;
    }

    nav {
        ul {
            display: flex;
            gap: 1vw;
            list-style: none;
            flex-wrap: wrap;
        }
    }
}

.navLink {color: white; text-decoration: none; transition: color 0.1s ease-in-out;}
.navLink:hover {color: #00BFFF;}

.glassCard{
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 5vh;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.title-with-cta {
    display: flex; flex-direction: row; align-items: center;
    justify-content: space-between; margin-bottom: 2vh;
}


.quote {
    margin: 5px 0 5px 0;
    border-left:#ffffff 5px solid;
    padding-left: 5px;
    margin-top: 2vh;
}

.cta { /* Call to action button */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color: #0A66C2;
    color: white;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    border-radius: 1vw;
    transition: background-color 0.3s ease;
}

.cta:hover {
    background-color: #16437E;
}
.subHeadingTextImg{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start; /* Adjusted to "flex-start" to align items properly */
    gap: 2vh;
    height: auto; /* Allow height to adjust based on content */
    margin-bottom: 2vh;

    div {
       flex: 9; 
    }

    img{
        flex: 1;
        height: 120px;
        aspect-ratio: 1; /* Ensures the image stays square */
    }
}


.pillRow{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5vh;
    margin-top: 2vh;
    
}
.pillImg {
    
    height: 2.5rem;
    width: unset;
    padding: 0;
    aspect-ratio: 1;
    overflow: visible;
    
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
/*.pill{
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2); 
    padding: 1vh 3vh;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

a.pill:hover {
    cursor: pointer;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4); 
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
}*/
.pill {
    background: rgba(255, 255, 255, 0.05); /* more transparent */
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    border-radius: 1rem; border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1vh 3vh;
    color: #ccc; /* lighter text */
    font-weight: normal; /* less bold */
    box-shadow: none;
    overflow: hidden;
}

.pillButton {
    background: rgba(255, 255, 255, 0.15); /* brighter */
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-radius: 1rem; border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1vh 3vh;
    color: #fff; font-weight: bold; text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    display: inline-block;
    transition: all 0.3s ease-in-out;
}

.pillButton:hover {
    cursor: pointer;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

/* Mobile menu styles */
.mobile-menu {
  width: 100%; height: 110%; 
  padding: 80px 3vh 10vh 3vh; box-sizing: border-box;
  position: fixed; top: 0; left: 0;
  background-color: #20272f;
  z-index: 900;

  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center;


  transform: translateY(-150%);
  transition: transform 0.3s ease;
}
.mobile-menu a {
    color: white; text-decoration: none; font-size: 2rem; margin: 10px 0;
    background-color: #0a66c200; padding: 10px 20px; border-radius: 5px;
    transition: color 0.3s ease; width: 100%; border: 1px solid #0a66c2;
    box-sizing: border-box;
}
.mobile-menu hr {  width: 100%; margin: 10px auto; border: 1px solid #0a66c2; margin: 20px auto;  }
.mobile-menu .selected {  background-color: #0a66c2;  }
.mobile-menu.show {  transform: translateY(0);  }
@media (min-width: 769px) {
    .mobile-menu{ transform: translateY(-100%); }
    .mobile-menu.show { transform: translateY(-100%);}
}
@media (min-width: 769px) { .mobile {display: none;}}
@media (max-width: 768px) { .desktop {display: none;}}




/* basic project with image class template*/
.projects{display: flex;flex-direction: column;gap: 5vh;}
.project{display: flex;gap: 5vh;}
.projectImage {
    width: 40%;
    height: auto;
    aspect-ratio: initial;
    align-self: flex-start;
    border-radius: 1vh;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}
@media (max-width: 1000px) {
    .projectImage{width: 100%;}
    .project{flex-direction: column; gap: 2vh;}
}

footer {
    background-color: #20272f70;
    backdrop-filter: blur(20px);
    color: white;
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
    margin-top: 1px;
    box-shadow: 0 -1px 0 0 #7b8594;
}
footer a {
    color: #00BFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}


@media (max-width : 768px) {
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
    h3 {
        font-size: 1.5rem;
    }
    p {
        font-size: 0.9rem;
    }
    .cta {
        width: 5rem;
    }
    section {
        margin: 10vw 5vw;
    }
    header {
        padding: 10px 3vh;
    }

    #titleSection {
        margin: 5vh 5vh 0 5vh;
        
        img {
            height: 100%;
            aspect-ratio: 1;
            top: 0%;
        }
    }
}