/* ===== تنظیمات کلی ===== */

body{
    background-color: #ffffff;
    font-family: Tahoma, sans-serif;
}

/* ===== Navbar ===== */

.navbar{
    background-color: #ffffff !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 12px 0;
}

.navbar-brand{
    color: #0d6efd !important;
    font-size: 24px;
    font-weight: 700;
}

.nav-link{
    color: #444 !important;
    font-weight: 500;
    margin: 0 10px;
    transition: 0.3s;
}

.nav-link:hover{
    color: #0d6efd !important;
}

/* ===== Slider ===== */

.slider-container{
    width: 90%;
    margin: 25px auto;
    background-color: #ffffff;
    padding: 10px;
    border-radius: 20px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.slider-img{
    height: 280px;
    width: 100%;
    object-fit: cover;
    object-position: top center;
}

.carousel{
    border-radius: 15px;
    overflow: hidden;


}

/* ===== Cards ===== */

.box{
    width: 90%;
    margin: 50px auto;
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 38px;
}

.card{
    border: none;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
    align-items: center;
    margin-top: 25px;
    
}

.box img{
    width: 110px;
    height: 110px;
    fill: #0d6efd;
}

.card:hover{
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
}
.nav{
    text-align: start;
    display: flex;
    justify-content: start;
}
.news{
    width: 50%;
    display: flex;
    justify-content: center;
}
.news-container{
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-card{
    border: none;
    border-right: 4px solid #0d6efd;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
    transition: .3s;
}

.news-card:hover{
    transform: translateX(-5px);
}

.news-card .card-body{
    padding: 15px;
}
.all-news{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 25px auto;
    padding: 25px;


}
.news-card{
    margin: 25px;
}
.side a:hover{
    background-color: #ffffff;

}
.side .nav-link,
.offcanvas .nav-link{
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 5px;
    transition: .3s;
}

.side .nav-link:hover,
.offcanvas .nav-link:hover{
    background: rgba(255,255,255,.2);
}
.sidebar{
    background-color: #0073ff;
    width: 300px;
    height: 720px;

}
.main-option{
    list-style: none;
}
a{
    text-decoration: none;
}
.option div{
    color: #fff;
    width: 250px;
    height: 10px;
}
.news-card {
    background-color: #adc7ff;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-title {
    min-height: 50px;
}

.card-text {
    min-height: 70px;
}
.news-item{
    background-color: #e9fcc2;
    border-radius: 15px;
    width:100%;
}

.news-title{
    font-size:1.5rem;
    font-weight:700;
    margin-bottom:10px;
}

.news-item p{
    line-height:2;
    text-align:justify;
}
.about{
    text-align: center;
}
<style>
.box {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.box a {
    transition: 0.3s;
}

.box .card {
    width: 18rem;
    height: 220px;
    border: none;
    border-radius: 25px;
    overflow: hidden;
    background: linear-gradient(145deg,#ffffff,#eef7ff);
    box-shadow: 
        0 10px 25px rgba(0, 123, 255, 0.18),
        0 5px 10px rgba(255,255,255,0.8);
    transition: all 0.35s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}


.box .card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 18px 35px rgba(0,123,255,0.35),
        0 8px 20px rgba(255,255,255,0.9);
}


.box .card img {
    width: 80px;
    height: 80px;
    margin-top: 20px;
    padding: 15px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 5px 15px rgba(0,123,255,0.15);
}


.box .card-body {
    text-align: center;
}


.box .card-text {
    color: #0069d9;
    font-size: 20px;
    font-weight: bold;
    margin-top: 15px;
}
.form-container {
  width: 500px;
  background-color: #fff;
  padding: 32px 24px;
  font-size: 14px;
  font-family: inherit;
  color: #212121;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-sizing: border-box;
  border-radius: 10px;
  box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.084), 0px 2px 3px rgba(0, 0, 0, 0.168);
}

.form-container button:active {
  scale: 0.95;
}

.form-container .logo-container {
  text-align: center;
  font-weight: 600;
  font-size: 18px;
}

.form-container .form {
  display: flex;
  flex-direction: column;
}

.form-container .form-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.form-container .form-group label {
  display: block;
  margin-bottom: 5px;
}

.form-container .form-group input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 6px;
  font-family: inherit;
  border: 1px solid #ccc;
}

.form-container .form-group input::placeholder {
  opacity: 0.5;
}

.form-container .form-group input:focus {
  outline: none;
  border-color: #1778f2;
}

.form-container .form-submit-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: inherit;
  color: #fff;
  background-color: #0853f3;
  border: none;
  width: 100%;
  padding: 12px 16px;
  font-size: inherit;
  gap: 8px;
  margin: 12px 0;
  cursor: pointer;
  border-radius: 6px;
  box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.084), 0px 2px 3px rgba(0, 0, 0, 0.168);
}

.form-container .form-submit-btn:hover {
  background-color: #313131;
}

.form-container .link {
  color: #1778f2;
  text-decoration: none;
}

.form-container .signup-link {
  align-self: center;
  font-weight: 500;
}

.form-container .signup-link .link {
  font-weight: 400;
}

.form-container .link:hover {
  text-decoration: underline;
}


/* ===== Responsive ===== */

@media (max-width: 768px){

    .slider-container{
        width: 95%;
        padding: 10px;
    }

    .slider-img{
        height: 220px;
    }

    .navbar-brand{
        font-size: 18px;
    }
      .all-news{
        flex-direction: column;
        align-items: center;
        padding: 10px;
        gap: 15px;
    }

    .news-card{
        width: 95%;
        max-width: 450px;
        margin: 0;
    }
    .asli{
        display: flex;
        justify-content: center;
        align-items: center;
    }
}