@font-face {
    font-family: 'Shrimp Sans Serif';
    src: url('fonts/shrimp-sans-serif.woff2') format('woff2'),
         url('fonts/shrimp-sans-serif.woff') format('woff'),
         url('fonts/shrimp-sans-serif.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}




 body {
    font-family: 'Shrimp Sans Serif',Roboto,sans-serif;
    background-image: url('https://monogramcc.com/static/3087a8d7656dfbfca1bb710835289def/b7f32/home_hero_dark_a5ec9a89de.webp');
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    background-position: center;
    height: 100vh;
}


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









nav{
    background-color:#1A2456 ;
    /* padding: 0.5rem 1rem; */
    align-items: center;
    justify-content: space-between;
    display: flex;
    border-radius: 5px;
    margin-top: 20px;
    /* width: 900%; */
    width: calc(100% - 65px);
    /* position: absolute;  */
    top: 0px; /* Align to the top */
    left: 0px; /* Align to the left */
    right: 0px; /* Stretch to the right */
    padding: 6px; /* Add padding */
    z-index: 10;
    margin-left: 30px;
    margin-right:30px ;
    position: fixed;
}


nav:hover{
    background-color: rgba(26, 36, 86, 0.8);
    transition: background-color 0.3s ease;
}

nav ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}
.logo svg{
    height: 38px;
    color:  #EFC2B3;
}
.logo svg:hover{
    height: 38px;
    color:  #ff8b68;
    cursor: pointer;
    transform: scale(1.01);
}



.nav-links {
    display: flex;
    list-style: none;
  }

.nav-links li{
    margin:0 15px ;
    font-weight: 100;
    position: relative;
    font-size: 14px;
 }

    .nav-links li a{
        color: #EFC2B3;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .nav-links li a:hover{
        color: #ff8b68 ;
        transition: color 0.3s ease;
    }


    .text {
        display: flex;
        justify-content: center; /* Center content horizontally */
        align-items: center; /* Center content vertically */
        height: 100vh; /* Full viewport height */
        flex-direction: column; /* Stack elements vertically */
        gap: 20px; /* Space between elements */
        text-align: center; /* Center text alignment */
        color: #EFC2B3; /* Text color for all text inside the container */
        z-index: 1; /* Ensure it's in front of the background */
    }
    
    .hero-title1 {
        font-size: 2rem; /* Adjust as needed */
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Add shadow for visibility */
    }
    .hero-title2 {
        font-size: 4.5rem; /* Adjust as needed */
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Add shadow for visibility */
    }
    
    /* Additional styles for <p> element */
    .text p {
        font-size: 1.5rem; /* Adjust the size as needed */
        color: #EFC2B3; /* Ensure it matches the other text colors */
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* Optional shadow for visibility */
    }

    .btns{
        display: flex;
        gap: 20px;
        justify-content: center;
        align-items: center;
        margin-top: 20px;
        margin-bottom: 50px;
    }
    
    .hero-btn{
        background-color: #EFC2B3 ;
        color: black;
        padding: 20px;
        width: 210px;
        text-align: center;
        gap: 20px;
        text-decoration: none;
        border-radius: 50px;
        font-family: 'Shrimp Sans Serif';
    
    }

    .hero-btn:hover{
        background-color: #f1ae9a ;
        color: white;
        transition: background-color 0.3s ease;
    }

 

    /* making the landing page text fade away on scroll */

    .text{
        opacity: 1;
        transform: translateY(50px) scale(1);
        transition: transform 2s, opacity 2s;  /*this makes it look like inatoka chini*/
    }

    .text.scrolled{
        transform: translateY(-50px) scale(0.7);
        opacity: 0;
     
    }

    .scroll-indicator {
    position: absolute;
    bottom: 96px;
    left: 50%;
    transform: translateX(-50%);
  font-size: 3rem; /* Size of the icon */
  color: #EFC2B3;    /* Color of the icon */
  cursor: pointer;
  animation: bounce 2s infinite;
    }
    /* Animation for the scroll indicator */
    @keyframes bounce {
        0%, 20%, 50%, 80%, 100% {
          transform: translateY(0) translateX(-50%);
        }
        40% {
          transform: translateY(15px) translateX(-50%);
        }
        60% {
          transform: translateY(10px) translateX(-50%);
        }
      }


.parent1 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 8px;
    height: 100vh;
    margin: 0;
}

.div1 {
    grid-column: span 2 / span 2;
    grid-row: span 2 / span 2;
    background-color: #EFC2B3;
    padding: 20px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center; 
}

.div1 h2 {
    font-size: 3rem;
    color: white;
    text-align: center;
    
}
.div1 p {
    font-size: 1.2rem;
    color: #1A2456;
    text-align: center;
    margin-top: 30px;
    width: 60%;
}

.content {
    display: flex;
    flex-direction: column;
   align-items: center;

}


.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out; /* Use transition instead of animation */
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.parent2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(36, 1fr); /* 18 rows for 3 divs (6 rows each) */
    gap: 0px;
    height: 700vh; /* Make parent tall to allow scrolling */
    margin: 0;
    padding: 0;
}

.parent2 .div1 {
    grid-column: 1;
    grid-row: 1 / span 18; /* Span all rows to match parent height */
    background-color: #1A2456;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start; /* Align image container to top for sticky */
    height: 100%;
    padding: 0;
}

.parent2 .div2 {
    grid-column: 2;
    grid-row: 1 / span 9; /* First 6 rows */
    background-color: #FF8D6B;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    padding: 0;
}
.parent2 .div2 img{

    margin-top: -300px;
  

}

.parent2 .div3 {
    grid-column: 2;
    grid-row: 7 / span 6; /* Next 6 rows */
    background-color: #EFC2B3;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    padding: 0;
}

.parent2 .div4 {
    grid-column: 2;
    grid-row: 13 / span 20; /* Last 6 rows */
    background-color: #5A7F71;
    display: flex;
    justify-content: flex-starts;
    align-items: center;
    height: 100%;
    padding: 0;
}


.parent2 .div1 img {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: cover;
    margin-right: 0;
    position: sticky;
    top: 0; /* Stick to top of viewport */
}

.parent2 .div7 img,
.parent2 .div2 img,
.parent2 .div10 img,
.parent2 .div9 img,
.parent2 .div3 img,
.parent2 .div4 img {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: cover;
}
.parent2 .div3 h2{
    font-size: 2rem;
    color: white;
    text-align: center;
}

.content2 {
    display: flex;
    flex-direction: column;
   align-items: center;

}

.div3 h2 {
    font-size: 2rem;
    color: white;
    text-align: center;
    
}
.div3 p {
    font-size: 1.2rem;
    color: #1A2456;
    text-align: center;
    margin-top: 30px;
    width: 60%;
}
/* image alignments  sesciooonn  */
.div2 img{
    margin-top: -30px;
}


.div4 img{
    margin-top: -1400px;
}

.parent2 .div4 img{
    position: sticky ;
top: 0;
}



.parent2 .div6 {
    grid-column: 1;
    grid-row: 19 / span 6; /* Next 6 rows */
    background-color: #EFC2B3;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    padding: 0;
}

.parent2 .div7{
      grid-column: 1;
    grid-row: 25 / span 50; /* Next 6 rows */
    background-color: #FF8D6B;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    padding: 0; 
}


.div6 h2 {
    font-size: 2rem;
    color: white;
    text-align: center;
    
}
.div6 p {
    font-size: 1.2rem;
    color: #1A2456;
    text-align: center;
    margin-top: 30px;
    width: 60%;
}


.parent2 .div7 img{
    position: sticky;
    top: 0;
    margin-top: -630px;
    margin-bottom: -200px;
    

}
.parent2 .div8 {
    grid-column: 2;
    grid-row: 33 / span 6; /* Next 6 rows */
    background-color: #EFC2B3;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    padding: 0;
}


.div8 h2 {
    font-size: 2rem;
    color: #1A2456;
    text-align: center;
    
}
.div8 p {
    font-size: 1.2rem;
    color: #1A2456;
    text-align: center;
    margin-top: 30px;
    width: 60%;
}


.parent2 .div9 img{
    position: sticky;
    top: 0;
    margin-top: -820px;
    margin-bottom: -200px;
    

}
.parent2 .div9 {
    grid-column: 2;
    grid-row: 39 / span 50; /* Last 6 rows */
    background-color: #F5B335;
    display: flex;
    justify-content: flex-starts;
    align-items: center;
    height: 130vh;
    padding: 0;
}
.parent2 .div10{
      grid-column: 1;
    grid-row: 75 / span 14; /* Next 6 rows */
    background-color: #5A7F71;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    padding: 0; 
}
