:root {
    --grey-accent-1: #cbcbcb;
    --main-accent: #a0a0a0;
    --card-bg: rgba(255, 255, 255, 0.6);
    --card-border: rgba(0, 0, 0, 0.12);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    --card-shadow-hover: 0 14px 40px rgba(0, 0, 0, 0.16);
    --header-home-page: 
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
    padding:0;

}
nav {

    justify-content: space-between;
    border-bottom: 1px solid #ccc;
    padding: 0.5rem 1rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-family: inherit;
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(238, 238, 238, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    /*border-radius: 0 0 8px 8px;*/
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.links a {
    all: unset;
    text-decoration:none;
    background-color: #f2f2f2;
    color: #222;
    border: 1px solid #bbb;
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
nav .links {
    
    margin-left: 2rem;
    display:flex;
    gap: 0.4rem;
    align-items: center;
}
.burger {
    background-color: var(--grey-accent-1);
   transition: width 0.5s ease;
    padding:20px;
}
.burger .links {
 text-align: center;

}


.nav-left {
    display: flex;
}
#nav-logo {
    width: 50px;
    height:50px;
}
.brand {
   display:flex;
    align-items: center;
}


#burger-toggle {
    width: 50px;
    height:50px;
    padding:2px;
    border-radius: 8px;
    background-color: lightgray;
    border: none;
  
}

#burger-toggle>img {
    width:40px;
    height:40px;
    margin:0;
    text-align: center;
}

.hide {
    display:none;
}

header.home-page-header {
    
    text-align: center;
    padding:10px;
}

@media(max-width: 749px) {
    nav .links {
        display: none;
    }
    

    
}
@media(min-width:750px) {
    #burger-toggle {
        display:block;
    }
    #burger-toggle {
        display:none;
    }
    .burger {
        display:none;
    }
}

/* Card component */
.card {
    background: var(--card-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow);
    border-radius: 12px;
    padding: 1.25rem;
    transition: box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.card:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-2px);
}

.card .card-header {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.card .card-body {
    color: #222;
    line-height: 1.5;
}

.card .card-footer {
    margin-top: 0.75rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
.main-grid img {
  width: 100%;           /* fills the card, but never overflows */
  height: auto;          /* keeps correct aspect ratio */
  display: block;        /* removes inline whitespace issues */
  border-radius: 12px;   /* matches card corners */
  object-fit: cover;     /* crops nicely if container resizes */
}

/* optional: make all cards the same height if you like */
.main-grid .card {
  overflow: hidden;      /* hides any image overflow */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Layout helpers for cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.card-muted {
    background: rgba(238, 238, 238, 0.55);
}

/* Desktop width helper */
.desktop-narrow {
    width: 100%;
}

@media(min-width:900px) {
    .desktop-narrow {
        max-width: 720px;
        margin-left: auto;
        margin-right: auto;
    }
}

#main-hero h1 {
    font-size: 40pt;
    margin-top: 50px;
    margin-bottom: 20px;
}


@media (max-width: 749px) {
    #main-hero h1 {
        text-align: left;
    }
}

.main-header-gradient {
    background: #2A7B9B;
    background: linear-gradient(149deg,rgba(42, 123, 155, 1) 0%, rgba(87, 199, 133, 1) 73%);
}


.main-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap:1rem;
}

/* #img1 {
    grid-column: 2/3 ;
    grid-row: 1/2;
}
#img2 {
    grid-column: 3/4 ;
    grid-row: 1/2;
} */


footer {
  background: #2A7B9B;
  color: white;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}
footer a {
  color: #fff;
  text-decoration: underline;
}