html, body {
    margin: 0;
    padding: 0;
}

.grid-container {
    display: grid;
    grid-template-columns: 400px 1fr;
    grid-template-rows: repeat(4, 350px); /* ← Fixed height for each row */
    width: 100%;
    margin: 0;
    padding: 0;
    gap: 0;
}

.grid-item {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.grid-item.left-column {
    grid-column: 1;
    /* Height handled by grid-template-rows */
}

.title-content-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.grid-title {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.4s ease-in-out;
    width: 100%;
    height: 100%;
    pointer-events: none;
    box-sizing: border-box;
}

.grid-content {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0;
    display: flex;
    flex-direction: column; /* vertical stack */
    justify-content: center;
    align-items: center;
    transition: opacity 0.4s ease-in-out;
    width: 100%;
    height: 100%;
    pointer-events: auto;
    box-sizing: border-box;
    gap: 10px; /* optional: spacing between stacked elements */
    text-align: center;
}


.grid-title {
    z-index: 2;
    opacity: 1;
}

.grid-content {
    opacity: 0;
}

.grid-item:hover .grid-title {
    opacity: 0;
}

.grid-item:hover .grid-content {
    opacity: 1;
}

.grid-item.right-column {
    grid-column: 2;
    grid-row: 1 / 5; /* spans the left-side rows */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 30px;
    box-sizing: border-box;
    background-color: #fff;
    min-height: 100%;
    height: 100%;
}

.right-column-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
}

.right-column-body {
    font-size: 1.3rem;
    line-height: 1.3;
    max-width: 90%;
}



/* Responsive adjustments */
@media only screen and (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
        aspect-ratio: auto;
        padding: 15px 10px;
        width: 95%;
    }
    
    .grid-item {
        aspect-ratio: 1/1;
        min-height: 250px;
    }
    
    .header {
        font-size: 1.5rem;
    }
}

/* For very small screens */
@media only screen and (max-width: 480px) {
    .grid-item {
        min-height: 200px;
        padding: 10px 5px;
    }
}


/* Original stylesheet content below */
html {
   -webkit-background-size: cover;
   -moz-background-size: cover;
   -o-background-size: cover;
   background-size: cover;
}


#blowup:hover {

opacity: 1;
}
.grow img {
  height: 55px;
  width: auto;
  -webkit-transition: all 1s ease;
     -moz-transition: all 1s ease;
       -o-transition: all 1s ease;
      -ms-transition: all 1s ease;
          transition: all 1s ease;
}
 
.grow img:hover {
  height: 400px;
  width: auto;
}

img.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

label { color:  #E0E6F8;}

div
{background-color: #FFFFFF; 
color: #000000;
align: left;
text-align: left;
font-size: 1rem;}

div.myheailth
{background-color: #FFFFFF; 
color: #005683;
align: left;
text-align: left;
font-size: 1rem;}

td.myheailth
{background-color: #FFFFFF; 
color: #005683;
align: left;
text-align: left;
font-size: 1rem;}


div.dnkwdk  
{background-color: #0056B3; 
color: #FFFFFF;
align: middle;
font-size: 2rem;
text-align: center;
opacity: 0; /* Starting opacity */
transition: opacity 0.3s increase; /* Smooth transition effect */
}

div.dnkwdkb
{background-color: #0056B3;
 color: #FFFFFF;
 align: middle;
 font-size: 2rem;
 text-align: center;
}

.dnkwdk:hover {
    opacity: 1;
    background-color: #0056B3;
}


a.dnkwdk {
color: #FFFFFF;
background-color: transparent;
font-size: 2rem;
opacity: 1;
}


div.dnkwdnk  
{background-color: #800000; 
color: #D6D6CE;
align: middle;
font-size: 2rem;
text-align: center;
opacity: 0; /* Starting opacity */
transition: opacity 0.3s increase; /* Smooth transition effect */
}

div.dnkwdnkb
{background-color: #800000; 
color: #D6D6CE;
align: middle;
font-size: 2rem;
text-align: center;
}

div.dnkwdnk:hover {
    opacity: 1;
    background-color: #800000; 
}


a.dnkwdnk {
color: #D6D6CE;
background-color: transparent;
font-size: 2rem;
opacity: 1;
}



div.dkwdnk  
{background-color: #56267F; 
color: #FFFFFF;
align: middle;
font-size: 2rem;
text-align: center;
opacity: 0; /* Starting opacity */
transition: opacity 0.3s increase; /* Smooth transition effect */
}

div.dkwdnkb
{background-color: #56267F; 
color: #FFFFFF;
align: middle;
font-size: 2rem;
text-align: center;
}

div.dkwdnk:hover {
opacity: 1;
background-color: #56267F; 
}

a.dkwdnk {
color: #FFFFFF;
background-color: transparent;
font-size: 2rem;
opacity: 1;
}


div.dkwdk  
{background-color: #517009; 
color: #F9F9F9;
align: middle;
font-size: 2rem;
text-align: center;
opacity: 0; /* Starting opacity */
transition: opacity 0.3s increase; /* Smooth transition effect */

}

div.dkwdkb
{background-color: #517009; 
color: #F9F9F9;
align: middle;
font-size: 2rem;
text-align: center;
}


div.dkwdk:hover {
    opacity: 1;
}

a.dkwdk {
color: #F9F9F9;
background-color: transparent;
font-size: 2rem;
opacity: 1;
}

/* Rest of your original stylesheet remains unchanged */
form {
background-color:transparent;
border: 0px solid transparent; 
font-size: 1rem;
}

form.myheailth {
background-color:transparent;
border: 0px solid transparent; 
font-size: 1rem;
}

fieldset {
border: 0px solid red;
background-color: transparent;
}
