/*Theme Name: Salient Child Theme*/
/*Description: This is a custom child theme for Salient*/
/*Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266*/
/*Author: ThemeNectar*/
/*Author URI:  https://themeforest.net/user/themenectar*/
/*Template: salient*/
/*Version: 1.0*/
/**/

@import url("https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap");

body {
  font-family: "Noto Sans", sans-serif;
}

/* ===================================================================
   TOP MENU POSITION
   =================================================================== */
#header-outer.small-nav {
  z-index: 999;
}

/* ===================================================================
   1. GLOBAL SETUP & FONT IMPORT
   =================================================================== */

/* @import must be at the very top of the file */
/*@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap' );*/

/*  TIMELINE SECTION STYLES */

body {
  font-family: inherit;
  background-color: #fff;
  /*background-image: linear-gradient(rgba(0, 0, 0, 0.03) 2px, transparent 2px),*/
  /*  linear-gradient(90deg, rgba(0, 0, 0, 0.03) 2px, transparent 2px);*/
  background-size: 40px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
}

.timeline-container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main-title {
  color: #333;
  font-weight: 600;
  margin-bottom: 40px;
}

.card-stack-wrapper {
  position: relative;
  width: 100%;
  height: 400px;
}

.card-stack {
  position: relative;
  width: 100%;
  height: 100%;
}

.timeline-card {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #6cab43;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  display: flex;
  align-items: center;
}

.timeline-card.active {
  opacity: 1;
  transform: translate(0, 0) scale(1);
  z-index: 10;
  pointer-events: auto;
}

.timeline-card.next {
  opacity: 1;
  transform: translate(15px, -15px) scale(1);
  z-index: 9;
  background:  #4c6d4d;
}

.timeline-card.next-next {
  opacity: 1;
  transform: translate(30px, -30px) scale(1);
  z-index: 8;
  background: #5e7c63;
}

.timeline-card.prev {
  opacity: 0;
  transform: translate(15px, 15px) scale(1);
  z-index: 1;
  pointer-events: none; 
}

/* --- Content Layout --- */
.card-content {
  display: flex;
  align-items: center;
  width: 100%;
  color: white;
  padding: 20px;
}

.year-label {
  font-size: 5.5rem;
  font-weight: 700;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  margin: 30px;
  opacity: 0.4;
  flex-shrink: 0;
  color: transparent;
  -webkit-text-stroke: 2px #f0f0f0;
}

.text-content {
  flex: 1;
  padding-left: 2vw;
}

.text-content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 15px;
  color: #ffff;
}

.text-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 400;
}

.image-container {
  width: 40%;
  min-height: 300px;    
  max-height: 600px;   
  border-radius: 15px;
  overflow: hidden;
  margin-left: 40px;
  flex-shrink: 0;
  align-self: center; 
  display: flex;
  justify-content: center;
}

.image-container img {
  width: 100%;
  height: 100%;
  border-radius: 15px;
  object-fit: cover;
  object-position: center; 
}



/* --- FINAL Navigation Arrows --- */
.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 16px;
  font-weight: bold;
  color: #5f6db3;
  cursor: pointer;
  z-index: 15;
  transition: all 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 0;
  background-color: rgba(255, 255, 255, 0.9);
}

.nav-arrow:hover {
  background-color: #5f6db3;
  color: #ffff;
  transform: translateY(-50%) scale(1.1);
}

.prev-arrow {
  left: -20px;
}

.next-arrow {
  right: -20px;
}

/* --- Bottom Timeline Navigator --- */
.timeline-nav-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1000px;
  margin-top: 4rem;
  gap: 15px;
}

.timeline-nav-arrow {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #689f38;
  transition: all 0.3s;
  padding: 5px;
  flex-shrink: 0;
}

.timeline-nav-arrow:hover {
  transform: scale(1.2);
}

.timeline-nav {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  position: relative;
  height: 40px;
  flex: 1;
}

.timeline-nav::before {
  content: "";
  position: absolute;
  bottom: 17px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #5f6db3;
  opacity: 0.6;
  z-index: -1;
}

.nav-item {
  padding: 0 10px;
  cursor: pointer;
  color: #aaa;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 26px;
}

.nav-item::before {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background-color: #ddd;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: -1;
}

.nav-item.active {
  color: #689f38;
  font-weight: 700;
  font-size: 24px;
  padding-bottom: 30px;
}

.nav-item.active::before {
  background-color: #8bc34a;
  width: 16px;
  height: 16px;
}

i[class*="fa-"] {
  top: 0 !important;
}

/* ========================================
   RESPONSIVE STYLES - MOBILE FIRST
   ======================================== */

/* Added comprehensive responsive styles for tablets and mobile devices */

/* Tablets and smaller (max-width: 768px) */
@media screen and (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .timeline-container {
    width: 95%;
    padding: 0 10px;
  }
  

  .card-stack-wrapper {
    height: auto; 
    min-height: 500px;
  }

  .timeline-card {
    position: relative; 
    height: auto; 
    min-height: 500px;
    overflow: hidden; /* Prevent content overflow */
    margin-bottom: 20px;
  }

  /* Hide non-active cards on mobile */
  .timeline-card:not(.active) {
    display: none;
  }

  .timeline-card.active {
    display: flex;
    position: relative;
    transform: none;
  }

  .card-content {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 20px;
    width: 100%;
    box-sizing: border-box;
  }

  .year-label {
    font-size: 2.5rem;
    writing-mode: horizontal-tb;
    transform: none;
    margin-right: 20px;
    margin-left: 20px;
    margin-bottom: 20px;
    width: 100%;
    text-align: left;
    opacity: 0.6;
    color: transparent;
    -webkit-text-stroke: 2px #f0f0f0;
  }

  .text-content {
    padding-right: 0;
    width: 100%;
    margin-bottom: 20px;
  }

  .text-content h2 {
    font-size: 1.6rem; 
    margin-bottom: 15px;
  }

  .text-content p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .image-container {
    width: 100%; 
    height: 250px;
    margin-left: 0;
    margin-top: 0;
    border-radius: 12px;
  }

  .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Remove stacked card effects on mobile */
  .timeline-card.next,
  .timeline-card.next-next,
  .timeline-card.prev {
    display: none;
  }

  /* Reposition navigation arrows */
  .nav-arrow {
    width: 45px;
    height: 45px;
    font-size: 16px;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  }

  .prev-arrow {
    left: 15px;
  }

  .next-arrow {
    right: 15px;
  }

  /* Bottom timeline navigator */
  .timeline-nav-wrapper {
    margin-top: 30px;
    max-width: 100%;
    gap: 10px;
    padding: 0 10px;
  }

  .timeline-nav-arrow {
    font-size: 22px;
  }

  .nav-item {
    font-size: 12px;
    padding: 0 8px;
  }

  .nav-item.active {
    font-size: 16px;
  }
}

/* Mobile phones (max-width: 480px) */
@media screen and (max-width: 480px) {
  .timeline-container {
    width: 100%;
    padding: 0 5px;
  }

  .card-stack-wrapper {
    min-height: 550px;
  }

  .timeline-card {
    min-height: 550px;
    border-radius: 16px;
  }

  .card-content {
    padding: 25px 18px;
  }

  .year-label {
    font-size: 2rem; 
    margin-bottom: 15px;
  }

  .text-content h2 {
    font-size: 1.4rem; 
    margin-bottom: 12px;
  }

  .text-content p {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .image-container {
    height: 200px; 
    border-radius: 10px;
  }

  /* Navigation arrows - smaller and more visible */
  .nav-arrow {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .prev-arrow {
    left: -20px;
  }

  .next-arrow {
    right: -20px;
  }

  /* Bottom navigator - more compact */
  .timeline-nav-wrapper {
    margin-top: 25px;
    gap: 8px;
    padding: 0 5px;
  }

  .timeline-nav-arrow {
    font-size: 20px;
  }

  .nav-item {
    font-size: 11px;
    padding: 0 5px;
  }

  .nav-item.active {
    font-size: 14px;
  }

  .nav-item::before {
    width: 8px;
    height: 8px;
  }

  .nav-item.active::before {
    width: 12px;
    height: 12px;
  }
}

/* Very small devices (max-width: 360px) */
@media screen and (max-width: 360px) {
  .card-stack-wrapper {
    min-height: 600px;
  }

  .timeline-card {
    min-height: 600px;
  }

  .card-content {
    padding: 20px 15px;
  }

  .year-label {
    font-size: 1.8rem;
    margin-bottom: 12px;
  }

  .text-content h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .text-content p {
    font-size: 0.8rem;
  }

  .image-container {
    height: 180px;
  }

  .nav-arrow {
    width: 36px;
    height: 36px;
    font-size: 12px;
  }

  .prev-arrow {
    left: -10px;
  }

  .next-arrow {
    right: 8px;
  }
}

/* ===================================================================
   SINGLE BLOG POST STYLES
   =================================================================== */

/* Force the main content area to be full-width */
.single-post .container-wrap .main-content .post-area {
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Style the text content within the post area */
.single-post .entry-header {
  max-width: 840px;
  margin: 0 auto 30px auto;
  padding: 40px 20px 0 20px;
  text-align: center;
}

.single-post .entry-header .entry-title {
  font-size: 42px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  color: #2c3e50 !important;
}

.single-post .entry-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.single-post .entry-content h3 {
  font-size: 24px !important;
  font-weight: 600 !important;
  color: #333 !important;
  margin-top: 40px !important;
  margin-bottom: 15px !important;
  border-left: 4px solid #8bc34a;
  padding-left: 15px !important;
}

.single-post .entry-content p {
  font-size: 16px !important;
  line-height: 1.7 !important;
  color: #555 !important;
}

/* In-Article Carousel (Full-width) */
.in-article-carousel {
  position: relative;
  width: 100vw; /* 100% of the viewport width */
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 50px;
  margin-bottom: 50px;
}

.carousel-images {
  display: flex;
  overflow: hidden;
}
.carousel-slide {
  min-width: 100%;
  transition: transform 0.5s ease-in-out;
}
.carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(139, 195, 74, 0.9);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s ease;
}
.carousel-arrow:hover {
  background-color: rgba(104, 159, 56, 1);
}
.carousel-arrow.prev {
  left: 30px;
}
.carousel-arrow.next {
  right: 30px;
}

/* Related Blogs Section (Full-width) */
.related-blogs-section {
  background-color: #8bc34a;
  padding: 60px 20px;
  color: white;
}
.related-blogs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.related-blogs-header h2 {
  font-size: 32px !important;
  font-weight: 700 !important;
  margin: 0 !important;
  color: white !important;
}
.related-blogs-header .view-all-link {
  color: white;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid white;
  padding: 10px 20px;
  border-radius: 25px;
  transition: all 0.3s ease;
}
.related-blogs-header .view-all-link:hover {
  background-color: white;
  color: #8bc34a;
}
.related-blogs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
.related-blog-card {
  background-color: white;
  color: #333;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  display: block;
  transition: transform 0.3s ease;
}
.related-blog-card:hover {
  transform: translateY(-5px);
}
.related-blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.related-blog-card-content {
  padding: 20px;
}
.related-blog-card-content .category-tag {
  display: inline-block;
  background-color: #f0f0f0;
  color: #555;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}
.related-blog-card-content h3 {
  font-size: 18px !important;
  font-weight: 600 !important;
  margin: 0 0 10px 0 !important;
  color: #333 !important;
  border: none !important;
  padding: 0 !important;
}
.related-blog-card-content .read-more {
  font-size: 14px;
  font-weight: 600;
  color: #8bc34a;
}

/*//////////////////////////////////////////////////////////*/
/**
 * COMPLETE UPDATED CSS - New Structure Implementation
 */
/*//////////////////////////////////////////////////////////*/

/* Main Inquiry Section Container - FULL WIDTH BACKGROUND */
.salient-custom-inquiry-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: #d1d5db;
  background-image: url("https://cre8ivedge.net/windows-plus/wp-content/uploads/2025/09/wpea-featured-background.png");
  padding: 60px 0;
  margin-top: 60px;
  box-sizing: border-box;
}

.salient-custom-inquiry-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* HEADER SECTION - FULL WIDTH AT TOP */
.salient-inquiry-header-section {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.salient-inquiry-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.2;
}

.salient-inquiry-description {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 0;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.salient-inquiry-success-message {
  background: #d4edda;
  color: #155724;
  padding: 15px;
  border-radius: 6px;
  margin-top: 20px;
  border: 1px solid #c3e6cb;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* CONTENT SECTION - IMAGE AND FORM SIDE BY SIDE */
.salient-inquiry-flex-wrapper {
  display: flex;
  gap: 20px;
  align-items: stretch;
  min-height: 500px;
}

.salient-inquiry-image-container {
  flex: 1;
  max-width: 50%;
  display: flex;
  flex-direction: column;
}

.salient-inquiry-consultation-img {
  width: 100%;
  flex: 1;
  min-height: 400px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.salient-inquiry-form-section {
  flex: 1;
  max-width: 50%;
  /*display: flex;*/
  align-items: center;
  background-color: #efefef;
  padding: 1rem;
  border-radius: 10px;
}

.salient-inquiry-form-container {
  width: 100%;
}

/* FORMINATOR FORM STYLING */
.salient-inquiry-form-container .forminator-ui {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.salient-inquiry-form-container .forminator-row {
  margin-bottom: 20px;
}

.salient-inquiry-form-container .forminator-field {
  margin-bottom: 0;
}

.salient-inquiry-form-container .forminator-input,
.salient-inquiry-form-container .forminator-textarea {
  padding: 15px !important;
  border: 2px solid #e0e0e0 !important;
  border-radius: 6px !important;
  font-size: 1rem !important;
  transition: border-color 0.3s ease !important;
  background: white !important;
}

.salient-inquiry-form-container .forminator-input:focus,
.salient-inquiry-form-container .forminator-textarea:focus {
  border-color: #6cab43 !important;
  outline: none !important;
  box-shadow: 0 0 0 0.2rem rgba(108, 171, 67, 0.25) !important;
}

.salient-inquiry-form-container .forminator-button {
  background: #6cab43 !important;
  color: white !important;
  border: none !important;
  padding: 15px 40px !important;
  border-radius: 6px !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  width: 100% !important;
  margin-top: 10px !important;
}

.salient-inquiry-form-container .forminator-button:hover {
  background: #5a9139 !important;
  transform: translateY(-2px) !important;
}

.salient-inquiry-form-container .forminator-ui .forminator-form-header {
  display: none !important;
}

/* PREVENT HORIZONTAL SCROLL */
body {
  overflow-x: hidden;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .salient-inquiry-title {
    font-size: 2.2rem;
  }

  .salient-inquiry-description {
    font-size: 1.1rem;
  }

  .salient-inquiry-flex-wrapper {
    gap: 40px;
    min-height: 450px;
  }

  .salient-custom-inquiry-section .container {
    padding: 0 15px;
  }
}

@media screen and (max-width: 768px) {
  .salient-custom-inquiry-section {
    padding: 40px 0;
  }

  .salient-custom-inquiry-section .container {
    padding: 0 15px;
  }

  .salient-inquiry-header-section {
    margin-bottom: 40px;
    text-align: center;
  }

  .salient-inquiry-title {
    font-size: 1.8rem;
  }

  .salient-inquiry-description {
    font-size: 1rem;
  }

  .salient-inquiry-flex-wrapper {
    flex-direction: column;
    gap: 30px;
    min-height: auto;
  }

  .salient-inquiry-image-container,
  .salient-inquiry-form-section {
    max-width: 100%;
    flex: none;
  }

  .salient-inquiry-consultation-img {
    height: 250px;
    min-height: 250px;
    flex: none;
  }

  .salient-inquiry-form-section {
    align-items: stretch;
  }
  
  /* Mobile Timeline Navigation - 3-item carousel */

  .timeline-nav {
    display: flex;
    justify-content: space-evenly !important;
    align-items: center;
    overflow-y: hidden; 
    position: relative;
    height: 80px !important ;
  }
  
  .timeline-nav::before {
    bottom: 33px !important;
}
  
  .nav-item {
    display: none; 
    min-width: 60px;
    min-height: 65px;
    text-align: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
    font-size: 16px ;
    opacity: 1;
    min-height: 10vh !important ;
  }
  
  .nav-item.active {
    font-size: 15px;
    padding-bottom: 40px;
  }
  
  .nav-item::before {
    bottom: 16px;
}
    .timeline-nav-arrow {
        font-size: 25px;
    }
  
  /* Only show prev, active, next */
  .nav-item.visible-prev,
  .nav-item.visible-active,
  .nav-item.visible-next {
    display: flex;
    justify-content: center;
  }
  
  .nav-item.visible-prev,
  .nav-item.visible-next {
    opacity: 0.5;
    transform: scale(0.85);
  }
  
  .nav-item.visible-active {
    opacity: 1;
    transform: scale(1.1);
    font-weight: bold;
  }

}

@media (max-width: 480px) {
  .salient-custom-inquiry-section {
    padding: 30px 0;
  }

  .salient-custom-inquiry-section .container {
    padding: 0 10px;
  }

  .salient-inquiry-header-section {
    margin-bottom: 30px;
  }

  .salient-inquiry-title {
    font-size: 1.5rem;
  }

  .salient-inquiry-description {
    font-size: 0.95rem;
  }

  .salient-inquiry-flex-wrapper {
    gap: 20px;
  }

  .salient-inquiry-consultation-img {
    height: 200px;
    min-height: 200px;
  }
}

/*//////////////////////////////////////////////////////////*/
/**
 * Product Action Buttons - CSS Styles
 */
/*//////////////////////////////////////////////////////////*/

/* Main container for the action buttons */
.individual-wp-product-actions {
  margin-top: 30px;
  margin-bottom: 30px;
  width: 100%;
}

/* First row - two buttons side by side */
.individual-wp-actions-row-1 {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

/* Second row - full width button */
.individual-wp-actions-row-2 {
  width: 100%;
}

/* Base button styles */
.individual-wp-btn {
  display: inline-block;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  line-height: 1.4;
  font-family: inherit;
}

/* Request Quote button - Green */
.individual-wp-btn-quote {
  background-color: #67b931;
  color: #ffffff;
  flex: 1;
  font-family: inherit;
}

.individual-wp-btn-quote:hover {
  background-color: #5f6db3;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(124, 179, 66, 0.3);
}

/* View Product Catalog button - Blue */
.individual-wp-btn-catalog {
  font-family: inherit;
  background-color: #5f6db3;
  color: #ffffff;
  flex: 1;
}

.individual-wp-btn-catalog:hover {
  background-color: #67b931;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(66, 165, 245, 0.3);
}

/* Get a Call from Us button - Green (full width) */
.individual-wp-btn-call {
  background-color: #67b931;
  font-family: inherit;
  color: #ffffff;
  width: 100%;
  display: block;
}

.individual-wp-btn-call:hover {
  background-color: #689f38;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(124, 179, 66, 0.3);
}

/* Responsive styles for mobile */
@media screen and (max-width: 768px) {
  .individual-wp-actions-row-1 {
    flex-direction: column;
    gap: 10px;
  }

  .individual-wp-btn {
    padding: 12px 20px;
    font-size: 15px;
  }
}

/* Optional: Add spacing if buttons are too close to other elements */
.product .summary .individual-wp-product-actions {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #e5e5e5;
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Optional: Add animation for buttons appearing */
.individual-wp-product-actions {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/*//////////////////////////////////////////////////////////*/
/**
 * Product Media Gallery
 */
/*//////////////////////////////////////////////////////////*/

 .product-media-gallery-display { margin-bottom: 30px; }
        .product-media-gallery-display h3 { margin-bottom: 15px; }
        .media-carousel-main { position: relative; width: 100%; max-width: 600px; aspect-ratio: 16/9; background: #000; margin-bottom: 10px; overflow: hidden; }
        .media-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.3s; }
        .media-slide.active { opacity: 1; z-index: 1; }
        .media-slide img, .media-slide video { width: 100%; height: 100%; object-fit: cover; }
        .media-carousel-thumbnails { display: flex; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
        .media-thumb { width: 80px; height: 60px; cursor: pointer; opacity: 0.6; transition: opacity 0.3s; border: 2px solid transparent; position: relative; overflow: hidden; }
        .media-thumb.active { opacity: 1; border-color: #6CAB43; }
        .media-thumb img, .media-thumb video { width: 100%; height: 100%; object-fit: cover; }
        .video-thumb-indicator { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: rgba(0,0,0,0.7); color: #fff; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 50%; z-index: 2; }
        .media-carousel-arrows { display: flex; gap: 10px; }
        .carousel-arrow { background: #6CAB43; color: #fff; border: none; padding: 10px 15px; cursor: pointer; border-radius: 5px; }
        .carousel-arrow:hover { background: #5a9438; 
        }


/*//////////////////////////////////////////////////////////*/
/**
 * Featured Products Section 
 */
/*//////////////////////////////////////////////////////////*/

/* Main wrapper */
.wp-featured-products-wrapper {
  padding-top: 60px;
  width: 100%;
}

/* Products Grid */
.wp-featured-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Product Card */
.wp-product-card {
  background-color: #ffffff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%; /* Ensures equal height cards */
}

.wp-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Product Image Wrapper */
.wp-product-image-wrapper {
  position: relative;
  width: 100%;
  height: 210px; /* Fixed height for all images */
  overflow: hidden;
}

.wp-product-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures images fill space without distortion */
  display: block;
  transition: transform 0.3s ease;
}

.wp-product-card:hover .wp-product-image {
  transform: scale(1.05);
}

/* Category Tag */
.wp-category-tag {
  position: absolute;
  top: 15px;
  left: 0;
  color: #ffffff;
  padding: 6px 15px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  z-index: 2;
}

.wp-category-tag.residential {
  background-color: #6a71b3;
}

.wp-category-tag.commercial {
  background-color: #8bc34a;
}

/* Arrow Button */
.wp-product-arrow-btn {
  position: absolute;
  bottom: 10px;
  right: 20px;
  width: 45px;
  height: 45px;
  background-color: #6cab43;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
  transition: all 0.3s ease;
  z-index: 2;
}

.wp-product-arrow-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  color: #ffff;
  background-color: #5f6db3;
}

.wp-product-arrow-btn svg {
  width: 24px;
  height: 24px;
}

/* Product Content */
.wp-product-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  align-items: center;
}

.wp-product-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #333333;
  line-height: 1.4;
}

.wp-product-title a {
  color: #333333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.wp-product-title a:hover {
  color: #8bc34a;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
  .wp-featured-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .wp-featured-main-title {
    font-size: 30px;
  }

  .wp-featured-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media screen and (max-width: 768px) {
  .wp-featured-products-wrapper {
    padding: 20px 15px 40px;
  }

  .wp-product-content {
    padding: 0 0 10px 10px;
  }

  /* Updated featured inspirations grid for mobile - display 2 columns */
  .wp-featured-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .wp-featured-main-title {
    font-size: 26px;
  }

  .wp-featured-subtitle {
    font-size: 15px;
  }

  .wp-product-image-wrapper {
    height: 240px;
  }

  .wp-view-all-btn {
    width: 100%;
    text-align: center;
  }
}

/* Optional: Animation on scroll */
.wp-product-card {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.wp-product-card:nth-child(1) {
  animation-delay: 0.1s;
}

.wp-product-card:nth-child(2) {
  animation-delay: 0.2s;
}

.wp-product-card:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*FOR IPHONE RESPONSIVENESS*/
/* EMERGENCY iPhone Font Zoom Fix */
@media screen and (max-width: 768px) {
  body {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }

  .enhanced-product-title,
  .scf-product-title,
  h1 {
    font-size: 24px !important; /* iPhone safe size */
    line-height: 1.3 !important;
    min-height: 32px !important;
  }

  input,
  textarea,
  select {
    font-size: 16px !important; /* Prevents input zoom */
    min-height: 44px !important;
  }

  html {
    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
  }
}

/* ===================================================================
   TABLET & IPAD RESPONSIVE STYLES
   =================================================================== */

/* iPad Pro and Large Tablets (1025px - 1366px) */
@media screen and (min-width: 1025px) and (max-width: 1366px) {
  /* Featured Inspirations Section - maintain 3 columns for large tablets/desktop */
  .wp-featured-products-wrapper {
    padding: 55px 40px;
  }

  .wp-featured-products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
  }

  .wp-product-image-wrapper {
    height: 230px;
  }

  .wp-product-content {
    padding: 20px;
  }

  .wp-product-title {
    font-size: 17px;
  }

  /* Inquiry Section */
  .salient-custom-inquiry-section {
    padding: 55px 0;
  }

  .salient-inquiry-title {
    font-size: 2.4rem;
  }

  .salient-inquiry-description {
    font-size: 1.15rem;
  }

  .salient-inquiry-flex-wrapper {
    gap: 25px;
  }

  /* Timeline Section */
  .card-stack-wrapper {
    height: 390px;
  }

  .text-content h2 {
    font-size: 2.1rem;
  }

  .year-label {
    font-size: 5rem;
  }

  /* Blog Related Section */
  .related-blogs-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }
  
/*    .card-container {*/
/*    height: 35vh !important;*/
/*}*/
  
}

/* Tablets in Landscape (769px - 1024px) */
@media screen and (max-width: 1024px) and (min-width: 769px) {
  .wp-featured-products-wrapper {
    padding: 50px 30px;
  }

  .wp-featured-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 900px;
  }

  .wp-product-card {
    border-radius: 12px;
  }

  .wp-product-image-wrapper {
    height: 220px;
  }

  .wp-product-content {
    padding: 18px;
  }

  .wp-product-title {
    font-size: 17px;
  }

  .wp-category-tag {
    font-size: 13px;
    padding: 5px 12px;
  }

  .wp-product-arrow-btn {
    width: 42px;
    height: 42px;
    bottom: 12px;
    right: 15px;
  }

  .salient-custom-inquiry-section {
    padding: 50px 0;
  }

  .salient-inquiry-title {
    font-size: 2.3rem;
  }

  .salient-inquiry-description {
    font-size: 1.15rem;
  }

  .salient-inquiry-flex-wrapper {
    gap: 25px;
    min-height: 450px;
  }

  .salient-inquiry-consultation-img {
    min-height: 380px;
  }

  .salient-inquiry-form-section {
    padding: 1.5rem;
  }

  /* Product Action Buttons */
  .individual-wp-btn {
    padding: 14px 25px;
    font-size: 15px;
  }

  .card-stack-wrapper {
    height: 380px;
  }

  .year-label {
    font-size: 4.5rem;
    margin: 25px;
  }

  .text-content h2 {
    font-size: 2rem;
  }

  .text-content p {
    font-size: 0.92rem;
  }

  .image-container {
    width: 38%;
    height: 260px;
    margin-left: 30px;
  }

  .nav-arrow {
    width: 42px;
    height: 42px;
  }

  /* Blog Section */
  .single-post .entry-header .entry-title {
    font-size: 38px !important;
  }

  .single-post .entry-content h3 {
    font-size: 22px !important;
  }

  .related-blogs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .carousel-arrow {
    width: 45px;
    height: 45px;
    font-size: 22px;
  }
  
/*   .card-container {*/
/*    height: 35vh !important;*/
/*}*/
}

@media screen and (max-width: 820px) and (min-width: 768px) {
  /* Featured Inspirations Section - 2 columns for iPad portrait */
  .wp-featured-products-wrapper {
    padding: 45px 25px;
  }

  .wp-featured-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 700px;
  }

  .wp-product-image-wrapper {
    height: 200px;
  }

  .wp-product-content {
    padding: 16px;
  }

  .wp-product-title {
    font-size: 16px;
  }

  .wp-category-tag {
    font-size: 12px;
    padding: 5px 10px;
  }

  .wp-product-arrow-btn {
    width: 40px;
    height: 40px;
  }

  /* Inquiry Section */
  .salient-inquiry-title {
    font-size: 2.1rem;
  }

  .salient-inquiry-description {
    font-size: 1.1rem;
  }

  .salient-inquiry-flex-wrapper {
    gap: 20px;
    min-height: 450px;
  }

  .salient-inquiry-consultation-img {
    min-height: 360px;
  }

  .salient-inquiry-form-section {
    padding: 1.5rem;
  }

  /* Product Action Buttons */
  .individual-wp-btn {
    padding: 13px 22px;
    font-size: 15px;
  }

  /* Timeline Section */
  .card-stack-wrapper {
    height: 370px;
  }

  .year-label {
    font-size: 4.2rem;
  }

  .text-content h2 {
    font-size: 1.9rem;
  }

  .image-container {
    width: 40%;
    height: 250px;
  }

  /* Blog Section */
  .single-post .entry-header .entry-title {
    font-size: 36px !important;
  }

  .related-blogs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
/*    .card-container {*/
/*    height: 35vh !important;*/
/*}*/
}

/* Touch-friendly enhancements for all tablets */
@media screen and (max-width: 1024px) {
  .wp-product-arrow-btn {
    min-width: 44px;
    min-height: 44px;
  }

  .wp-product-card {
    transition: all 0.2s ease;
  }

  /* Optimize touch interactions */
  .wp-product-card:active {
    transform: scale(0.98);
  }

  .individual-wp-btn {
    min-height: 48px;
    touch-action: manipulation;
  }

  .individual-wp-btn:active {
    transform: translateY(0);
    opacity: 0.9;
  }

  /* Timeline navigation for touch */
  .nav-arrow {
    min-width: 44px;
    min-height: 44px;
    touch-action: manipulation;
  }

  .timeline-nav-arrow {
    min-width: 44px;
    min-height: 44px;
    padding: 10px;
  }

  .nav-item {
    min-height: 44px;
    padding: 10px;
  }

  /* Form inputs touch-friendly */
  .salient-inquiry-form-container .forminator-input,
  .salient-inquiry-form-container .forminator-textarea {
    min-height: 48px !important;
    font-size: 16px !important;
  }

  .salient-inquiry-form-container .forminator-button {
    min-height: 52px !important;
  }

  /* Carousel arrows touch-friendly */
  .carousel-arrow {
    min-width: 48px;
    min-height: 48px;
  }
  
/*    .card-container {*/
/*    height: 35vh !important;*/
/*}*/
}

/* Landscape orientation optimizations for tablets */
@media screen and (max-width: 1024px) and (orientation: landscape) {
  .salient-custom-inquiry-section {
    padding: 40px 0;
  }

  .salient-inquiry-flex-wrapper {
    min-height: 400px;
  }

  .salient-inquiry-consultation-img {
    min-height: 350px;
  }

  /* Timeline landscape optimization */
  .card-stack-wrapper {
    height: 350px;
  }

  .timeline-card {
    min-height: 350px;
  }

  .year-label {
    font-size: 4rem;
  }

  .text-content h2 {
    font-size: 1.8rem;
  }

  .text-content p {
    font-size: 0.9rem;
  }

  .image-container {
    height: 240px;
  }

  /* Featured products landscape - maintain 2 columns for better card sizing */
  .wp-featured-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /*.card-container {*/
  /*  height: 35vh !important;*/
  /*}*/
}

/* Portrait orientation optimizations for tablets */
@media screen and (max-width: 820px) and (orientation: portrait) {
  .wp-featured-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .wp-product-image-wrapper {
    height: 250px;
  }

  /* Inquiry section portrait stack */
  .salient-inquiry-flex-wrapper {
    flex-direction: column;
  }

  .salient-inquiry-image-container,
  .salient-inquiry-form-section {
    max-width: 100%;
  }

  .salient-inquiry-consultation-img {
    height: 320px;
    min-height: 320px;
  }

  /* Timeline portrait adjustments */
  .timeline-card .card-content {
    flex-direction: column;
    padding: 25px 20px;
  }

  .year-label {
    writing-mode: horizontal-tb;
    transform: none;
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
    font-size: 3rem;
  }

  .text-content {
    padding-left: 0;
    width: 100%;
    margin-bottom: 20px;
  }

  .image-container {
    width: 100%;
    margin-left: 0;
    height: 280px;
  }
  /*.card-container {*/
  /*  height: 35vh !important;*/
  /*}*/
}

/* iPad Mini (768x1024) */
@media screen and (min-width: 768px) and (max-width: 820px) and (orientation: portrait) {
  .wp-featured-products-wrapper {
    padding: 45px 30px;
  }

  .wp-featured-products-grid {
    max-width: 680px;
    grid-template-columns: repeat(2, 1fr);
  }
  
/*    .card-container {*/
/*    height: 35vh !important;*/
/*}*/
}

/* iPad Air & iPad Pro 11" (820x1180, 834x1194) */
@media screen and (min-width: 820px) and (max-width: 850px) {
  .wp-featured-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 750px;
  }

  .wp-product-image-wrapper {
    height: 220px;
  }
  
/*    .card-container {*/
/*    height: 35vh !important;*/
/*}*/
}

/* iPad Pro 12.9" (1024x1366) */
@media screen and (min-width: 1024px) and (max-width: 1366px) {
  .wp-featured-products-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1100px;
  }
/*    .card-container {*/
/*    height: 35vh !important;*/
/*}*/
}
