/* =========================================
   AS Digital Gift Printing Solutions
   Global Stylesheet
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@900&family=Open+Sans:wght@400;500;600&display=swap');

:root {
  /* Brand Colors from image */
  --color-brand-1: #add43c;
  /* Green */
  --color-brand-2: #f61110;
  /* Red */
  --color-brand-3: #ff9100;
  /* Orange */
  --color-brand-4: #178dc4;
  /* Blue */

  /* Primary fallbacks */
  --color-primary: var(--color-brand-3);
  --color-primary-hover: #e68200;
  --color-secondary: var(--color-brand-2);
  --color-white: #FFFFFF;
  --color-light-grey: #F8F9FA;
  --color-dark-grey: #e9ecef;
  --color-text-dark: #333333;
  --color-text-light: #666666;

  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  /* Utilities */
  --border-radius: 8px;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --box-shadow-hover: 0 15px 40px rgba(255, 107, 0, 0.15);
  --transition-fast: 0.3s ease;
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================
   Reset & Base Styles
   ========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-light);
  line-height: 1.6;
  background-color: var(--color-white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-text-dark);
  font-weight: 900;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 4px;
  background-color: var(--color-primary);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.section-title p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* =========================================
   Buttons
   ========================================= */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--color-brand-2);
  /* Red */
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: #cc0000;
  /* Darker red */
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(246, 17, 16, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
}

.btn-outline:hover {
  background-color: var(--color-secondary);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(230, 0, 0, 0.3);
}

/* =========================================
   Header & Navigation
   ========================================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-white);
  /* Solid white as requested */
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: padding var(--transition-fast);
  padding: 15px 0;
}

header.scrolled {
  padding: 10px 0;
  background-color: rgba(255, 255, 255, 1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
}

.nav-menu {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text-dark);
  position: relative;
}

.nav-link:nth-child(1).active,
.nav-link:nth-child(1):hover {
  color: var(--color-brand-1);
}

.nav-link:nth-child(1)::after {
  background-color: var(--color-brand-1);
}

.nav-link:nth-child(2).active,
.nav-link:nth-child(2):hover {
  color: var(--color-brand-2);
}

.nav-link:nth-child(2)::after {
  background-color: var(--color-brand-2);
}

.nav-link:nth-child(3).active,
.nav-link:nth-child(3):hover {
  color: var(--color-brand-3);
}

.nav-link:nth-child(3)::after {
  background-color: var(--color-brand-3);
}

.nav-link:nth-child(4).active,
.nav-link:nth-child(4):hover {
  color: var(--color-brand-4);
}

.nav-link:nth-child(4)::after {
  background-color: var(--color-brand-4);
}

.nav-link:nth-child(5).active,
.nav-link:nth-child(5):hover {
  color: var(--color-brand-1);
}

.nav-link:nth-child(5)::after {
  background-color: var(--color-brand-1);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--color-text-dark);
}

/* =========================================
   Footer
   ========================================= */
footer {
  background-color: #F6D400;
  color: darkred;
  padding: 60px 0 0;
  /* Removed 20px bottom padding to fix the gap */
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: darkred;
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
}

.footer-col:nth-child(1) h4::after {
  background-color: var(--color-brand-1);
}

.footer-col:nth-child(2) h4::after {
  background-color: var(--color-brand-2);
}

.footer-col:nth-child(3) h4::after {
  background-color: var(--color-brand-3);
}

.footer-col:nth-child(4) h4::after {
  background-color: var(--color-brand-4);
}

.footer-logo {
  height: 40px;
  margin-bottom: 15px;
  /* Removed filter: brightness(0) invert(1); to keep original colors */
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: darkred;
}

.footer-links a:hover {
  color: var(--color-text-dark);
  padding-left: 5px;
}

.contact-info li {
  display: flex;
  margin-bottom: 15px;
  gap: 10px;
  color: darkred;
}

.contact-info i {
  color: darkred;
  font-size: 1.2rem;
  margin-top: 3px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 50%;
  color: darkred;
  transition: all var(--transition-fast);
}

.social-links a:hover {
  background-color: darkred;
  color: #F6D400;
  transform: translateY(-3px);
}

.google-review-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--color-white);
  color: var(--color-text-dark);
  padding: 10px 15px;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-family: var(--font-heading);
}

.google-review-badge i.fa-star {
  color: #FFB900;
}

.google-review-badge img {
  height: 20px;
}

.footer-bottom {
  text-align: center;
  padding: 25px 0;
  background-color: var(--color-brand-2);
  /* Logo Red */
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
  color: var(--color-white);
  /* Full width breakout from container */
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.footer-bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

@media (max-width: 768px) {
  .footer-bottom-container {
    flex-direction: column;
    justify-content: center;
  }
}

.footer-bottom-container a {
  color: inherit;
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.footer-bottom-container a:hover {
  opacity: 0.8;
}

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--color-white);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    transition: left var(--transition-smooth);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    left: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* =========================================
   Utility Classes
   ========================================= */
.mt-20 {
  margin-top: 20px !important;
}

.mt-40 {
  margin-top: 40px !important;
}

.mt-60 {
  margin-top: 60px !important;
}

.mt-80 {
  margin-top: 80px !important;
}

.mt-100 {
  margin-top: 100px !important;
}

.mt-120 {
  margin-top: 120px !important;
}

.text-center {
  text-align: center;
}

.bg-light {
  background-color: var(--color-light-grey);
}

.rounded-img {
  border-radius: 12px;
}

.shadow-lg {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* =========================================
   Hero Slider
   ========================================= */
.hero-slider {
  position: relative;
  height: 85vh; /* slightly less than full height for better visibility of next section */
  min-height: 550px;
  overflow: hidden;
  margin-top: 0;
}

@media (max-width: 768px) {
  .hero-slider {
    height: 70vh;
    min-height: 450px;
  }
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 5s ease;
  transform: scale(1.05);
  display: flex;
  align-items: center;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  color: var(--color-white);
  padding-top: 80px;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.8s ease 0.3s;
}

.slide:nth-child(1) .hero-content h1 {
  color: var(--color-brand-1);
}

.slide:nth-child(2) .hero-content h1 {
  color: var(--color-brand-2);
}

.slide:nth-child(3) .hero-content h1 {
  color: var(--color-brand-3);
}

.slide:nth-child(4) .hero-content h1 {
  color: var(--color-brand-4);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.8s ease 0.5s;
}

.hero-content .btn {
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.8s ease 0.7s;
}

.slide.active .hero-content h1,
.slide.active .hero-content p,
.slide.active .hero-content .btn {
  transform: translateY(0);
  opacity: 1;
}

.slider-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 10;
}

.slider-controls button {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  backdrop-filter: blur(5px);
}

.slider-controls button:hover {
  background-color: var(--color-primary);
  transform: scale(1.1);
}

.slider-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.dot:nth-child(1).active {
  background-color: var(--color-brand-1);
  transform: scale(1.3);
}

.dot:nth-child(2).active {
  background-color: var(--color-brand-2);
  transform: scale(1.3);
}

.dot:nth-child(3).active {
  background-color: var(--color-brand-3);
  transform: scale(1.3);
}

.dot:nth-child(4).active {
  background-color: var(--color-brand-4);
  transform: scale(1.3);
}

/* =========================================
   Trusted Brands Section
   ========================================= */
.trusted-brands {
  background-color: var(--color-white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  position: relative;
}

.brands-scroll-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* Gradient stops for smooth fading at edges */
.brands-scroll-container::before,
.brands-scroll-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.brands-scroll-container::before {
  left: 0;
  background: linear-gradient(to right, var(--color-white) 0%, rgba(255, 255, 255, 0) 100%);
}

.brands-scroll-container::after {
  right: 0;
  background: linear-gradient(to left, var(--color-white) 0%, rgba(255, 255, 255, 0) 100%);
}

.brands-scroll-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: scrollBrands 30s linear infinite;
}

.brands-scroll-track:hover {
  animation-play-state: paused;
}

.brands-scroll-track img {
  max-height: 80px;
  max-width: 220px;
  object-fit: contain;
  margin: 0 50px;
  transition: transform var(--transition-fast);
}

.brands-scroll-track img:hover {
  transform: scale(1.05);
}

@keyframes scrollBrands {
  0% {
    transform: translateX(0);
  }

  100% {
    /* Translate by exactly half the track width (the duplicate set) */
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .brands-scroll-track img {
    max-height: 50px;
    max-width: 160px;
    margin: 0 30px;
  }
}

/* =========================================
   Welcome Section
   ========================================= */
.welcome-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.welcome-text h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: var(--color-text-dark);
}

.welcome-text .lead {
  font-size: 1.2rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 20px;
}

.features-list {
  margin: 30px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--color-text-dark);
}

.feature-item i {
  color: var(--color-primary);
  font-size: 1.2rem;
}

.welcome-image {
  position: relative;
}

.welcome-image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

/* =========================================
   Services Section 
   ========================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background-color: var(--color-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: all var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.service-img {
  position: relative;
  overflow: hidden;
  height: 300px;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
  transform: scale(1.1);
}

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.service-card:nth-child(3n+1) .service-overlay {
  background-color: rgba(173, 212, 60, 0.85);
}

.service-card:nth-child(3n+2) .service-overlay {
  background-color: rgba(246, 17, 16, 0.85);
}

.service-card:nth-child(3n) .service-overlay {
  background-color: rgba(23, 141, 196, 0.85);
}

.service-card:hover .service-overlay {
  opacity: 1;
}

.service-info {
  padding: 25px;
  text-align: center;
}

.service-info h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--color-text-dark);
}

/* =========================================
   Testimonials Section
   ========================================= */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background-color: var(--color-white);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  position: relative;
  transition: all var(--transition-fast);
  border-bottom: 3px solid transparent;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-card:nth-child(3n+1):hover {
  border-bottom-color: var(--color-brand-1);
}

.testimonial-card:nth-child(3n+2):hover {
  border-bottom-color: var(--color-brand-2);
}

.testimonial-card:nth-child(3n):hover {
  border-bottom-color: var(--color-brand-4);
}

.testimonial-card .stars {
  color: #FFB900;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.testimonial-card .quote {
  font-style: italic;
  margin-bottom: 20px;
  color: var(--color-text-light);
}

.testimonial-card .author {
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--color-text-dark);
}

/* Responsive Overrides */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 3rem;
  }

  .welcome-content {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .slider-controls {
    padding: 0 10px;
  }

  .slider-controls button {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

/* =========================================
   Inner Pages Specific Styles
   ========================================= */
.page-banner {
  height: 500px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  margin-top: 80px;
  /* offset for sticky header */
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Dark overlay for text contrast */
  z-index: 1;
}

.page-banner .container {
  position: relative;
  z-index: 2;
}

.page-title {
  font-size: 3.5rem;
  margin-bottom: 15px;
  color: #F6D400; /* Bright yellow for maximum visibility */
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-subtitle {
  font-size: 1.4rem;
  opacity: 1;
  color: var(--color-white);
  font-weight: 500;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

/* About Us Layout */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.tech-card {
  background-color: var(--color-light-grey);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  text-align: center;
  transition: all var(--transition-fast);
  border-top: 3px solid transparent;
}

.tech-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow);
  background-color: var(--color-white);
}

.tech-card:nth-child(3n+1):hover {
  border-top-color: var(--color-brand-1);
}

.tech-card:nth-child(3n+2):hover {
  border-top-color: var(--color-brand-2);
}

.tech-card:nth-child(3n):hover {
  border-top-color: var(--color-brand-4);
}

.tech-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.tech-card:nth-child(3n+1) .tech-icon {
  color: var(--color-brand-1);
}

.tech-card:nth-child(3n+2) .tech-icon {
  color: var(--color-brand-2);
}

.tech-card:nth-child(3n) .tech-icon {
  color: var(--color-brand-4);
}

.tech-card h3 {
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .story-grid {
    grid-template-columns: 1fr;
  }

  .tech-grid {
    grid-template-columns: 1fr;
  }

  .page-title {
    font-size: 2.5rem;
  }

  .about-banner {
    background-position: 70% center !important; /* Adjust to center the couple on mobile */
  }
}

/* Product Gallery */
.product-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.product-item {
  background-color: var(--color-white);
  overflow: hidden;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.product-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.product-img {
  width: 100%;
  height: 350px;
  overflow: hidden;
  position: relative;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.product-item:hover .product-img img {
  transform: scale(1.08);
}

.product-info {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.product-info h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--color-primary);
}

.product-info p {
  margin-bottom: 20px;
  color: var(--color-text-light);
}

@media (max-width: 768px) {
  .product-gallery {
    grid-template-columns: 1fr;
  }

  .product-img {
    height: 350px; /* Increased from 250px */
  }
}

/* Feature Blocks */
.feature-blocks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feature-block-item {
  background-color: var(--color-white);
  padding: 40px 20px;
  border-radius: var(--border-radius);
  text-align: center;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-block-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  transition: height var(--transition-fast);
  z-index: -1;
}

.feature-block-item:nth-child(4n+1)::before {
  background-color: var(--color-brand-1);
}

.feature-block-item:nth-child(4n+2)::before {
  background-color: var(--color-brand-2);
}

.feature-block-item:nth-child(4n+3)::before {
  background-color: var(--color-brand-3);
}

.feature-block-item:nth-child(4n)::before {
  background-color: var(--color-brand-4);
}

.feature-block-item:hover {
  transform: translateY(-10px);
}

.feature-block-item:hover::before {
  height: 100%;
}

.feature-block-item:hover h3,
.feature-block-item:hover p,
.feature-block-item:hover .icon-wrapper i {
  color: var(--color-white);
}

.icon-wrapper {
  width: 80px;
  height: 80px;
  background-color: var(--color-light-grey);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all var(--transition-fast);
}

.feature-block-item:hover .icon-wrapper {
  background-color: rgba(255, 255, 255, 0.2);
}

.icon-wrapper i {
  font-size: 2rem;
  color: var(--color-primary);
  transition: all var(--transition-fast);
}

.feature-block-item h3 {
  margin-bottom: 15px;
  transition: all var(--transition-fast);
}

.feature-block-item p {
  transition: all var(--transition-fast);
  font-size: 0.95rem;
}

@media (max-width: 992px) {
  .feature-blocks {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .feature-blocks {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   Contact Page Layout
   ========================================= */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.contact-card {
  background-color: var(--color-white);
  padding: 40px;
  border-radius: var(--border-radius);
  text-align: center;
  transition: all var(--transition-fast);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.contact-card i {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.contact-card:nth-child(3n+1) i {
  color: var(--color-brand-1);
}

.contact-card:nth-child(3n+2) i {
  color: var(--color-brand-2);
}

.contact-card:nth-child(3n) i {
  color: var(--color-brand-4);
}

.contact-card h3 {
  margin-bottom: 15px;
  color: var(--color-text-dark);
}

.contact-highlight {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-text-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.map-container {
  overflow: hidden;
  height: 100%;
  min-height: 400px;
  background-color: #eee;
}

.contact-form-container {
  background-color: var(--color-white);
  padding: 40px;
}

.contact-form-container h2 {
  color: var(--color-text-dark);
  margin-bottom: 10px;
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text-dark);
  font-size: 0.95rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text-dark);
  background-color: var(--color-white);
  transition: all var(--transition-fast);
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(255, 107, 0, 0.2);
}

@media (max-width: 992px) {
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .map-container {
    height: 400px;
  }
}

@media (max-width: 576px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   Detailed Products Layout (Alternating)
   ========================================= */
.detailed-products-section {
  padding-top: 40px;
}

.detailed-product-row {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.detailed-product-row:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.detailed-product-row.reverse {
  flex-direction: row-reverse;
}

.dp-image {
  flex: 0 0 35%;
  position: relative;
  max-width: 35%;
}

.dp-image .image-wrapper {
  position: relative;
  overflow: hidden;
}

.dp-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.detailed-product-row:hover .dp-image img {
  transform: scale(1.05);
}

.dp-content {
  flex: 1;
}

.dp-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.dp-badge {
  color: var(--color-brand-3);
  background-color: rgba(255, 145, 0, 0.15);
}

.dp-content h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: var(--color-text-dark);
}

.dp-content p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: var(--color-text-light);
}

.dp-features {
  margin-bottom: 30px;
}

.dp-features li {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 500;
  color: var(--color-text-dark);
}

.dp-features li i {
  font-size: 1.2rem;
  margin-top: 2px;
}

.dp-features li i {
  color: var(--color-brand-3);
}

@media (max-width: 992px) {

  .detailed-product-row,
  .detailed-product-row.reverse {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .dp-image {
    max-width: 100%;
    width: 100%;
  }

  .dp-image img {
    height: 400px; /* Increased from 350px */
  }

  .dp-features li {
    justify-content: flex-start;
    text-align: left;
  }
}

/* =========================================
   About Us Page Redesign Specifics
   ========================================= */
.about-flex-container {
  display: flex;
  gap: 50px;
  align-items: center;
}

.about-flex-container.reverse-flex {
  flex-direction: row-reverse;
}

.about-image-box, .about-text-content {
  flex: 1;
}

.about-image-box {
  min-height: 400px;
}

/* Management Card */
.management-card {
  display: flex;
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  align-items: stretch;
  max-width: 900px;
  margin: 0 auto;
}

.management-image {
  flex: 0 0 250px;
  background: var(--color-brand-1);
}

.management-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.management-info {
  padding: 40px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.management-info h3 {
  font-size: 1.8rem;
  color: var(--color-text-dark);
  margin-bottom: 5px;
}

.management-info .role {
  color: var(--color-brand-2);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Vision Mission Goal Grid */
.vmg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.vmg-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 40px 30px;
  text-align: center;
  transition: transform var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.vmg-card:hover {
  transform: translateY(-10px);
}

.vmg-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 2rem;
  color: white;
}

.vision-icon { background: var(--color-brand-1); }
.mission-icon { background: var(--color-brand-2); }
.goal-icon { background: var(--color-brand-4); }

.vmg-card h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
  color: var(--color-text-dark);
}

.vmg-card p {
  color: var(--color-text-light);
  line-height: 1.7;
}

@media (max-width: 992px) {
  .about-flex-container, .about-flex-container.reverse-flex {
    flex-direction: column;
  }
  .management-card {
    flex-direction: column;
  }
  .management-image {
    width: 100%;
    flex: 0 0 auto;
    padding: 0;
  }
  .vmg-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   Utility Classes for Reusable Layouts
   ========================================= */
.text-left {
  text-align: left;
}

.m-l-0 {
  margin-left: 0;
}

.text-primary {
  color: var(--color-primary);
}

.full-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flagship-address-box {
  padding: 15px;
  border-left: 4px solid var(--color-brand-1);
  background: var(--color-light-grey);
}

.philosophy-bg-section {
  background-color: var(--color-brand-2);
  color: white;
  position: relative;
  overflow: hidden;
}

.philosophy-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
  z-index: 1;
}

.philosophy-content-wrapper {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.icon-large-yellow {
  font-size: 3rem;
  color: #F6D400;
  margin-bottom: 20px;
}

.text-white {
  color: white;
}

.mb-20 {
  margin-bottom: 20px;
}

.philosophy-lead-text {
  font-size: 1.2rem;
  line-height: 1.8;
}

/* =========================================
   Floating Contact Icons (Flat Style & Animated)
   ========================================= */
.floating-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999;
}

.floating-icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.floating-icon:hover {
  transform: scale(1.1) translateY(-3px);
  color: #fff;
}

.floating-whatsapp {
  background-color: #25D366; /* Flat WhatsApp Color */
  animation: floatPulseWa 2s infinite;
}

@keyframes floatPulseWa {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.floating-call {
  background-color: #007BFF; /* Flat Blue Call Color */
  animation: floatPulseCall 2s infinite;
  animation-delay: 1s; /* Offset pulse animation */
}

@keyframes floatPulseCall {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.6);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(0, 123, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
  }
}

@media (max-width: 768px) {
  .floating-container {
    bottom: 20px;
    right: 20px;
    gap: 12px;
  }
  .floating-icon {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
}

/* Horizontal Product Card (Responsive) */
.product-grid-horizontal {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

.horizontal-product-card {
    display: flex;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    align-items: stretch;
}

.horizontal-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.05);
}

.hpc-image {
    flex: 0 0 400px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fdfdfd;
    position: relative;
    overflow: hidden;
}

.hpc-image-slider {
    width: 100%;
    height: 350px;
    position: relative;
}

.product-slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.product-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-slide.active {
    opacity: 1;
}

.product-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.hpc-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hpc-title {
    font-size: 1.6rem;
    color: #000;
    margin-bottom: 10px;
    font-weight: 700;
}

.hpc-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #d00;
    margin-bottom: 5px;
}

.hpc-tax {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 10px;
}

.hpc-delivery {
    font-size: 0.9rem;
    color: #009688;
    font-weight: 600;
    margin-bottom: 15px;
}

.hpc-hamper-title {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1rem;
    color: #333;
}

.hpc-list {
    margin: 0;
    padding-left: 20px;
    list-style: square;
    font-size: 0.9rem;
    color: #555;
}

.hpc-list li {
    margin-bottom: 4px;
}

@media (max-width: 768px) {
    .horizontal-product-card {
        flex-direction: column;
    }
    .hpc-image {
        flex: 0 0 auto;
        width: 100%;
        padding: 5px; /* Reduced padding for more image space */
    }
    .hpc-image img {
        height: 350px; /* Increased from 200px */
    }
    .hpc-content {
        padding: 20px;
    }
}

/* =========================================
   Success Modal Popup
   ========================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    display: flex;
}

.success-modal {
    background-color: var(--color-white);
    padding: 40px;
    border-radius: 15px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    animation: modalIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: #4CAF50;
    color: white;
    font-size: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.success-modal h2 {
    font-size: 2rem;
    color: var(--color-text-dark);
    margin-bottom: 15px;
}

.success-modal p {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 30px;
}

.btn-modal-close {
    background-color: #4CAF50;
    color: white;
    padding: 12px 40px;
    border-radius: var(--border-radius);
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-modal-close:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}