#blog-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 8vw;
}

#blog-container .blogs {
  width: 60%;
}

#blog-container .blogs img {
  width: 100%;
  border-radius: 19px;
  transition: transform 0.3s ease;
}

#blog-container .blogs .post {
  padding-bottom: 60px;
  transition: transform 0.3s ease;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  margin-bottom: 40px;
}

#blog-container .blogs .post:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

#blog-container .blogs .post:hover img {
  transform: scale(1.03);
}

#blog-container .blogs .post h3 {
  color: #1a1a4b;
  padding: 20px 25px 0;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  font-family: 'Merriweather', serif;
}

#blog-container .blogs .post p {
  color: #4a5568;
  padding: 15px 25px;
  line-height: 1.8;
  font-size: 1.1rem;
}

#blog-container .blogs .post a {
  display: inline-block;
  margin: 15px 25px 25px;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 12px 32px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

#blog-container .blogs .post a:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(118, 75, 162, 0.3);
}

#blog-container .cate {
  width: 30%;
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

#blog-container .cate h2 {
  color: #2d3748;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1rem;
}

#blog-container .cate h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 60%;
  width: 4px;
  background: #667eea;
  border-radius: 4px;
}

#blog-container .cate a {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  text-decoration: none;
  color: #4a5568;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

#blog-container .cate a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: #667eea;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#blog-container .cate a:hover {
  background: #edf2f7;
  padding-left: 24px;
  color: #667eea;
}

#blog-container .cate a:hover::before {
  opacity: 1;
}

#about-home {
  background-image: linear-gradient(rgba(9, 5, 54, 0.3), rgba(5, 4, 46, 0.7)),
    url("https://images.unsplash.com/photo-1504639725590-34d0984388bd?q=80&w=1974&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
  width: 100%;
  height: 60vh;
  background-size: cover;
  background-position: center center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 40px;
}

#about-home h2 {
  color: #fff;
  font-size: 2.2rem;
  letter-spacing: 1px;
}

#about-container {
  display: flex;
  align-items: center;
  padding: 8vw 8vw 2vw 8vw;
}

#about-container .about-img {
  width: 60%;
  padding-right: 60px;
}

#about-container .about-img img {
  width: 100%;
}

#about-container .about-text {
  width: 40%;
}

#about-container .about-text h2 {
  color: #29303b;
  padding-bottom: 15px;
}

#about-container .about-text p {
  color: #686f7a;
  font-weight: 300;
}

#about-container .about-text .about-fe {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 30px;
}

#about-container .about-text .about-fe img {
  width: 50px;
  background-size: cover;
  background-position: center;
  margin-right: 20px;
}

#about-container .about-text .about-fe .fe-text {
  width: 90%;
}

#about-container .about-text .about-fe .fe-text h5 {
  font-size: 16px;
  color: #29303b;
}

#trust {
  text-align: center;
  padding: 8vw;
}

#trust .trust-img {
  margin-top: 60px;
  display: flex;
  justify-content: space-between;
}

#trust .trust-img img {
  width: 90px;
  height: auto;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  display: none;
  z-index: 1000;
}

.modal-content {
  position: relative;
  max-width: 700px;
  margin: 5% auto;
  padding: 30px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transform: translateY(-50px);
  opacity: 0;
  transition: all 0.3s ease;
  animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-active .modal-content {
  transform: translateY(0);
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  cursor: pointer;
  color: #4a5568;
  transition: all 0.3s ease;
}

.modal-close:hover {
  color: #667eea;
  transform: rotate(90deg) scale(1.1);
}

.modal-image {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 2rem;
}

@media (max-width: 789px) {
  #blog-container {
    padding: 8vw 4vw;
  }
}

@media screen and (max-width: 768px) {
  #about-container {
    padding: 8vw 4vw 2vw 4vw;
  }

  #about-container .about-img {
    padding-right: 30px;
  }

  #trust .trust-img img {
    width: 50px;
  }

  .modal-content {
    margin: 10% auto;
    width: 90%;
  }
}

@media screen and (max-width: 475px) {
  #blog-container {
    flex-direction: column;
  }

  #blog-container .blogs,
  #blog-container .cate {
    width: 100%;
  }

  #about-container {
    flex-direction: column;
  }

  #about-container .about-img,
  #about-container .about-text {
    width: 100%;
    padding-right: 0;
  }

  #contact {
    flex-direction: column;
    align-items: flex-start;
  }

  #contact .getin {
    width: 100%;
    margin-bottom: 30px;
  }

  #contact .form {
    width: 100%;
    padding: 40px 30px;
  }

  #contact .form .form-row {
    flex-direction: column;
  }

  #contact .form .form-row input {
    width: 100%;
  }

  .modal-image {
    height: 250px;
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media screen and (max-width: 769px) {
  #contact {
    padding: 8vw 4vw;
  }

  #contact .getin {
    width: 250px;
  }
}

.cate hr {
  border-color: #eee;
  margin: 10px 0;
}

#blog-container .blogs .post a.old-button {
  background-color: rgb(21, 21, 100);
  padding: 13px 35px;
}

#blog-container .blogs .post a.old-button:hover {
  background: #3b1fba !important;
}
