@font-face {
    font-family: "shanoy-regular";
    src: url(/assets/fonts/shanoy/shanoy-regular.otf); 
}

@font-face {
    font-family: "EdwardianScriptITC";
    src: url(/assets/fonts/edwardian/edwardianscriptitc.ttf);
} 

@font-face {
    font-family: 'Rische';
    src: url('/assets/fonts/Rische/Rische-Medium.eot');
    src: local('Rische Medium'), local('Rische-Medium'),
        url('/assets/fonts/Rische/Rische-Medium.woff2') format('woff2'),
        url('/assets/fonts/Rische/Rische-Medium.woff') format('woff'),
        url('/assets/fonts/Rische/Rische-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}  

@font-face {
    font-family: 'Rische';
    src: url('/assets/fonts/Rische/Rische-Light.eot');
    src: local('Rische Light'), local('Rische-Light'),
        url('/assets/fonts/Rische/Rische-Light.woff2') format('woff2'),
        url('/assets/fonts/Rische/Rische-Light.woff') format('woff'),
        url('/assets/fonts/Rische/Rische-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rische';
    src: url('/assets/fonts/Rische/Rische-Regular.eot');
    src: local('Rische Regular'), local('Rische-Regular'),
        url('/assets/fonts/Rische/Rische-Regular.woff2') format('woff2'),
        url('/assets/fonts/Rische/Rische-Regular.woff') format('woff'),
        url('/assets/fonts/Rische/Rische-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
} 

@font-face {
    font-family: 'Rische';
    src: url('Rische-Semibold.eot');
    src: local('Rische Semibold'), local('Rische-Semibold'),
        url('Rische-Semibold.eot?#iefix') format('embedded-opentype'),
        url('Rische-Semibold.woff2') format('woff2'),
        url('Rische-Semibold.woff') format('woff'),
        url('Rische-Semibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}


* {

    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
  background-color: #F3F2EC;
  color: #64431D;
}

img {
  max-width: 100%;
  height: auto;
}

span {
    /* font-family: "shanoy-regular"; 
    font-weight: 500;*/
    font-family: 'Rische';
    font-weight: 500; 
}

.capital {
    font-family: "EdwardianScriptITC";
    font-size: 60px;
}


button {
    color: #64431D;
    background: transparent;
    font-size: 17px;
    padding: 8px 20px;
    margin: 0 auto;
    border-radius: 25px;
    border: solid 1px #64431D;
}

.sparkle {
    width: 70px;    
    position: absolute; 
}

/*header*/

.navbar {
    display: flex;
    align-items: center;
    justify-content:space-between;
    min-height: 70px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    background: transparent;
}



.favicon-img {
    height: 80px;
    width: 80px;
  
}

.nav {
    display: block;
}

.nav-list {
    display: flex;
    column-gap: 40px;  
}

.nav-link {
    
    color: #f3f2ecd6;
    font-size: 17px;
    transition: all;
}
.nav-link:hover {
    color: #f3f2ec;
    font-weight: 500;
}

.contact-btn{
    color: #F3F2EC;
    border: solid 1px ;
    padding: 10px 20px;
    border-radius: 25px;
}

.contact-btn:hover{
    background-color: #F3F2EC;
    color: #64431D;
    font-weight: 700;
    font-size: 18px;
    border: none;
}

.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}

ul {
  list-style: none;
  list-style-position: inside; 
}


a {
    text-decoration: none;
    color: inherit;
}
.nav-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 2px;
    margin: 5px auto;
    background-color:#F3F2EC;
    transition: all 0.3s ease;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


@media (max-width: 770px) { 
    .navbar {
        flex-direction: column;
    }

    .nav-top {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
 
    .hamburger {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        row-gap: 20px;
        padding: 0px 0;
    }

    
      .nav {
        width: 100%;
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        transition: max-height 0.4s ease, opacity 0.3s ease;
    }

.nav.active {
    max-height: 300px;
    opacity: 1;
}


}


/*Hero section */

.hero {
  min-height: 100vh;
  background-image: url("/assets/bg\ image.jpg");
  background-size: cover;

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

.layout {
  position: relative;
  z-index: 2;
  text-align: center;
}


.hero-logo {
    width: 800px;
    background: transparent;   
    margin-top: 60px;
    margin-bottom: 20px;
}

.phrase{
    color: #f3f2ec;
    font-size: 24px;
    font-weight: 300;
    font-style: italic;
}

.metier{
    color: #f3f2ec;
    font-size: 27px;
    font-weight: 300;
    font-style: italic;
    padding-top: 20px;
}

@media (max-width: 770px) { 

    .hero-logo {
        width: 100%;
        max-width: 400px;
        margin-top: 10px; 
    }

    .phrase {
        font-size: 18px;
    }

    .metier {
        font-size: 20px;
    }

    .sparkle {
    width: 70px;  
    position: absolute;   
    right: 0;
    }

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

    }
}












/*about section*/



#about {
    display: flex;
    color: #64431D;
    padding: 100px 50px;
    justify-content: space-evenly;
}

#about div{
    width: 50%;
    max-width: 700px; 
}

.intro-pic {
    text-align: center;
}

.profile-pic {
    height: 600px;
    margin: 20px;
}


.intro-pic h3 {
    /* font-family: "shanoy-regular";    
    font-weight: 200; */
    font-size: 40px;
    font-family: 'Rische';
    font-weight: 500; 

}

.text-about {
    display: flex;
    flex-direction: column;
    justify-content:center;
    padding-right: 150px;
    
}

.text-about p {
    margin: 40px 0;
}

.catchphrase-1 {
    font-size: 32px;
    font-weight: 600;
}
.catchphrase-2 {
    font-size: 32px;
    font-weight: 600;
    text-align: end;
}

.brown-btn:hover {
    background-color: #3C2517; 
    color: #F3F2EC;

}

@media (max-width: 770px) { 

    #about {
        flex-direction: column;
        align-items: center;
        padding: 40px; 
        padding-bottom: 60px; 
    }

    #about div {
        width: 100%;
    }

    .profile-pic {
        height: auto;
        max-width: 250px;    
    }

    .intro-pic h3 {
        font-size: 35px; 
    }

    .text-about {
        padding: 0; 
    
    }
    .text-about p {
        margin: 20px 0; 
        font-size: 14px;   
    }
    .catchphrase-1 {
        text-align: left;
        font-size: 26px;  
        margin-bottom: 5px;   
    } 
    .catchphrase-2 {
        text-align: right;
        font-size: 26px;  
    }

    .brown-btn {
        font-size: 15px; 
        margin-top: 10px; 
    }
} 

/* Skills section (before animation)*/


.card {
    color: #F3F2EC;
    padding: 50px 100px;
    border-radius: 50px 50px 0 0;
    position: relative;
    z-index: 1 !important;    
    overflow: visible;
    height: 100vh;
    box-sizing: border-box;
    overflow-y: auto;

}

.skills-card-dev {
    background-color: #3C2517;

}

.skills-card-ui {
    background-color: #461111;
 
}

.skills-card-graphic {
    background-color: #765F4F;

}

.skills-card-digital {
    background-color: #948B7A;

}

#skills h3 {

    /*font-family: 'Rische';
    font-weight: 300;*/
    font-family: 'Poppins';
    font-weight: 300;
    font-style: italic;
    font-size: 20px;

    
}

.skills-content {
    display: flex;
    align-items:flex-start;
    justify-content:space-between;
    padding-top: 20px;
    
}

.skills-pics {
    width: 50%;  
    display: flex;
    align-items: center;
    justify-content: center;
}

.skill-pic{
    width: 80%;
}

.skills-main{
    width: 50%;
    padding-right:  60px;
    
}
.skills-main p{
    margin: 30px 0;
}

.skills-button{
    text-align: center;
    margin: 0 auto;

}
.skills-btn{
    color: #F3F2EC;
    border:solid 1px#F3F2EC;
    margin: 5px;
    font-size: 15px;  
}

/*.skills-btn:hover{
    background-color:#765F4F;
    font-weight: 600;
    border: none;
}

.ui-btn:hover {
    background-color:#8b3131;
    font-weight: 600; 
    border: none;
}

.gd-btn:hover {
    background-color:#a38d7e;
    font-weight: 600; 
    border: none;
}

.ds-btn:hover {
    background-color:#b2a998;
    font-weight: 600; 
    border: none;
}*/

.skills-title {
    font-family: 'Rische';
    font-weight: 300;
    font-size: 35px; 
    font-display: swap;
}



/* Skills section (after animation)*/


.skills-section {
    position: relative;
    z-index: 1;
}

.skills-container {
    display: flex;
    flex-direction: column;
}
 
.card:nth-child(1) { z-index: 1; }
.card:nth-child(2) { z-index: 2; }
.card:nth-child(3) { z-index: 3; }
.card:nth-child(4) { z-index: 4; }
 

@media (max-width: 770px) { 

    .card, .skills-card-dev, .skills-card-ui, .skills-card-graphic, .skills-card-digital {
        padding: 50px 30px;
        border-radius: 30px 30px 0 0;
        height: 100vh;
        box-sizing: border-box; 
        overflow-y: auto; 
    }
    .skills-title {
        font-size: 33px;  
    }


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

    .skills-pics {
        width: 100%;
        margin: 30px 0; 
    }

    .skill-pic {
        width: 100%;
        max-width: 400px;
    }

    .skills-main {
        width: 100%;
        padding-right: 0;    
    } 

    .skills-section p{
        font-size: 13px; 
    }
    .skills-container{
        margin-bottom: 1rem;
    }

    .skills-btn{
        font-size: 13px;
        padding: 7px 15px; 
    }
}

/*Experience section*/

#experiences {
    position: relative;
    z-index: 100; 
    background-color: #F3F2EC; 
}
.xp-ed-flex {
    display: flex; 
    padding: 50px;
    padding-top: 0; 
}

.xp-group{
    padding-right: 30px; 
}  

.xp-main {
    width: 50%;
}

.xp-container {
    padding: 50px 100px 0 100px ; 
    position: relative;
    z-index: 100;  
    background-color: #F3F2EC;
            
}  
.xp-container h3 {
    /*font-family: 'Rische';
    font-weight: 400;*/
    font-weight: 300;
    font-style: italic;
    font-size: 23px;
    font-display: swap;
}

.xp-title{
    text-align: center;
    font-family: 'Rische';
    font-weight: 500; 
    font-size: 30px;
    margin: 50px 0;

}

.xp-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin: 40px 0;
    transition: all 0.3s ease;
}
.xp-content:hover {
    transform: scale(1.05);
}

.xp-img {
    width: 150px;

}

.year-btn{
    padding: 8px 11px;
    margin: 0;
    font-size: 15px; 
}
 
.xp-text{
        width: 75%; 
 
}

.xp-text h4 {
    font-size: 20px;
    margin-bottom: 10px;
    
}

.xp-text h5 {
    font-weight: 500;
    font-size: 16px;
    font-style: oblique;  
    color: #a0473b;  
}
.xp-text p{
    font-size: 14px;
    margin-top: 5px;
}

.xp-text li{
    font-size: 14px;
    margin-top: 5px;
    list-style:disc;
}

@media (max-width: 770px) { 

    .xp-ed-flex {
        flex-direction: column;
        align-items: center;
        padding: 0;
    }

    .xp-group {
        padding-right: 0;
        margin-bottom: 30px; 
    }

    .xp-main {
        width: 100%;
    }

    .xp-container {
        padding: 40px;  
                                 
    }

    .xp-container h3 {
        font-size: 20px;
    }   

    .xp-title{
        margin: 30px 0; 
    }  

    .xp-content{
        flex-direction: column-reverse; 
    }
     .xp-text{
        width: 100%; 
    }
}

@media (max-width:480px) {
    .xp-container {
        padding: 40px;  
                                      
    }

}



/*Education section*/

.ed-main {
    width: 50%;
}
.ed-group{
    padding-left: 30px;
    border-left: solid 1px #64431D;  
} 
.ed-container h3 {
    /*font-family: 'Rische';
    font-weight: 400;*/
    font-size: 25px;

}

.ed-title{
    text-align: center;
    font-family: 'Rische';
    font-weight: 500;
    font-size: 30px;
    margin: 50px 0; 

}

.ed-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin: 40px 0;
    transition: all 0.3s ease;

}

.ed-content:hover {
    transform: scale(1.05);
}

.ed-text{
    width: 75%;
} 

.ed-text h4 {
    font-size: 20px;
    margin-bottom: 12px;

}

.ed-text h5 {
    font-weight: 500;
    font-size: 16px;
    font-style: oblique;
    margin-bottom: 5px;
    color: #a0473b;;
 
}
.ed-text p{
    font-size: 14px;
}

.separation {
    width: 60%; 
    margin: 0 auto; 
}

.ed-year-btn{
    font-size: 15px; 
}

@media (max-width: 770px) { 

    .ed-main {
        width: 100%;
    }

    .ed-group {
        padding-left: 0;
        margin-bottom: 30px; 
        border-left: none;
    }

    .ed-container {
        padding: 20px;
            
    }

    .ed-content {
        flex-direction: column-reverse;
    }
    .ed-year-btn{
        margin-left: 0;
        margin-bottom: 10px;
    }
    .year-btn{
        margin-bottom: 10px; 
    }

    .ed-text {
        width: 100%;
    }


}   

/*Certification section*/



.certifSection {
    position: relative;
}

.certif-container {
    min-height: max-content;
    margin: 50px 0;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.certif-content {
    padding: 10px 200px;
    width: max-content;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 50px;
    gap: 20px;
}

.certif-card {
    border: solid 1px #64431D;
    width: 300px;
    min-height: 300px;
    padding: 25px;
    border-radius: 30px;
    background-color: #F3F2EC;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    transition: transform 0.3s ease, border-color 0.3s ease;
    user-select: none;
}

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

.certif-title {
    text-align: center;
    font-family: 'Rische';
    font-weight: 500;
    font-size: 32px;
    margin-bottom: 20px;
}

.certif-card h4 {
    font-size: 17px;
    margin-bottom: 12px;
    font-weight: 800;
}

.certif-card h5 {
    font-weight: 600;
    font-size: 14px;
    font-style: oblique;
    margin-bottom: 5px;
}

.certif-card p {
    font-size: 14px;
}

.certif-btn {
    display: block;
    margin: 15px auto;
    text-align: center;
    font-size: 16px;
}

.certif-btn:hover {
    background-color: #3C2517;  
    color: #F3F2EC;
    border: none;
}

@media (max-width: 770px) {
    .certif-content {
        flex-direction: row; /* Change to horizontal for carousel */
        align-items: center;
        padding: 40px 20px; /* Reduce horizontal padding for better scrolling */
        margin-top: 0;
        width: 100%;
        overflow-x: auto; /* Enable horizontal scrolling */
        scroll-snap-type: x mandatory; /* Snap to cards */
        gap: 15px; /* Smaller gap for mobile */
        justify-content: flex-start; /* Align to start for scrolling */
    }

    .certif-card {
        width: 75vw; /* Approx 1.5 cards visible (adjust as needed) */
        max-width: 300px; 
        flex-shrink: 0; /* Prevent shrinking */
        scroll-snap-align: start; /* Snap to start of each card */
    }
}



/*portfolio section*/

.portfolio-container {
    background-color:#3C2517;
    padding: 50px 0;
    border-radius: 50px 50px 0 0;
    color: #F3F2EC;
}

.portfolio-container h3 {
    font-family: 'Rische';
    font-weight: 500; 
    font-size: 32px;
    color: #F3F2EC; 
    padding: 30px 0;
    text-align: center;
}

.portfolio-container p {
    color: #F3F2EC; 
    margin-bottom: 10px; 
} 

.filtering { 
    margin: 10px auto; 
    text-align: center;
}

.filter-btn {
    color: #F3F2EC;
    border: solid 1px #F3F2EC;
    margin: 10px;
    font-size: 15px;
    cursor: pointer; 

}
.filter-btn.active, .filter-btn:hover { 
    background-color: #F3F2EC;
    color: #461111;
    font-weight: 700;
}



.portfolio-gallery {
    padding: 50px 100Px;
    align-items: stretch;
    display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
} 


.portfolio-item {
    
    border-radius: 20px;
    overflow: hidden;
     transition:
    opacity 0.3s ease,
    transform 0.3s ease;

  max-width: 300px;    
  min-height: 250px; 

    border-radius: 30px; 
    background-color: #2b1a10;

}
.portfolio-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(168, 167, 167, 0.2);
}

.portfolio-item.hide { 
    opacity: 0;
    transform: scale(0.95);
    display: none;
    
}

.portfolio-item img {
    border-radius: 20px 20px 0 0;
 
}

.portfolio-text {
    padding: 10px 20px; 
    text-align:left;
}
.portfolio-text h4 {
    /*font-family: 'Rische';
    font-weight: 400; */
    font-weight: 600;
    font-size: 17px;
    margin-bottom: 8px;
}
.portfolio-text p {
    font-size: 14px;
}

.case-arrow {
    display: flex;
    justify-content: flex-end;
}

.case-arrow button {
    background-color: #F3F2EC;
    color: #64431D;
    font-size: 14px;  
    padding: 6px 15px;  
    cursor: pointer;
}

.arrow{
    width: 59px;     
}

.tool-btn{
    color: #F3F2EC;
    border: solid 1px #F3F2EC;
    padding: 4px 10px;
    font-size: 12px; 
    margin: 5px 0;
}

.see-more-wrapper {
    display: none;
    text-align: center;
    margin: 20px 0 10px;
}

.see-more-btn {
    background-color: transparent;
    color: #F3F2EC;
    border: solid 1.5px #F3F2EC;
    padding: 10px 30px;
    font-size: 15px;
    cursor: pointer;
    border-radius: 30px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.see-more-btn:hover {
    background-color: #F3F2EC;
    color: #3C2517;
    font-weight: 700;
}

@media (max-width: 770px) {
    .see-more-wrapper {
        display: block;
    }
}

@media (max-width: 770px) { 

    .portfolio-container {
        padding: 30px 0;
    }
 
     
    
    .portfolio-container h3 {
        font-size: 33px;
    }

    .portfolio-gallery {
        display: grid;
        padding: 30px;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        justify-items: center;  

    }
}

/*Contact section*/

.contact-container{
    display: flex;
    justify-content: space-evenly;
    padding-bottom: 20px;
    width: 100%; 

} 

.contact-text{
    width: 30%;  
}

 #footer {
    z-index: 200; 
 }


.contact-title{
    
    font-family: 'Rische';
    font-weight: 400;
    font-display: swap;
    font-size: 35px; 
} 

.contact-info {
    width: 30%;
}

.contact-info h5 {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 10px;  
}
.contact-info p {
    font-size: 15px; 
    margin-bottom: 20px;
}
 
.footer-nav ul {
    display: flex;
    justify-content: center; 
   column-gap: 30px; 
   margin: 15px 0;  
   margin-top: 25px;   

}

.copyright {
    font-size: 14px; 
    text-align: center; 
    font-style: italic;
    padding: 15px 0;  
    background-color:#F3F2EC;
    color:#3C2517; 
}

.footer-nav-link {
    font-size: 15px;
    margin: 20px;  
    transition: all 0.3s ease; 
}

.footer-nav p {
    text-align: center;
    margin: 10px 0; 
}

.footer-bg{
    background-color: #3C2517;
    color: #F3F2EC;
    display: flex;
    padding: 100px 0;
    padding-bottom: 20px;
    flex-direction: column;
    align-items: center; 
}  

.red-text{
    color: #461111;
    background-color: #F3F2EC;
} 

.red-text hr{
    color: #461111;  
}

.red-banner {
    background-color: #461111;
    color: #F3F2EC;
}

hr {
    color: #F3F2EC;
    width: 80%; 

}
 
@media (max-width: 770px) { 

    .contact-container {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .contact-text {
        width: 100%;
        text-align: center;
        margin-bottom: 30px; 
    }

    .contact-info {
        width: 100%;
        text-align: center;
    }

    .footer-nav ul {
        flex-direction: row;
        row-gap: 5px;  
    }
    .footer-nav-link{
        margin: 0 auto ;
    }
    .footer-bg{
        padding: 20px 0;  
    }
}


@media (max-width: 770px) {
    .navbar {
        flex-direction: column;
        row-gap: 15px;
    }
    .nav-list {
        flex-direction: column;
        row-gap: 15px;
        padding-bottom: 20px; 
    }

}





/*Portfolio projects page*/

.navbar-extra {
    background-color:#F3F2EC;
    color: #461111; 
    height: fit-content; 
}

.nav-proj {
color : #461111;
}

.nav-proj:hover {
color : #461111;
}

.contact-btn-proj{
color :#461111;
border : solid 1px #461111;
}

.contact-btn-proj:hover{
    background-color: #461111;
    color:#F3F2EC ;

}



.barv2 {
background-color: #461111;
}


.hamburger.active .bar.barv2:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active .bar.barv2:nth-child(2) { 
    opacity: 0;
}

.hamburger.active .bar.barv2:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}



.intro-banner {
    margin-top: 110px;   
    height: 400px;
  background-color:#461111; 

  background-image: radial-gradient( #8b3131, #461111);

}

.banner-btn {
    
   
    padding: 7px 18px;
    font-size: 15px;   
    margin: 0 15px ;
}


.intro-banner-content{
    display: flex;
    flex-direction: column;
    gap: 20px;  
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #F3F2EC;
 
}
.intro-banner-title {
    font-family: 'Rische';
    font-weight: 400;
    font-display: swap;
    font-size: 35px; 
}

@media (max-width: 770px) { 

    .intro-banner {
        min-height: 350px; 
        padding: 0 50px; 
        text-align: center;
        margin-top: 120px;       
    }

    .navbar {
        padding-bottom: 0; 
    }

    .nav-list {
        margin-bottom: 20px;   
    }

    .intro-banner-title {
        font-size: 28px; 
    }

    .banner-btn {
        margin: 5px; 
        font-size: 14px; 
    }
    .intro-banner-description {
        font-size: 15px; 
    }
}


.project-detail-content {
    display: flex;
    align-items: center;
    justify-content: space-evenly; 
    padding: 100px 150px; 
    color: #461111;
}

.project-detail-content h3 {
    font-family: 'Rische';
    font-weight: 400;
    font-display: swap;
    font-size: 25px;
}

.project-detail-description{
    width: 65%;      
    border-left: solid 1px #461111;  
    padding-left: 50px; 
} 

.project-detail-description p strong {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 19px;  
    font-style: italic;
}

.project-detail-description li strong {
    font-size: 17px;
    font-weight: 700;

}

.project-detail-description li {
    margin: 15px 0;
    
}

.project-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 90px;
    margin: 50px;
    margin-top: 0;
    text-align: center;
    color: #461111;
}

.project-btns h4{
    margin: 10px auto;
    text-align: center; 
    font-size: 18px;  
}
.project-btns button {
    margin: 10px auto;  
}
.red-btn{
    color: #461111;
    border: solid 1px #461111;
    font-size: 15px; 
}
.red-btn:hover {
    background-color: #461111;
    color: #F3F2EC;
    border: none;
}


@media (max-width: 770px) {  

    .project-detail-content {
        flex-direction: column;
        align-items: center;
        padding: 40px; 
    }

    .project-detail-description {
        width: 100%;
        padding-left: 0;
        border-left: none;
    }
    .project-detail-description p strong {
        font-size: 18px;
        font-style: normal;
    }

    .project-detail-content h3 {
        font-size: 28px;
        margin: 30px 0;  
    }

    .project-btns {
        flex-direction: column;
        gap: 20px;
    }
}

.project-showcase{

    background-color: #461111;
    color: #F3F2EC;
    padding: 100px; 
    padding-top: 50px;
    border-radius: 50px 50px 0 0;
   
}

.before-after{
    display: flex;
    
margin: 50px 0; 

}
.before-after-container h4 {
    text-align: center;
    font-family: 'Rische';
    font-weight: 400;
    font-display: swap;
    font-size: 29px; 
    margin-bottom: 30px;
}

.before {
    width: 50%;
    border-radius: 20px; 
    height: max-content;
    margin-right: 20px;  
}

.after {
    width: 50%;
    border-radius: 20px ;  
    margin-left: 20px;   
}


@media (max-width: 770px) { 

    .project-showcase {
        padding: 30px 20px;
    }

    .before-after {
        flex-direction: column;
    }

    .before, .after {
        width: 100%;
        margin: 10px 0; 
    }

    .project-btns{
        text-align: center; 
    }
}




/*genzen page*/

.gallery-container h4 { 
    text-align: center;
    font-family: 'Rische';
    font-weight: 400;
    font-display: swap;
    font-size: 29px; 
    margin-bottom: 50px; 
}


.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;

}

.gallery-pic {
  border-radius: 20px;
 
}

@media (max-width: 770px) { 

    .gallery-container {
        padding: 30px 20px;
    }

    .gallery-container h4 {
        font-size: 28px; 
    }
}


.project-impact{
    display: flex;
    padding: 20px 100px;
    align-items: center;
}

.impact-content {
    width: 40%;
    padding: 50px;
    padding-top: 0;
}

.impact-content h3 {
    
    font-weight:500; 
    font-size: 26px;
    font-style: italic; 
    margin-bottom: 10px;
}

.impact-content p {
    font-size: 15px;

}

.project-impact-pic {
    width: 60%; 
    border-radius: 10px; 
}

.project-impact-pic img{ 
    border-radius: 25px; 
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

@media (max-width: 770px) { 

    .project-impact {
        flex-direction: column;
         
        padding: 40px;  
    }

    .impact-content {
        width: 100%;
        padding: 0;
        
    }

    .project-impact-pic {
        width: 100%;
        margin-top: 20px; 
    }
}


.project-btns p{
    font-size: 14px; 
    font-style: italic;

}




/* lightboc image*/

.clickable-img {
    cursor: pointer;
    transition: transform 0.2s;
}

.clickable-img:hover {
    transform: scale(1.05);
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
}