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


  /* Primary 
  --primary-blue: #1E90FF;

  
  --accent-coral: #FF6F61;
  --accent-yellow: #F7D154;



--neutral-navy: #0F1A2A;
  --neutral-light: #E8F0F7;
*/
:root {
  /* Primary */
  --primary-gray: #2D2D2D;   /* dark gray for text and headers */

  /* Accents */
  --accent-blue: #4A90E2;    /* calm blue for links and highlights */
  --accent-green: #50C878;   /* fresh emerald for subtle accents */

  /* Neutrals */
  --neutral-white: #FFFFFF;  /* clean background */
  --neutral-light: #F5F5F5;  /* soft section backgrounds */
}

 



* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;

}

.wrapper {
    position: relative;
    height: 100%;
    width: 100%;
    
    overflow: hidden; /* hides overflowing video edges */
}
.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    
    z-index: -1;
}

.about {
    color: var(--neutral-light);
    max-width: 700px;
    background-color: rgba(15, 26, 42, 0.9);
    padding: 3rem;
    border: 3px solid var(--neutral-light);
    margin: 10rem auto;
}

.about p {
    margin-bottom: 1rem;
}

.about ul li {
    list-style-type: none;
}

.about h1 {
    margin-bottom: 1rem;
}




body {
    background-color: var(--primary-gray);
    font-family: "Work Sans", sans-serif;
    
    background-size: cover;
    background-repeat: no-repeat;
}

header {
height: 100px;
background-color:rgba(15, 26, 42, 0.6) ;
display: flex;
justify-content: space-between;
align-items: center;
color: var(--neutral-light);
text-transform: uppercase;
padding: 0 5rem ;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--neutral-light);
}

.logo img {
    margin-right: 1rem;
    height: 80px;
    width: 80px;
    border-radius: 50%;
    border: 3px solid var(--accent-green);
}

.navbar ul {
    display: flex;

}

.navbar ul li {

    list-style-type: none;
}

.navbar ul li a {
    padding: 1rem 2rem;
    list-style-type: none;
    color: var(--neutral-light);
    text-decoration: none;
    letter-spacing: 2px;
}
.navbar ul li a:hover {
    padding: 1rem 2rem;
    list-style-type: none;
    
    text-decoration: none;
    letter-spacing: 2px;
    background-color: var(--accent-green);
    color: var(--neutral-navy);
    border-radius: 20px;
}

.portfolio-container {
    max-width: 1300px;
    margin: 10rem auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
justify-content: center;

}

.card {
    position: relative;
    overflow: hidden; /* required so the sliding bg stays inside */
   
    max-width: 300px;
    height: 400px;
    padding: 1rem;
    
    color: var(--neutral-light);
     background: rgba(15, 26, 42, 0.6);
    transition: color 0.3s ease, border-color 0.3s ease;
    border-radius: 10px;
}

/* sliding background */
.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--accent-blue);
    transition: left 0.6s ease;
    z-index: 0;
}

/* bring sliding bg in */
.card:hover::before {
    left: 0;
}

/* ensure the content stays above the sliding bg */
.card * {
    position: relative;
    z-index: 1;
}

/* text + border change when hovered */
.card:hover {
    
    color: var(--neutral-white);
}





.card a {
    text-decoration: none;
    color: var(--neutral-light);
}
.card a:hover {
    text-decoration: none;
    color: var(--neutral-navy);
}

.card h3 {
    margin-bottom: 1rem;
}

.card p {
    margin-bottom: 1rem;
}

hr {
    border: 3px solid var(--accent-coral);
    margin-bottom: 1rem;
}

.logo-cards img {
    height: 40px;
    width: 40px;
}

.image-container  {
    height: 200px;
    width: 100%;
    margin-bottom: 1rem;
}

img {
    height: 100%;
    width: 100%;
}
