/* =========================
   GLOBAL STYLES
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial, sans-serif;
    background:#f5f5f5;
    color:#333;
    overflow-x:hidden;
}

img{
    max-width:100%;
    display:block;
}

/* =========================
   NAVBAR
========================= */

.menu{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 5%;
    background:#fff;
    box-shadow:0 2px 10px rgba(0,0,0,0.08);
    position:relative;
}

.logo{
    color:rgb(16,119,174);
}

.menu ul{
    display:flex;
    gap:30px;
    list-style:none;
}

.menu ul li a{
    text-decoration:none;
    color:#333;
    font-weight:600;
}

.menu ul li a:hover,
.menu ul li a.active{
    color:rgb(16,119,174);
}

/* Hamburger Button */
.menu-toggle{
    display:none;
    font-size:30px;
    cursor:pointer;
}


/* =========================
   HERO SECTION
========================= */

.front{
    min-height:85vh;

    background:
    linear-gradient(
        rgba(0,0,0,.6),
        rgba(0,0,0,.6)
    ),
    url("../images/Front-page.png");

    background-size:cover;
    background-position:center;

    display:flex;
    flex-direction:column;
    justify-content:center;

    padding:0 8%;
}

.front h2{
    color:white;
    font-size:clamp(2.5rem,5vw,4.5rem);
    max-width:700px;
}

.front p{
    color:white;
    margin-top:20px;
    max-width:700px;
    line-height:1.8;
}

/* =========================
   SECTION TITLE
========================= */

.heading{
    padding:60px 5% 20px;
}

.Heading{
    font-size:clamp(2rem,4vw,3rem);
}

.underline{
    width:350px;
    height:4px;
    background:rgb(16,119,174);
    margin-top:10px;
}

.underline1{
    width:150px;
    height:4px;
    background:rgb(16,119,174);
    margin-top:10px;
}

/* =========================
   ARTICLE CARDS
========================= */

.content{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:30px;
    padding:30px 5%;
}

.card,
.cards{
    background:#fff;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
    justify-content: center;
    text-align: center;
    width:350px;
    text-decoration:none;
    color:inherit;

    transition:.3s;
}

.card:hover,
.cards:hover{
    transform:translateY(-8px);
    box-shadow:0 10px 25px rgba(0,0,0,.15);
}

.card img,
.cards img{
    width:100%;
    height:300px;
    /* object-fit:cover; */
}

.card h3,
.cards h3{
    padding:20px 20px 10px;
    color:rgb(16,119,174);
}

.card p{
    padding:0 20px 20px;
    line-height:1.7;
    text-align: justify;
}

/* =========================
   BUTTON
========================= */

.button{
    text-align:center;
    margin:20px 0 60px;
}

.btn{
    display:inline-block;
    background:rgb(16,119,174);
    color:white;
    text-decoration:none;
    padding:12px 25px;
    border-radius:8px;
}

.btn:hover{
    background:rgb(206,132,28);
}

/* =========================
   INFORMATION SECTION
========================= */

#information-section{
    background:rgb(239,172,48);
    padding:80px 5%;
}

.information{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:50px;
    flex-wrap:wrap;
}

.information h2{
    color:white;
    font-size:clamp(2rem,4vw,3.5rem);
    max-width:600px;
}

.information p{
    color:white;
    max-width:500px;
    line-height:1.8;
}

/* =========================
   IMAGE GALLERY
========================= */

.image{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:20px;
    margin-top:50px;
}

.image img{
    width:350px;
    border-radius:10px;
}

/* =========================
   SEARCH BAR
========================= */

.search-container{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 30px 0;
}

#searchInput{
    width: min(90%, 500px);
    padding: 15px 25px;
    border: none;
    border-radius: 50px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    font-size: 16px;
}

#searchInput:focus{
    box-shadow: 0 0 0 3px rgba(16,119,174,0.2);
}

/* =========================
   FOOTER
========================= */

footer{
    text-align:center;
    padding:20px;
    border-top:1px solid #ddd;
    background:#fff;
}

/* =========================
   TABLET
========================= */

@media(max-width:992px){

    .information{
        text-align:center;
    }

    .image img{
        width:300px;
    }
}

/* =========================
   MOBILE
========================= */

@media(max-width:768px){

    .menu-toggle{
        display:block;
    }

    .menu ul{
        display:none;
        flex-direction:column;
        position:absolute;
        top:70px;
        left:0;
        width:100%;
        background:#fff;
        padding:20px 0;
        text-align:center;
        box-shadow:0 5px 15px rgba(0,0,0,0.1);
    }

    .menu ul.active{
        display:flex;
    }

    .menu ul li{
        padding:10px 0;
    }

    .front{
        text-align:center;
        padding:100px 20px;
    }

    .card,
    .cards{
        width:100%;
        max-width:350px;
    }

    .information{
        text-align:center;
    }

    .image img{
        width:100%;
        max-width:350px;
    }
}

/* =========================
   SMALL PHONES
========================= */

@media(max-width:480px){

      .menu-toggle{
        display:block;
    }

    .menu ul{
        display:none;
        flex-direction:column;
        position:absolute;
        top:70px;
        left:0;
        width:100%;
        background:#fff;
        padding:20px 0;
        text-align:center;
        box-shadow:0 5px 15px rgba(0,0,0,0.1);
    }

    .menu ul.active{
        display:flex;
    }

    .menu ul li{
        padding:10px 0;
    }

    .front h2{
        font-size:2rem;
    }

    .front p{
        font-size:15px;
    }
}