*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

:root {
  --color-dark: #202330;
  --color-white: #fff;
}

body {
  min-height: 100vh;
  background: var(--color-dark);
}

header {
  max-width: 1024px;
  margin: 0 auto;
  padding: 64px 20px;
  color: white;
  text-align: center;
  
  p {
    margin-bottom: 16px;
  }
  
  h1 {
    margin-bottom: 24px;
    font-size: 44px;
  }
  
  div {
    margin-bottom: 24px;
    font-size: 18px;
    line-height: 32px;
  }
  
  a {
    font-size: 24px;
    color: var(--color-white);
    opacity: 1;
    transition: opacity .3s linear;
    
    &:hover {
      opacity: .8;
    }
  }
}
.site-header {
  background-color: #fff;
  padding: var(--base-spacing) 0;
  border-bottom: 1px solid #eee;
  position: sticky; /* Make header sticky */
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.l-cards {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 calc(var(--base-spacing) * 1.5); /* 24px padding */
}

/* --- Header & Navigation --- */
.site-header {
  background-color: #fff;
  padding: var(--base-spacing) 0;
  border-bottom: 1px solid #eee;
  position: sticky; /* Make header sticky */
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: none;
}
.c-card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 24px;
  margin-top: 20px;
  width: 100%;
  height: 90vh;
  min-height: 600px;
 background-color: white;
 border: 1px solid var(--color-dark);
  
  
  .c-card__description {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    
    .c-card__tagline {
      font-size: 16px;
      font-weight: 600;
      text-transform: uppercase;
    }
    
    .c-card__title {
      font-size: 36px;
    }
    
    .c-card__excerpt {
      font-size: 16px;
      line-height: 1.6;
    }
    
    .c-card__cta {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-top: 32px;
      

    }
  
    .i-card__description {
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 40px;
      
      .i-card__tagline {
        font-size: 36px;
        font-weight: 600;
        text-transform: uppercase;
      }
      
      .i-card__title {
        font-size: 16px;
      }
      
      .i-card__excerpt {
        font-size: 16px;
        line-height: 1.6;
      }
      
      .i-card__cta {
        display: flex;
        align-items: center;
        gap: 16px;
        margin-top: 32px;
        
  
      }
    }
  }
  .c-card__figure {
    position: relative;
    overflow: hidden;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      
    }
   
  }
  .i-card__intro{
    position: relative;
    overflow: hidden;
  }
}


.spacer {
  width: 100%;
  height: 100vh;
}
.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem; /* Space between icons */
  margin-top: 1rem; /* Space above icons */

}
.social-icon {

max-width: 100px;
}
.site-footer {
  background-color: var(--dark-text);
  color: #ccc;
  text-align: center;
  padding: 2rem 0;
  margin-top: 3rem;
}

.site-footer p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.site-footer a {
  color: #fff;
}

.site-footer a:hover, .site-footer a:focus {
  color: var(--secondary-color);
}

@media (max-width: 400px) {

  .c-card {
 display: flex;
 flex-direction: column;
  }

 .c-card__figure {
    width: 100%;
    position: relative;
  }

  .c-card__figure {
    z-index: 1;
  }
 .c-card__description {
    z-index: 0;
  }

 .c-card__figure img {
    position: static; /* Remove absolute positioning */
 height: 200px; /* Set fixed height for mobile */
  }
}
@media (max-width: 1024px) {

 .c-card {
 display: flex;
 flex-direction: column;
  }

 .c-card__figure {
    width: 100%;
    position: relative;
  }

 .c-card__figure {
    z-index: 1;
  }
 .c-card__description {
    z-index: 0;
  }
 .c-card__figure img {
 height: 300px; /* Set fixed height for mobile */
  }
}

