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

/* =========================
   Body
========================= */
body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f7fa;
    color: #333;
    line-height: 1.7;
}

/* =========================
   Container
========================= */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* =========================
   Navigation
========================= */
nav {
    width: 100%;
    background: #2563eb;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}

.logo {
    color: white;
    font-size: 30px;
    font-weight: bold;
}

.menu a {
    color: white;
    text-decoration: none;
    margin-left: 30px;
    font-size: 18px;
    font-weight: 600;
    transition: .3s;
}

.menu a:hover {
    color: #ffd43b;
}

/* =========================
   Hero Section
========================= */

.hero {
    padding: 80px 0;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 55px;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 22px;
    color: #555;
    margin-bottom: 30px;
}

/* =========================
   Button
========================= */

.btn {
    display: inline-block;
    background: #2563eb;
    color: white;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 8px;
    transition: .3s;
}

.btn:hover {
    background: #1748b5;
}

/* =========================
   Image
========================= */

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    width: 350px;
    border-radius: 20px;
    border: 5px solid white;
    box-shadow: 0 15px 35px rgba(0,0,0,.2);
}

/* =========================
   About Section
========================= */

.about {
    padding: 80px 0;
}

.about h2 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 30px;
}

.about p {
    font-size: 20px;
    color: #555;
    text-align: justify;
}

/* =========================
   Blog Cards
========================= */

.blog {
    padding: 80px 0;
}

.blog-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.card {
    background: white;
    width: 350px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,.1);
    transition: .3s;
}

.card:hover {
    transform: translateY(-8px);
}

.card img {
    width: 100%;
}

.card-content {
    padding: 20px;
}

.card h3 {
    margin-bottom: 10px;
}

.card p {
    color: #666;
}

/* =========================
   Contact
========================= */

.contact {
    padding: 80px 0;
}

.contact form {
    max-width: 700px;
    margin: auto;
}

.contact input,
.contact textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

.contact button {
    background: #2563eb;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
}

.contact button:hover {
    background: #1748b5;
}

/* =========================
   Footer
========================= */

footer {
    background: #111827;
    color: white;
    text-align: center;
    padding: 25px;
    margin-top: 80px;
}

/* =========================
   Responsive
========================= */

@media(max-width:900px){

.hero-content{
    flex-direction:column;
    text-align:center;
}

.hero-text h1{
    font-size:40px;
}

.hero-image img{
    width:280px;
}

.navbar{
    flex-direction:column;
    height:auto;
    padding:20px;
}

.menu{
    margin-top:15px;
}

.menu a{
    margin:0 10px;
}

.blog-container{
    justify-content:center;
}

}
