* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
  }
  
body{
    background-image: url('../assets/ten.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
}

/* header */

.header {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(50px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 15px 20px ;
    position: fixed;
    width: 100%;
    height: 80px;
    top: 0;
    left: 0;
    z-index: 1000;

}

/* Navigation container */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
.nav-container a {
    text-decoration: none;
}

/* Logo */
.logo{
    display: flex;
    justify-content: center;
    align-items: center;
}
.logo h2 {
    color:#F8F8F8;
    font-family: poppins;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 3%;    
}
.logo img {
    max-width: 55px;
    height: 56px;
}

/* Navigation Links */
.nav-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    color:#F8F8F8;
}

.nav-links a {
    text-decoration: none;
    color: #F8F8F8;
    font-weight: 400;
    font-family: inter;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #E1BA15;
}

/* Contact Button */
.nav-container button {
    background: #E1BA15;
    color:#090909;
    width: 167px;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

.nav-container button a {
    color:#090909;
    font-size: 14px;
    font-family: poppins;
    font-weight: 600;
    line-height: 14px;
    text-align: center;
    text-decoration: none;
}

/* Hamburger Menu (Hidden by default) */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle div {
    width: 30px;
    height: 3px;
    background: #333;
    margin: 5px 0;
    transition: 0.3s;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
  
        text-align: center;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        padding: 15px 0;
    }

    .nav-links a {
        display: block;
        padding: 10px;
        color: #070707; 
    }

    .menu-toggle {
        display: flex;
        color: #E1BA15;
    }

    /* When menu is active */
    .nav-links.active {
        display: flex;
        background-color: #F8F8F8;
    }
    button{
        display: none;
    }
}

/*  */
.blogs-container {
    display: grid;
    grid-template-areas: 
        "image"
        "title"
        "text"
        "buttons"; 
    gap: 20px;
    width: 1000px;
    margin: auto;
    padding: 5rem;
    margin-top: 160px;
    margin-bottom: 120px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    color: #aaaaaa;
    justify-items: center;
    border-radius: 1rem;
}

.blogs-container img {
    grid-area: image;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blogs-container h1 {
    grid-area: title;
    color: #E1BA15;
    text-align: center;
}

.blogs-container p {
    grid-area: text;
    direction: rtl;
    text-align: right;
}

.nav-buttons {
    grid-area: buttons; 
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 400px; 
    margin-top: 20px;
}

.nav-btn {
    background-color: #E1BA15;
    color: #090909;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 25px;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.nav-btn:hover {
    background-color: #ffde4a;
}

/* الـ Responsive */
@media (max-width: 768px) {
    .blogs-container {
        max-width: 400px;
        padding: 2rem;
        margin-top: 100px;
        margin-bottom: 80px;
    }
    .blogs-container img {
        height: 150px;
    }
    .nav-buttons {
        flex-direction: column; 
        gap: 10px;
        max-width: 100%;
    }
    .nav-btn {
        width: 100%; 
        text-align: center;
    }
}

@media (max-width: 480px) {
    .blogs-container {
        max-width: 100%;
        padding: 1.5rem;
    }
    .blogs-container img {
        height: 120px;
    }
}

/* footer */
.custom-footer {
    background-color: black;
    color: white;
    text-align: center;
    
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: auto;
    flex-wrap: wrap;
    padding: 40px;
}
.footer-container h3{
    margin-bottom: 20px;    
    color:#F8F8F8;
    font-family: Poppins;
    font-weight: 600;
    font-size: 18px;
    line-height: 6px;
}
.footer-logo{
    min-width: 45%;

}
.footer-logo img{
    width: 11rem;
    height: 11rem;
}

.company,
.reach-us {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: start;
}
.reach-us .info-item {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.company a {
    font-family: Poppins;
    font-weight: 400;
    font-size: 1rem;
    line-height: 24px;
    display: block;
    color: #F8F8F8;
    text-decoration: none;
}

/* Responsive*/
@media (max-width: 768px) {
    .custom-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        
    }

    .input-group {
        flex-direction: column;
    }

    button {
        width: 100%;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    
    }
    .footer-container{
        gap: 20px;
    }
    
    .footer-container h3{
        text-align: center;
        margin-block: 20px;
        color: #E1BA15;
    }


}