@import url('https://fonts.googleapis.com/css2?family=Baloo+Bhaijaan+2:wght@400..800&display=swap');

*{
    margin:0;
    padding:0;
    direction: unset;
    text-decoration: none;
   
}
body {
    font-family: 'Baloo Bhaijaan 2', sans-serif;
    direction: unset;
    font-size: 1rem;
    font-style: none;
    background-color:rgb(240,248,255);
    justify-content: center;
    align-items: center;
    align-content: center;
    display:inline-block;
}
.navbar {
    display: flex;
    flex-wrap: wrap;
    direction:rtl;
    align-items: center;
    justify-content: space-between;
    background-color: rgb(55,115,170);
    border-radius: 5px;
    contain:auto;
    padding: 10vw 2vw;
    flex-wrap: wrap;
    gap: 10px;
}
ul {
    display: inline-flex;
    align-items: center;
    direction: unset;
    gap: 10px;
    background: none;
    width: auto;
    list-style-type: none;
    flex-wrap: wrap;
}
span.logo a {
    color: #fff;
    text-decoration: none;
    direction: rtl;
    display: inline;
    justify-content: flex-end;
    align-content: flex-end;
    font-size: 2rem;
    font-weight: bold;
    white-space: nowrap;
    margin: 3vw;
}
 li button {
    font-family: inherit;
    border-color: rgb(240, 248, 255);
    border-style: solid;
    border-width: 2px;
    border-radius: 8px;
    background-color: rgb(55, 115, 170);
    color: rgb(240, 248, 255);
   display: inline-flex;
   flex-direction: row;
   justify-content:left;
   align-items: left;
   direction: ltr;
   padding: 5px 12px;
   margin-top: 2vw;
   gap: 5px;
   cursor: pointer;
   white-space: nowrap;
}
.search {
    display: flex;
    align-items: flex-start;
    padding-right:3px;
    gap: 5vm;
    min-width: 0;
}
search input {
    font-family: inherit;
    font-size: 1rem;
    margin-top: 2vw;
    width: 180;
    max-width: 40vw;
    min-width: 80px;
    height: 38px;
    direction: rtl;
    padding: 5px;
    color: rgb(55, 115, 170);
    border: 2px solid rgb(55, 115, 170);
    border-radius: 64px 48px 96px 16px;
    box-sizing: border-box;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.07);
    transition: width 0.3s;
}
#search-button {
    font-family: inherit;
    font-size: 1rem;
    margin-top: 2vw;
    padding: 1px 5px;
    color: #fff;
    background-color: rgb(55, 115, 170);
    border: 2px solid #fff;
    border-radius: 64px 48px 16px 96px;
    cursor: pointer;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.07);
}
#search-button:hover{
    background-color:rgb(240, 248, 255);
    border-color: rgb(55, 115, 170);
    color: rgb(55, 115, 170);
    transition: color 0.3s ease;

}
blockquote{
    font-family: 'Baloo Bhaijaan 2', sans-serif;
    font-size: 1rem;
    color: rgb(55, 115,170);
    text-align: center;
    direction: unset;
    border: solid 2px rgb(55, 115,170);
    border-radius: 8px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 80%;
    padding: 1rem;
    margin: 20px 20px;
}
blockquote:hover {
    box-shadow: 8px 8px 15px rgba(0, 0, 0, 0.2);
}
div.card {
    text-decoration: none;
    color: rgb(55, 115,170);
    display: inline-flex;
    flex-direction: column;
    direction: unset;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 40vw;
    background-color: rgb(240, 248, 255);
    border: 2px solid rgb(55, 115, 170);
    border-radius: 15px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    padding: 3px;
    margin: 10px;
    transition: transform 0.4s;
    transform: translateY(0);
}
div.card:hover {
    transform: translateY(-10px);
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.2);

}
.card-content {
    font-family: 'Baloo Bhaijaan 2', sans-serif;
    font-size: 1rem;
    text-decoration: none;
    direction:rtl;
    text-align:center;
    
}


footer {
    font-family:'Baloo Bhaijaan 2', sans-serif;
    font-size: 1rem;
    text-decoration: none;
    text-align: right;
    direction: rtl;
    margin: 10px;
    font-size: clamp(0.9rem, 2vw, 1rem);
    margin: 1rem 0;
    padding: 0 1vw;
}
footer p {
    margin: 10px;
    color: rgb(55, 115, 170);
    text-align: right;
    direction: rtl;
}
footer a.footer-link {
    color: rgb(75, 115, 170);
    text-decoration: underline;
    font-style: oblique;
    font-weight: bold;
}
/* Base styles: Mobile first */
body {
    font-size: 1rem;
    padding: 0 1vw;
}

.container {
    display: grid;
    grid-template-areas: 
        "header"
        "hero"
        "main"
        "sidebar"
        "footer";
    grid-template-columns: 1fr;
    gap: 1rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
a 
{
    color: rgb(75, 115, 170);
    direction: ltr;
    
}

/* Responsive typography */
h1, h2, h3 {
    font-size: clamp(1.2rem, 2.5vw, 2.5rem);
}

/* Tablet styles */
@media (min-width: 600px) {
    .container {
        grid-template-areas: 
            "header header"
            "hero hero"
            "main sidebar"
            "footer footer";
        grid-template-columns: 2fr 1fr;
    }
    .box {
        width: 40vw;
        max-width: 16rem;
    }
}

/* Desktop styles */
@media (min-width: 900px) {
    .container {
        grid-template-areas: 
            "header header header"
            "hero main sidebar"
            "footer footer footer";
        grid-template-columns: 2fr 3fr 1fr;
    }
    .box {
        width: 12rem;
        max-width: 100%;
    }
}

/* Navbar responsiveness */
.navbar {
    flex-wrap: wrap;
    padding: 10px 2vw;
}
.nav-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1vw;
}
.hamburger {
    display: none;
}

/* Show hamburger on small screens */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }
    .hamburger {
        display: block;
    }
}

/* Utility: Responsive images */
img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive blockquote */
blockquote {
    max-width: 95vw;
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin: 1rem auto;
    padding: 1rem;
}
