/* === CSS Reset === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* === Root Variables (optional) === */
:root {
  --font-sans: 'Segoe UI', Roboto, sans-serif;
  --color-bg: #f9f9f9;
  --color-text: #2c2c2c;
  --Accent-one: #5b5f97;
  --Accent-two: 	#ff6b6b;
  --muted-text:#a0a0a0;
  --hovercolor: #8ecae6;
  --max-width: 1200px;
}

/* === Base Styling === */
html, body {
  height: 100%;
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  /* background: linear-gradient(to right, #ff6b6b, #5b5f97); */
  color: var(--color-text);
  line-height: 1.6;
  margin: 0;
}

/* === Utility Layout Helpers === */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem;
}

.flex {
  display: flex;
  gap: 1rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* .right {
  display: flex;
  justify-content: right;
  align-items: right;
} */

.divider{
  height:2px;
  background: #999;
  margin: 2rem 0;
  width: 100%;
}

/* === Images & Links === */
/* img {
  max-width: 100%;
  display: block;
} */

a {
  text-decoration: none;
  color: inherit;
}

/* === Headings & Typography === */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
}

.title-container h1{
    font-size: 36px;
    text-align: center;
    padding-bottom: 40px;
}

/* === Buttons (starter) === */
button {
  padding: 0.6em 1.2em;
  border: none;
  background-color: #222;
  color: white;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

button:hover {
  background-color: #444;
}

/* Layout */

body{
    display:flex;
    flex-direction: column;
    min-height: 100vh;
}

.title-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* padding-bottom:25vh; */
  padding-bottom: 20px;
}

.image-titlecontainer{
  display:flex;
  justify-content: space-between;
  margin: 0 20rem;
}

header{
  height:80px;
  padding: 1rem 2rem;
}

main{
  padding:20px;
  flex: 1;
}

footer{
  padding:10px;
}
/* Navbar */

/* .logo{
max-height: 60px;
width: auto;
display: block;
} */

.navbar-container{
    display: flex;
    justify-content: space-between;
    max-height: 60px;
}

.navbar-container img {
  width:auto;
  height: 3rem;
  /* padding-top: 10px; */
}

.nav-elements{
    display:flex;
    gap: 1rem;
    /* justify-content: right;
    align-items: right; */
    list-style: none;
}

.nav-elements li{
  padding-top: 5px;
}

.nav-elements a {
  font-weight: 500;
  transition: color 0.3s ease
}

.nav-elements a:hover {
  color: var(--hovercolor);   
} /* Highlight on hover */


/* Main Content */

.content-container{
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 80%;
  margin: 0 auto;
  padding: 2rem;
  line-height: 1.6;
  justify-content: space-between;
}

.about-container{
  display:flex;
  flex-direction: column;
  gap:2rem;
  max-width: 80%;
  margin: 0 auto;
  line-height: 1.6;
}

.about-container h2 {
  padding-bottom: 0.5rem;
}

ol{
  max-width: 80%;
  margin:0;
  margin-left:30px;
}

.image-titlecontainer h1 {
  display:flex;
  padding: auto 0;
  font-size: 36px;
  align-items: center;
  justify-content: center;
}

.image-titlecontainer img{
  width:auto;
  height: 10rem;
  border-radius: 50%;
  
}

/* Card */

.cards-container{
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding: 100px;
}

.card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
  max-width: 300px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card h3{
  padding-bottom: 0.5em;;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.card a {
  font-weight: 500;
  transition: color 0.3s ease
}

.card a:hover {
  color: var(--hovercolor);   
} /* Highlight on hover */


/* Footer */

.footer-container{
  display:flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 400;
}