/* =============================================
   FONT FACES
   ============================================= */
@font-face {
  font-family: "JUST Sans";
  src: url("../Assets/Fonts/just_sans/Web Fonts/JUST Sans Regular.woff2") format("woff2"),
       url("../Assets/Fonts/just_sans/Web Fonts/JUST Sans Regular.woff") format("woff");
  font-weight: 400; font-style: normal;
}
@font-face {
  font-family: "JUST Sans";
  src: url("../Assets/Fonts/just_sans/Web Fonts/JUST Sans Bold.woff") format("woff");
  font-weight: 700; font-style: normal;
}
@font-face {
  font-family: "JUST Sans";
  src: url("../Assets/Fonts/just_sans/Web Fonts/JUST Sans Medium.woff") format("woff");
  font-weight: 500; font-style: normal;
}
@font-face {
  font-family: "JUST Sans";
  src: url("../Assets/Fonts/just_sans/Web Fonts/JUST Sans ExBold.woff") format("woff");
  font-weight: 900; font-style: normal;
}
@font-face {
  font-family: "JUST Sans";
  src: url("../Assets/Fonts/just_sans/Web Fonts/JUST Sans Italic.woff") format("woff");
  font-weight: 400; font-style: italic;
}
@font-face {
  font-family: "Inter Display";
  src: url("../Assets/Fonts/inter-display/InterDisplay-Thin.ttf") format("truetype");
  font-weight: 100; font-style: normal;
}
@font-face {
  font-family: "Inter Display";
  src: url("../Assets/Fonts/inter-display/InterDisplay-ExtraLight.ttf") format("truetype");
  font-weight: 200; font-style: normal;
}
@font-face {
  font-family: "Inter Display";
  src: url("../Assets/Fonts/inter-display/InterDisplay-Light.ttf") format("truetype");
  font-weight: 300; font-style: normal;
}
@font-face {
  font-family: "Inter Display";
  src: url("../Assets/Fonts/inter-display/InterDisplay-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal;
}
@font-face {
  font-family: "Inter Display";
  src: url("../Assets/Fonts/inter-display/InterDisplay-Medium.ttf") format("truetype");
  font-weight: 500; font-style: normal;
}
@font-face {
  font-family: "Inter Display";
  src: url("../Assets/Fonts/inter-display/InterDisplay-SemiBold.ttf") format("truetype");
  font-weight: 600; font-style: normal;
}
@font-face {
  font-family: "Inter Display";
  src: url("../Assets/Fonts/inter-display/InterDisplay-Bold.ttf") format("truetype");
  font-weight: 700; font-style: normal;
}
@font-face {
  font-family: "Inter Display";
  src: url("../Assets/Fonts/inter-display/InterDisplay-ExtraBold.ttf") format("truetype");
  font-weight: 800; font-style: normal;
}
@font-face {
  font-family: "Inter Display";
  src: url("../Assets/Fonts/inter-display/InterDisplay-Black.ttf") format("truetype");
  font-weight: 900; font-style: normal;
}


/* ------------------------------------------------------ */


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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Arial', sans-serif;
  background-color: #ffffff;
}

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

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

/* =============================================
   CSS VARIABLES
   ============================================= */
:root {
  --font-main: "JUST Sans", system-ui, -apple-system, sans-serif;
  --text-muted: #6c6c6c;
  --accent: #ff6a2d;
  --subscribe-bg: #111111;
  --blog-card-shadow: 0 10px 30px rgba(0,0,0,0.06);
  --blog-grid-gap: 24px;
  --blog-section-gap: 80px;
   --max-width: 1380px;
      --section-padding-x: clamp(16px, 5.5vw, 110px);
}

:root {
  --color-white: #FFFFFF;
  --color-white-25: #FAFAFA;
  --color-white-50: #F2F2F2;
  --color-white-100: #E6E6E6;
  --color-white-200: #CCCCCC;

  --color-black: #000000;
  --color-black-50: #0D0D0D;
  --color-black-100: #1C1C1C;
  --color-black-150: #262626;
  --color-black-200: #333333;
  --color-black-250: #BFBFBF;
  --color-black-400: #666666;
  --color-black-500: #808080;

  --color-yellow: #FFD332;
  --color-blue-500: #0080FF;
  --color-Orange-500: #FF6000;
  --color-red: #D92D3A;
  --color-green-700: #015845;
}


/* =============================================
   HEADER
   ============================================= */
.logo img {
    height: auto;
    width: auto;
    max-height: 32px; 
}

/* Header Styles */
.header-wrapper {
  width: 100%;
  z-index: 999;
  position: relative;
  
  top: 0;
  left: 0;
  right: 0;
  background: #1C1C1C;
  transition: all 0.3s ease;
}

/* Navigation */
.nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 100px;
  background: transparent;
  z-index: 9999;
  position: relative;
  height: 68px;
  transition: all 0.3s ease;
  max-width: 1920px;
  margin: auto;
}

/* When scrolled → becomes fixed */
.header-wrapper.scrolled {
  position: fixed;
  background: var(--color-white);
  border-bottom: 1px solid #c1c4c8;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* Push hero content below header */
/* .hero-section {
  padding-top: 90px;   
} */

/* Add a scroll class for when the user scrolls
.header-wrapper.scrolled {
  border-bottom: 1px solid var(--Neutral-colors-Default-Borders, #c1c4c8);
  background: var(--Neutral-colors-White, #fff);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
} */

.header-wrapper.scrolled .nav-item {
  color: var(--color-black);
}

.header-wrapper.scrolled .cta-button {
  background: var(--color-green-700);
}

.header-wrapper.scrolled .cta-text {
  color: var(--color-white);
}

.header-wrapper.scrolled .menu-toggle span {
  background-color: #121212;
}

.logo {
  font-size: 26px;
  font-weight: 700;
  white-space: nowrap;
  display: inline-block;
  cursor: pointer !important;
}

.logo img {
  height: auto;
  width: auto;
  max-height: 32px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.nav-item-wrapper {
  display: inline-flex;
  align-items: center;
  position: relative;
}

.dropdown-arrow {
  width: 16px;
  height: 16px;
  margin-left: 5px;
  vertical-align: middle;
}

.services-arrow, .products-arrow {
  width: 16px;
  height: 16px;
  margin-left: 5px;
  vertical-align: middle;
  transition: filter 0.3s ease;
  filter: brightness(0) invert(1); 
}

.header-wrapper.scrolled .services-arrow, .header-wrapper.scrolled .products-arrow {
  filter: brightness(0);
}

.nav-links img {
  width: 16px;
  height: 16px;
  vertical-align: middle;
}

.dropdown-arrow{
    width:16px;
    height:auto;
    margin-left:6px;
    cursor:pointer;
    background:transparent;
    border:none;
    display:block;
}

.dropdown{
    position: relative;
}

.services-menu h1 {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-style: Medium;
    font-size: 16px;
    line-height: 160%;
    text-transform: uppercase;
    color: var(--color-black-500);
}

.services-menu h2{
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-style: Regular;
    font-size: 18px;
    line-height: 2;
    color: var(--color-black-100);
}

/* Services Dropdown */
.services-dropdown{
  position:relative;
}

.services-menu{
  position:absolute;
  top:35px;
  left:0;
  width:382px;
  height: 134px;
  background: var(--color-white);
  border-radius:8px;
  box-shadow:0 10px 25px rgba(0,0,0,0.1);
  display:none;
  flex-direction:column;
  padding:20px 30px;
}

.services-menu.show{
  display:flex;
}

/* Products Dropdown */
.products-dropdown{
  position:relative;
}

.products-menu{
  position:absolute;
  top:35px;
  left:0;
  width:500px;
  height: 200px;
  padding: 20px 30px;
  background: var(--color-white);
  border-radius:8px;
  box-shadow:0 10px 25px rgba(0,0,0,0.1);
  display:none;
}

.products-menu.show{
  display:flex;
}

.menu-column {
    padding-right: 50px;
}

.menu-column a{
    font-family: 'Inter', sans-serif;
    padding: 10px 20px;
    text-decoration: none;
    color: var(--color-black-100);
    font-size: 18px;
    line-height: 2.3;
}

.menu-column1 a{
    font-family: 'Inter', sans-serif;
    padding: 10px 20px;
    text-decoration: none;
    color: var(--color-black-100);
    font-size: 18px;
    line-height: 2.3;
}

.dropdown-menu a:hover{
    background:#f5f5f5;
}

.dropdown-menu.show{
    display:flex;
}

/* Menu Toggle Button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  position: relative;
  outline: none;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--color-white);
  margin: 5px 0;
  border-radius: 3px;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out,
    background-color 0.3s ease;
}

/* Navigation Links */
.nav-item {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-style: Regular;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0%;
    color: var(--color-white);
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-flex;
    align-items: left;
    text-decoration: none;
}

.nav-item:hover {
  /* color: var(--primary-color); */
  transform: translateY(-2px);
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 169px;
    height: 44px;
    padding: 12px 30px;
    background: var(--color-white);
    color: var(--color-black-100);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta-button:hover {
  /* background-color: var(--primary-color); */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Mobile CTA button - hidden by default on desktop */
.mobile-cta {
  display: none;
}

.desktop-only {
  display: block;
}

.cta-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-style: Regular;
    font-size: 18px;
    line-height: 135%;
    letter-spacing: 0%;
    text-align: center;
    text-transform: capitalize;
    color: var(--color-black-100);
}

/* Responsive Styles for Header */
@media screen and (max-width: 1440px) {
  .nav-header {
    padding: 10px 40px;
  }
}

@media screen and (max-width: 1200px) {
  .nav-header {
    padding: 12px 40px;
  }

  .nav-links {
    gap: 20px;
  }

  .nav-item {
    font-size: 15px;
    text-align: left;
  }

  .cta-button {
    width: 160px;
    padding: 10px 25px;
  }

  .cta-text {
    font-size: 15px;
  }

  .logo img {
    max-height: 30px;
  }

  .header-wrapper.scrolled {
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05);
  }
}

@media screen and (max-width: 992px) {
  .nav-header {
    padding: 10px 2%;
  }

  .nav-links {
    gap: 15px;
  }

  .nav-item {
    font-size: 14px;
    text-align: left;
  }

  .dropdown-arrow {
    width: 14px;
    height: 14px;
    margin-left: 4px;
  }

  .nav-links img {
    width: 14px;
    height: 14px;
  }

  .cta-button {
    width: 140px;
    padding: 8px 20px;
    height: 40px;
  }

  .cta-text {
    font-size: 14px;
  }

  .logo img {
    max-height: 28px;
  }

  .header-wrapper.scrolled {
    border-bottom-width: 1px;
  }
}

@media screen and (min-width: 320px) and (max-width: 768px) {
    /* 1. Make the dropdown menus full width and static */
    .services-menu, 
    .products-menu {
        position: static;     /* Remove the "floating" behavior */
        width: 100% !important; /* Take up full width of the container */
        height: auto;         /* Let the content define the height */
        padding: 10px 15px;   /* Reduce padding for smaller screens */
        box-shadow: none;     /* Optional: remove shadow for a cleaner look */
        border-radius: 0;
    }

    /* 2. Fix the link alignment inside the menu */
    .menu-column, 
    .menu-column1 {
        padding-right: 0;     /* Remove large right padding */
        display: flex;
        flex-direction: column;
    }

    .menu-column a, 
    .menu-column1 a {
        font-size: 16px;      /* Slightly smaller text for mobile */
        padding: 8px 10px;    /* Better spacing for touch targets */
        line-height: 1.5;     /* Tighten up the height */
        display: block;
        width: 100%;
    }

    /* 3. Handle the 'show' state to ensure it works with flex */
    .services-menu.show, 
    .products-menu.show {
        display: flex;
        flex-direction: column;
    }
}

@media screen and (max-width: 768px) {
  .nav-header {
    padding: 12px 15px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.95);
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    gap: 15px;
    align-items: flex-start;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, display 0.1s linear;
  }

  .header-wrapper.scrolled .nav-links {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #e5e5e5;
  }

  .nav-links.active {
    display: flex;
    min-width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    row-gap: 1.25rem;
    opacity: 1;
    transform: translateY(0);
  }
  .services-arrow.scrolled {
    color: #000;
  }

  .nav-item-wrapper {
    display: flex;
    width: 100%;
    justify-content: left;
  }

  .dropdown-arrow {
    display: none;
  }

  .desktop-only {
    display: none;
  }

  .mobile-cta {
    display: inline-flex;
    width: 100%;
    margin-top: 10px;
    background: #ffffff;
  }

  .mobile-cta .cta-text {
    color: #050505;
  }

  .cta-button {
    width: 100%;
  }

  /* Hamburger menu animation */
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: #fff;
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: #fff;
  }

  .logo img {
    max-height: 26px;
  }
}

@media screen and (max-width: 576px) {
  .nav-header {
    padding: 10px 12px;
  }

  .menu-toggle span {
    width: 22px;
    height: 2px;
    margin: 4px 0;
  }

  .logo img {
    max-height: 24px;
  }

  .nav-links {
    padding: 15px;
  }

  .nav-item {
    font-size: 16px;
    padding: 8px 0;
    width: 100%;
    text-align: left;
    display: block;
  }

  .mobile-cta {
    padding: 10px 20px;
    margin-top: 8px;
  }

  .mobile-cta .cta-text {
    font-size: 15px;
  }

  .header-wrapper.scrolled {
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
  }

  .header-wrapper.scrolled .nav-links {
    padding-top: 12px;
    padding-bottom: 12px;
  }
}

@media screen and (max-width: 480px) {
  .logo {
    font-size: 22px;
  }

  .nav-header {
    padding: 8px 10px;
  }

  .logo img {
    max-height: 26px;
  }

  .menu-toggle span {
    width: 20px;
    margin: 3px 0;
  }

  .nav-links {
    padding: 12px;
    gap: 12px;
  }

  .nav-item {
    font-size: 15px;
  }

  .mobile-cta {
    padding: 8px 15px;
    height: 40px;
  }

  .mobile-cta .cta-text {
    font-size: 14px;
  }

  .header-wrapper.scrolled {
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
  }
}

@media screen and (max-width: 375px) {
  .logo img {
    max-height: 24px;
  }

  .nav-header {
    padding: 8px;
  }

  .menu-toggle span {
    width: 18px;
    height: 1.5px;
  }

  .nav-item {
    font-size: 14px;
  }

  .mobile-cta {
    height: 38px;
  }

  .mobile-cta .cta-text {
    font-size: 13px;
  }
}

@media screen and (max-width: 320px) {
  .logo img {
    max-height: 18px;
  }

  .nav-header {
    padding: 6px;
  }

  .menu-toggle span {
    width: 16px;
    height: 1.5px;
    margin: 3px 0;
  }

  .nav-links {
    padding: 10px;
  }

  .nav-item {
    font-size: 13px;
  }

  .mobile-cta {
    height: 36px;
    padding: 6px 12px;
  }

  .mobile-cta .cta-text {
    font-size: 12px;
  }

  .hero-cta,
  .hero-secondary-cta {
    min-width: 100px;
    padding: 6px 10px;
  }

  .hero-cta .hero-cta-text,
  .hero-secondary-cta .hero-cta-text {
    font-size: 12px;
  }
}



/* =============================================
   HERO SECTION — pixel-perfect match to Image 1
   ============================================= */
.blog-hero {
  width: 100%;
  background: #1C1C1C;
  box-sizing: border-box;
  /* Exact padding matching Image 1:
     top = 60px header height + 28px gap = 88px
     sides = 160px (leaves ~1200px content at 1536px wide)
     bottom = 56px */
  padding: 88px 160px 56px;
}

.blog-hero-inner {
  max-width: calc(1400px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 56px; /* gaps are controlled individually below */
}

/* ── TOP ROW: "Our blog" + title LEFT  |  search RIGHT ── */
.blog-hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  margin-top: 70px;
  margin-bottom: 48px; /* space between top row and bottom row */
}

.blog-hero-heading {
  flex: 1 1 auto;
  max-width: 580px;
}

.blog-kicker {
  font-family: JUST Sans;
  font-weight: 400;
  font-style: Regular;
  line-height: 160%;
  letter-spacing: 0%;
  width: 584px;
  height: 29px;
  font-size: 18px;
  line-height: 160%;
  color: #E6E6E6;
  margin-bottom: 8px;
}

.blog-title {
  font-family: Inter Display;
  font-weight: 700;
  font-style: Bold;
  font-size: 70px;      
  line-height: 120%;
  color: #fff;
  letter-spacing: 0%;
  width: 610px;
  height: 144px;
}
/* Search box — top-right, aligned with "Our blog" kicker row */
.blog-search {
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 0;
}

.blog-search-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 220px;
  height: 48px;
  padding: 12px 20px;
  background: transparent;
  border: 0.5px solid rgba(255,255,255,0.8);
  border-radius: 8px;
}

.blog-search-icon { display: flex; align-items: center; flex-shrink: 0; }
.blog-search-icon img { width: 20px; height: 20px; }

.blog-search input {
  border: none; outline: none;
  background: transparent;
  font-family: "JUST Sans", sans-serif;
  font-size: 16px;
  color: #CCC;
  width: 100%;
}
.blog-search input::placeholder { color: #CCC; }

/* ── BOTTOM ROW: image LEFT  |  content RIGHT ── */
.blog-hero-bottom {
  display: grid;
  grid-template-columns: minmax(0,536px) minmax(0,45fr); 
  gap: clamp(32px, 6vw, 100px);
}
/* width: 1440;
height: 378;
angle: 0 deg;
opacity: 1;
gap: 60px;
 */

.blog-hero-image { 
  width: 100%; 
  overflow: hidden;
}
.blog-hero-image img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  display: block;
}

.blog-hero-content { 
  display: flex;
  flex-direction: column;
  gap: 14px;

}

.blog-meta {
  font-size: 16px;
  line-height: 160%;
  color: rgba(255, 211, 50, 1);
}

.blog-hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.8vw, 36px);
  line-height: 132%;
  color: #fff;
}

.blog-hero-sub {
  font-size: 16px;
  line-height: 160%;
  color:rgba(230, 230, 230, 1);
}


/* =============================================
   HERO RESPONSIVE
   ============================================= */

/* 1440px */
@media (max-width: 1440px) {
.blog-hero { padding: calc(64px + 20px) 80px clamp(40px, 5vw, 72px); }
  .blog-title { font-size: 58px; }
  .blog-hero-bottom { gap: 56px; }
  .blog-hero-title { font-size: 30px; }
}

/* 1280px */
@media (max-width: 1280px) {
  .blog-hero { padding: calc(64px + 20px) 60px clamp(40px, 5vw, 72px); }
  .blog-title { font-size: 52px; }
  .blog-hero-bottom { gap: 40px; }
  .blog-hero-title { font-size: 26px; }
}

/* 1024px */
@media (max-width: 1024px) {
  .blog-hero { padding: 80px 48px 48px; }
  .blog-hero-top { margin-bottom: 36px; }
  .blog-title { font-size: 46px; }
  .blog-hero-bottom {
    grid-template-columns: 1fr;          
    gap: 28px;
  }
  .blog-hero-image img { height: auto; width: 100%; }
  .blog-hero-title { font-size: 24px; }
}


/* 768px */
@media (max-width: 768px) {
  .blog-hero { padding: 76px 32px 44px; }
  .blog-hero-top {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 28px;
  }
  .blog-hero-heading { max-width: 100%; }
  .blog-search { width: 100%; }
  .blog-search-box { width: 100%; }
  .blog-title { font-size: 38px; }
  .blog-hero-title { font-size: 20px; }
  .blog-meta { font-size: 14px; }
  .blog-hero-sub { font-size: 14px; }
  .blog-hero-image img { height:auto; }
}

/* 480px */
@media (max-width: 480px) {
  .blog-hero { padding: 72px 20px 40px; }
  .blog-title { font-size: 30px; line-height: 120%; width: 100%; height: 100%; }
  .blog-kicker { font-size: 14px; width: 100%; }
  .blog-hero-top { margin-top: 0px;}
  .blog-hero-title { font-size: 18px; }
  .blog-meta { font-size: 13px; }
  .blog-hero-sub { font-size: 13px; }
  .blog-hero-bottom { gap: 20px; }
  .blog-hero-image img { max-height: 200px; }
}

/* 375px */
@media (max-width: 375px) {
  .blog-hero { padding: 36px 16px 36px; }
  .blog-title { font-size: 26px; }
  .blog-title { font-size: 22px; width: 100%; height: 100% }
  .blog-kicker { width: 100%; }
  .blog-hero-top { margin-top: 0px; }
  .blog-hero-title { font-size: 16px; }
}

/* 320px */
@media (max-width: 320px) {
  .blog-hero { padding: 32px 14px 32px; }
  .blog-title { font-size: 22px; width: 100%; height: 100% }
  .blog-kicker { width: 100%; }
  .blog-hero-title { font-size: 14px; }
  .blog-hero-top { margin-top: 0px; }
  .blog-search input { font-size: 14px; }
  .blog-hero-inner {
    gap: 0px;
  }
}


/* =============================================
   BLOG CARDS SECTION
   ============================================= */
/* .blog-section { background: #fff; } */

.blog-section-inner {
  max-width: 1608px;
  width: 100%;
  margin: 0 auto;
  padding: 80px clamp(16px, 5.5vw, 110px);
  box-sizing: border-box;
}

/* Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--blog-grid-gap);
}

.blog-grid-top    { margin-bottom: var(--blog-section-gap); }
.blog-grid-bottom { margin-bottom: var(--blog-section-gap); }
.blog-grid-extra  { margin-bottom: var(--blog-section-gap); }

/* Cards */
.blog-card {
  margin-bottom: 20px;
  width: 100%;
  background: #fff;
  /* box-shadow: var(--blog-card-shadow); */
  overflow: hidden;
  display: flex;
  flex-direction: column;
   transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* width: 464;
height: 376;
angle: 0 deg;
opacity: 1;
gap: 12px;
 */
.blog-card:hover {
  transform: translateY(-4px);
  /* box-shadow: 0 16px 40px rgba(0,0,0,0.1); */
}


.blog-card-img {
  width: 100%;
  height: 300px;
  object-fit:cover;
  background: #fff;
  display: block;
  flex-shrink: 0;
}

.blog-card-title {
  margin-top: 12px;
  margin-bottom: 12px;
  font-family: "JUST Sans", sans-serif;
  font-weight: 500;
  font-size: 18px;
  width: 100%;
  height: auto;
  line-height: 140%;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp:2;
  color: #333;
  margin-bottom: 20px;
}

.blog-card-flex{
  display: flex;
  justify-content:space-between;
}

/* Extra cards hidden by default */
.blog-card-extra { display: none; }


/* =============================================
   SUBSCRIBE BANNER
   ============================================= */
.blog-subscribe { 
  width: 100%;
  margin-bottom: var(--blog-section-gap); 
}

.blog-subscribe-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 48px 56px;
  background-color: var(--subscribe-bg);
  background-image: url("../Assets/images/blog_1.webp");
  background-size:cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-sizing: border-box;
  overflow: hidden;
}

.blog-subscribe-inner h3 b {
  font-family: "Inter Display", sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 110%;
  color: #fff;
  display: block;
}

.blog-subscribe-inner-text{
  max-width: 495px;
  height: auto;
  display: flex;
  align-items: center;
  font-family: Inter Dispaly;
  font-weight: 700;
  font-style: Bold;
  font-size: 44px;
  line-height: 100%;
  letter-spacing: 0%;
}

.blog-subscribe-form {
  display: flex;
  width: 100%;
  max-width: 430px;
  height: auto;
  padding-right : 0;
  gap: 10px;
  flex-shrink: 0;
}

.blog-subscribe-form input {
  width: 100%;
  height: 48px;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #CCC;
  background: #fff;
  color: #555;
  min-width:unset;
  font-size: 14px;
  flex: 1;
}
.blog-subscribe-form input::placeholder {
   color: rgba(179, 179, 179, 1);
   width: 228px;
   height: 26px;
   font-size: 16px;
   font-weight: 400; 
   font-style: Regular;
   line-height: 160%;
   letter-spacing: 0%;
   vertical-align: middle;

}
/* width: 160;
height: 48;
angle: 0 deg;
opacity: 1;
gap: 10px;
border-radius: 8px;
padding-top: 12px;
padding-right: 20px;
padding-bottom: 12px;
padding-left: 20px;
 */

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px;
  padding: 12px 24px;
  background: rgba(0, 182, 79, 1);
  border: none;
  width: 160px;
  height: 48px;
  color: #fff;
  font-size: 18px;
  font-style: Medium;
  font-weight: 500;
  line-height: 135%;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.88; }

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px;
  padding: 12px 32px;
  background: #fff;
  border: 0.5px solid #1C1C1C;
  color: #1C1C1C;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.btn-outline:hover { background: #f5f5f5; }

/* Load More */
.blog-load-more-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}


/* =============================================
   BLOG SECTION RESPONSIVE
   ============================================= */
@media (max-width: 1440px) {
  .blog-section-inner { padding: 70px 80px; }
}

@media (max-width: 1200px) {
  .blog-section-inner { padding: 60px 60px; }
}

@media (max-width: 1024px) {
  .blog-section-inner { padding: 60px 48px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  
}

@media (max-width: 768px) {
  .blog-section-inner { padding: 50px 32px; }
  .blog-grid { grid-template-columns: 1fr; gap: 24px; }
  .blog-card-img { height:auto; }
  
}

@media (max-width: 480px) {
  .blog-section-inner { padding: 40px 20px; }
  .blog-card-title { font-size: 16px; }
}

@media (max-width: 375px) {
  .blog-section-inner { padding: 36px 16px; }
}

@media (max-width: 320px) {
  .blog-section-inner { padding: 32px 14px; }
  .blog-card-title { font-size: 15px; }
}

/* =========================
   Large Desktop (1400px+)
========================= */
@media (max-width: 1400px) {

  .blog-subscribe-inner{
    padding:40px 40px;
  }

}

/* =========================
   Laptop (1024px - 1399px)
========================= */
@media (max-width: 1200px){

  .blog-subscribe-inner{
    padding:36px 32px;
    gap:24px;
  }

  .blog-subscribe-inner h3 b{
    font-size:36px;
  }

}

/* =========================
   Tablet (768px - 1023px)
========================= */
@media (max-width:1023px){

  .blog-subscribe-inner{
    flex-direction:column;
    align-items:flex-start;
    gap:24px;
  }

  .blog-subscribe-form{
    max-width:100%;
  }

  .blog-subscribe-inner h3 b{
    font-size:32px;
  }

}

/* =========================
   Mobile (481px - 767px)
========================= */
@media (max-width:767px){

  .blog-subscribe-inner{
    padding:28px 20px;
  }

  .blog-subscribe-inner h3 b{
    font-size:26px;
  }

  .blog-subscribe-form{
    flex-direction:column;
    gap:12px;
  }

  .blog-subscribe-form input{
    width:100%;
  }

  .btn-primary{
    width:100%;
  }

}

/* =========================
   Small Mobile (320px - 480px)
========================= */
@media (max-width:480px){

  .blog-subscribe-inner{
    padding:24px 16px;
  }

  .blog-subscribe-inner h3 b{
    font-size:22px;
    line-height:120%;
  }

  .blog-subscribe-form input{
    height:44px;
    font-size:14px;
  }

  .btn-primary{
    height:44px;
    font-size:16px;
  }

}


/* =============================================
   FOOTER
   ============================================= */
.footer-section {
    max-width: 1920px;
    width: 100%;
    margin: 0 auto;
    background: #FAFAFA;
    border-top: 0.5px #E6E6E6 solid;
    display: flex;
    justify-content: center;
    padding: clamp(40px, 6.25vw, 120px) 0;
    box-sizing: border-box;
}

/* Container inside footer */
.footer-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: clamp(20px, 3.125vw, 60px);
    gap: clamp(40px, 6.25vw, 120px);
    box-sizing: border-box;
}

/* Top content row */
.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: clamp(30px, 4vw, 60px);
    align-items: start;
}

/* Left column with title and button */
.footer-left {
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 1.25vw, 24px);
    max-width: 500px;
}

.footer-title {
    font-family: Inter Display;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 40px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #1C1C1C;
}

.footer-button {
    width: 100%;
    max-width: 100%;
    padding: 12px 20px;
    display: flex;
    background-color: #1C1C1C;
    justify-content: center;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-button a {
    display: flex;
    grid-template-columns: column;
    text-decoration: none;
    color: #ffffff;
}

.footer-button:hover {
    background: #333;
    transform: translateY(-2px);
}

.footer-section a {
    text-decoration: none !important;
}   

.button-text {
    font-family: JUST Sans;
    font-weight: 400;
    font-style: Regular;
    font-size: 18px;
    line-height: 135%;
    letter-spacing: 0%;
    text-align: center;
    text-transform: capitalize;
    color: #FFFFFF;
    /* white-space: nowrap; */
}

.button-arrow {
    width: 20px;
    height: 20px;
    margin-left: 5px;
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-arrow::before {
    content: '→';
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
}

.icon {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: 50%;
}

.icon a img{
  transition:transform 0.3s ease;
}

.icon a:hover img{
  transform:scale(1.30);
}

/* Columns */
.footer-column {
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 0.83vw, 16px);
    min-width: 140px;
}

.footer-column a {
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 160%;
    letter-spacing: 0%;
    vertical-align: middle;
    color: #4D4D4D;
}

.footer-bottom a{
    text-decoration: none;
    color: #4D4D4D;
}

.footer-column a:hover {
    color: #1A1A1A;
}

.footer-column div {
    color: #4D4D4D;
    font-size: clamp(14px, 0.83vw, 16px);
    line-height: 1.5;
}

.footer-column div a {
    color: #4D4D4D;
}

.footer-column div a:hover {
    color: #1A1A1A;
}

.column-title {
    font-weight: 500;
    font-style: Medium;
    font-size: 16px;
    line-height: 160%;
    letter-spacing: 0%;
    vertical-align: middle;
    text-transform: uppercase;
    color: #1C1C1C;
}

/* Footer bottom row */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-weight: 400;
    font-style: Regular;
    font-size: 18px;
    line-height: 1.6;
    letter-spacing: 0%;
    vertical-align: middle;
    color: #4D4D4D;
}

.footer-bottom div:last-child {
    text-align: right;
}

/* Image Section */
.footer-image {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-image img {
    width: 100%;
    max-width: 1920px;
    height: auto;
    object-fit: contain;
}
/* .footer-bottom a { text-decoration: none; color: #999; }
.footer-bottom div:last-child { text-align: right; }

.footer-section a { text-decoration: none !important; }
.footer-section .text-decoration { color: #999; }
.footer-section .text-reset { color: #999; } */

.footer-image {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-image img {
    width: 100%;
    max-width: 1920px;
    height: auto;
    object-fit: contain;
}


/* =============================================
   FOOTER RESPONSIVE
   ============================================= */
@media (max-width: 1920px) and (min-width: 1441px) {
    .footer-section {
        padding: 0;
    }
    
    .footer-container {
        padding: 50px;
        gap: 100px;
    }
}

/* Desktop/Laptop (1280px - 1440px) */
@media (max-width: 1440px) {
    .footer-section {
        padding: 80px 0;
    }

    .icon{
        width: 50%;
    }
    
    .footer-container {
        padding: 40px;
        gap: 80px;
    }
    
    .footer-top {
        gap: 50px;
    }
}

/* Small Laptop (1024px - 1279px) */
@media (max-width: 1279px) {
    .footer-section {
        padding: 60px 0;
    }
    
    .footer-container {
        padding: 30px;
        gap: 60px;
    }

    .icon {
        width: 50%;
    }
    
    .footer-top {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }

    .footer-left {
        grid-column: 1 / -1;  
        max-width: 100%;
    }
}

/* Tablet Portrait & Landscape (769px - 1023px) */
@media (max-width: 1024px) {
    .footer-section {
        padding: 50px 0;
    }
    
    .footer-container {
        padding: 25px;
        gap: 50px;
    }
    
    .footer-top {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }   

    .icon {
        width: 30%;
    }
    
    .footer-left {
        max-width: 100%;
    }
    
    .footer-title {
        font-size: 32px;
    }
    
    .footer-bottom {
        gap: 16px;
    }
    
    .footer-bottom div:last-child {
        text-align: left;
    }
}

/* Tablet (481px - 768px) */
@media screen and (max-width: 768px) {
    .nav-header {
    padding: 10px 20px;
  }

  /* Show hamburger */
  .menu-toggle {
    display: block;
  }

  /* Hide desktop nav */
  .nav-links {
    display: none;
    position: absolute;
    top: 68px; /* below header */
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    gap: 20px;
    padding: 25px 20px;
    border-top: 1px solid #eee;
  }

  /* When menu is open */
  .nav-links.active {
    display: flex;
    background-color: #000000F2;
  }

  .icon {
    width: 30%;
  }

  /* Center links */
  .nav-item-wrapper {
    width: 100%;
    justify-content: center;
  }

  .nav-item {
    font-size: 18px;
  }

  /* Hide desktop CTA */
  .desktop-only {
    display: none;
  }

  /* Show mobile CTA */
  .mobile-cta {
    display: flex;
    width: 100%;
    justify-content: center;
  }

  .cta-button {
    width: 100%;
    max-width: 280px;
  }

    .footer-section {
        padding: 40px 0;
    }
    
    .footer-container {
        padding: 20px;
        gap: 40px;
    }
    
    .footer-top {
        display: grid;
        grid-template-columns: repeat(3,1fr);
        gap: 32px 24px;
    }
    
    .footer-left {
        grid-column: 1 / -1;
        max-width: 100%;
    }
    
    .footer-title {
        font-size: 28px;
    }
    
    .footer-button {
        padding: 16px 24px;
    }
}

/* Large Mobile (376px - 480px) */
@media (max-width: 480px) {
    .footer-section {
        padding: 32px 0;
    }
    
    .footer-container {
        padding: 16px;
        gap: 32px;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 28px 20px;
    }
    
    .footer-left {
        grid-column: 1 / -1;
    }

    .icon {
        width: 100%;
        gap: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .footer-title {
        font-size: 24px;
        line-height: 1.3;
    }
    
    .footer-button {
        width: 100%;
        padding: 16px 20px;
    }
    
    .footer-bottom {
        gap: 12px;
        font-size: 13px;
    }
    
    .footer-bottom div {
        text-align: left;
    }
}

/* Small Mobile (320px - 375px) */
@media (max-width: 375px) {
    .footer-section {
        padding: 24px 0;
    }
    
    .footer-container {
        padding: 12px;
        gap: 28px;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 24px 16px;
    }
    
    .footer-title {
        font-size: 22px;
    }
    
    .button-text {
        font-size: 15px;
    }
    
    .footer-column {
        gap: 10px;
    }
    
    .footer-column a,
    .footer-column div,
    .column-title {
        font-size: 13px;
    }
    
    .footer-bottom {
        font-size: 12px;
        gap: 10px;
    }
}

/* Extra Small Devices (< 320px) */
@media (max-width: 320px) {
    .footer-container {
        padding: 10px;
        gap: 24px;
    }

    .nav-header {
      width: 100%;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .footer-title {
        font-size: 20px;
    }
    
    .footer-bottom {
        font-size: 11px;
    }
}