@import url("https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&family=Poppins: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");

:root {
  --primary-color: #254d4d;
  --text-dark: #171717;
  --text-light: #737373;
  --extra-light: #f4f6f5;
  --white: #ffffff;
  --secondary-color: #e74c3c;
  --accent-color: #f39c12;
  --light-color: #ecf0f1;
  --dark-color: #2c3e50;
  --border-color: #ddd;
  --max-width: 1200px;
  --header-font: "Merriweather", serif;
  --whatsapp-green: #25D366;
  --call-blue: #0088cc;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.logo {
  font-size: 1.5rem;
  font-weight: 600;
  font-family: var(--header-font);
}

img {
  display: flex;
  width: 100%;
}

a {
  text-decoration: none;
  transition: 0.3s;
}

ul {
  list-style: none;
}

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
}

    .section__header span {
        color: #f39c12; 
    }

    .promo__container {
        background: linear-gradient(135deg, #2c3e50 0%, #4a6491 100%);
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        position: relative;
    }

    .promo__content {
        padding: 50px;
        color: white;
        position: relative;
        z-index: 2;
    }

    .section__description {
        font-size: 1.2rem;
        margin-bottom: 40px;
        max-width: 600px;
        opacity: 0.9;
    }

    .promo__highlights {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
        margin-bottom: 40px;
    }

    .promo__card {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border-radius: 8px;
        padding: 25px;
        text-align: center;
        transition: transform 0.3s, background 0.3s;
    }

    .promo__card:hover {
        transform: translateY(-5px);
        background: rgba(255, 255, 255, 0.15);
    }

    .promo__icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
        color: var(--accent-color);
    }

    .promo__title {
        font-size: 1.3rem;
        margin-bottom: 10px;
        font-weight: 600;
    }

    .promo__text {
        font-size: 0.95rem;
        opacity: 0.9;
    }

    .promo__offer {
        background: var(--accent-color);
        color: var(--dark-color);
        padding: 12px 25px;
        border-radius: 30px;
        font-weight: 700;
        display: inline-block;
        margin-bottom: 30px;
        box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
    }

    .promo__cta {
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
    }

    .cta__button {
        padding: 15px 30px;
        border-radius: 6px;
        font-weight: 600;
        font-size: 1rem;
        cursor: pointer;
        transition: all 0.3s;
        border: none;
    }

    .cta__primary {
        background: var(--secondary-color);
        color: white;
    }

    .cta__primary:hover {
        background: #c0392b;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
    }

    .cta__secondary {
        background: transparent;
        color: white;
        border: 2px solid white;
    }

    .cta__secondary:hover {
        background: white;
        color: var(--dark-color);
        transform: translateY(-2px);
    }

    .promo__image {
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        width: 40%;
        background: url('https://images.unsplash.com/photo-1555041469-a586c61ea9bc?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1170&q=80') center/cover no-repeat;
        border-radius: 0 12px 12px 0;
    }

    .promo__badge {
        position: absolute;
        top: 30px;
        right: 30px;
        background: var(--secondary-color);
        color: white;
        padding: 8px 15px;
        border-radius: 20px;
        font-weight: 600;
        font-size: 0.9rem;
        z-index: 3;
    }

    .countdown {
        display: flex;
        gap: 15px;
        margin: 25px 0;
        justify-content: center;
    }

    .countdown__item {
        background: rgba(255, 255, 255, 0.15);
        padding: 10px 15px;
        border-radius: 6px;
        text-align: center;
        min-width: 60px;
    }

    .countdown__number {
        font-size: 1.5rem;
        font-weight: 700;
    }

    .countdown__label {
        font-size: 0.8rem;
        opacity: 0.8;
    }

    /* Mobile Grid Styles */
    @media (max-width: 768px) {
        .promo__container {
            display: grid;
            grid-template-rows: auto auto;
            gap: 0;
        }

        .promo__content {
            padding: 30px 20px;
            grid-row: 1;
        }

        .promo__image {
            position: relative;
            width: 100%;
            height: 250px;
            grid-row: 2;
            border-radius: 0 0 12px 12px;
        }

        .promo__badge {
            top: 20px;
            right: 20px;
            font-size: 0.8rem;
            padding: 6px 12px;
        }

        .section__header {
            font-size: 1.8rem;
            text-align: center;
        }

        .section__description {
            font-size: 1rem;
            text-align: center;
            margin-bottom: 30px;
        }

        /* Countdown Grid */
        .countdown {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 10px;
            margin: 20px 0;
        }

        .countdown__item {
            min-width: auto;
            padding: 8px 5px;
        }

        .countdown__number {
            font-size: 1.2rem;
        }

        .countdown__label {
            font-size: 0.7rem;
        }

        /* Promo Highlights Grid */
        .promo__highlights {
            grid-template-columns: 1fr;
            gap: 20px;
            margin-bottom: 30px;
        }

        .promo__card {
            padding: 20px 15px;
            display: grid;
            grid-template-columns: auto 1fr;
            grid-template-rows: auto auto;
            gap: 10px 15px;
            text-align: left;
            align-items: start;
        }

        .promo__icon {
            grid-column: 1;
            grid-row: 1 / span 2;
            font-size: 2rem;
            margin-bottom: 0;
            align-self: center;
        }

        .promo__title {
            grid-column: 2;
            grid-row: 1;
            font-size: 1.1rem;
            margin-bottom: 5px;
        }

        .promo__text {
            grid-column: 2;
            grid-row: 2;
            font-size: 0.85rem;
        }

        /* CTA Buttons Grid */
        .promo__cta {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
        }

        .cta__button {
            padding: 12px 20px;
            font-size: 0.9rem;
            text-align: center;
        }

        .promo__offer {
            text-align: center;
            width: 100%;
            font-size: 0.9rem;
            padding: 10px 20px;
            margin-bottom: 20px;
        }
    }

    /* Small Mobile Optimization */
    @media (max-width: 480px) {
        .promo__content {
            padding: 25px 15px;
        }

        .section__header {
            font-size: 1.6rem;
        }

        .section__description {
            font-size: 0.9rem;
        }

        .promo__image {
            height: 200px;
        }

        .countdown {
            gap: 8px;
        }

        .countdown__item {
            padding: 6px 4px;
        }

        .countdown__number {
            font-size: 1rem;
        }

        .countdown__label {
            font-size: 0.65rem;
        }

        .promo__highlights {
            gap: 15px;
        }

        .promo__card {
            padding: 15px 12px;
            gap: 8px 12px;
        }

        .promo__icon {
            font-size: 1.8rem;
        }

        .promo__title {
            font-size: 1rem;
        }

        .promo__text {
            font-size: 0.8rem;
        }

        .promo__cta {
            grid-template-columns: 1fr;
            gap: 12px;
        }

        .cta__button {
            padding: 10px 15px;
            font-size: 0.85rem;
        }

        .promo__offer {
            font-size: 0.85rem;
            padding: 8px 16px;
        }
    }

    /* Tablet Styles */
    @media (min-width: 769px) and (max-width: 992px) {
        .promo__image {
            width: 100%;
            height: 300px;
            position: relative;
            border-radius: 0 0 12px 12px;
        }

        .promo__content {
            padding: 40px 30px;
        }

        .promo__highlights {
            grid-template-columns: repeat(2, 1fr);
        }
    }


.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 1rem;
}

.section__header {
  margin-bottom: 1rem;
  font-size: 2.5rem;
  font-weight: 600;
  font-family: var(--header-font);
  color: var(--primary-color);
}

.section__description {
  font-size: 1.1rem;
  color: var(--text-light);
}



.header__container {
  display: grid;
  overflow: hidden;
}

.header__image {
  grid-area: 1/1/2/2;
}

.header__image img {
  max-width: 900px;
  margin-left: auto;
}

.header__content {
  grid-area: 1/1/2/2;
  display: flex;
  align-items: center;
}

.header__content>div {
  max-width: 500px;
  padding: 4rem 1rem;
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
}

.header__content h1 {
  margin-bottom: 1rem;
  font-size: 4rem;
  font-weight: 600;
  font-family: var(--header-font);
  color: var(--primary-color);
}

.header__content p {
  font-size: 1.2rem;
  color: var(--text-light);
}

.deals__container {
  display: grid;
  gap: 2rem;
}

.deals__card span {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 2rem;
}

.deals__card h4 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
}

.deals__card p {
  color: var(--text-light);
}

.about__header {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about__header .section__description {
  max-width: 600px;
}

.about__btn {
  width: fit-content;
  padding: 0.75rem 1.5rem;
  outline: none;
  border: none;
  font-size: 1rem;
  color: var(--white);
  white-space: nowrap;
  background-color: var(--primary-color);
  border-radius: 5px;
  transition: 0.3s;
  cursor: pointer;
}

.about__content {
  margin-top: 2rem;
  display: grid;
  gap: 2rem;
}

.about__grid {
  display: grid;
  gap: 2rem;
}

.about__image {
  overflow: hidden;
}

.about__card h3 {
  margin-bottom: 0.5rem;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--primary-color);
}

.about__card h4 {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
}

.about__card p {
  color: var(--text-light);
}

.product__grid {
  margin-top: 4rem;
  display: grid;
  gap: 2rem;
}

.product__card {
  position: relative;
  isolation: isolate;
  padding: 2rem;
}

.product__card::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 65%;
  background-color: var(--extra-light);
  z-index: -1;
  transition: 0.3s;
}

.product__card:hover::before {
  height: 100%;
}

.product__card h4 {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-dark);
}

.product__card p {
  margin-bottom: 2rem;
  font-size: 1.2rem;
  color: var(--text-light);
}

.product__card img {
  max-width: 275px;
  margin-inline: auto;
}

.client__content {
  padding: 4rem 1rem;
  background-color: var(--extra-light);
  border-radius: 1rem;
}

.client__content :is(.section__header, .section__description) {
  max-width: 550px;
  margin-inline: auto;
  text-align: center;
}

.client__content .section__header {
  font-size: 3.25rem;
}

.swiper {
  margin-top: 4rem;
  width: 100%;
}

.client__card {
  display: grid;
  gap: 2rem;
  max-width: 750px;
  margin-inline: auto;
  text-align: center;
}

.client__card img {
  max-width: 250px;
  margin-inline: auto;
}

.client__card p {
  margin-bottom: 2rem;
  font-size: 1.2rem;
  color: var(--text-light);
  font-style: italic;
}

.client__card h4 {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-dark);
}

.client__card h5 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-light);
}

.footer {
  background-color: var(--primary-color);
}

.footer__container {
  display: grid;
  gap: 4rem 2rem;
  grid-template-columns: 2fr 1fr 1fr 1fr; /* Default desktop layout */
}

.footer__logo {
  margin-bottom: 1rem;
}

.footer__logo .logo {
  color: var(--white);
}

.footer__col p {
  margin-bottom: 2rem;
  color: var(--extra-light);
  opacity: 0.8;
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer__socials a {
  font-size: 1.5rem;
  color: var(--white);
}

.footer__socials a:hover {
  opacity: 0.5;
}

.footer__col h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--white);
}

.footer__links {
  display: grid;
  gap: 1rem;
}

.footer__links a {
  color: var(--extra-light);
  opacity: 0.8;
}

.footer__links a:hover {
  opacity: 1;
}

.footer__bar {
  padding: 1rem;
  font-size: 0.9rem;
  color: var(--extra-light);
  opacity: 0.8;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Horizontal Footer */
@media (max-width: 768px) {
  .footer__container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    padding: 2rem 1rem;
  }

  /* Compact horizontal sections */
  .footer__col:not(:first-child) {
    border: none;
    margin: 0;
    padding: 0;
  }

  .footer__col h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
  }

  .footer__col h4::after {
    content: '+';
    font-size: 1.2rem;
    transition: transform 0.3s ease;
  }

  .footer__col.active h4::after {
    content: '−';
  }

  .footer__links {
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 0 0.5rem;
  }

  .footer__col.active .footer__links {
    display: grid;
  }

  .footer__links a {
    font-size: 0.8rem;
    padding: 0.4rem 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    text-align: center;
    transition: all 0.3s ease;
  }

  .footer__links a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
  }

  /* First column (logo & socials) styling */
  .footer__col:first-child {
    order: -1;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .footer__logo {
    margin-bottom: 1rem;
  }

  .footer__logo .logo {
    font-size: 1.3rem;
  }

  .footer__col p {
    font-size: 0.85rem;
    margin-bottom: 1rem;
    line-height: 1.4;
  }

  .footer__socials {
    justify-content: center;
    gap: 0.75rem;
  }

  .footer__socials a {
    font-size: 1.2rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }

  .footer__socials a:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
  }

  /* Footer bar */
  .footer__bar {
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
  }
}

/* Small mobile optimization */
@media (max-width: 480px) {
  .footer__container {
    gap: 1.5rem;
    padding: 1.5rem 1rem;
  }

  .footer__col h4 {
    font-size: 0.9rem;
    padding: 0.4rem 0;
  }

  .footer__links {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .footer__links a {
    font-size: 0.75rem;
    padding: 0.35rem 0.4rem;
  }

  .footer__logo .logo {
    font-size: 1.2rem;
  }

  .footer__col p {
    font-size: 0.8rem;
  }

  .footer__socials {
    gap: 0.5rem;
  }

  .footer__socials a {
    font-size: 1.1rem;
    width: 35px;
    height: 35px;
  }

  .footer__bar {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
  .footer__container {
    grid-template-columns: 1fr 1fr;
    gap: 3rem 2rem;
  }

  .footer__col:first-child {
    grid-column: 1 / -1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
  }

  .footer__socials {
    justify-content: center;
  }
}

@media (width > 540px) {
  .deals__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (width > 768px) {
  nav {
    position: static;
    padding: 2rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }

  .nav__header {
    flex: 1;
    padding: 0;
    background-color: transparent;
  }

  .nav__menu__btn {
    display: none;
  }

  .nav__logo .logo {
    color: var(--primary-color);
  }

  .nav__links {
    position: static;
    padding: 0;
    width: fit-content;
    flex-direction: row;
    gap: 3rem;
    background-color: transparent;
    transform: none;
  }

  .nav__links a {
    color: var(--text-dark);
  }

  .nav__links a:hover {
    color: var(--primary-color);
  }

  .nav__search {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
  }

  .nav__search input {
    padding-block: 5px;
    outline: none;
    border: none;
    width: 0;
    font-size: 1rem;
    color: var(--text-dark);
    border-bottom: 1px solid var(--text-light);
    transition: 0.3s;
  }

  .nav__search.open input {
    width: 100%;
    max-width: 15rem;
  }

  .nav__search span {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
  }

  .header__container {
    padding-top: 0;
  }

  .deals__container {
    grid-template-columns: repeat(3, 1fr);
  }

  .deals__card:nth-child(1) {
    grid-column: 1/4;
  }

  .about__header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .about__content {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .about__image {
    grid-area: 1/2/2/3;
  }

  .product__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .client__card {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    text-align: left;
  }

  .footer__container {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (width > 1024px) {
  .deals__container {
    grid-template-columns: repeat(4, 1fr);
  }

  .deals__card:nth-child(1) {
    grid-column: unset;
  }

  .about__grid {
    gap: 4rem 2rem;
  }
}