/* =========================================================
   GLOBAL RESET & BASE STYLES
   ========================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================================================
   NAVIGATION BAR
   ========================================================= */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 20vh;
    padding: 1rem 3%;

    position: sticky;
    top: 0;
    z-index: 1000;

    background: white;
    border-bottom: 1px solid rgb(179, 214, 243);
    backdrop-filter: blur(30px);
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
}

/* Logo */
.Logo {
    width: 6rem;
    border-radius: 10px;
}

/* Desktop navigation links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    padding: 2rem;
}

.nav-links li a {
    text-decoration: none;
    color: black;
    font-size: 1.2rem;
    font-weight: 500;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 1px;
    transition: 0.1s ease-out;
}

.nav-links li a:hover {
    border-bottom: 2px solid brown;
    background-color: aliceblue;
    padding: 1rem;
}

/* =========================================================
   MOBILE SIDEBAR MENU
   ========================================================= */
.sidebar {
    position: fixed;
    top: 0;
    right: 0;

    width: 250px;
    height: 100vh;

    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;

    padding: 2rem;
    list-style: none;

    background-color: rgba(255, 255, 255, 0.39);
    backdrop-filter: blur(30px);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.sidebar li a {
    text-decoration: none;
    color: black;
    font-size: 1.2rem;
    font-weight: 500;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 1px;
    transition: 0.1s;
}

.sidebar li a:hover {
    padding: 1rem;
    background-color: rgb(115, 115, 139);
}

/* Hamburger menu icon */
.menu {
    margin: 1.3rem;
}

/* =========================================================
   HERO / BACKGROUND SLIDESHOW
   ========================================================= */
.main {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url(Backgrounds/1.jpg);
    animation: change 420s ease-out infinite;
}

/* Background slideshow animation */
@keyframes change {
    0%   { background-image: url(Backgrounds/1.jpg); }
    5%  { background-image: url(Backgrounds/2.jpg); }
   10%  { background-image: url(Backgrounds/3.jpg); }
   15%  { background-image: url(Backgrounds/4.jpg); }
   20%  { background-image: url(Backgrounds/5.jpg); }
   25%  { background-image: url(Backgrounds/6.jpg); }
    30%  { background-image: url(Backgrounds/7.jpg); }
   35%{ background-image: url(Backgrounds/8.jpg); }
    40%  { background-image: url(Backgrounds/9.jpg); }
   45%{ background-image: url(Backgrounds/10.jpg); }
   50% { background-image: url(Backgrounds/11.jpg); }
    55%  { background-image: url(Backgrounds/12.jpg); }
   60%  { background-image: url(Backgrounds/13.jpg); }
   65%  { background-image: url(Backgrounds/14.jpg); }
    75%  { background-image: url(Backgrounds/15.jpg); }
    80%  { background-image: url(Backgrounds/16.jpg); }
   85%  { background-image: url(Backgrounds/17.jpg); }
    90%  { background-image: url(Backgrounds/18.jpg); }
    95%  { background-image: url(Backgrounds/19.jpg); }
}

/* Hero text container */
.hero-section {
    width: 100%;
    position: absolute;
}

/* Hero headline */
.p1 {
    margin-top: 10%;
    margin-left: 30%;
    font-size: 30pt;
    font-weight: 1000;
   font-family: 'Times New Roman', Times, serif;
    font-weight: 100%;
    color: rgb(233, 233, 247);
}

/* =========================================================
   INTRO / CALL TO ACTION SECTION
   ========================================================= */
.container1 {
    width: 100%;
    height: 60vh;
    background-color: rgb(2, 5, 49);
}

.section1 {
    width: 100%;
    position: absolute;
}
.h1{
    text-align: center;
    color: brown;
    font-size: 20pt;
    letter-spacing: 1px;
    font-family: sans-serif;
    padding: 2rem;
}

.h2{
    text-align: center;
    color: brown;
    font-size: 20pt;
    letter-spacing: 1px;
    font-family: sans-serif;
    padding: 2rem;
}

/* Primary buttons */

.btnss{
     display:flex;
     width: 100%;
     align-items: center;
     justify-content: center;
}

.button1 {
    padding:0.5rem;
    margin: 1rem;
    width: 16rem ;
    background-color: red;
    color: antiquewhite;
    text-decoration: none;
    text-align: center;
    font-size: 15pt;
    letter-spacing: 2px;
    border-radius: 9px;
}

.button1:hover {
    background-color: rgb(101, 201, 204);
    border: 2px solid gray;
    transition: 0.3s ease-in;
     padding: 1rem;

}


.button1:active{
    background-color: rgb(101, 201, 204);
    border: 2px solid gray;
    transition: 0.3s ease-in;
     padding: 1rem;

}




@keyframes appear{
    from{
        opacity: 0;
        scale: 0.5;
    }
    to{
        opacity: 1;
        scale: 1;
    }
    
}

.button1{
    animation: appear linear;
   animation-timeline: view();
   animation-range: entry 0% cover 40%;

}










/* =========================================================
   WHY SANKOFA SECTION
   ========================================================= */
.section2 {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}

.h2 {
    font-size: 36px;
    font-weight: 600;
    letter-spacing: 1px;
}

.p2 {
    color: #777;
    font-size: 20px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}

.p3 {
    color: #0a0a0a;
    font-size: 20px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}

.h3 {
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}

/* Columns */
.row {
    display: flex;
    justify-content: space-between;
}

.col {
    flex-basis: 31%;
    background: rgb(139, 98, 98);
    border-radius: 12px;
    padding: 20px 12px;
    margin-bottom: 5%;
}

@keyframes appear{
    from{
        opacity: 0;
        scale: 0.5;
    }
    to{
        opacity: 1;
        scale: 1;
    }
    
}

.col{
    animation: appear linear;
   animation-timeline: view();
   animation-range: entry 0% cover 40%;

}




.section4 {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}









/* =========================================================
   SERVICES / CARDS SECTION
   ========================================================= */
.container {
    width: 95%;
    margin: auto;

}



.container h1{
    text-align: center;
    color: brown;
    font-size: 30pt;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2%;
    font-weight: bolder;
    font-family: sans-serif;
}

.grid-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
    
}

.card {
    background: #eee8e8;
    padding: 20px;
    border-radius: 20px;
    border: 3px solid burlywood;
    box-shadow: 0 0 20px rgb(0 0 0 / 20%);
    margin:3% ;
}

@keyframes appear{
    from{
        opacity: 0;
        scale: 0.5;
    }
    to{
        opacity: 1;
        scale: 1;
    }
    
}

.card{
    animation: appear linear;
   animation-timeline: view();
   animation-range: entry 0% cover 40%;

}



.card-top {
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

.card-top img {
    width: 100%;
    display: block;
}

.card-info h2 {
    font-size: 18px;
    margin: 10px 0 5px;
}

.date {
    margin-bottom: 10px;
}

.excerpt {
    color: #888282;
}

.flex-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-bottom {
    margin-top: 20px;
}

/* Buttons */
.button {
    width: 180px;
    background: #f2f4f6;
    color: #4e4e4e;

    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 15px;
    line-height: 30px;
    text-align: center;

    border-radius: 5px;
}

.button:hover {
    padding: 1.3rem;
    transition: 0.3s;
}
.button:active{
    padding: 1.3rem;
    transition: 0.3s;
}





.read-more {
  text-decoration: unset;
  color: #000;
  font-weight: 600;
}

.btn-yellow { background: #ffb91d; }
.btn-sky    { background: #d2f9fe; }
.btn-dpink  { background: #e8d3fc; }









.section4 h1{
    font-size: 36px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #ffb91d;
}

.section4 p{
    color: #777;
    font-size: 20px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}




.testimony{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.testimony1{
    margin: 20px;
    cursor: pointer;
  margin-bottom: 10%;
    border-radius: 30px;
}









/* =========================================================
   FOOTER
   ========================================================= */

.footer{
    margin-top: 30px;
    width: 100%;
    text-align: center;
    padding: 7px;
    background-color: rgb(36, 29, 21);

}

.footer h4{
    margin-bottom: 5px;
    margin-top: 5px;
    font-weight: 600;
    color: blanchedalmond;
    
}

.footer p{
    color: blanchedalmond;

}


.p5{
    margin-right: 85%;
    color: blanchedalmond;

}


.Logo2{
    width: 6rem;
    border-radius: 10px;
  margin-left:80%;
  margin-top: -10%;
    
}


/* =========================================================
   RESPONSIVE DESIGN
   ========================================================= */

/* Tablets & small screens */
@media (max-width: 700px) {
    .hideOnMobile { display: none; }

    .row { flex-direction: column; }

    .p1 {
        font-size: 20pt;
        margin-top: 40%;
    }

    .h1 { font-size: 15pt; }

    .sidebar{
    width: 300px;
    height: 300vh;
}

.menu{
    height: 20px;
    width: 20px;
}


}








/* Very small screens */
@media (max-width: 591px) {
    nav{
        width: 40rem;
    }
    .main{
        width: 40rem;
    }
     .container1{
        width: 40rem;
    }
    .h1{
        margin-left: 5rem;
        width: 30rem;
    }

    .btnss{
        width: 30rem;
        margin-left: 20%;
    }

    .section2,.container,.section4,.footer{
        width:40rem ;
    }
    .testimony1{
        margin-left: 26%;
    }

   
}








/* Hide menu icon on large screens */
@media (min-width: 970px) {
    .menu { display: none; }
}
