/*===== GOOGLE FONTS =====*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");
/*===== VARIABLES CSS =====*/
:root {
  --header-height: 3rem;
  --font-semi: 600;
  /*===== Colores =====*/
  /*Purple 260 - Red 355 - Blue 224 - Pink 340*/
  /* HSL color mode */
  --hue-color: 187;
  --hue-colour: 0;
  --first-color: hsl(var(--hue-color), 100%, 42%);
  --second-color: hsl(var(--hue-colour), 80%, 11%);
  /*===== Fuente y tipografia =====*/
  --body-font: "Poppins", sans-serif;
  --big-font-size: 2rem;
  --h2-font-size: 1.25rem;
  --normal-font-size: .938rem;
  --smaller-font-size: .75rem;
  /*===== Margenes =====*/
  --mb-2: 1rem;
  --mb-4: 2rem;
  --mb-5: 2.5rem;
  --mb-6: 3rem;
  /*===== z index =====*/
  --z-back: -10;
  --z-fixed: 100;
}
@media screen and (min-width: 968px) {
  :root {
    --big-font-size: 3.5rem;
    --h2-font-size: 2rem;
    --normal-font-size: 1rem;
    --smaller-font-size: .875rem;
  }
}

/*===== BASE =====*/
*, ::before, ::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: var(--header-height) 0 0 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  color: var(--second-color);
}

.logo {
	max-width: 50px;
	margin-top: 16px;
	max-height: 50px;
	margin:2rem;
	margin-left: 0rem;
}

h1, h2 {
  margin: 0;
  margin-bottom: 0px;
}

 p {
  margin: 2px;
  color: #000000;
}

h3{
    margin-top: 0px;
    margin-bottom: var(--mb-4);
    color: #000000;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/*===== CLASS CSS ===== */
.section-title {
  position: relative;
  font-size: var(--h2-font-size);
  color: var(--first-color);
  margin-top: 16px;
  margin-bottom: 25px;
  text-align: center;
}
.section-title::after {
  position: absolute;
  content: "";
  width: 64px;
  height: 0.18rem;
  left: 0;
  right: 0;
  margin: auto;
  top: 2rem;
  background-color: var(--first-color);
}

.section {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/*===== LAYOUT =====*/
.bd-grid {
  max-width: 1024px;
  display: grid;
  margin-left: var(--mb-2);
  margin-right: var(--mb-2);
}

.l-header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  background-color: #fff;
  box-shadow: 0 1px 4px rgba(146, 161, 176, 0.15);
}

.home {
  position: relative;
  row-gap: 5rem;
  padding: 4rem 0 5rem;
  margin-top: 25px;
}

.home__img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 260px;
  height: 260px;
  box-shadow: 0px 4px 25px rgba(14, 36, 49, 0.15);
  border-top-right-radius: 2rem;
  border-bottom-left-radius: 2rem;
  overflow: hidden;
  margin-top: 50px;
}

/*===== NAV =====*/
.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: var(--font-semi);
}
@media screen and (max-width: 767px) {
  .nav__menu {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 80%;
    height: 100%;
    padding: 2rem;
    background-color: var(--first-color);
    transition: 0.5s;
  }
}
.nav__item {
  margin-bottom: var(--mb-4);
}
.nav__link {
  position: relative;
  color: var(--second-color);
}
.nav__link:hover {
  position: relative;
}
.nav__link:hover::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 0.18rem;
  left: 0;
  top: 2rem;
  background-color: var(--second-color);
}
.nav__logo {
  color: var(--second-color);
}
.nav__toggle {
  color: var(--second-color);
  font-size: 2rem;
  cursor: pointer;
}

/*Active menu*/
.active-link::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 0.18rem;
  left: 0;
  top: 2rem;
  background-color: var(--second-color);
}

/*=== Show menu ===*/
.show {
  right: 0;
}

/*===== HOME =====*/
.home {
  position: relative;
  row-gap: 3rem;
  padding: 2rem 0 3rem;
  margin-top: 8px;
}
.home__data {
  align-self: center;
  margin: 4px;
}
.home__title {
  font-size: var(--big-font-size);
  margin-bottom: 4px;
}
.home__title-color {
  color: var(--first-color);
  margin-bottom: 1px;
}
.home__social {
  display: inline-block;
  flex-direction: column;
}
.home__social-icon {
  width: max-content;
  margin-bottom: var(--mb-1);
  margin-top: 8px;
  font-size: 2rem;
  color: var(--second-color);
}
.home__social-icon:hover {
  color: var(--first-color);
}
.home__img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 260px;
  height: auto;
  box-shadow: 0px 4px 25px rgba(14, 36, 49, 0.15);
  border-top-right-radius: 2rem;
  border-bottom-left-radius: 2rem;
  overflow: hidden;
  margin-top: 25px;
}
  


/*BUTTONS*/
.button {
  display: inline-block;
  background-color: var(--second-color);
  color: #fff;
  padding: 0.75rem 2.5rem;
  font-weight: var(--font-semi);
  border-radius: 0.5rem;
  transition: 0.3s;
  margin-bottom: 8px;
}
.button:hover {
  box-shadow: 0px 10px 36px rgba(0, 0, 0, 0.15);
}


.button3 {
  display: inline-block;
  background-color: #00BCD4;
  color: #000000;
  padding: 0.75rem 2.5rem;
  font-weight: bolder;
  border-radius: 0.5rem;
  transition: 0.3s;
  align-content: center;
  align-self: center;
  text-align: center;
  width: 100%;
  font-size: 30px;
}

.button4 {
  display: inline-block;
  background-color: #00BCD4;
  color: #000000;
  padding: 0.75rem 2.5rem;
  font-weight: bold;
  border-radius: 0.5rem;
  transition: 0.3s;
  align-content: center;
  align-self: center;
  text-align: center;
  width: 100%;
  font-size: 20px;
  margin-bottom: 10px;
}

@media screen and (max-width: 768px) {
    .button4 {
  font-size: 15px;
  padding: 0.35rem 1.5rem;
    }
}

.button2 {
  display: inline-block;
  background-color: #000000;
  color: #fff;
  padding: 0.75rem 2.5rem;
  font-weight: var(--font-semi);
  border-radius: 0.5rem;
  transition: 0.3s;
  align-content: center;
  align-self: center;
  text-align: center;
}

#sticky-contact {
	-webkit-transition: all 1s ease;
	-moz-transition: all 1s ease;
	-ms-transition: all 1s ease;
	-o-transition: all 1s ease;
	transition: all 1s ease;
}

#sticky-contact.issticky {
	opacity:0;
}

#sticky-contact-clone {
	position:fixed;
	z-index:9999;
	-webkit-transition: all 1s ease;
	-moz-transition: all 1s ease;
	-ms-transition: all 1s ease;
	-o-transition: all 1s ease;
	transition: all 1s ease;
}



/* ===== WORK =====*/
.work__container {
  row-gap: 1rem;
  background-color: #F5F5F5; 
  margin: 0px;
  border-radius: 16px;
  justify-items: center; /* Center items horizontally */
  padding: 0px;
  width: 100%;
}

.work3__container {
  row-gap: 1.5rem; /* Adjust vertical spacing */
  background-color: none;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 1.5rem;
  margin: 10px;
  border-radius: 10px;
  justify-items: center; /* Center items horizontally */
  margin-top: 60px;
}

.work__img {
  box-shadow: 0px 4px 25px rgba(14, 36, 49, 0.15);
  border-radius: 0px;
  overflow: hidden;
  margin-right: 0; /* Remove default margin */
  margin-left: 0; /* Remove default margin */
}
.work__img img {
  transition: 1s;
}
.work__img img:hover {
  transform: scale(1.1);
}
.work3__container h2{
    text-align: center;
    margin-top: 0.5rem;
    margin-bottom: 0.25rem;
    color: black;
    font-size: 1rem;
    font-weight: var(--font-semi);
}
.work3__container p {
    text-align: center;
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
    color: black;
    font-size: 0.875rem;
}
.work3__container img{
  background-color: #00BCD4;
  box-shadow: 0px 4px 25px rgba(14, 36, 49, 0.15);
  height: 150px;
  width: 100%;
  object-fit: cover; /* Ensure image covers the container */
  overflow: hidden;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
.work__container p{
    text-align: center;
    margin: 8px;
    color: black;
}
.work__container2 {
  row-gap: 2rem;
  background-color: #ffffff;
  border-radius: 16px;
  column-gap: 2rem;
  margin-bottom: 2rem;
}
.work__container2 img{
  background-color: #00BCD4;
  height: 200px;
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  text-align: center;
}
.work__container2 h2{
  font-size: 18px;
  margin-top: 10px;
  text-align: center;
}
.work__container2 p{
  font-size: 14px;
  margin-bottom: 10px;
}
.work__container a{
  width: 80%; /* Adjust button width */
  max-width: 150px;
  height: auto;
  align-self: center;
  font-size: 1rem;
  font-weight: var(--font-semi);
  padding: 0.6rem 1.5rem;
  border-radius: 0.5rem;
  border: 1.5px solid #F5F5F5;
  outline: none;
  margin-bottom: 1rem;
  margin-left: auto;
  margin-right: auto;
  align-content: center;
  align-items: center;
  text-align: center;
  display: block; /* Make it a block for proper centering */
}

.work__container4 {
  row-gap: 2rem;
  background-color: #F5F5F5;
  border-bottom-left-radius: 25px;
  column-gap: 2rem;
  margin-bottom: 35px;
}
.work__container4 img{
  background-color: #00BCD4;
  height: 300px;
  width: 100%;
  overflow: hidden;
  border-top-right-radius: 25px;
  text-align: center;
}
.work__container4 h2{
  font-size: 22px;
  margin-top: 10px;
  text-align: center;
}
.work__container4 p{
  font-size: 18px;
  margin-bottom: 10px;
  margin-right: 10px;
  margin-left: 10px;
  text-align: center;
}

/* Style for the filter container */
.filter__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.5rem; 
    margin-top: 1.0rem;
    position: fixed; 
}

/* Style for the filter content (label and select) */
.filter__content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter__title {
    font-weight: bold;
    color: var(--second-color);
    font-size: 0.7rem;
    margin-right: 0px;
}

.filter__select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--second-color);
    border-radius: 0.25rem;
    font-size: var(--normal-font-size);
    color: var(--second-color);
    appearance: none; /* Remove default arrow */
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg fill="%23252b3b" viewBox="0 0 24 24"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: left 0.2rem center;
    background-size: 0.5em;
    cursor: pointer;
    max-width: auto;
    padding: 6px;
}

/* Style for the search bar container */
.nav__search {
    display: flex;
    align-items: center;
    position: relative; /* For positioning the icon */
    margin-left: auto; /* Push to the right */
    max-height: 45px;
}

.nav__search-input {
    padding: 0.75rem 2.5rem 0.75rem 1rem; /* Adjust padding for the icon */
    border: 1px solid var(--second-color);
    border-radius: 0.5rem;
    font-size: var(--normal-font-size);
    color: var(--second-color);
    outline: none;
    width: 100%; /* Make it take available width within its container */
    max-width: 200px; /* Limit maximum width if needed */
    max-height: 30px;
    margin-right: 16px;
}

.nav__search-input::placeholder {
    color: #a7a7a7;
}

.nav__search-icon {
    position: absolute;
    right: 0.75rem;
    font-size: 1.2rem;
    color: var(--second-color);
    cursor: pointer;
    margin-right: 16px;
}


/* sort container */

.sort__container {
    display: flex;
    align-items: center;
    gap: 5px;
}

.sort__title {
    font-size: 1rem;
    font-weight: bold;
    color: var(--text-color);
}

.sort__select {
    padding: 0.6rem 1rem; /* Adjust padding for better visual appearance */
    border: 1px solid black; /* Use your theme's border color */
    border-radius: 0.3rem;
    font-size: 1rem;
    color: var(--text-color-light); /* Use a slightly lighter text color for the select */
    background-color: #F5F5F5; /* Use your theme's container background color */
    cursor: pointer;
    appearance: none; /* Remove default arrow */
    background-position: right 0.75rem center;
    background-size: 1em 1em;
    transition: border-color 0.3s ease;
}

.sort__select:focus {
    outline: none;
    border-color: var(--first-color); /* Use your theme's primary color for focus */
}

/* Responsive adjustments if needed */
@media screen and (max-width: 480px) {
    .sort__container {
        
        align-items: flex-start;
        gap: 5px;
    }

    .sort__title {
        font-size: 0.7rem;
    }

    .sort__select {
        width: 100%; /* Make select full width on smaller screens */
        font-size: 0.9rem;
        max-height: auto;
        padding: 6px;
    }
}


/* ===== DISPLAY =====*/
.detail {

}

.detail__container {
    background-color: none;
    display: grid; /* Enable grid layout */
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    align-items: center; /* Vertically align items in the grid */
    gap: 20px; /* Add some gap between the image and text */
    text-align: left; /* Align text to the left within its column */
}

.detail__container img {
    border-radius: 20px;
    height: auto; /* Adjust height automatically */
    max-height: 400px; /* Set a maximum height if needed */
    width: 100%; /* Image takes full width of its column */
    object-fit: cover; /* Maintain aspect ratio and cover the container */
    margin-bottom: 0; /* Remove default bottom margin */
    margin-top: 25px;
}

.detail__data {
    /* Contains the text details and the button */
}

.detail__data h1 {
    font-size: 28px; /* Increased font size for larger screens */
    font-weight: bold;
    margin-top: 0; /* Remove default top margin */
    margin-bottom: 10px;
}

.detail__data p {
    font-size: 33px; /* Increased font size for larger screens */
    font-weight: bolder;
    margin-bottom: 20px;
    margin-top: 5px;
}

.detail__description {
    margin-bottom: 20px;
}

.detail__description h2 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

.detail__description p {
    font-size: 18px;
    font-weight: normal;
    margin-bottom: 10px;
    margin-top: 0;
}

.detail__delivery {
    margin-bottom: 20px;
}

.detail__delivery h2 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

.detail__delivery p {
    font-size: 16px;
    font-weight: normal;
    margin-bottom: 10px;
    margin-top: 0;
}

.detail__quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px; /* Space between quantity and buy button */
}

.detail__quantity label {
    font-weight: bold;
}

.detail__quantity input[type="number"] {
    width: 60px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-align: center;
}

.detail__data button {
    /* Style the buy now button as needed */
    padding: 15px 30px;
    font-size: 30px;
    background-color: var(--first-color); /* Example button color */
    color: black;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.detail__data button:hover {
    background-color: greenyellow;
}

/* Adjust for smaller screens if needed */
@media screen and (max-width: 768px) {
    .detail__container {
        grid-template-columns: 1fr; /* Stack items on smaller screens */
        text-align: center; /* Center text on smaller screens */
    }

    .detail__container img {
        max-height: 250px; /* Adjust image height for smaller screens */
        margin-bottom: 20px; /* Add some space below the image */
    }

    .detail__data {
        text-align: center; /* Center text on smaller screens */
    }

    .detail__data h1 {
        font-size: 20px;
    }

    .detail__data p {
        font-size: 22px;
    }
    
    .detail__quantity {
        justify-content: center; /* Center quantity controls */
        margin-bottom: 15px;
    }

    .detail__description h2,
    .detail__delivery h2 {
        font-size: 18px;
    }

    .detail__description p,
    .detail__delivery p {
        font-size: 14px;
    }

    .detail__data button {
        padding: 12px 25px;
        font-size: 25px;
    }
}

    
    
@media screen and (min-width: 768px) {
  .work3__container img{
  height: 200px;
  }
  .work3__container {
  row-gap: 2rem;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 1rem;
  margin-top: 80px;
  }

  .filter__container {
    gap: 2rem;
    margin-bottom: 2rem;
  }
  
  .filter__title {
    font-weight: var(--font-semi);
    color: var(--second-color);
    font-size: 1rem;
    background-position: right 0.5rem center;
}

  .nav__search-input {
    max-width: 250px;
  }
}
@media screen and (min-width: 992px) {
    .work3__container img{
  height: 250px;
  }
  .work3__container {
  row-gap: 4rem;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 2rem;
  margin-top: 100px;
  }
  
  .filter__container {
    margin-bottom: 1.5rem; 
    margin-top: 1.5rem;
    position: sticky;
    top: 85px;
}

  .nav__search-input {
    max-width: 300px;
  }
}






/* ===== TESTIMONIALS =====*/
.testimonials__container {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.testimonials__list {
    display: grid; /* Use grid layout for vertical arrangement */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Create columns that adjust based on width */
    gap: 1.5rem; /* Adjust vertical and horizontal spacing between items */
    padding-bottom: 0; /* Remove bottom padding as it's no longer a scroll view */
}

.testimonial__card {
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.testimonial__quote {
    position: relative;
    margin-bottom: 1rem;
}

.testimonial__quote i {
    font-size: 1.5rem;
    color: var(--first-color);
}

.testimonial__quote .bx-bxs-quote-alt-left {
    position: absolute;
    top: 0;
    left: 0;
}

.testimonial__quote .bx-bxs-quote-alt-right {
    position: absolute;
    bottom: 0;
    right: 0;
}

.testimonial__text {
    color: var(--second-color);
    margin: 0 1rem;
}

.testimonial__name {
    font-size: var(--normal-font-size);
    font-weight: var(--font-semi);
    color: var(--first-color);
    margin-top: 1rem;
}

.testimonials__view-more {
    text-align: center;
    margin-top: 2rem;
}

/* Media Queries for responsiveness (adjust as needed) */
@media screen and (min-width: 576px) {
    .testimonials__list {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); /* Wider cards on larger screens */
        padding-left: 2rem;
        padding-right: 2rem;
        gap: 2rem;
    }
}

@media screen and (min-width: 768px) {
    .testimonials__list {
        grid-template-columns: repeat(auto-fit, minmax(500px, 1fr)); /* Even wider cards */
        padding-left: 3rem;
        padding-right: 3rem;
        gap: 2.5rem;
    }
}

@media screen and (min-width: 992px) {
    .testimonials__list {
        grid-template-columns: repeat(auto-fit, minmax(600px, 1fr)); /* Widest cards on large desktops */
        padding-left: 0;
        padding-right: 0;
        gap: 3rem;
    }
    .testimonials__container {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}



/* ===== CONTACT =====*/
.contact__input {
  width: 100%;
  font-size: var(--normal-font-size);
  font-weight: var(--font-semi);
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1.5px solid var(--second-color);
  outline: none;
  margin-bottom: var(--mb-4);
}
.contact__button {
  display: block;
  border: none;
  outline: none;
  font-size: var(--normal-font-size);
  cursor: pointer;
  margin-left: auto;
}

/* ===== FOOTER =====*/
.footer {
    background-color: #000000;
    color: #fff;
    text-align: center;
    font-weight: var(--font-semi);
    padding: 3rem 1rem;
}

.footer__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, auto));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer__data {
    margin-bottom: 2rem;
    text-align: left;
}

.footer__description {
    color: white;
}

.footer__title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #fff;
}

.footer__subtitle {
    font-size: 1rem; /* Slightly smaller for subtitles */
    margin-bottom: 0.75rem;
    color: #fff;
}

.footer__data--links .footer__subtitle {
    display: grid;
    grid-template-columns: repeat(2, auto); /* Two columns, auto width */
    gap: 1rem; /* Adjust gap as needed */
    align-items: flex-start; /* Align items to the start of the grid cell */
}

.footer__description,
.footer__info {
    font-size: var(--small-font-size);
    line-height: 1.6;
}

.footer__info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: white;
}

.footer__icon-info {
    font-size: 1.2rem;
    color: #fff;
}

.footer__social {
    margin-top: 1.5rem;
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
}

.footer__icon {
    font-size: 1.75rem;
    color: #fff;
    transition: color 0.3s ease;
}

.footer__icon:hover {
    color: var(--first-color-light);
}

.footer__links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer__link {
    color: #ddd;
    text-decoration: none;
    font-size: var(--small-font-size);
    transition: color 0.3s ease;
}

.footer__link:hover {
    color: var(--first-color-light);
}

.footer__copy {
    font-size: var(--smaller-font-size);
    color: #aaa;
    margin-top: 3rem;
}

/* Center the main title on smaller screens */
.footer > .footer__title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Adjust social icon alignment on very small screens */
.footer:not(.footer__container) .footer__social {
    justify-content: center;
}

/* Responsive adjustments */
@media screen and (max-width: 576px) {
    .footer__container {
        grid-template-columns: 2fr;
    }

    .footer__data {
        text-align: center;
    }

    .footer__social {
        justify-content: center;
    }

    .footer__links {
        align-items: center;
    }

    .footer__data--links .footer__subtitle {
        grid-template-columns: 1fr; /* Stack subtitles on small screens */
        text-align: center;
    }
}

@media screen and (min-width: 577px) and (max-width: 768px) {
    .footer__container {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__data:nth-child(1) {
        grid-column: span 2;
    }

    .footer__social {
        justify-content: center;
    }

    .footer__links {
        align-items: center;
    }

    .footer__data--links .footer__subtitle {
        grid-template-columns: repeat(2, auto); /* Keep two columns on medium screens */
        justify-content: center; /* Center the subtitles */
    }
}

@media screen and (min-width: 769px) {
    .footer {
        padding: 4rem 1rem;
    }

    .footer__container {
        grid-template-columns: repeat(auto-fit, minmax(200px, auto));
        gap: 2rem;
    }

    .footer__data {
        text-align: left;
    }

    .footer__social {
        justify-content: flex-start;
    }

    .footer__links {
        align-items: flex-start;
    }

    .footer .footer__title {
        text-align: left;
    }

    .footer__data--links .footer__subtitle {
        grid-template-columns: repeat(2, auto); /* Keep two columns on larger screens */
        justify-content: flex-start; /* Align subtitles to the start */
    }
}


/* Medium devices (577px to 768px) */
@media screen and (min-width: 577px) and (max-width: 768px) {
    .footer__container {
        grid-template-columns: repeat(2, 1fr); /* Two columns */
    }

    .footer__data:nth-child(1) {
        grid-column: span 2; /* Full width for the description on medium screens */
    }

    .footer__social {
        justify-content: center; /* Center social icons */
    }

    .footer__links {
        align-items: center; /* Center links */
    }
}

/* Large devices (769px and up) - Your existing multi-column layout will apply */
@media screen and (min-width: 769px) {
    .footer {
        padding: 4rem 1rem; /* Slightly more top/bottom padding on larger screens */
    }

    .footer__container {
        grid-template-columns: repeat(auto-fit, minmax(200px, auto)); /* Adjust minmax if needed */
        gap: 2rem;
    }

    .footer__data {
        text-align: left; /* Revert text alignment to left */
    }

    .footer__social {
        justify-content: flex-start; /* Revert social icon alignment to left */
    }

    .footer__links {
        align-items: flex-start; /* Revert link alignment to left */
    }

    .footer > .footer__title {
        text-align: left; /* Revert main title alignment to left */
    }
}

/* ===== MEDIA QUERIES=====*/
@media screen and (max-width: 320px) {
  .home {
    row-gap: 2rem;
  }
  .home__img {
    width: 200px;
  }
}
@media screen and (min-width: 576px) {
  .home {
    padding: 4rem 0 2rem;
  }
  .home__social {
    padding-top: 0;
    padding-bottom: 2.5rem;
    flex-direction: row;
    align-self: flex-end;
  }
  .home__social-icon {
    margin-bottom: 0;
    margin-right: var(--mb-4);
  }
  .home__img {
    width: 300px;
    bottom: 25%;
  }
  .about__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    text-align: initial;
  }
  .skills__container {
    grid-template-columns: 0.7fr;
    justify-content: center;
    column-gap: 1rem;
  }
  .work__container {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2rem;
    padding-top: 2rem;
  }
  .work__container2 {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2rem;
    padding-top: 2rem;
  }
  .contact__form {
    width: 360px;
    padding-top: 2rem;
  }
  .contact__container {
    justify-items: center;
  }
}
@media screen and (min-width: 768px) {
  body {
    margin: 0;
  }
  .section {
    padding-top: 4rem;
    padding-bottom: 3rem;
  }
  .section-title {
    margin-bottom: var(--mb-6);
  }
  .section-title::after {
    width: 80px;
    top: 3rem;
  }
  .nav {
    height: calc(var(--header-height) + 1.5rem);
  }
  .nav__list {
    display: flex;
    padding-top: 0;
  }
  .nav__item {
    margin-left: var(--mb-6);
    margin-bottom: 0;
  }
  .nav__toggle {
    display: none;
  }
  .nav__link {
    color: var(--second-color);
  }
  .home {
    padding: 8rem 0 2rem;
  }
  .home__img {
    width: 400px;
    bottom: 10%;
  }
  .about__container {
    padding-top: 2rem;
  }
  .about__img img {
    width: 300px;
  }
  .skills__container {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2rem;
    align-items: center;
    text-align: initial;
  }
  .work__container {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 2rem;
  }
  .work2__container {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 2rem;
  }
  .work4__container {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 2rem;
  }
  .work3__container img{
  height: 150px;
  }
  .work3__container {
  row-gap: 2rem;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 0.5rem; 
  }
}
@media screen and (min-width: 992px) {
  .bd-grid {
    margin-left: auto;
    margin-right: auto;
  }
  .home {
    padding: 10rem 0 2rem;
  }
  .home__img {
    width: 450px;
  }
    .work3__container img{
  height: 250px;
  }
  .work3__container {
  row-gap: 2rem;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 0.5rem;
  
  }
}
