/* Reset-ish */
/* Base Styles & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "poppins", sans-serif;
}

.H-home-hero-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    padding: 150px 20px;
    overflow-x: hidden;
}

.H-home-content-wrapper {
    max-width: 1400px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Typography */
.H-home-main-title {
    font-size: 3rem; /* Responsive font size */
    font-weight: 500;
    color: #000;
    margin-bottom: 40px;
    line-height: 1.2;
}

.H-home-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #1a1a1a;
    margin: 30px 0;
}

/* Slider Image Area */
.H-home-slider-viewport {
    width: 100%;
    max-width: 320px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.H-home-slider-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    /* Adding a slight shadow to match the screenshot vibe */
    /* filter: drop-shadow(0 20px 30px rgba(0,0,0,0.1)); */
    transition: opacity 0.5s ease;
}

/* Buttons */
.H-home-button-group {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.H-home-btn {
    text-decoration: none;
    padding: 14px 45px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 140px;
}

.H-home-btn-shop {
    background-color: #e5e5e5;
    color: #555;
}

.H-home-btn-shop:hover {
    background-color: #d4d4d4;
}

.H-home-btn-about {
   background-color: #e5e5e5;
    color: #555;
}

.H-home-btn:hover {
    background-color: #000;
    color: white;
}

/* Responsive Media Queries */
@media (max-width: 768px) {
    .H-home-main-title {
        margin-bottom: 20px;
    }
    .H-home-slider-viewport {
        max-width: 280px;
    }
    .H-home-button-group {
        flex-direction: column;
        width: 100%;
        max-width: 250px;
    }
    .H-home-btn {
        width: 100%;
        text-align: center;
    }
}

.H-home-categories-section {
    padding: 80px 20px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.H-home-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    width: 100%;
}

.H-home-category-card {
    background: #ffffff;
    border-radius: 30px;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03); /* Soft subtle shadow */
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.H-home-category-card:hover {
    transform: translateY(-5px);
}

.H-home-cat-subtitle {
    font-size: 1.1rem;
    color: #000;
    margin-bottom: 15px;
    font-weight: 400;
}

.H-home-cat-title {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 15px;
    color: #000;
}

.H-home-cat-discount {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 25px;
}

.H-home-cat-image-box {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.H-home-cat-image-box img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    /* filter: drop-shadow(0 15px 15px rgba(0,0,0,0.1)); */
}

.H-home-cat-link {
    color: #000;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border-bottom: 1px solid transparent;
    transition: border 0.3s ease;
}

.H-home-cat-link:hover {
    border-bottom: 1px solid #000;
}

/* Shop All Button */
.H-home-footer-action {
    margin-top: 50px;
}

.H-home-btn-all {
    background: #000;
    color: #fff;
    padding: 15px 60px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.H-home-btn-all:hover {
    opacity: 0.85;
}

/* Responsiveness */
@media (max-width: 1024px) {
    .H-home-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .H-home-categories-grid {
        grid-template-columns: 1fr;
    }
    
    .H-home-cat-title {
        font-size: 1.25rem;
    }
}

.H-home-brands-section {
    width: 100%;
    padding: 60px 0;
    background-color: #fff;
    overflow: hidden;
}

/* Header with lines on side */
.H-home-brands-header {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 50px;
    padding: 0 5%;
}

.H-home-brands-header::before,
.H-home-brands-header::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #000;
}

.H-home-brands-title {
    padding: 0 20px;
    font-size: 24px;
    font-weight: 700;
    white-space: nowrap;
    text-transform: capitalize;
}

/* Slider Logic */
.H-home-slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.H-home-slider-track {
    display: flex;
    width: calc(250px * 14); /* Adjust based on (item width * total items) */
    animation: H-home-scroll 30s linear infinite;
}

.H-home-logo-item {
    width: 250px; /* Width of each logo container */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 40px;
}

.H-home-logo-item img {
    max-width: 150px;
    height: auto;
    filter: grayscale(100%); /* Keeps logos black & white like screenshot */
    opacity: 0.8;
    transition: opacity 0.3s;
}

.H-home-logo-item img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Endless Loop Animation */
@keyframes H-home-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 7)); /* Move by exactly half the track */
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .H-home-brands-title {
        font-size: 20px;
    }
    .H-home-logo-item {
        width: 180px;
        padding: 0 20px;
    }
    @keyframes H-home-scroll {
        100% { transform: translateX(calc(-180px * 7)); }
    }
}

.H-home-insta-section {
    width: 100%;
    padding: 80px 0 0 0;
    background-color: #fff;
    text-align: center;
}

/* Text Content */
.H-home-insta-header {
    max-width: 1500px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.H-home-insta-main-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 25px;
    color: #000;
}

.H-home-insta-lead-text {
    font-size: 1.4rem;
    line-height: 1.8;
    color: #888;
    font-weight: 400;
}

/* Instagram Logo Area */
.H-home-insta-brand-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.H-home-insta-icon {
    width: 45px;
    height: 45px;
}

.H-home-insta-handle {
    font-size: 1.5rem;
    font-weight: 500;
}

/* Responsive Gallery Grid */
.H-home-insta-gallery {
    display: flex;
    width: 100%;
    overflow: hidden;
}

.H-home-insta-item {
    position: relative;
    flex: 1;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    cursor: pointer;
}

.H-home-insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Hover Effect */
.H-home-insta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-weight: 600;
}

.H-home-insta-item:hover img {
    transform: scale(1.1);
}

.H-home-insta-item:hover .H-home-insta-overlay {
    opacity: 1;
}

/* Tablet & Mobile Adjustments */
@media (max-width: 1024px) {
    .H-home-insta-gallery {
        flex-wrap: wrap;
    }
    .H-home-insta-item {
        flex: calc(100% / 3); /* 3 images per row on tablet */
    }
}

@media (max-width: 600px) {
    .H-home-insta-item {
        flex: calc(100% / 2); /* 2 images per row on mobile */
    }
    .H-home-insta-main-title {
        font-size: 1.5rem;
    }
}

.H-home-features-section {
    width: 100%;
    padding: 100px 5%;
    background-color: #fff;
}

.H-home-features-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 50px;
    align-items: center;
}

/* Feature Grid (3 columns) */
.H-home-features-grid {
    flex: 1.2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.H-home-feature-card {
    background: #fff;
    color: #000; /* Explicitly set base color */
    border-radius: 40px;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
    
    /* Updated transition: handles color, background, and movement smoothly */
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); 
    
    display: flex;
    flex-direction: column;
    justify-content: center;
        align-items: center;
    min-height: 200px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.H-home-feature-card:hover {
    background: #000;
    color: #fff;
    border-color: #000; /* Changing border color instead of 'none' prevents layout jump */
    transform: translateY(-10px); /* Adds a subtle lift */
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Smooth transition for the subtitle text as well */
.H-home-feature-card .H-home-feature-subtitle {
    transition: color 0.4s ease;
}

.H-home-feature-card:hover .H-home-feature-subtitle {
    color: #bbb;
}
/* Normal state for the icon */
.H-home-icon {
    width: 40px;
    margin-bottom: 20px;
    display: block;
    /* Added transition to match the card's smoothness */
    transition: filter 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Hover state triggered by the parent card */
.H-home-feature-card:hover .H-home-icon {
    /* brightness(0) makes it black (safety), then invert(1) makes it white */
    filter: brightness(0) invert(1);
}

.H-home-feature-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.H-home-feature-subtitle {
    font-size: 0.8rem;
    color: #888;
}

.H-home-card-dark .H-home-feature-subtitle {
    color: #bbb;
}

/* Image Wrapper */
.H-home-features-image-wrap {
    flex: 1;
}

.H-home-store-img {
    width: 100%;
    border-radius: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    display: block;
    object-fit: cover;
}

/* Responsive Scaling */
@media (max-width: 1100px) {
    .H-home-features-container {
        flex-direction: column;
    }
    .H-home-features-grid {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .H-home-features-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
    }
}

@media (max-width: 480px) {
    .H-home-features-grid {
        grid-template-columns: 1fr; /* 1 column on very small phones */
    }
    
    .H-home-insta-lead-text {
    font-size: 1.1rem;
   
}
}


:root {
  --law-gr-gold: #b59449;
  --law-gr-dark: #12191b;
  --law-gr-bg: #f8f9fa;
  --law-gr-blue: #4285f4;
}

.law-gr-reviews-section {
  padding: 60px 5%;
  background-color: #ffffff;
  font-family: "poppins", sans-serif;
}

/* Header Summary Card */
.law-gr-summary-card {
  background-color: transparent;
  padding: 30px 150px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  border-radius: 4px;
}

.law-gr-google-text {
  font-size: 28px;
  font-weight: bold;
  color: var(--law-gr-dark);
}
.law-gr-review-text {
  font-size: 28px;
  font-weight: bold;
  color: #5f6368;
  margin-left: 5px;
}

.law-gr-rating-wrap {
  display: flex;
  align-items: center;
  gap: 15px;
}
.law-gr-rating-num {
  font-size: 32px;
  font-weight: bold;
}
.law-gr-stars {
  color: #fbbc05;
  font-size: 24px;
}
.law-gr-count {
  color: var(--law-gr-gold);
  font-size: 24px;
}

.law-gr-write-btn {
  background: black;
  color: white;
  border: 1px solid #ddd;
  padding: 20px 40px;
  border-radius: 30px;
  font-size: 1.2rem;
  font-weight: 300;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Reviews Grid */
.law-gr-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.law-gr-card {
  background-color: var(--law-gr-bg);
  padding: 30px;
  border-radius: 4px;
}

.law-gr-user-info {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}
.law-gr-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.law-gr-user-name {
  display: block;
  font-weight: bold;
  font-size: 16px;
  color: var(--law-gr-dark);
}
.law-gr-verified {
  color: #4285f4;
  font-style: normal;
  font-size: 14px;
}
.law-gr-date {
  font-size: 13px;
  color: #888;
}

.law-gr-card-stars {
  color: #fbbc05;
  margin-bottom: 15px;
  font-size: 20px;
}
.law-gr-text {
  font-size: 14px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 50px;
}
.law-gr-readmore {
  color: #4285f4;
  text-decoration: underline;
  font-weight: bold;
  font-size: 14px;
}

/* The Moving Track */
.law-gr-slider-track {
  display: flex;
  width: calc(350px * 6 + 150px); /* Card width * total cards + gaps */
  gap: 30px;
  animation: law-gr-scroll 20s linear infinite;
}

/* Pause animation on hover */
.law-gr-slider-track:hover {
  animation-play-state: paused;
}

/* Slider Viewport */
.law-gr-slider-viewport {
  padding: 40px 0;
  overflow: hidden;
  background-color: #ffffff; /* Aapka existing white bg */
}

/* Track Container */
.law-gr-slider-track {
  display: flex;
  gap: 30px;
  padding: 20px; /* Shadows cut na ho isliye padding */
}

/* Glassmorphism Card Styling */
.law-gr-card {
  flex: 0 0 350px;
  /* Glass Effect Properties */
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  /* Border and Shadow for Depth */
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);

  padding: 30px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
}

/* Hover Effect for Premium Feel */
.law-gr-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 15px 45px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(181, 148, 73, 0.2); /* Subtle Gold border on hover */
}

/* Avatar Styling */
.law-gr-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Typography inside Glass Card */
.law-gr-user-name {
  font-weight: 700;
  color: #12191b;
  font-size: 16px;
}

.law-gr-card-stars {
  color: #fbbc05;
  margin: 15px 0;
  letter-spacing: 2px;
}

.law-gr-text {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 20px;
  /* Limit text height for symmetry */
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.law-gr-readmore {
  margin-top: auto;
  color: #b59449; /* Gold color */
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Animation Keyframes */
@keyframes law-gr-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    /* Move by the width of the first 3 cards */
    transform: translateX(calc(-350px * 3 - 90px));
  }
}

/* Google Logo Colors */
.law-gr-google-logo {
  font-size: 28px;
  font-weight: bold;
  font-family: "poppins", sans-serif; /* Best if available, otherwise Arial */
}

.g-blue {
  color: #4285f4;
}
.g-red {
  color: #ea4335;
}
.g-yellow {
  color: #fbbc05;
}
.g-green {
  color: #34a853;
}

.H-home-insta-item {
    display: block; /* anchor tag ko block banane ke liye */
    position: relative;
    flex: 1;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    text-decoration: none; /* blue underline hatane ke liye */
    color: inherit; /* text color same rakhne ke liye */
}

.H-home-insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover par image halki zoom hogi */
.H-home-insta-item:hover img {
    transform: scale(1.1);
}

/* Overlay smooth fade-in */
.H-home-insta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8); /* Premium white wash effect */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.4s ease;
    font-weight: 600;
    color: #000;
}

.H-home-insta-item:hover .H-home-insta-overlay {
    opacity: 1;
}
.H-home-feature-card {
    display: flex; /* alignment ke liye */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
    text-decoration: none; /* underline hatane ke liye */
    color: inherit; /* text color parent jaisa rakhne ke liye */
    
    background: #fff;
    border-radius: 40px;
    padding: 40px 20px;
    text-align: center;
    border: 1px solid #f0f0f0;
    min-height: 200px;
    
    /* Premium Smooth Transition */
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

/* Hover Effect Upgrade */
.H-home-feature-card:hover {
    background: #000;
    color: #fff !important; /* Force white text */
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
    border-color: #000;
}

/* Icon Filter on Hover */
.H-home-feature-card:hover .H-home-icon {
    filter: brightness(0) invert(1);
    transform: scale(1.1);
}

.H-home-icon {
    width: 40px;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

/* Subtitle color smooth transition */
.H-home-feature-subtitle {
    transition: color 0.4s ease;
    color: #888;
}

.H-home-feature-card:hover .H-home-feature-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
   
}

@media (max-width: 480px) {
   .law-gr-summary-card{
    flex-direction: column;
    padding: 5px;
    gap: 20px;
   }
   .law-gr-write-btn{
    padding: 10px 20px;
    font-size: 0.9rem;
   }
   .law-gr-count {
    font-size: 16px;
   }
   .law-gr-stars{
    font-size: 16px;
   }
   .law-gr-rating-num {
    font-size: 26px;
   }
   .H-home-hero-container{
    padding-bottom: 50px ;
   }
  
}
