:root {
  --container-max: 1220px;
  --muted: #6b7280;
  --border: #e5e7eb;
  --bg: #fff;
  --accent: #111827;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Albert Sans';
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 1440px;
  margin: auto;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* ↓↓↓ UPDATED PADDING ↓↓↓ */
.container {
  max-width: var(--container-max);
  padding: 0 0.75rem;
}

/* ↑↑↑ UPDATED PADDING ↑↑↑ */

header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.logo-img {
  height: 50px; /* adjust size */
  width: auto;
  display: block;
}
.nav-row {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* logo */
.logo {
  font-size: 1.125rem;
  font-weight: 300;
  color: var(--accent);
  text-decoration: none;
}

/* desktop nav */
.nav-desktop {
  display: none;
  gap: 1.75rem;
  align-items: center;
}

.nav-desktop a {
  font-size: .875rem;
  color: var(--accent);
  text-decoration: none;
  transition: color .15s;
  font-family: Albert Sans;
  font-weight: 500;
}

.nav-desktop a:hover {
  color: #374151;
}

/* right side */
.actions {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.btn-icon {
  background: transparent;
  border: none;
  padding: .375rem;
  border-radius: .375rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-icon:hover {
  background: #f3f4f6;
}

/* search */
.search-desktop {
  display: none;
  position: relative;
  align-items: center;
}

.search-desktop input {
  padding: .5rem 0.75rem .5rem 2.5rem;
  border: 1px solid #d1d5db;
  border-radius: 9999px;
  font-size: .875rem;
  width: 220px;
}

.search-desktop input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(156, 163, 175, 0.08);
  border-color: #9ca3af;
}

.search-desktop .search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  color: var(--muted);
}

/* mobile menu */
#mobile-menu {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  overflow: hidden;
  max-height: 0;
  transition: max-height .5s ease, padding .25s ease;
  padding: 0 1.5rem;
}

#mobile-menu.open {
  max-height: 480px;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

#mobile-menu a {
  display: block;
  padding: .5rem 0;
  color: #374151;
  text-decoration: none;
  font-size: .95rem;
  font-family: "Albert Sans", sans-serif;
  font-weight: 500
}

#mobile-menu .search-mobile {
  position: relative;
  margin-top: .5rem;
}

#mobile-menu .search-mobile input {
  width: 100%;
  padding: .5rem .75rem .5rem 2.5rem;
  border-radius: 9999px;
  border: 1px solid #d1d5db;
  font-size: .95rem;
}

#mobile-menu .search-mobile .search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  color: var(--muted);
}

/* helpers */
.hidden {
  display: none !important;
}

/* Responsive: show desktop nav/search on md+ */
@media (min-width: 1025px) {
  .nav-desktop {
    display: flex;
  }

  .search-desktop {
    display: flex;
  }

  .mobile-toggle {
    display: none;
  }

  #mobile-menu {
    display: none !important;
  }
}


/* Shop banner */
.banner {
  position: relative;
  width: 100%;
  height: 300px;
  background: url('images/blog banner.png');
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
}

/* Dark Overlay */
.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.banner-content {
  position: relative;
  z-index: 2;
}

.banner h1 {
  font-size: 36px;
  margin: 0 0 18px 0;
  font-weight: 700;
}

/* Breadcrumb Button */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #000;
  padding: 10px 18px;
  border-radius: 25px;
  font-size: 14px;
  cursor: pointer;
  color: #fff;
}

/* FORCE WHITE ICON */
.breadcrumb .material-icons {
  font-size: 18px;
  color: #fff !important;
  /* ensures white arrow */
}

.breadcrumb a {
  text-decoration: none;
  color: inherit;
  font-weight: 500;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/*  */

    /* blogs section */
     .container3 {
            max-width: 1280px;
            margin: auto;
            padding: 60px 20px;
        }

        .section-title small {
            text-transform: uppercase;
            font-size: 11px;
            font-weight: 600;
            letter-spacing: 2px;
            color: #6b7280;
            display: block;
            margin-bottom: 5px;
        }

        .section-title h1 {
            font-size: 36px;
            font-weight: 500;
            margin: 0;
            color: #111827;
        }

        /* GRID */
        .grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 32px;
            margin-top: 40px;
        }

        @media (min-width: 768px) {
            .grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        /* CARD */
        .card {
            background: #fff;
            border: 1px solid #e5e7eb;
            border-radius: 14px;
            padding: 24px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            transition: 0.2s ease;
        }

        .card:hover {
            transform: translateY(-3px);
            border-color: #d1d5db;
        }

        /* BADGES */
        .badge-blue {
            background: #eef2ff;
            color: #4338ca;
            font-size: 12px;
            padding: 6px 12px;
            border-radius: 999px;
            font-weight: 600;
        }

        .badge-gray {
            background: #f3f4f6;
            color: #4b5563;
            font-size: 12px;
            padding: 6px 12px;
            border-radius: 999px;
            font-weight: 600;
        }

        .badge-group {
            display: flex;
            gap: 8px;
            margin-bottom: 16px;
        }

        .card h2 {
            font-size: 20px;
            font-weight: 400;
            color: #111827;
            margin-bottom: 16px;
            line-height: 1.35;
        }

        /* READ MORE */
        .read-more {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            font-weight: 600;
            color: #374151;
            text-decoration: none;
            margin-top: auto;
        }

        .icon-bg {
            background: #eef2ff;
            padding: 6px;
            border-radius: 50%;
            font-size: 14px;
        }
        .material-icons{
          font-size: 13px !important;
        }
    /*  */

    /* footer code */
         /* Universal styles for the dark theme */
        .footer {
            background-color: #000000; /* Pure black background */
            color: #ffffff; /* White text color */
            padding: 40px 60px 20px; /* Padding for top/bottom and sides */
            font-family: Arial, sans-serif; /* Use a common sans-serif font */
        }
        .footer-logo-img {
    width: 120px;
    height: auto;
    display: block;
    margin-bottom: 15px;

    /* Turn image white */
    filter: brightness(0) invert(1);
}


        /* Container for the main four sections */
        .footer-content {
            display: flex;
            justify-content: space-between;
            gap: 20px; /* Space between the main columns */
            max-width: 1200px; /* Keep the content centered and constrained */
            margin: 0 auto;
            padding-bottom: 40px; /* Space above the bottom bar */
            border-bottom: 1px solid #222; /* Separator line, slightly visible */
        }

        /* Individual section styling */
        .footer-section {
            padding: 0 10px;
        }

        /* --- Section 1: Vessa (Newsletter) --- */
        .footer-vessa {
            flex-basis: 30%; /* Gives Vessa section more room */
            max-width: 300px;
        }
        .footer-logo {
            font-size: 30px;
            margin-bottom: 15px;
            font-weight: 500;
        }
        .footer-vessa p {
            font-size: 14px;
            line-height: 1.5;
            margin-bottom: 20px;
            color: #ccc; /* Slightly lighter text for the description */
            font-family: 'Albert Sans';
        }

        /* Newsletter Form */
        .footer-newsletter {
            display: flex;
            border: 1px solid #444; /* Border around the input/button combo */
            height: 40px;
        }
        .footer-newsletter input {
            background: transparent;
            border: none;
            color: #fff;
            padding: 0 10px;
            flex-grow: 1;
            font-size: 14px;
            outline: none;
            font-family: 'Albert Sans';
        }
        .footer-newsletter input::placeholder {
            color: #888;
        }
        .footer-newsletter button {
            background: transparent;
            color: #fff;
            border: none;
            padding: 0 15px;
            cursor: pointer;
            text-transform: uppercase;
            font-size: 14px;
            font-weight: bold;
            /* border-left: 1px solid #444; */
            transition: background-color 0.3s;
            font-family: 'Albert Sans';
        }
        .footer-newsletter button:hover {
            background-color: #333;
        }

        /* --- Section 2, 3, 4: Contact, Links, Resources --- */
        .footer-contact, .footer-links, .footer-resources {
            flex-basis: 20%; /* Even distribution for the other three columns */
            padding-top: 5px;
        }

        /* Headings for columns 2, 3, 4 */
        .footer-section h3 {
            font-size: 12px;
            font-weight: bold;
            color: #888; /* Grey text for the heading */
            margin-bottom: 25px;
            letter-spacing: 1px;
            font-family: 'Albert Sans';
        }

        /* Contact Email */
        .footer-email {
            font-size: 18px;
            color: #fff;
            text-decoration: none;
            font-family: 'Albert Sans';
        }

        /* List links */
        .footer-links ul, .footer-resources ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .footer-links li, .footer-resources li {
            margin-bottom: 8px;
        }
        .footer-links a, .footer-resources a {
            color: #ccc;
            text-decoration: none;
            font-size: 14px;
            transition: color 0.3s;
            font-family: 'Albert Sans';
        }
        .footer-links a:hover, .footer-resources a:hover, .footer-email:hover {
            color: #fff; /* Hover effect */
        }


        /* --- Bottom Copyright Bar --- */
        .footer-bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 20px;
            max-width: 1200px;
            margin: 0 auto;
            font-size: 12px;
        }

        .footer-copyright {
            color: #888;
            font-family: 'Albert Sans';
        }

        .footer-legal a, .footer-legal span {
            color: #888;
            text-decoration: none;
            padding: 0 5px;
            font-family: 'Albert Sans';
        }
        .footer-legal span {
            color: #555; /* Darker dot separator */
        }
        .footer-legal a:hover {
            color: #fff;
        }


        /* ================================================= */
        /* RESPONSIVENESS (Media Query)             */
        /* ================================================= */

        @media (max-width: 768px) {
            .footer {
                padding: 40px 20px 10px; /* Less horizontal padding on smaller screens */
            }

            /* Stack the main four sections vertically */
            .footer-content {
                flex-direction: column;
                padding-bottom: 20px;
            }

            /* Adjust margins and spacing for stacked look */
            .footer-section {
                margin-bottom: 30px;
                padding: 0;
            }

            /* Section 1: Vessa (Newsletter) takes full width */
            .footer-vessa {
                max-width: 100%;
                margin-bottom: 40px;
            }
            
            /* Section 2, 3, 4: Align to the left and take full width */
            .footer-contact, .footer-links, .footer-resources {
                flex-basis: auto;
            }
            
            /* Contact email for section 2 */
            .footer-email {
                display: block;
                margin-top: -15px;
            }

            /* Stack the bottom bar elements */
            .footer-bottom {
                flex-direction: column;
                align-items: flex-start;
                padding-top: 10px;
                margin-top: 10px;
            }

            .footer-copyright {
                margin-bottom: 10px;
            }
            
            .footer-legal {
                display: flex;
                flex-wrap: wrap;
                line-height: 1.5;
            }
        }
    /*  */