.hero {
  height: 100vh;
  background-image: url('./images/home-banner\ \(3\).jpg'); /* Replace with your image path */
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  background-color: #f6f2e9;
  padding: 20px 50px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: bold;
  font-size: 24px;
  color: #111;
  position: absolute;
  top: 20px;
  right: 20px;
  width: 100px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #111;
  font-weight: 700;
}

.social-links {
  position: absolute;
  left: 20px;
  top: 200px;
  transform: rotate(-90deg);
  font-size: 14px;
  font-weight: 500;
}

.social-links p {
  margin: 20px 0;
  display: flex;
  align-items: center;
}

.social-links span {
  color: red;
  margin-right: 5px;
}

.hero-content {
  max-width: 500px;
  margin-top: auto;
  padding-bottom: 100px;
}

.hero-content h1 {
  font-size: 48px;
  font-family: 'Playfair Display', serif;
}

.highlight {
  color: red;
}

.subtext {
  margin-top: 15px;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.recent-work {
  text-align: center;
  padding: 10px 10px;
  background-color: #f9f9f9;
}

.recent-work h2 {
  font-size: 36px;
  font-family: 'Playfair Display', serif;
  color: #111;
}

.recent-work .highlight {
  color: red;
  font-style: italic;
}

.recent-work .subtext {
  margin-top: 10px;
  font-size: 10px;
  color: #666;
}
.portfolio {
  padding: 50px 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); /* Adjust to fit images */
  gap: 20px;
  justify-content: center;
}


.grid-item {
  position: relative;
  background: #f0f0f0; /* Light background for each item */
  overflow: hidden; /* Hide parts of image outside the container */
  border-radius: 5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Add shadow for better separation */
}

.grid-item img {
  width: 100%; /* Fill container width */
  height: 100%; /* Fill container height */
  object-fit: cover; /* Maintain aspect ratio */
  object-position: center; /* Center the image */
}

/* Adjust the last image to span beside image 4 */
.grid-item:nth-child(5) {
  grid-column: span 2; /* Image 5 will span across two columns */
}


.cards {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 50px;
}

.card {
  background-color: #f0f0f0;
  border-radius: 5px;
  height: 250px;
  padding: 20px;
  width: 23%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.card i {
  font-size: 50px;
  color:#1a1d24;
}

.card h3 {
  margin: 15px 0;
  color: #333;
}

.card p {
  font-size: 14px;
  color: #666;
}
.pricing {
  padding: 60px 0;
  background: #fff;
  text-align: center;
}

.pricing-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.pricing-card {
  background: #fff;
  border: 1px solid #eee;
  padding: 30px;
  width: 300px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border-radius: 8px;
  transition: 0.3s;
}

.pricing-card h3 {
  font-size: 22px;
  margin-bottom: 5px;
}

.pricing-card p {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

.pricing-card h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #000;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  text-align: left;
}

.pricing-card li {
  font-size: 14px;
  padding: 5px 0;
  color: #333;
}

.pricing-card .off {
  color: #aaa;
  text-decoration: line-through;
}

.btn {
  padding: 10px 20px;
  border: none;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  border-radius: 4px;
}

.btn.red {
  background-color: #e60000;
}

.btn.black {
  background-color: #000;
}

@media (max-width: 768px) {
  .pricing-row {
    flex-direction: column;
    align-items: center;
  }

  .pricing-card {
    width: 90%;
  }
}

.about-section {
  padding: 60px 0;
  background-color: #fff;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.about-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}

.about-images {
  position: relative;
  flex: 1;
  min-width: 300px;
}

.img-big {
  width: 100%;
  max-width: 400px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.img-small {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  border: 5px solid #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.4;
}

.about-text p {
  margin-bottom: 15px;
  color: #555;
}

.btn {
  display: inline-block;
  background-color: #e50914;
  color: #fff;
  padding: 10px 25px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

.blog-section {
  padding: 40px;
  background-color: #f9f9f9;
  font-family: sans-serif;
}

.blog-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.blog-card {
  width: 300px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border-radius: 5px;
  overflow: hidden;
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 15px;
}

.blog-content small {
  color: #777;
  display: block;
  margin-bottom: 10px;
}

.blog-content h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.blog-content p {
  font-size: 14px;
  color: #555;
}

.blog-content a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
  font-size: 14px;
}

.site-footer {
  background-color: #1d1d1d;
  color: #fff;
  padding: 40px 20px;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer-column {
  flex: 1;
  min-width: 250px;
}

.footer-column h4 {
  font-size: 18px;
  margin-bottom: 15px;
}

.footer-column p {
  font-size: 14px;
  color: #ccc;
  line-height: 1.6;
}

.footer-column a {
  color: #ff4c4c;
  text-decoration: none;
}

.heart {
  color: red;
}

.newsletter-form {
  display: flex;
  margin-top: 10px;
}

.newsletter-form input[type="email"] {
  padding: 10px;
  border: none;
  flex: 1;
  font-size: 14px;
}

.newsletter-form button {
  background-color: red;
  border: none;
  padding: 10px 15px;
  color: white;
  cursor: pointer;
}

.social-icons a {
  display: inline-block;
  margin-right: 10px;
  background-color: #333;
  color: white;
  padding: 10px;
  border-radius: 50%;
  text-decoration: none;
  font-size: 16px;
  transition: background 0.3s;
}

.social-icons a:hover {
  background-color: #ff4c4c;
}

.container {
  margin-top: 100px;
  margin-bottom: 100px;
}

.project-card {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: scale(1.05);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-title {
  text-align: center;
  margin-top: 10px;
  font-size: 1.2em;
  font-weight: bold;
}

.project-description {
  font-size: 1em;
  text-align: center;
  margin-top: 10px;
  color: #777;
}

.project-link {
  display: block;
  text-align: center;
  margin-top: 15px;
  font-weight: bold;
  color: #007bff;
  text-decoration: none;
}

.project-link:hover {
  text-decoration: underline;
}

/* Layout grid */
.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.col-project {
  padding: 15px;
  width: 100%; /* Default to 1 column per row */
}

@media (max-width: 767px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 90%;
  }

  .pricing-row {
    flex-direction: column;
    align-items: center;
  }

  .pricing-card {
    width: 90%;
  }

  .about-row {
    flex-direction: column;
  }

  .img-small {
    width: 150px;
  }

  .blog-container {
    flex-direction: column;
    align-items: center;
  }

  .blog-card {
    width: 90%;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
  }
}

/* ========== Tablet (768px to 998px) ========== */
@media (min-width: 768px) and (max-width: 998px) {
  .card {
    width: 45%;
  }

  .pricing-card {
    width: 45%;
  }

  .blog-card {
    width: 45%;
  }
}