* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* body {
  background-color: #f9f9f9;
  overflow-x: hidden;
} */
body {
  background-color: #f9f9f9;
  overflow-x: hidden;
  padding-top: 80px; /* White space height */
}


.background-shape {
  position: absolute;
  top: 0;
  left: 0;
  width: 20%;
  height: 100%;
  background-color: #f8e8e8;
  z-index: -1;
  border-radius: 0 50% 50% 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

header {
  text-align: center;
  margin: 30px 0;
}

header h1 {
  font-size: 2.5rem;
}

header h1 span:first-child {
  color: #3498db;
}

header h1 span:last-child {
  color: #e74c3c;
}

.search-container {
  display: flex;
  justify-content: center;
  margin: 30px 0;
}

.search-box {
  display: flex;
  position: relative;
  max-width: 400px;
  width: 100%;
}

.search-input {
  width: 100%;
  padding: 12px 20px;
  border-radius: 30px;
  border: 1px solid #ddd;
  outline: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-size: 16px;
}

.search-btn {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 50px 0;
  flex-wrap: wrap;
}

.banner-text {
  flex: 1;
  min-width: 300px;
  margin-right: 20px;
}

.banner-text h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #444;
}

.banner-text h2 .highlight {
  color: #e74c3c;
}

.banner-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  max-width: 400px;
}

.banner-image img {
  width: 100%;
  height: auto;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.blog-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-content {
  padding: 20px;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 0.8rem;
  color: #777;
}

.blog-title {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #333;
}

.blog-excerpt {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* Updated button styles */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background-color: #006aff;
  border: 6px solid #c0dfff;
  color: white;
  gap: 8px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  font-size: 0.9rem;
}

.text {
  font-size: 1em;
  font-weight: 700;
  letter-spacing: 1px;
}

.svg {
  padding-top: 3px;
  height: 100%;
  width: fit-content;
}

.svg svg {
  width: 35px;
  height: 20px;
}

.button:hover {
  border: 6px solid #b1d8ff;
  background-color: #1b7aff;
  text-decoration: none;
}

.button:active {
  border: 4px solid #c0dfff;
}

.button:hover .svg svg {
  animation: jello-vertical 0.9s both;
  transform-origin: left;
}

@keyframes jello-vertical {
  0% {
    transform: scale3d(1, 1, 1);
  }

  30% {
    transform: scale3d(0.75, 1.25, 1);
  }

  40% {
    transform: scale3d(1.25, 0.75, 1);
  }

  50% {
    transform: scale3d(0.85, 1.15, 1);
  }

  65% {
    transform: scale3d(1.05, 0.95, 1);
  }

  75% {
    transform: scale3d(0.95, 1.05, 1);
  }

  100% {
    transform: scale3d(1, 1, 1);
  }
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-secondary {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(245, 87, 108, 0.4);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(245, 87, 108, 0.6);
  background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
}

.btn-secondary:active {
  transform: translateY(-1px);
}

.btn-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.btn-primary:hover .btn-icon {
  transform: scale(1.1);
}

.btn-secondary:hover .btn-icon {
  transform: translateY(2px);
}

/* Responsive design for smaller screens */
@media (max-width: 480px) {
  .blog-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}


@media (max-width: 768px) {
  .banner {
    flex-direction: column;
  }

  .banner-text {
    margin-right: 0;
    margin-bottom: 30px;
    text-align: center;
  }

  .banner-image {
    justify-content: center;
  }

  .blog-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 480px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer  */

.footer {
  background-color: #f9f9f9;
  padding: 15px 20px;
  text-align: center;
  border-top: 1px solid #eaeaea;
}

.copyright-text {
  color: #333;
  font-size: 14px;
  margin: 0;
  padding: 5px 0;
}

.designer-text {
  color: #333;
  font-size: 14px;
  margin: 0;
  padding: 5px 0;
}

.designer-name {
  color: #ff3e3e;
  text-decoration: none;
  font-weight: 500;
}

.designer-name:hover {
  text-decoration: underline;
}


/* Floting Social Media Icons */
.social-icons-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
  background-color: #f9f9f9;
  /* Background color */
}

.social-icons {
  display: flex;
  flex-wrap: wrap;
  /* Allow wrapping on smaller screens */
  justify-content: center;
  align-items: center;
  gap: 20px;
  /* Modern gap between icons */
}

.social-icons a {
  color: inherit;
  text-decoration: none;
  transition: transform 0.3s ease, color 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.social-icons a:hover {
  transform: translateY(-5px);
  opacity: 0.8;
}

.social-icons a i {
  font-size: 2rem;
  /* Base size */
}

@media (max-width: 576px) {
  .social-icons {
    gap: 15px;
  }

  .social-icons a i {
    font-size: 1.5rem;
  }
}

@media (max-width: 375px) {
  .social-icons {
    gap: 10px;
  }

  .social-icons a i {
    font-size: 1.25rem;
  }
}