/* =========================================
   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: 20px 0;
  background-color: var(--color-brand-2);
  /* Logo Red */
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: var(--color-white);
  /* Full width breakout from container */
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* =========================================
   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;
}

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

.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: 100vh;
  min-height: 600px;
  overflow: hidden;
  margin-top: 0;
}

.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: 400px;
  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 */
}

.page-title {
  font-size: 3rem;
  margin-bottom: 10px;
  color: var(--color-primary);
  /* Changed to bright brand color */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.page-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* 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;
  }
}

/* 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: 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: 1;
  position: relative;
  max-width: 50%;
}

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

.dp-image img {
  width: 100%;
  height: 400px;
  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;
}

.detailed-product-row:nth-child(4n+1) .dp-badge {
  color: var(--color-brand-1);
  background-color: rgba(173, 212, 60, 0.15);
}

.detailed-product-row:nth-child(4n+2) .dp-badge {
  color: var(--color-brand-2);
  background-color: rgba(246, 17, 16, 0.15);
}

.detailed-product-row:nth-child(4n+3) .dp-badge {
  color: var(--color-brand-3);
  background-color: rgba(255, 145, 0, 0.15);
}

.detailed-product-row:nth-child(4n) .dp-badge {
  color: var(--color-brand-4);
  background-color: rgba(23, 141, 196, 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;
}

.detailed-product-row:nth-child(4n+1) .dp-features li i {
  color: var(--color-brand-1);
}

.detailed-product-row:nth-child(4n+2) .dp-features li i {
  color: var(--color-brand-2);
}

.detailed-product-row:nth-child(4n+3) .dp-features li i {
  color: var(--color-brand-3);
}

.detailed-product-row:nth-child(4n) .dp-features li i {
  color: var(--color-brand-4);
}

@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: 350px;
  }

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