* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background: #d6d6d6;
    font-family: 'Segoe UI', Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.nav {
    display: flex;
    background-color: rgb(2, 20, 3);
    gap: 47px;
    width:70%;
    margin-left:10%;
    margin: 2% auto 0 auto;
    border-radius: 40px;
    align-items: center;
    padding: 5px;
    position: relative;
}
.nav a {
    color: white;
    font-family: 'Segoe UI', sans-serif;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
}
.nav a:hover {
    cursor: pointer;
    color: rgb(128, 86, 10);
    transform: scale(1.1);
}
.logo-btn {
    font-size: 30px;
    border-radius: 100%;
    width: 40px;
    height: 40px;
    margin-left: 9px;
    font-weight: bold;
    background-color: orange;
    border: none;
    color: #fff;
}
h2 {
    color: white;
    font-weight: lighter;
    margin-right: 10%;
}
.contact-link {
    border-radius: 15px;
    background-color: orange;
   color:white;
    padding: 9px 18px;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    display: inline-block;
}
.contact-link:hover {
    background-color: white;
    color:black;
}
.menu-icon {
    display: none;
    font-size: 36px;
    color:orange;
    cursor:pointer;
    margin-left: auto;
    margin-right: 18px;
    z-index: 1001;
}
.about-section {
    flex: 1;
    display: flex;
    flex-direction:column;
    align-items: center;
    justify-content: flex-start;
    margin-top: 30px;
}
.about-title {
    text-align: center;
    color: darkgreen;
    font-size: 32px;
    font-weight: 900; /* Bolder */
    margin-bottom: 18px;
    letter-spacing: 2.5px; /* Gusobanutsa amagambo */
    width: 100%;
    text-transform: uppercase;
    line-height: 1.1;
    position: relative;
    text-shadow: 1px 2px 8px #b2d8b2, 0 1px 0 #fff; /* Gushyiraho umucyo munsi y'amagambo */
}
.about-title::after {
    content: "";
    display: block;
    margin: 10px auto 0 auto;
    width: 60px;
    height: 3px;
    background: darkgreen; /* hindura color -> background */
    border-radius: 2px;
}
.about {display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
    width: 90%;
    max-width: 1100px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    padding: 40px 30px;
    margin-left: auto;
    margin-right: auto;
}
.about-img {
    width: 240px;
    height: 240px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    background: #fff;
}
.about-text {
    flex: 1;
    min-width: 220px;
}
.about-text h2 {
    color: #021403;
    font-size: 28px;
    margin-bottom: 12px;
}
.about-text p {
    font-size: 17px;
    color: #222;
    margin-bottom: 18px;
    line-height: 1.6;
}
.about-list {
    list-style: none;
    font-size: 16px;
    color: #333;
}
.about-list li {
    margin-bottom: 8px;
}
.soc {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 48px;
    margin-bottom: 0;
}
.soc img {
    width: 28px;
    height: 28px;
    object-fit: cover;
    border-radius: 50%;
    filter: grayscale(100%) contrast(1.2) brightness(0.95);
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: filter 0.2s, transform 0.2s, box-shadow 0.2s;
    border: 1.5px solid #eee;
}
.soc img:hover {
    filter: grayscale(0%) contrast(1.1) brightness(1.1);
    transform: scale(1.12);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    border-color: orange;
}
.footer-text {
    text-align: center;
    color: #444;
    font-size: 13px;
    font-weight: normal;
    margin-top: 12px;
    letter-spacing: 0.5px;
}

/* Responsive nav */
@media (max-width: 900px)  {
    .nav {
        flex-direction: column;
        align-items: flex-start;
        width: 100vw;
        gap:8px;
        border-radius: 0;
        padding: 10px 0 10px 10px;
        position: relative;
    }
    .nav a, .nav h2 {
        display: none;
        width: 100%;
        text-align: left;
        padding: 12px 18px;
        margin: 0;
        border-radius: 0;
        background: none;
        color: #fff;
        font-size: 17px;
    }
       .nav button {
    font-size: 28px;
    border-radius: 100%;
    width: 38px;
    height: 38px;
    background: orange;
    color: #fff;
    border: none;
    margin-right: 8px;
    font-weight: bold;
    }
    .nav.open a,
    .nav.open h2,
    .nav.open button {
        display: block;
        margin: 10px 0;
    }
    .menu-icon {
        display: block;
        position: absolute;
        top: 10px;
        right: 18px;
    }
    .logo-btn{background-color:orange;

    }
     }

@media (max-width: 600px) {
    .about-title {
        font-size: 28px;
        letter-spacing: 2px;
    }
    .about {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin: 18px 0;
        width: 98vw;
    }
    .about-img {
        width: 170px;
        height: 170px;
    }
    .about-text h2 {
        font-size: 20px;
    }
    .about-text p, .about-list {
        font-size: 14px;
    }
}
.connect-btn {
     border-radius: 15px;
    background-color:darkorange;
    color: black !important;
    padding: 9px 18px;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    display: inline-block;
    margin-left:20%;
}
.connect-btn:hover {
    background: #021403;
    color: #fff;
    transform: scale(1.04);
}
.connect-btn, .about-text a {
    text-decoration: none; /* gukuraho underline kuri button na links muri about */
    color: black;
}