/* RESET */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body{
    background:#e2e26d;
    color:#333;
    overflow-x:hidden;
}

/* HEADER */

header{
    background:linear-gradient(90deg,#0b5c74,#1976a2);
    color:white;
    text-align:center;
    padding:25px 15px;
}

header h1{
    font-size:42px;
    margin-bottom:10px;
}

header p{
    text-align:center;
    font-size:18px;
    max-width:800px;
    margin:auto;
    line-height:1.6;
}

/* NAVIGATION */

nav{
    background:#1f4f66;
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    gap:12px;
    padding:12px;
}

nav a{
    color:white;
    text-decoration:none;
    font-size:17px;
    font-weight:bold;
    padding:10px 16px;
    border-radius:25px;
    transition:.3s;
    text-align:center;
}

nav a:hover{
    background:gold;
    color:black;
}

/* BANNER */

.banner{
    background:url("Assets/about.jpg") center center/cover;
    height:180px;
    display:flex;
    justify-content:center;
    align-items:center;
}

.banner h1{
    background:rgba(53,199,243,.55);
    color:#000;
    padding:10px 25px;
    border-radius:12px;
    font-size:30px;
    text-align:center;
}

/* CONTENT */

.container{
    width:90%;
    max-width:1150px;
    margin:40px auto;
}

section{
    background:#fffdf7;
    padding:35px;
    margin-bottom:35px;
    border-radius:18px;
    box-shadow:0 8px 20px rgba(0,0,0,.12);
    transition:.4s;
    animation:fadeInUp .8s ease;
}

section:hover{
    transform:translateY(-6px);
}

h2{
    color:#005792;
    margin-bottom:18px;
    border-left:6px solid #d4af37;
    padding-left:15px;
    font-size:30px;
}

p{
    font-size:19px;
    line-height:1.8;
    text-align:justify;
}

ul{
    margin-left:25px;
    font-size:19px;
    line-height:1.8;
}

li{
    margin-bottom:8px;
}

img{
    max-width:100%;
    height:auto;
}

/* FOOTER */

footer{
    background:#1e4d63;
    color:white;
    text-align:center;
    padding:30px;
    font-size:17px;
    margin-top:50px;
}

/* ANIMATION */

@keyframes fadeInUp{

    from{
        opacity:0;
        transform:translateY(40px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* TABLETS */

@media (max-width:768px){

    header{
        padding:20px 12px;
    }

    header h1{
        font-size:30px;
    }

    header p{
        font-size:16px;
    }

    nav{
        gap:8px;
        padding:10px;
    }

    nav a{
        font-size:15px;
        padding:8px 12px;
    }

    .banner{
        height:140px;
    }

    .banner h1{
        font-size:24px;
        padding:8px 18px;
    }

    .container{
        width:95%;
        margin:25px auto;
    }

    section{
        padding:20px;
    }

    h2{
        font-size:24px;
    }

    p,
    ul{
        font-size:17px;
        line-height:1.7;
    }
}

/* SMALL PHONES */

@media (max-width:480px){

    header h1{
        font-size:24px;
    }

    header p{
        font-size:15px;
    }

    nav{
        flex-direction:column;
        gap:8px;
    }

    nav a{
        width:90%;
    }

    .banner{
        height:120px;
    }

    .banner h1{
        font-size:20px;
    }

    section{
        padding:16px;
    }

    h2{
        font-size:21px;
    }

    p,
    ul{
        font-size:16px;
    }
}