*{
    margin:0;
    padding: 0;
    box-sizing: border-box;
    
}
/* ==============general code============= */
.container{
    width: 85%;
    margin: auto;
}
a{
    text-decoration: none;
    display: block;
    color: black;
}
p{
    color: gray;
}

/*  ========flex box========= */
.d-flex{
    display: flex;
   
}
.justify-content-between{
   justify-content: space-between;
}

.justify-content-center{
   justify-content: center;
}
.align-items-center{
    align-items: center;
}
i{
    color: gray;
}
/* ================================ */
.mb-3{
    margin-bottom: 10px;
}
.bg-green{
background-color:#8eb35b;
color: white;
}
.border-gray{
  border: 1px solid #ccc;
}
.bg-gray{
    background-color: #f3f3f3;
}

.d-inline-block{
    display: inline-block;
}

.padding-top-bottom{
    padding: 7% 0%;
}
.margin-left-right{
    margin: 4% 0%;
}
.margin-right{
    margin-right: 25%;
}
.w-25{
    width: 24%;
}
.w-30{
    width: calc(80/6);
}
.w-100{
    width: 100%;   
}
.text-white{
    color: white;;
}
.font-size{
    font-size: 40px;
    font-weight: 500;
}
.rounded{
    border-radius: 8px;
}
.text-center{
    text-align: center;
}
.text-green{
  color: #8eb458;
}
/* ================================= */


/* ============header============ */
header {
    height: 70px;
}

header .container {
    height: 100%;
}

.header-content {
    height: 100%;
}
.logo {
    margin-right: 40px;
}

.logo h2 {
    font-size: 24px;
    font-weight: 600;
}

.main-menu {
    gap: 30px;
}

.right-menu {
    margin: 0 0 0 auto;
    gap: 25px;
}

ul {
    list-style: none;
    cursor: pointer;
}

ul li {
    margin-left: 0;
}

ul li a {
    color: #333;
    font-size: 15px;
    transition: 0.3s;
}

ul li a:hover {
    color: #AFD876;
}
/* ===============hero section============= */
.img{
background-image: url(../images/1.png);
height: 90vh;
}
.btn{
    padding: 10px 20px;
    margin-top: 20px;
    border: 0;
    cursor: pointer;
}
/* ============card============== */
.card{
    border-radius: 20px;
    padding: 10px;
}
.card img{
    width: 100%;
    height: 200px;
    margin: auto;

}
.color-blue{
    color: blue;
}

/* ===========about section============== */

.about-section {
    height: 400px;
}
.about-image {
    width: 50%;
}
.about-image img {
    height: 100%;
}
.about-content {
    width: 50%;
    background-color: black;
    flex-direction: column;
    padding: 30px;
}

/* ===================icon=============== */
.social-media {
    text-align: center;
    padding: 30px 0 40px;
}

.social-media h3 {
    margin-bottom: 25px;
    font-size: 18px;
    font-weight: 500;
}

.social-icons {
    gap: 25px;
}

.social-icons a {
    width: 38px;
    height: 38px;
    border: 1px solid #ddd;
    background-color: white;
    transition: 0.3s;
}

.social-icons i {
    font-size: 23px;
}

.social-icons a:hover {
    transform: translateY(-3px);
}
/* =================footer================ */

footer div ul li a{
    color: gray;
    font-size: 12px;
}
footer ul{
    margin-right: 10px;
}
footer{
    padding-top: 4%;
}
.footer-content{
    margin-bottom: 4%;
}
footer ul li{
    margin-top: 7px;
}

/* ================= RESPONSIVE ================= */

/* ===== Tablet ===== */
@media (max-width: 992px) {

    .container {
        width: 90%;
    }

    header {
        height: auto;
        padding: 20px 0;
    }

    .header-content {
        flex-wrap: wrap;
        gap: 20px;
    }

    .logo {
        margin-right: 0;
    }

    .main-menu {
        gap: 20px;
    }

    .right-menu {
        margin: 0;
        gap: 15px;
    }
    .img {
        height: 70vh;
        background-position: center;
        background-size: cover;
    }

    .font-size {
        font-size: 32px;
    }

    .container.padding-top-bottom {
        flex-wrap: wrap;
        gap: 20px;
    }

    .w-25 {
        width: 48%;
    }

    .card img {
        height: 220px;
        object-fit: cover;
    }

    .about-section {
        height: auto;
        flex-direction: column;
    }

    .about-image,
    .about-content {
        width: 100%;
    }

    .about-image {
        height: 350px;
    }

    .about-content {
        min-height: 300px;
    }

    .footer-content {
        flex-wrap: wrap;
        gap: 30px;
    }

    .w-30 {
        width: 30%;
    }
}


/* ===== Mobile ===== */
@media (max-width: 768px) {

    .container {
        width: 92%;
    }

    header {
        padding: 15px 0;
    }

    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .logo {
        margin: 0;
    }

    .main-menu,
    .right-menu {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .main-menu li a,
    .right-menu li a {
        font-size: 14px;
    }

    .img {
        height: 65vh;
        text-align: center;
        align-items: center;
        padding: 30px 0;
    }

    .font-size {
        font-size: 27px;
        line-height: 1.3;
    }

    .img p {
        font-size: 14px;
        line-height: 1.6;
    }

    .img p br {
        display: none;
    }

    .btn {
        padding: 10px 18px;
    }

    .container.padding-top-bottom {
        flex-direction: column;
        gap: 25px;
    }

    .w-25 {
        width: 100%;
    }

    .card {
        width: 100%;
    }

    .card img {
        height: 250px;
        object-fit: cover;
    }

    .card h2 {
        font-size: 21px;
    }

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

    .about-section {
        flex-direction: column;
    }

    .about-image {
        width: 100%;
        height: 250px;
    }

    .about-image img {
        object-fit: cover;
    }

    .about-content {
        width: 100%;
        padding: 25px;
        min-height: 350px;
    }

    .about-content h2 {
        font-size: 24px;
    }

    .about-content p {
        font-size: 14px;
        line-height: 1.7;
    }

    .about-content .w-25 {
        width: 50%;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .w-30 {
        width: 100%;
    }

    footer {
        padding: 40px 0 20px;
    }

    footer h3,
    footer h4 {
        margin-bottom: 10px;
    }
}


/* ======= Small Mobile ======== */
@media (max-width: 480px) {

    .container {
        width: 94%;
    }

    .main-menu,
    .right-menu {
        gap: 10px;
    }

    .main-menu li a,
    .right-menu li a {
        font-size: 13px;
    }

    .img {
        height: 60vh;
        justify-content: start;
    }

    .font-size {
        font-size: 23px;
    }

    .img p {
        font-size: 13px;
    }

    .card img {
        height: 220px;
    }

    .card h2 {
        font-size: 19px;
    }

    .about-image {
        height: 220px;
    }

    .about-content {
        padding: 20px;
        min-height: 380px;
    }

    .about-content h2 {
        font-size: 21px;
    }

    .about-content .w-25 {
        width: 100%;
    }

    footer div ul li a {
        font-size: 13px;
    }
}