@import url("https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');


.typing-container h2 {
  color: hsl(0, 99%, 32%);
  font-size: 2em !important;
}

@media (max-width: 600px) {
  .typing-container h2 {
      font-size: 1em !important;
  }
}

body {
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

body.loaded {
  opacity: 1;
}

.hero-banner {
  position: relative;
  overflow: hidden;
  width: 100%; /* Ensure it spans the container's width */
  max-width: 500px; /* Adjust maximum width as needed */
  height: auto; /* Allow height to adjust based on content */
}

.hero-banner img {
  display: block; /* Ensures the image behaves correctly within its container */
  width: 100%; /* Ensures the image scales with its container */
  height: auto; /* Allows the image to scale proportionally */
  animation: moveBanner 10s infinite alternate;
}


@keyframes moveBanner {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(3px, 3px);
  }
  50% {
    transform: translate(-3px, -3px);
  }
  75% {
    transform: translate(3px, -3px);
  }
  100% {
    transform: translate(-3px, 3px);
  }
}

/* Media query for smaller screens */
@media (max-width: 768px) {
  .hero-banner {
    max-width: 100%; /* Adjust to fit smaller screens */
    height: auto; /* Allow height to adjust based on content */
  }
}



@media (hover: hover) and (pointer: fine) {
  #cursor {
    z-index: 99;
    position: fixed;
    left: 0;
    top: 0;
    pointer-events: none;
    will-change: transform;
  }

  #cursor .cursor--inner {
    width: 3vw;
    height: 3vw;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    border: solid 1px #ff0000;
  }
}
:root {
  .typing-container {
    font-size: 2em;
    color: #000;
    display: flex;
    align-items: center;
    font-family: "Playfair Display", serif;
  }

  .typed-text {
    font-weight: bold;
    margin-top: 13px;
  }
  
  /* Mobile optimization */
  @media (max-width: 480px) {
    .typed-text {
      font-size: 14px; /* Adjust the font size as needed */
      white-space: nowrap; /* Prevent the text from wrapping to the next line */
      overflow: hidden; /* Hide any overflow text */
      text-overflow: ellipsis; /* Add ellipsis if the text overflows */
    }
  }
  

  .cursor {
    display: inline-block;
    width: 10px;
    height: 1em;
    background-color: #000;
    margin-left: 2px;
    margin-top: 13px;
    animation: blink 1s step-end infinite;
  }

  @keyframes blink {
    from,
    to {
      opacity: 1;
    }
    50% {
      opacity: 0;
    }
  }

  --safety-orange: hsl(0, 0%, 0%);
  --lavender-gray: hsl(230, 19%, 81%);
  --persian-rose: hsl(0, 0%, 46%);
  --red-crayola: hsl(0, 99%, 32%);
  --eerie-black: hsl(240, 6%, 10%);
  --light-gray: hsl(0, 0%, 80%);
  --cultured-2: hsl(210, 60%, 98%);
  --platinum: hsl(0, 0%, 90%);
  --gray-web: hsl(0, 0%, 0%);
  --cultured: hsl(0, 0%, 93%);
  --black_10: hsla(0, 0%, 0%, 0.1);
  --black_5: hsla(0, 0%, 0%, 0.05);
  --white-1: hsl(0, 0%, 100%);
  --white-2: hsl(0, 14%, 98%);
  --black: hsl(0, 0%, 0%);

  --gradient: linear-gradient(
    to left top,
    var(--persian-rose),
    var(--safety-orange)
  );

  --ff-roboto: "Roboto", sans-serif;
  --ff-league-spartan: "League Spartan", sans-serif;

  --fs-1: 3.5rem;
  --fs-2: 3rem;
  --fs-3: 2.1rem;
  --fs-4: 1.7rem;
  --fs-5: 1.4rem;
  --fs-6: 1.3rem;

  --fw-700: 700;
  --fw-500: 500;

  --section-padding: 60px;

  --shadow-1: 0 6px 24px var(--black_5);
  --shadow-2: 0 9px 28px var(--black_10);

  --radius-2: 2px;
  --radius-5: 5px;
  --radius-8: 8px;

  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease;
  --cubic-out: cubic-bezier(0.33, 0.85, 0.4, 0.96);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

a,
img,
span,
time,
label,
input,
button,
textarea,
ion-icon {
  display: block;
}

img {
  height: auto;
}

input,
button,
textarea {
  background: none;
  border: none;
  font: inherit;
}

input,
textarea {
  width: 100%;
}

button {
  cursor: pointer;
}

ion-icon {
  pointer-events: none;
}

address {
  font-style: normal;
}

html {
  font-family: var(--ff-roboto);
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--white-1);
  color: var(--gray-web);
  font-size: 1.6rem;
  line-height: 1.8;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background-color: hsl(0, 0%, 98%);
}

::-webkit-scrollbar-thumb {
  background-color: hsl(0, 0%, 80%);
}

::-webkit-scrollbar-thumb:hover {
  background-color: hsl(0, 0%, 70%);
}

:focus-visible {
  outline-offset: 4px;
}

.container {
  padding-inline: 15px;
}

.btn {
  max-width: max-content;
  color: var(--white-1);
  font-size: var(--fs-6);
  font-weight: var(--fw-700);
  padding: 10px 30px;
  border-radius: var(--radius-5);
  transition: var(--transition-1);
}

.btn-primary {
  background-image: var(--gradient);
  background-size: 1000%;
}

.btn-primary:is(:hover, :focus) {
  background-position: bottom right;
  cursor: pointer;
}

.btn-secondary {
  background-color: var(--white-1);
  color: var(--eerie-black);
}

.btn-secondary:is(:hover, :focus) {
  background-color: var(--eerie-black);
  color: var(--white-1);
}

.section {
  padding-block: var(--section-padding);
}

.h1,
.h2,
.h3 {
  color: var(--eerie-black);
  font-family: var(--ff-league-spartan);
  line-height: 1.2;
  text-align: center !important;
}

.h1 {
  font-size: var(--fs-1);
}

.h2 {
  font-size: var(--fs-2);
}

.h3 {
  font-size: var(--fs-3);
}

.w-100 {
  width: 100%;
}

.section-title,
.section-text {
  text-align: center;
}
.section-text-strict {
  text-align: left;
}

.section-text {
  font-size: var(--fs-6);
}

.grid-list {
  display: grid;
  gap: 30px;
}

.img-holder {
  aspect-ratio: var(--width) / var(--height);
  background-color: var(--light-gray);
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white-1);
  padding-block: 15px;
  border-block-end: 1px solid var(--cultured);
  z-index: 4;
  transition: var(--transition-1);
}

.header.active {
  filter: drop-shadow(var(--shadow-2));
  background-color: #9c9c9cde;
}

.header > .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--ff-league-spartan);
  color: var(--black);
  font-size: 3.5rem;
  font-weight: var(--fw-700);
  line-height: 1;
}

.nav-toggle-btn {
  font-size: 40px;
}

.nav-toggle-btn.active .open,
.nav-toggle-btn .close {
  display: none;
}

.nav-toggle-btn .open,
.nav-toggle-btn.active .close {
  display: block;
}

.navbar {
  background-color: var(--white-1);
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 30px);
  width: 100%;
  padding-inline: 0;
  border: 1px solid var(--cultured);
  transition: 0.3s var(--cubic-out);
  max-height: 0;
  visibility: hidden;
  overflow: hidden;
}

.navbar.active {
  max-height: 320px;
  visibility: visible;
  transition-duration: 0.5s;
}

.navbar-list {
  padding: 20px 15px;
  padding-block-start: 10px;
  opacity: 0;
  transition: var(--transition-1);
}

.navbar.active .navbar-list {
  opacity: 1;
}

.navbar-link {
  color: var(--eerie-black);
  font-family: var(--ff-league-spartan);
  font-size: var(--fs-4);
  line-height: 1.2;
  padding-block: 8px;
  transition: var(--transition-1);
}

.navbar-link:is(:hover, :focus) {
  color: var(--red-crayola);
}

.header .btn {
  margin-block-start: 10px;
}

.hero {
  padding-block-start: calc(var(--section-padding) + 50px);
  text-align: center;
}

.hero-content {
  margin-block-end: 30px;
}

.hero-subtitle {
  color: var(--eerie-black);
  font-size: var(--fs-5);
  font-weight: var(--fw-500);
  font-style: Inter;
}

.hero-title {
  margin-block: 12px 8px;
  position: relative !important;
  text-align: left !important;
  font-family: "Kanit", sans-serif;
}

.hero-text {
  font-size: var(--fs-5);
}

.hero .btn {
  margin-inline: auto;
  margin-block-start: 20px;
}

.service {
  background-color: var(--white-2);
}

.service .section-text {
  margin-block: 5px 35px;
}

.service-card {
  background-color: var(--white-1);
  padding: 20px 15px;
  border: 1px solid var(--platinum);
  border-radius: var(--radius-5);
  text-align: center;
  box-shadow: var(--shadow-1);
  transition: var(--transition-2);
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-10px);
  box-shadow: 0 0 20px rgba(165, 0, 0, 0.685);
}

.service-card .card-icon {
  color: var(--white-1);
  font-size: 25px;
  max-width: max-content;
  margin-inline: auto;
  padding: 18px;
  border-radius: 50%;
}

.service-card .card-title {
  margin-block: 20px 8px;
}

.service-card .card-text {
  font-size: var(--fs-6);
}

.project .section-text {
  margin-block: 5px 35px;
}

.project-card {
  position: relative;
  border-radius: var(--radius-8);
  overflow: hidden;
}

.project-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--black);
  opacity: 0.5;
  transition: var(--transition-2);
}

.project-card:is(:hover, :focus-within)::after {
  opacity: 0.8;
}

.project-card .card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  z-index: 1;
  transition: var(--transition-2);
}

.project-card:is(:hover, :focus-within) .card-content {
  transform: translateY(-20px);
}

.project-card .card-subtitle {
  color: var(--lavender-gray);
  font-size: var(--fs-6);
  line-height: 1;
}

.project-card .card-title {
  color: var(--white-1);
  margin-block: 12px 15px;
}

.about {
  background-color: var(--white-2);
}

.about-banner {
  position: relative;
  border-radius: var(--radius-5);
  overflow: hidden;
  margin-block-end: 25px;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--white-1);
  color: var(--red-crayola);
  font-size: 32px;
  padding: 16px;
  border-radius: 50%;
  animation: pulse 1.5s ease-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 1px var(--white-1);
  }
  100% {
    box-shadow: 0 0 0 25px transparent;
  }
}

.about :is(.section-title, .section-text) {
  text-align: left;
}

.about .section-title {
  margin-block-end: 5px;
}

.about .section-text:not(:last-child) {
  margin-block-end: 18px;
}

.about .h3 {
  margin-block-end: 8px;
}

.about-list {
  margin-block: 15px 18px;
}

.about-item {
  display: flex;
  align-items: flex-start;
  gap: 5px;
}

.about-item ion-icon {
  color: var(--red-crayola);
  flex-shrink: 0;
  margin-block-start: 2px;
}

.about-item:not(:last-child) {
  margin-block-end: 12px;
}

.cta {
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 1;
}

.cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: var(--gradient);
  opacity: 0.95;
  z-index: -1;
}

.cta-subtitle,
.cta .section-title {
  color: var(--white-1);
}

.cta-subtitle {
  font-size: var(--fs-6);
  font-weight: var(--fw-500);
  text-align: center;
}

.cta .section-title {
  margin-block: 12px 18px;
}

.cta .btn {
  margin-inline: auto;
}

.blog .section-text {
  margin-block: 5px 35px;
}

.blog-card {
  background-color: var(--white-2);
}

.blog-card .card-banner {
  overflow: hidden;
}

.blog-card .card-banner img {
  transition: var(--transition-2);
}

.blog-card:is(:hover, :focus-within) .card-banner img {
  transform: scale(1.05);
}

.blog-card .card-content {
  padding: 15px;
}

.blog-card .time {
  color: var(--red-crayola);
  font-size: var(--fs-6);
  line-height: 1;
  margin-block-end: 10px;
}

.blog-card .card-title {
  transition: var(--transition-1);
}

.blog-card .card-title:is(:hover, :focus) {
  color: var(--red-crayola);
}

.contact {
  background-color: var(--white-2);
}

.contact .section-text {
  margin-block: 5px 35px;
}

.contact-form {
  background-color: var(--white-1);
  padding: 20px;
  border-radius: var(--radius-2);
  margin-block-end: 30px;
  box-shadow: var(--shadow-1);
}

.input-field {
  background-color: var(--white-2);
  color: var(--eerie-black);
  font-size: var(--fs-5);
  padding: 15px;
  border-radius: var(--radius-2);
  outline: 1px solid transparent;
  outline-offset: 0;
  margin-block-end: 15px;
}

.input-field::-webkit-inner-spin-button {
  display: none;
}

.input-field:focus {
  outline-color: var(--red-crayola);
}

.input-field::placeholder {
  transition: var(--transition-1);
}

.input-field:focus::placeholder {
  opacity: 0;
}

textarea.input-field {
  resize: vertical;
  min-height: 80px;
  height: 100px;
  max-height: 200px;
  overscroll-behavior: contain;
}

.checkbox {
  width: max-content;
  margin-block-start: 5px;
  accent-color: var(--red-crayola);
}

.label-link {
  display: inline-block;
  color: var(--red-crayola);
}

.label-link:is(:hover, :focus) {
  text-decoration: underline;
}

.checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-block-end: 15px;
}

.checkbox-wrapper .label {
  font-size: var(--fs-6);
}

.contact-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px 25px;
}

.contact-item {
  min-width: 100%;
}

.contact-card {
  background-color: var(--white-1);
  padding: 20px;
  border-radius: var(--radius-2);
  box-shadow: var(--shadow-1);
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-card .card-icon {
  background-color: var(--cultured-2);
  color: var(--red-crayola);
  font-size: 25px;
  padding: 13px;
  border-radius: 50%;
  transition: var(--transition-1);
}

.contact-card:is(:hover, :focus) .card-icon {
  background-color: var(--red-crayola);
  color: var(--white-1);
}

.contact-card .card-title {
  margin-block-end: 5px;
}

.contact-card :is(.card-link, .card-address) {
  font-size: var(--fs-6);
  transition: var(--transition-1);
}

.contact-card .card-link:is(:hover, :focus) {
  color: var(--red-crayola);
}

.footer {
  background-color: rgba(156, 156, 156, 0.658);
  padding-block: 20px;
  padding-inline: 10px;
}

.footer-top {
  display: flex;
  flex-direction: column; /* Stack items vertically on small screens */
  justify-content: center; /* Center content vertically */
  align-items: center; /* Center content horizontally */
  margin-bottom: 20px;
}

.logo {
  display: inline-block;
  margin-bottom: 10px; /* Add margin for spacing on small screens */
}

.logo-image {
  max-height: 50px; /* Default max-height */
  width: auto; /* Maintain aspect ratio */
}

/* Social Media Styles */
.social-media {
  display: flex;
  gap: 10px;
  justify-content: center; /* Center social media icons on small screens */
  margin-bottom: 20px; /* Add margin for spacing on small screens */
}

.social-link {
  font-size: 24px;
  color: var(--black);
  text-decoration: none;
  position: relative;
}

@keyframes wave {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  50% {
    transform: translateX(5px);
  }
  75% {
    transform: translateX(-5px);
  }
}

.facebook, .instagram, .tiktok {
  animation: wave 3s infinite;
}

/* Footer Links Styles */
.footer-links {
  display: flex;
  flex-direction: column; /* Stack links vertically on small screens */
  align-items: center; /* Center links on small screens */
  gap: 10px; /* Reduce gap for smaller screens */
  margin-bottom: 20px;
}

.footer-link {
  font-size: var(--fs-6);
  color: var(--black);
  text-decoration: none;
}

/* Footer Contact Styles */
.footer-contact {
  text-align: center;
  margin-bottom: 20px;
}

.footer-contact a {
  color: var(--black);
  text-decoration: underline;
}
.copyright {
  font-size: var(--fs-6);
  text-align: center;
}

.copyright-link {
  color: var(--red-crayola);
  font-weight: var(--fw-500);
  display: inline-block;
}

/* Media Queries for Responsiveness */
@media (min-width: 768px) {
  .footer-top {
    flex-direction: row; /* Default flex-direction for larger screens */
    justify-content: space-between; /* Space between for larger screens */
  }

  .logo {
    margin-bottom: 0; /* Remove margin for larger screens */
  }

  .footer-links {
    flex-direction: row; /* Default flex-direction for larger screens */
    justify-content: center;
    gap: 20px; /* Restore default gap for larger screens */
  }
}

@media (max-width: 767px) {
  .footer-top {
    flex-direction: column; /* Stack items vertically on small screens */
    align-items: center;
  }

  .logo {
    margin-bottom: 15px; /* Space out the logo from other elements */
  }

  .social-media {
    margin-bottom: 15px; /* Space out social media icons */
  }

  .footer-links {
    flex-direction: column; /* Stack links vertically on small screens */
    gap: 10px; /* Reduce gap for smaller screens */
  }

  .logo-image {
    max-height: 40px; /* Reduce max-height for smaller screens */
  }
}

@media (max-width: 480px) {
  .social-link {
    font-size: 20px; /* Adjust font size for very small screens */
  }

  .footer-link {
    font-size: var(--fs-7); /* Adjust font size for very small screens */
  }

  .copyright {
    font-size: var(--fs-7); /* Adjust font size for very small screens */
  }

  .logo-image {
    max-height: 30px; /* Further reduce max-height for very small screens */
  }
}





.back-top-btn {
  position: fixed;
  bottom: 70px;
  right: 20px;
  background-color: var(--eerie-black);
  color: var(--white-1);
  padding: 12px;
  border-radius: 50%;
  box-shadow: var(--shadow-2);
  z-index: 4;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-1);
}

.back-top-btn.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(-10px);
}

.back-top-btn:is(:hover, :focus) {
  opacity: 0.9;
}

/* whatsapp btn */
.whatsapp-button {
  position: fixed;
  bottom: 20px; /* Adjust to your desired vertical position */
  right: 15px; /* Adjust to your desired horizontal position */
  background-color: #2fa700; /* WhatsApp green color */
  color: #ffffff; /* White text color */
  padding: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Optional: Add shadow */
  z-index: 1000; /* Ensure it's above other content */
  text-decoration: none; /* Remove underline from link */
  transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
  animation: bounce 0.9s ease infinite; /* Bounce animation */
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

.whatsapp-button:hover {
  transform: scale(1.1); /* Optional: Add a slight scale on hover */
  background-color: #1f6e00;
}

.whatsapp-button ion-icon {
  font-size: 24px; /* Adjust icon size */
}

@media (min-width: 575px) {
  .container {
    max-width: 540px;
    width: 100%;
    margin-inline: auto;
  }

  .grid-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 25px;
  }

  .blog .grid-list {
    grid-template-columns: 1fr;
  }

  .blog-card.grid {
    display: grid;
    grid-template-columns: 0.47fr 1fr;
    align-items: center;
    gap: 10px;
  }

  .input-wrapper {
    display: flex;
    gap: 15px;
  }

  .contact-item {
    min-width: calc(50% - 18px);
  }
}

@media (min-width: 768px) {
  :root {
    --fs-1: 4.5rem;
    --fs-2: 3.7rem;
    --fs-3: 2.3rem;
    --fs-4: 1.8rem;
    --fs-5: 1.5rem;
    --fs-6: 1.4rem;
  }

  .container {
    max-width: 720px;
  }

  .section-text {
    max-width: 65ch;
    margin-inline: auto;
  }

  .hero-text {
    max-width: 60ch;
    margin-inline: auto;
  }

  .about-banner {
    max-width: 550px;
  }

  .about .section-text {
    max-width: unset;
    margin-inline: 0;
  }

  .contact-form {
    padding: 30px;
  }

  .contact-item {
    min-width: calc(50% - 12.5px);
  }
}

@media (min-width: 992px) {
  :root {
    --fs-1: 5rem;
    --fs-2: 4rem;
    --fs-3: 2.5rem;

    --section-padding: 100px;
  }

  .container {
    max-width: 960px;
  }

  .grid-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .nav-toggle-btn {
    display: none;
  }

  .navbar,
  .navbar.active {
    all: unset;
  }

  .navbar-list {
    all: unset;
    display: flex;
    align-items: center;
    gap: 30px;
  }

  .navbar-link {
    position: relative;
  }

  .navbar-link:is(:hover, :focus) {
    color: var(--eerie-black);
  }

  .navbar-link::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-image: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-2);
  }

  .navbar-link:is(:hover, :focus)::after {
    transform: scaleX(1);
  }

  .header .btn {
    margin-block-start: 0;
  }

  .hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 30px;
    text-align: left;
  }

  .hero-content {
    margin-block-end: 0;
  }

  .hero-subtitle {
    position: relative;
    padding-inline-start: 15px;
  }

  .hero-subtitle::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background-color: var(--red-crayola);
  }

  .hero-text,
  .hero .btn {
    margin-inline: 0;
  }

  .service-card {
    padding: 20px;
  }

  .service-card .h3 {
    --fs-3: 2.3rem;
  }

  .project-card .card-subtitle {
    --fs-6: 1.5rem;
  }

  .about .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 30px;
  }

  .about-banner {
    margin-block-end: 0;
  }

  .blog .grid-list {
    grid-template-columns: 1fr 1fr;
    row-gap: 20px;
  }

  .blog .grid-list > li:first-child {
    grid-column: 1 / 2;
    grid-row: 1 / 5;
  }

  .blog-card:not(.grid) {
    height: 100%;
  }

  .blog-card .card-content {
    padding-block: 10px;
  }

  .blog-card:not(.grid) .card-content {
    padding: 25px;
  }

  .blog-card.grid .h3 {
    --fs-3: 2rem;
  }

  .blog-card .time {
    --fs-6: 1.6rem;
  }

  .checkbox-wrapper {
    margin-block: 20px;
  }

  .contact-item {
    min-width: calc(33.33% - 16.66px);
  }

  .contact-card {
    padding: 30px;
  }

  .contact-card .card-icon {
    font-size: 32px;
  }
}

@media (min-width: 1200px) {
  :root {
    --fs-1: 6.8rem;
    --fs-2: 4.5rem;
    --fs-4: 1.9rem;
    --fs-5: 1.6rem;
    --fs-6: 1.6rem;
  }

  .container {
    max-width: 1140px;
  }

  .btn {
    --fs-6: 1.5rem;
  }

  .service-card {
    padding: 30px;
  }

  .service-card .h3 {
    --fs-3: 2.5rem;
  }

  .project-card .card-content {
    padding: 30px;
  }

  .project-card .card-subtitle {
    --fs-6: 1.6rem;
  }

  .about .container {
    gap: 60px;
  }

  .about-item {
    gap: 7px;
  }

  .about-item ion-icon {
    font-size: 20px;
  }

  .blog-card .time {
    --fs-6: 1.6rem;
  }

  .blog-card.grid .h3 {
    --fs-3: 2.4rem;
  }

  .contact-form {
    padding: 50px;
  }

  .contact-card {
    gap: 20px;
  }

  .contact-card .card-icon {
    padding: 15px;
  }
}
.project-details {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff; /* White background for the container */
  padding: 30px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  width: 90%; /* Adjusted width for better visibility */
  max-width: 900px; /* Maximum width to prevent over-expansion */
  max-height: 80vh; /* Maximum height relative to viewport height */
  overflow-y: auto;
  border-radius: 12px;
  color: #333; /* Text color */
}

.details-content {
  text-align: left;
  background-color: #f0f0f0; /* Light gray background for the description box */
  padding: 15px;
  border-radius: 8px;
  margin-top: 20px;
}

.details-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.details-img {
  height: auto;
  max-height: 200px; /* Reduced image height for consistency */
  max-width: 100px; /* Reduced image height for consistency */
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  margin-right: 2%;
}

.details-title {
  font-size: 24px; /* Title font size */
  font-weight: bold;
  margin: 0;
  line-height: 1.3;
  margin-bottom: 10px;
}

.details-description {
  font-size: 18px; /* Description font size */
  line-height: 1.6;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  background-color: #fff; /* White background for the close button */
  border-radius: 50%; /* Circular button */
  display: flex;
  justify-content: center;
  align-items: center;
  color: #333; /* Button text color */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

.close-btn:hover {
  background-color: #ddd; /* Light gray background on hover */
}

.project-details.open {
  display: block;
  overflow: hidden; /* Hide scrollbars on body when container is open */
}

.project-details.open + .project-details-background {
  display: block;
}

.project-details-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent dark background */
  z-index: 999; /* Behind the container */
  display: none;
}
@media only screen and (max-width: 600px) {
  .project-details {
    width: 90%;
    max-width: 90vw;
    padding: 15px; /* Adjusted padding for mobile */
  }

  .details-img {
    max-height: 120px; /* Reduced image height for smaller screens */
    max-width: 60px; /* Reduced image width for smaller screens */
    margin-right: 8px; /* Adjusted margin for smaller screens */
  }

  .details-title {
    font-size: 18px; /* Reduced title font size for smaller screens */
  }

  .details-description {
    font-size: 14px; /* Reduced description font size for smaller screens */
  }

  .close-btn {
    top: 10px; /* Adjusted top position for close button on smaller screens */
    right: 10px; /* Adjusted right position for close button on smaller screens */
    font-size: 18px; /* Reduced font size for close button on smaller screens */
    width: 32px; /* Adjusted width for close button on smaller screens */
    height: 32px; /* Adjusted height for close button on smaller screens */
  }
}

/* Customers */
.customer-reviews {
  margin: 50px 0;
  text-align: center;
}
.reviews-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.review-box {
  background: #e7e7e7;
  border: 1px solid #000000;
  border-radius: 8px;
  padding: 20px;
  margin: 10px;
  width: 30%;
  box-sizing: border-box;
  transition: box-shadow 0.3s ease, transform 0.5s ease;
}
.review-box:hover {
  box-shadow: 0 0 20px rgba(165, 0, 0, 0.685);
  transform: translateY(-5px);
}
.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}
.review-image {
  width: 80px;
  height: 80px;
  border-radius: 25%;
  margin-right: 15px;
}
.review-name {
  font-weight: bold;
  font-size: 1.2em;
}
.review-comment {
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
  background: #D2D5D5;
  padding: 15px;
  border-radius: 4px;
  text-align: left;
}

/* Mobile optimization */
@media (max-width: 768px) {
  .review-box {
    width: 45%;
  }
}

@media (max-width: 480px) {
  .review-box {
    width: 100%;
    margin: 10px 0;
  }
  .review-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .review-image {
    margin-right: 0;
    margin-bottom: 10px;
  }
  .review-name {
    font-size: 1em;
  }
  .review-comment {
    text-align: center;
    padding: 10px;
  }
}
.footer {
  background-color: rgba(156, 156, 156, 0.658);
  padding-block: 20px;
  padding-inline: 10px;
}

.footer-top {
  display: flex;
  flex-direction: column; /* Stack items vertically on small screens */
  justify-content: center; /* Center content vertically */
  align-items: center; /* Center content horizontally */
  margin-bottom: 20px;
}

.logo {
  display: inline-block;
  margin-bottom: 10px; /* Add margin for spacing on small screens */
}

.logo-image {
  max-height: 50px; /* Default max-height */
  width: auto; /* Maintain aspect ratio */
}

/* Social Media Styles */
.social-media {
  display: flex;
  gap: 10px;
  justify-content: center; /* Center social media icons on small screens */
  margin-bottom: 20px; /* Add margin for spacing on small screens */
}

.social-link {
  font-size: 24px;
  color: var(--black);
  text-decoration: none;
  position: relative;
}

@keyframes wave {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  50% {
    transform: translateX(5px);
  }
  75% {
    transform: translateX(-5px);
  }
}

.facebook, .instagram, .tiktok {
  animation: wave 3s infinite;
}

/* Footer Links Styles */
.footer-links {
  display: flex;
  flex-direction: column; /* Stack links vertically on small screens */
  align-items: center; /* Center links on small screens */
  gap: 10px; /* Reduce gap for smaller screens */
  margin-bottom: 20px;
}

.footer-link {
  font-size: var(--fs-6);
  color: var(--black);
  text-decoration: none;
}

/* Footer Contact Styles */
.footer-contact {
  text-align: center;
  margin-bottom: 20px;
}

.footer-contact a {
  color: var(--black);
  text-decoration: underline;
}
.copyright {
  font-size: var(--fs-6);
  text-align: center;
}

.copyright-link {
  color: var(--red-crayola);
  font-weight: var(--fw-500);
  display: inline-block;
}

/* Media Queries for Responsiveness */
@media (min-width: 768px) {
  .footer-top {
    flex-direction: row; /* Default flex-direction for larger screens */
    justify-content: space-between; /* Space between for larger screens */
  }

  .logo {
    margin-bottom: 0; /* Remove margin for larger screens */
  }

  .footer-links {
    flex-direction: row; /* Default flex-direction for larger screens */
    justify-content: center;
    gap: 20px; /* Restore default gap for larger screens */
  }
}

@media (max-width: 767px) {
  .footer-top {
    flex-direction: column; /* Stack items vertically on small screens */
    align-items: center;
  }

  .logo {
    margin-bottom: 15px; /* Space out the logo from other elements */
  }

  .social-media {
    margin-bottom: 15px; /* Space out social media icons */
  }

  .footer-links {
    flex-direction: column; /* Stack links vertically on small screens */
    gap: 10px; /* Reduce gap for smaller screens */
  }

  .logo-image {
    max-height: 40px; /* Reduce max-height for smaller screens */
  }
}

@media (max-width: 480px) {
  .social-link {
    font-size: 20px; /* Adjust font size for very small screens */
  }

  .footer-link {
    font-size: var(--fs-7); /* Adjust font size for very small screens */
  }

  .copyright {
    font-size: var(--fs-7); /* Adjust font size for very small screens */
  }

  .logo-image {
    max-height: 30px; /* Further reduce max-height for very small screens */
  }
}