/* === GENERAL STYLING === */
*{
  font-family: "Marcellus", serif;
  margin-top: 0;
  padding-top: 0;
}

.marcellus-regular {
  font-family: "Marcellus", serif;
  font-weight: 400;
  font-style: normal;
}

body {
  background-color: #875DA6;
  background-color: #ffff;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;   
}


/* === GENERAL PAGE/DESIGN STYLING === */
.fa-solid {
  color: #AE83D2;
}

.btn-outline-secondary {
  border-color: #875DA6 ;
  color: #AE83D2;
}

.btn-outline-secondary:hover{
  border: none;
  color: #ffff;
  background-color: #AE83D2;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1); /* Makes white icon appear black */
}

.carousel-indicators {
  position: relative;
}

/* Frosted Glass Backdrop for Contact and Enquiry Form */
.modal-backdrop.show {
  background-color: rgba(249, 244, 252, 0.6) !important;
  backdrop-filter: blur(6px);
}


/* === HEADER STYLING === */
.header-wrapper {
  background-color: #F3ECF9;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Logo Styling */
@font-face {
  font-family: 'NF-Le petit cochon';
  src: url('../fonts/NF-Lepetitcochon-Regular.woff2') format('woff2'),
       url('../fonts/NF-Lepetitcochon-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
} 

.logo-text {
  line-height: 0.8;
  padding-top: 10px;
}

.logo-text span {
  font-family: 'NF-Le petit cochon', sans-serif;
}

.logo-soso {
  color: #875DA6;
  font-size: 1.6em;
}

.logo-studio {
  color: #875DA6;
  font-size: 1.1em;
}

.logo-soso-footer {
  color: white;
  font-size: 1.6em;
}

.logo-studio-footer {
  color: white;
  font-size: 1.1em;
}

.header-studio-logo {
  width: 50px;
  height: auto;
}

/* Navigation Link Styling */
.nav-link {
  color: black;
}

.nav-link:hover {
  color: black;
}

.nav-link.active,
.nav-link.show,
.dropdown-item.active {
  color: inherit !important;
  background-color: transparent !important;
}

/* Prevent white flash when clicking links */
.nav-link:active,
.nav-link:focus {
  color: inherit;
}

/* Dropdown Menu Styling */
.dropdown-menu {
  --bs-dropdown-min-width: 14rem;
  background: rgba(135,93,166,.12);        
  backdrop-filter: blur(10px);
  padding: 0 !important;
}

.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
}

.dropdown-item {
  padding:.6rem .75rem;
  color: black;       
  background: rgba(135,93,166,.12);
  border: 1px solid #c2a6e4;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: rgba(163, 150, 172, 0.12);
  color:#000;
} 

.nav-item.dropdown .dropdown-menu {
  left: 50% !important;      
  transform: translateX(-50%); 
}

.nav-item .dropdown-toggle::after {
  transition: transform .2s ease;
}

.nav-item.show .dropdown-toggle::after {
  transform: rotate(180deg);
}

/* Contact Header Styling */
/* Mobile Contact Header Styling */
.chatbox .fa-comments {
  font-size: 2.5em !important;
  background: linear-gradient(195deg, #875DA6, #8DC9BD);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Desktop Contact Header Styling */
.header-contact-btn {
  background: linear-gradient(135deg, #875DA6, #8DC9BD);
  color: #fff;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

.header-contact-btn:hover {
  background: linear-gradient(135deg, #8DC9BD, #875DA6);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
  color: #fff;
  text-decoration: none;
}


/* === CONTACT MODAL STYLING === */
#contactModal .modal-content {
  border-radius: 15px;
  border: none;
  background-color: #f9f4fc; 
  box-shadow: 0 10px 30px rgba(75, 0, 130, 0.2); 
}

#contactModal .modal-header {
  border-bottom: none;
  background: linear-gradient(90deg, #a88beb, #f8ceec); 
  color: #4b0082;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

#contactModal .modal-title {
  font-weight: bold;
  font-size: 1.4rem;
}

#contactModal .modal-body {
  padding-bottom: 0.25rem;
}

#contactModal .btn-close {
  filter: brightness(0) invert(1);
}

/* Form Labels */
#contactModal label {
  font-weight: 500;
  color: #4b0082; 
}

/* Form Inputs */
#contactModal input,
#contactModal select,
#contactModal textarea {
  border-radius: 8px;
  border: 1px solid #d9c7ec;
  background-color: #fffafc;
  transition: 0.3s ease;
}

/* Focus effect */
#contactModal input:focus,
#contactModal select:focus,
#contactModal textarea:focus {
  border-color: #a88beb;
  box-shadow: 0 0 0 0.25rem rgba(168, 139, 235, 0.3);
}

/* Red border for invalid fields */
#contactModal input.is-invalid,
#contactModal select.is-invalid {
  border-color: #e03e2f;
  box-shadow: 0 0 5px rgba(224, 62, 47, 0.7);
}

/* Green border for valid fields */
#contactModal input.is-valid,
#contactModal select.is-valid {
  border-color: #6cc070;
  box-shadow: 0 0 5px rgba(108, 192, 112, 0.7);
}

#contactModal textarea {
  border-color: #d9c7ec;
  box-shadow: none;
}

/* Soft Placeholder Colors */
#contactModal input::placeholder,
#contactModal textarea::placeholder {
  color: #b594d6; 
  opacity: 1; 
}

/* Submit Button Styling */
.submit-form {
  background: linear-gradient(90deg, #a88beb, #f8ceec);
  border: none; 
  color: white;
  font-weight: bold;
  border-radius: 30px;
  padding: 0.75rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.submit-form:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

/* Contact Form - Success Message */
.alert-success {
  background-color: white;
  border: none;
}

.alert-success button,
.alert-success button:hover {
  background-color: #f3e8ff;
}


/* === INDEX PAGE STYLING === */
/* Index Page - Hero Section */
.index-content-1{
  background-color: #F3ECF9 !important;
}

.index-header {
  font-size: 70px;
  line-height: 1;
  color: #875DA6 !important;
}

/* Index Page - CTA Buttons */
.index-rug-button {
  background-color: #e5d5f4;
  color: #875DA6 ;
}

.index-rug-button:hover {
  color: #fff;
}

.index-workshop-button {
  background-color: #fff;
}

/* Index Page - Hero Images */
.hero-background {
  position: absolute;
  margin-top: -250px;
  transform: translateX(-50%);
  left: 50%;
  width: 100%;    
  z-index: 0;       
}

.hero-img-section .hero-img {
  position: relative;
  z-index: 1;       
}

.index-hero-layout {
  gap: 12px;
}

.hero-img {
  box-shadow: 0px 0px 25px 2px rgba(135, 93, 166, 0.31);
  transition: transform 0.3s ease;
  display: block;
}

.hero-img:hover {
  transform: scale(1.05);
}

.hero-img-big {
  width: 240px;
  height: 334.79px;
}

.hero-img-medium {
  width: 200px;
  height: 224.01px;
}

.hero-img-small {
  width: 160px;
  height: 150.75px;
}

/* Index Page - About Section */
.index-about {
  background-color: #FAF7FD;
}

/* Index Page - Showcases Section */
/* Rocking animation */
.showcases-rock .index-showcases-border {
  display: inline-block;
  animation: cardRock 2s ease-in-out infinite alternate;
  transition: transform 0.5s ease, box-shadow 0.3s ease;
}

@keyframes cardRock {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-3px) rotate(-1deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

/* Pause rocking on hover */
.showcases-rock .index-showcases-border:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 30px rgba(194, 163, 255, 0.4);
}

/* Scrollbar styles */
.index-showcases-scroll {
  padding-bottom: 1rem;
  scroll-behavior: smooth;
}

.index-showcases-scroll::-webkit-scrollbar {
  height: 10px;
}
.index-showcases-scroll::-webkit-scrollbar-thumb {
  background: #c69ce8;
  border-radius: 5px;
}
.index-showcases-scroll::-webkit-scrollbar-track {
  background: #fdfaff;
}

.index-showcases {
  aspect-ratio: 4 / 5;  /* all cards same ratio */
  width: 300px;
  border-radius: 15px;
}

.index-showcases img {
  transition: transform 0.5s ease, filter 0.5s ease;
}
.index-showcases:hover img {
  transform: scale(1.08) rotate(-1deg);
  filter: brightness(1.1);
}

/* Overlay effect */
.index-showcases-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(194, 163, 255, 0.6);
  opacity: 0;
  transition: opacity 0.4s ease, backdrop-filter 0.4s ease;
  padding: 1rem;
  text-align: center;
  border-radius: 15px;
  backdrop-filter: blur(3px);
}

.index-showcases:hover .index-showcases-overlay {
  opacity: 1;
}

.index-showcases-overlay p {
  font-size: 1rem;
}

.index-showcases-overlay .btn {
  font-size: 0.85rem;
  padding: 0.25rem 0.75rem;
  border-radius: 25px;
  border: 1px solid #fff;
  color: #fff;
  background: transparent;
  transition: all 0.3s ease;
}
.index-showcases-overlay .btn:hover {
  background: #c2a3ff;
  color: #fff;
  transform: scale(1.05);
}

/* See more button */
.index-seemore-btn {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, #fdfaff, #e6d9ff);
  border-radius: 50%;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background 0.3s ease;
  box-shadow: 0 4px 15px rgba(194, 163, 255, 0.3);
}
.index-seemore-btn:hover {
  transform: scale(1.1);
  background: linear-gradient(135deg, #e6d9ff, #d8bfff);
}

/* Index Page - Showcase Section - Showcase Modal Styles */
.showcase-modal .modal-content {
  border-radius: 20px;
  overflow: hidden;
  border: none;
  box-shadow: 0 20px 50px rgba(168, 139, 235, 0.3);
  background: linear-gradient(135deg, #fdfaff, #f0e6ff);
  transition: transform 0.3s ease;
}

.showcase-modal.show .modal-content {
  transform: scale(1.02);
}

.showcase-modal .modal-header {
  border-bottom: none;
  background: linear-gradient(135deg, #d8bfff, #c2a3ff);
  color: #fff;
  font-size: 1.5rem;
  padding: 1.5rem 2rem;
  text-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.showcase-modal .modal-header .btn-close {
  filter: brightness(0.9);
  transition: transform 0.2s ease;
}

.showcase-modal .modal-header .btn-close:hover {
  transform: scale(1.1);
  filter: brightness(1);
}

.showcase-modal .modal-body {
  background: #fff;
  padding: 2rem 2rem 3rem 2rem;
  color: #4a3e66;
  font-family: 'Poppins', sans-serif;
}

.showcase-modal .showcase-meta {
  margin-top: 1.5rem;
}

.showcase-modal .showcase-meta li {
  list-style: none;
  font-weight: 500;
  background: #e6d9ff;
  color: #5a3e99;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  box-shadow: 0 3px 8px rgba(168,139,235,0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.showcase-modal .showcase-meta li:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(168,139,235,0.25);
}

.showcase-modal-image {
  width: 300px;        
  height: 350px;     
  overflow: hidden;
  border-radius: 15px;
}

.showcase-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  align-items: center;
}

/* Individual CTA Button */
.showcase-modal .modal-body .showcases-cta-button .btn {
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.25s ease;
  box-shadow: 0 5px 15px rgba(168, 139, 235, 0.3);
}

/* Outline CTA Gradient */
.showcase-modal .modal-body .showcases-cta-button .btn-outline-primary {
  background: #fff;
  color: #8a5cff;
  border: 2px solid #c2a3ff;
}

.showcase-modal .modal-body .showcases-cta-button .btn-outline-primary:hover {
  background: #f3e8ff;
  color: #5a3e99;
  transform: translateY(-2px);
  border-color: #a677ff;
}

/* Index Page - Design Your Own Rug Section */
.index-design-own {
  background-color: #F3ECF9;
}

.index-design-cta {
  background-color: #AE83D2;
  border: none;
  color: #fff;
}

.index-design-cta:hover {
  background-color: #875DA6;
  border: none;
  color: #fff;
}

/* Index Page - Step Into Our Rug Workshop Section */
.index-content-4 {
  position: relative;
  min-height: 68vh;                
  background-size: cover;           
  background-position: center center;
  background-repeat: no-repeat;     
  background-attachment: fixed;   
  margin-left: 70px;  
  margin-right: 70px;
  border-radius: 15px;
  isolation: isolate;       
  overflow: hidden;    
}

/* Slight dark overlay (improves text readability) */
.index-content-4::before {
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg,
    rgba(0,0,0,.35) 0%,
    rgba(0,0,0,.30) 40%,
    rgba(0,0,0,.35) 100%);
  z-index:0;
}

/* Centered layout */
.parallax-inner {
  position:relative; z-index:1;
  display:grid; place-items:center;
  min-height:inherit;
  padding: clamp(24px, 4vw, 48px);
}

/* Glass-style card (slightly transparent so the background is visible) */
.parallax-card {
  max-width: 820px;
  width: min(92vw, 820px);
  padding: clamp(20px, 3.5vw, 36px);
  border-radius: 18px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}

.parallax-title {
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.15;
  margin: 0 0 .5rem;
  text-shadow: 0 1px 12px rgba(0,0,0,.35);
}

.parallax-lead {
  font-size: clamp(15px, 1.2vw + 12px, 20px);
  line-height: 1.7;
  margin: 0 0 1.25rem;
  color: rgba(255,255,255,.92);
}

/* Button styling: white outline for better visibility */
.index-parallax .btn-outline-light {
  border-width: 2px;
  background: rgba(255,255,255,.08);
}

.index-parallax .btn-outline-light:hover {
  background: rgba(255,255,255,.22);
  color:#fff;
  transform: translateY(-1px);
}

/* Index Page - Follow The Thread Section */
.index-content-5 {
  background: white;
  padding: 4rem 0; 
}

.index-content-5 p {
  margin-bottom: 2rem;
  line-height: 1.6;
  color: #5a4c6d !important;
}

/* Follow Button Below the Feed */
.btn-follow {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
  color: #fff;
  font-weight: bold;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1rem;
  display: inline-block;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-follow:hover {
  background: #fff;
  color: #dd2a7b;
  border: 2px solid #dd2a7b;
}

/* Instagram Posts Grid */
.FeedGridLayout__grid {
    gap: 12px !important;
}

/* Individual Instagram Post */
.FeedGridLayout__cell {
    border-radius: 1.5rem;
    box-shadow: 0px 0px 25px 2px rgba(135, 93, 166, 0.31);
    transition: transform 0.3s ease;
    display: block;
}

.FeedGridLayout__cell:hover {
    transform: scale(1.05);
}

.FeedGridLayout__media-container {
    border-radius: 1.5rem;
}

/* Hiding Default Hover Effect */
.MediaTile__overlay {
    display: none
}

/* === ABOUT PAGE STYLING === */
/* ===== About Page - Cards ===== */

/* Section */
#vt-trending { padding-top: 3.5rem; }

/* Wrapper */
.vt-wrap {
  position: relative; /* base for dots */
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Card container */
.vt-cards {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: start;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1rem 6.8rem; /* extra bottom padding for dots */
  box-sizing: border-box;
  position: relative;
}

/* Card */
.vt-card {
  width: 33%;
  min-width: 260px;
  border-radius: 1.25rem;
  padding: 0.75rem 1rem 1.5rem;
  text-align: center;
  cursor: pointer;
  opacity: 0.95;
  position: relative;
  transition: transform .32s cubic-bezier(.2,.9,.2,1),
              box-shadow .32s ease,
              opacity .28s ease;
}

/* Media inside card */
.vt-media {
  width: 100%;
  height: 280px;
  border-radius: 1.25rem;
  background-size: cover;
  background-position: center;
  margin-bottom: 1rem;
  filter: saturate(.98) brightness(.95);
  transition: transform .55s cubic-bezier(.2,.9,.2,1), filter .3s ease;
}

/* Title */
.vt-title {
  margin: 0.6rem 0 0.8rem;
  font-size: 2rem;
  color: rgba(0,0,0,0.85);
  pointer-events: none;
}

/* Text */
.vt-copy {
  max-width: 34rem;
  margin: 0 auto;
  line-height: 1.6;
  font-size: 0.98rem;
  transition: opacity .3s ease;
}
.vt-card.active .vt-copy { opacity: 1; color: #222; }
.vt-card:not(.active) .vt-copy { opacity: 0.4; color: #666; }

/* Active card */
.vt-card.active {
  background: #faf7ff;
  transform: translateY(-12px) scale(1.06);
  z-index: 40;
  box-shadow: 0 22px 46px rgba(16,24,40,0.18);
  opacity: 1 !important;
  filter: none !important;
}
.vt-card.active .vt-media {
  transform: scale(1.06);
  filter: saturate(1.02) brightness(1);
}

/* Inactive card */
.vt-card:not(.active) {
  transform: scale(.96);
  opacity: 0.48;
  filter: grayscale(.08) contrast(.95);
  transition: transform .28s ease, opacity .28s ease, filter .28s ease;
}
.vt-card:not(.active):hover,
.vt-card:not(.active):focus-within {
  opacity: 0.86;
  filter: grayscale(0) contrast(1);
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 12px 28px rgba(16,24,40,0.08);
  z-index: 30;
}

/* Nav buttons */
.vt-btn {
  background: transparent;
  border: none;
  font-size: 2.2rem;
  width: 44px;
  height: 44px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

/* Dots */
.vt-dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0.6rem;
  display: flex;
  gap: .6rem;
  z-index: 60;
}
.vt-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d9d9d9;
  border: none;
  cursor: pointer;
  transition: transform .22s ease, background .22s ease;
}
.vt-dot.active { background: #222; transform: scale(1.12); }

/* Responsive */
@media (max-width: 560px) {
  .vt-wrap { flex-direction: column; }
  .vt-cards { flex-direction: column; padding-bottom: 0.8rem; }
  .vt-card { width: 100%; }
  .vt-title { margin-top: -3.5rem; font-size: 1.6rem; }
  .vt-media { height: 220px; }
  .vt-dots {
    position: static;
    transform: none;
    margin-top: 1rem;
    justify-content: center;
  }
}

/* Accessibility */
.vt-card:focus {
  outline: 3px solid rgba(125,185,170,0.18);
  outline-offset: 6px;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .vt-card,
  .vt-media,
  .vt-copy,
  .vt-dot,
  .vt-card:not(.active):hover,
  .vt-card:not(.active):focus-within {
    transition: none !important;
    transform: none !important;
  }
}

/* Control Slider and Pagination */
.swiper-button-prev,
.swiper-button-next {
  display: none !important;
}

.tranding-slider-control .swiper-pagination {
  position: relative;
  bottom: 1rem;
  width: auto;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.swiper-slide-shadow-left,
.swiper-slide-shadow-right {
  display: none;
}

.tranding-slider-control {
  position: relative;
  bottom: -1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* About Page - What We Offer Section  */
.about-content-4 {
  background-color: #D7EEE8;
}

.about-content-4 h2{
  color: #7eb7ac;
}

.about-soso-card {
  background: #fff;
  border: 2px solid #8DC9BD;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-soso-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-soso-card .card-title {
  color:  #8DC9BD;
}

.about-soso-card .card-text {
  color: #666;
}

.about-soso-card .btn-primary {
  color:  #8DC9BD;
  background-color: transparent;
  border: 2px solid  #8DC9BD;
  transition: all 0.2s ease-in-out;
}

.about-soso-card .btn-primary:hover {
  background-color:  #8DC9BD;
  color: white;
  transform: scale(1.05);
}

/* About Page - Studio Vibes Image */
.studio-vibes-img {
  overflow: visible;
}

/* About Page - Contact Section */
.about-content-6 {
  background-color: #E4D8EE;
}

.about-contact-heading {
  color: #6f3b80;
}

.about-contact-text{
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem auto;
}

.about-contact-text em {
  color: #c8a2ff;
  position: relative;
}

.about-contact-text em::after {
  content: "⇩";
  position: absolute;
  left: 50%;
  bottom: -1.2em;
  font-size: 2rem;
  font-weight: 900;
  color: #c8a2ff;
  text-shadow: 0 0 6px rgba(200, 162, 255, 0.6);
  animation: bouncehere 1.5s infinite;
}

@keyframes bouncehere {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

@keyframes about-instagram-bounce {
  from, 20%, 53%, 80%, to {
    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    transform: translate3d(0, 0, 0);
  }

  40%, 43% {
    animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
    transform: translate3d(0, -15px, 0);
  }

  70% {
    animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
    transform: translate3d(0, -7px, 0);
  }

  90% {
    transform: translate3d(0, -2px, 0);
  }
}

.about-instagram-bounce {
  position: absolute;
  animation-duration: 2s;
  animation-name: about-instagram-bounce;
  animation-iteration-count: infinite;
  font-size: 2em;
  color: #6f3b80;
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
  background-clip: text; 
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-instagram-bounce:hover {
  animation: none;
}

.about-instagram-bounce:not(:hover) {
  animation-duration: 2s;
  animation-name: about-instagram-bounce;
  animation-iteration-count: infinite;
}

.about-instagram-container {
  text-decoration: none;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-contact-btn{
  color:  #6f3b80;
  background-color: transparent;
  border: 2px solid  #6f3b80;
  transition: all 0.25s ease-in-out;
  box-shadow: 0 0 10px rgba(200, 162, 255, 0.4), 0 0 20px rgba(200, 162, 255, 0.2);
}

.about-contact-btn:hover {
  background-color: #6f3b80;
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 0 16px rgba(200, 162, 255, 0.8), 0 0 32px rgba(200, 162, 255, 0.6);
}


/* === COMMISSION PAGE STYLING === */
/* Commission Page */
.commission-wrapper {
  background-color: #fefcfe;
}

/* Commission Page - Hero Section */
.commission-hero {
  background-color: #ffff;
}

/* Commission Page - Hero Dream Header */
.commission-hero-d,
.commission-hero-r,
.commission-hero-e,
.commission-hero-a {
  letter-spacing: -6px;
}

.commission-hero-d,
.commission-hero-r,
.commission-hero-e,
.commission-hero-a,
.commission-hero-m {
  color: violet;
}


/* Commission Page - Stepper Section Styles */
/* CSS variables for easy theme control - commission page */
:root {
  --ss-bg-start: #fffafc;
  --ss-bg-end: #ffffff;
  --ss-accent-1: #d9b3ff;
  --ss-accent-2: #ffdff4;
  --ss-text: #24121f;
  --ss-muted: #6b6b6b;
  --ss-badge-size: 35px;
  --ss-container-max: 1100px;
  --ss-radius: 10px;
  --ss-gap: 1rem;
}

.ss-stepper {
  position: relative;
  background: linear-gradient(to bottom, white, #faf7fd);
  padding: 3rem 0;
  color: var(--ss-text);
}

.ss-stepper::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 28px;
  width: 2px;
  height: calc(100% - 60px);
  background-color: white;
  z-index: 0;
}

.ss-stepper .container {
  max-width: var(--ss-container-max);
  margin-left: auto;
  margin-right: auto;
}

.ss-step {
  position: relative;
  display: flex;
  gap: var(--ss-gap);
  align-items: center;
  justify-content: center;
  padding: 1.25rem 0;
  margin-bottom: 40px;
  border-radius: var(--ss-radius);
  z-index: 1;
  position: relative;
}

.ss-arrow-1 {
  width: 600px;  
  position: absolute;
  left: 40%;
  bottom: -130px; 
  transform: translateX(-50%);
  height: auto;
  margin: 0;   
  padding: 0;
  pointer-events: none; 
}

.ss-arrow-2 {
  width: 600px;  
  position: absolute;
  left: 60%;
  bottom: -140px; 
  transform: translateX(-50%);
  height: auto;
  margin: 0;   
  padding: 0;
  pointer-events: none; 
}

.ss-arrow-3 {
  width: 600px;  
  position: absolute;
  left: 35%;
  bottom: -180px; 
  transform: translateX(-50%);
  height: auto;
  margin: 0;   
  padding: 0;
  pointer-events: none; 
}

.ss-badge {
  flex: 0 0 var(--ss-badge-size);
  width: var(--ss-badge-size);
  height: var(--ss-badge-size);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ss-accent-1) 0%, var(--ss-accent-2) 100%);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #3b1b3b;
  box-shadow: 0 8px 18px rgba(100,55,120,0.08);
}

.ss-content {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 560px;
}

.ss-content h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ss-text);
}

.ss-desc {
  margin: 0;
  color: var(--ss-muted);
  line-height: 1.45;
  font-size: 0.97rem;
}

.ss-btn {
  display: inline-block;
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(120,86,150,0.08);
  background: rgba(186,129,255,0.08);
  color: #3b1b3b;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ss-btn:hover,
.ss-btn:focus {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(120,80,160,0.08);
}

/* Mobile Design - Stepper Section Commission Page - Move to bottom later */
@media (min-width: 768px) {
  .ss-step { align-items: flex-start; padding-top: 1.75rem; padding-bottom: 1.75rem; }

  /* Odd steps: badge left, text left */
  .ss-step:nth-child(odd) .ss-badge { order: 0; margin-right: 1rem; }
  .ss-step:nth-child(odd) .ss-content { order: 1; text-align: left; padding-left: 0.5rem; }

  /* Even steps: badge right, text right */
  .ss-step:nth-child(even) .ss-badge { order: 2; margin-left: 1rem; }
  .ss-step:nth-child(even) .ss-content { order: 1; text-align: right; padding-right: 0.5rem; }
}

/* Commission Page - FAQ Section */
.commission-content-3 {
  background-color: #FAF7FD;
}

.commission-faq-section .accordion-button {
  background-color: #f3e9ff;
  color: #4b0082;
}

.commission-faq-section .accordion-button:not(.collapsed) {
  background-color: #f3e9ff;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
}

.commission-faq-section .accordion-body {
  background-color: #fff;
}

/* FAQ View More Button */
.commission-faq-section .btn-outline-secondary {
  color: #fff;
  background-color: #6a317d;
  border-radius: 2rem;
}
.commission-faq-section .btn-outline-secondary:hover {
  background-color: #6f3b80;
}

/* Commission Page - Continue Exploring Section */
.commission-content-4 { 
  background-color: #FAF7FD;
}

.commission-continue-exploring .btn-outline-primary {
  border: none !important;
  background: linear-gradient(to right, #eac6ff, #fbefff);
  color: #5d2b75;
}

.commission-continue-exploring .btn-outline-primary:hover {
  background-color: #8DC9BD;
  color: #fff;
}


/* === COMMISSION FORM PAGE STYLING === */
.commission-form-content-1 {
  background-color: #fff;
}

.commission-form {
  background-color: #FAFAFA;
}

.required-note {
  color: #a88beb;
  margin-top: 5px;
}

.commission-form .form-label {
  font-size: 0.95rem;
  color: #4a2064;
  font-weight: 600;
}

.commission-form .form-control,
.commission-form .form-select {
  border-radius: 0.5rem;
  border: 1px solid #ddd;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  background-color: #fff;
  color: #4a2064;
}

.commission-form .form-control:focus,
.commission-form .form-select:focus {
  border-color: #cc6699;
  box-shadow: 0 0 0 0.2rem rgba(204, 102, 153, 0.25);
  outline: none;
}

/* Valid = green */
.commission-form input.was-validated:valid,
.commission-form select.was-validated:valid,
.commission-form textarea.was-validated:valid {
  border-color: #6cc070;
  box-shadow: 0 0 5px rgba(108, 192, 112, 0.7);
}

/* Invalid = red */
.commission-form input.was-validated:invalid,
.commission-form select.was-validated:invalid,
.commission-form textarea.was-validated:invalid {
  border-color: #e03e2f;
  box-shadow: 0 0 5px rgba(224, 62, 47, 0.7);
}

/* Commission Form - Texture Help Icon */
.texture-help-icon {
  display: inline-block;
  font-size: 1rem;
  color: #8a4dd2; 
  transition: color 0.3s ease;
}

.texture-help-icon:hover {
  color: #4a2064;
}

/* Commission Form - Download Your Design from Custom Page */
/* Container for the preview, button, and note */
.design-preview-container {
  margin-bottom: 15px;
  text-align: center;
}

/* Canvas design preview image */
.design-preview-image {
  max-width: 250px;
  border: 2px solid #ccc;
  border-radius: 10px;
  margin-bottom: 10px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Download button */
.design-download-btn {
  background-color: #b39ddb;
  border-color: #b39ddb;
  color: #fff;
  border-radius: 8px;
  padding: 6px 12px;
  margin-top: 5px;
  font-size: 0.9rem;
  transition: all 0.2s ease-in-out;
}

.design-download-btn:hover {
  background-color: #9c88cc;
  border-color: #9c88cc;
  color: #fff;
}

.design-note {
  font-size: 0.9rem;
  color: #000; 
  margin-top: 8px;
  text-align: center;
}

.design-edit-reminder {
  font-style: italic;
  color: #6c757d; 
}

/* Commission Form - Submit Button */
.commission-form .btn-primary {
  background: linear-gradient(to right, #6a317d, #9c4dc3);
  border: none;
  border-radius: 999px;
  padding: 0.75rem 2.5rem;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 3px 10px rgba(106, 49, 125, 0.2);
  transition: all 0.2s ease-in-out;
}

.commission-form .btn-primary:hover {
  background: linear-gradient(to right, #571a66, #8b3ab1);
  box-shadow: 0 6px 14px rgba(106, 49, 125, 0.25);
  transform: translateY(-2px);
}

/* Commission Form - Commissioning Tips */
.commission-form .alert-info {
  background-color: #f3effc;
  border-color: #d7ccf9;
  color: #4d3e7a;
  font-size: 0.9rem;
}


/* === CUSTOM PAGE STYLING === */
.canvas-wrapper {
  width: 100%;
  max-width: 800px; 
  margin: 0 auto;
}

#custom-canvas {
  width: 100%; 
  height: auto; 
}

/* Custom Page - Left Buttons */
#undo-btn,
#redo-btn,
#delete-object,
#reset-canvas,
#download-design,
#send-to-commission {
  background-color: #f9f4fc;
  color: #4b0082;
  border: 2px solid #d9c7ec;
  border-radius: 30px;
  width: 70%;
  transition: all 0.3s ease;
}

#undo-btn:hover,
#redo-btn:hover,
#delete-object:hover,
#reset-canvas:hover,
#download-design:hover,
#send-to-commission:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(168, 139, 235, 0.3);
}

/* Custom Page - Tool Content */
.custom-design .tab-content .tab-pane {
  padding: 1rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(75,0,130,0.1);
  margin-top: 10px;
  height: 100px;
}

.custom-design .tab-content .tab-pane-upload, .tab-pane-text, .tab-pane-draw, .tab-pane-background {
  height: 70px;
}

.custom-design .tab-content .tab-pane-text{
  height: 70px;
}

.custom-design .tab-content .tab-pane-draw{
  height: 70px;
}

.custom-design .tab-content .tab-pane-background{
  height: 70px;
}

/* Custom Page - Tool Content Inputs */
.tab-content input[type="file"],
.tab-content input[type="text"],
.tab-content input[type="number"],
.tab-content input[type="color"],
.tab-content textarea {
  border: 1px solid #d9c7ec;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  transition: all 0.3s ease;
}

.tab-content input:focus,
.tab-content textarea:focus {
  outline: none;
  border-color: #a88beb;
  box-shadow: 0 0 5px rgba(168,139,235,0.3);
}

/* Custom Page - Shape Canvas */
.shape-option {
  width: 70px;
  height: 70px;
  background: #d1c4e9; 
  transition: 0.2s;
  border: none;          
  outline: none;         
}

.shape-option:hover {
  background: #f4e4fe;
  box-shadow: 0 0 5px rgba(75, 0, 130, 0.6);
}

.shape-option.active {
  background: #b39ddb;  
}

/* Rectangle */
.shape-rectangle { 
  clip-path: inset(0); 
}

/* Circle */
.shape-circle { 
  clip-path: circle(50% at 50% 50%); 
}

/* Oval */
.shape-oval { 
  clip-path: ellipse(45% 35% at 50% 50%); 
}

/* Triangle */
.shape-triangle { 
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%); 
}

/* Pentagon */
.shape-pentagon { 
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

/* Hexagon */
.shape-hexagon {
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

/* Star */
.shape-star {
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%,
    79% 91%, 50% 70%, 21% 91%, 32% 57%,
    2% 35%, 39% 35%);
}

/* Trapezoid */
.shape-trapezoid { 
  clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
}

/* Diamond */
.shape-diamond { 
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

/* Custom Page - Rug Tips Button */
.rug-tips-button {
  background-color: #f9f4fc;
  color: #4b0082;
  border: 2px solid #d9c7ec;
  border-radius: 30px;
  transition: all 0.3s ease;
  animation: pulseGlow 2s infinite;
}

.rug-tips-button:hover {
  background-color: #f9f4fc;
  color: #4b0082;
  border: 2px solid #d9c7ec;
  border-radius: 30px;
  transform: translateY(-2px);
  animation: none;
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 rgba(75, 0, 130, 0.4);
  }
  50% {
    box-shadow: 0 0 12px rgba(75, 0, 130, 0.7);
  }
  100% {
    box-shadow: 0 0 0 rgba(75, 0, 130, 0.4);
  }
}

/* Stops pulsing when collapse is open */
.rug-tips-button[aria-expanded="true"] {
  animation: none !important;
}

/* Custom Rug Tips Dropdown */
.custom-rug-tips {
  background: #fff;          
  border-radius: 15px;       
  color: #333 !important;    
  padding: 10px 16px;        
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Custom Page - Commission Form Button */
.custom-commission-link {
  color: #b39ddb;
}

/* Custom Page - Toolbox Nav */
.custom-toolbox .nav {
  margin-top: 20px; 
}

.custom-toolbox .nav-pills {
  gap: 0 !important;
  height: 50px;
}

.custom-toolbox .nav-link {
  background: #fff;          
  border-radius: 15px;       
  color: #333 !important;    
  padding: 10px 16px;        
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  height: 80px;
}

#custom-tools-tab .nav-link.active,
#custom-tools-tab .nav-link:hover {
  background-color: #f9f9f9;
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(75,0,130,0.2);
} 

/* Active tab */
.custom-toolbox .nav-link.active {
  transition: all 0.3s ease;
}

/* Change Default Toggle Brush Color */
#toggle-draw.form-check-input:checked {
  background-color: #4b0082;  
  border-color: #4b0082;
}

/* Custom Page - Edit Shape Size */
.edit-shape-size {
  max-width: 300px; 
  margin: 0 auto;
}

.edit-shape-size .form-label {
  color: #333;
  font-size: 0.85rem;
}

.edit-shape-size .form-range::-webkit-slider-thumb {
  background-color: #6c63ff; 
  width: 14px;
  height: 14px;
  box-shadow: 0 0 2px rgba(0,0,0,0.5);
}

/* Firefox styling */
.edit-shape-size .form-range::-moz-range-thumb {
  background-color: #6c63ff;
  width: 14px;
  height: 14px;
  box-shadow: 0 0 2px rgba(0,0,0,0.5);
}

.shape-option {
  width: 60px;
  height: 60px;
  flex: 0 0 auto; 
}


/* === WORKSHOP PAGE STYLING === */
/* Workshop Page - Hero Section */
.workshop-hero{
  color: #875DA6 !important;
}

.workshop-hero-img{
  width: 600px;
}

.workshop-hero-img:hover{
  cursor: pointer;
}

/* Workshop Section */
.workshop-content-2 {
  position: relative;
  padding: 5rem 0;
}

.workshop-content-2 h2 {
  margin-bottom: 3rem;
  color: #3b0764 !important; 
  text-shadow: none;
}

/* Workshop Page - Scroll styling */
.workshop-scroll-container {
  padding-bottom: 1rem;
  scroll-behavior: smooth;
}

/* Horizontal scrollbar */
.workshop-scroll-container::-webkit-scrollbar {
  height: 10px;
}

.workshop-scroll-container::-webkit-scrollbar-thumb {
  background: #8e6fad;
}

.workshop-scroll-container::-webkit-scrollbar-track {
  background: #f9f5ff;
}

/* Workshop Cards */
.workshop-item {
  width: 50%;
  min-width: 50%;
}

.workshop-card {
  background: #fff;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
}

.workshop-card:hover {
  transform: translateY(-6px);
}

.workshop-card .card-img-top {
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.workshop-card:hover .card-img-top {
  transform: scale(1.05);
}

.workshop-date-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(153, 119, 212, 0.9);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.workshop-card .card-body {
  padding: 1.5rem;
  text-align: center;
}

.workshop-card .card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #4b2e83;
  margin-bottom: 0.5rem;
}

.workshop-full-text {
  max-height: 0;
  display: none;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.5s ease;
}

.workshop-full-text.show {
  max-height: 500px;
  opacity: 1;
  display: block;
}

.workshop-card-text .workshop-see-more {
  display: inline-block;
  font-weight: 600;
  background: linear-gradient(45deg, #7c3aed, #a855f7);
  background-clip: text; 
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  text-decoration: none;
}

.workshop-card-text .workshop-see-more::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: linear-gradient(45deg, #7c3aed, #a855f7);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.workshop-card-text .workshop-see-more:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.workshop-meta {
  background: #f9f5ff;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.workshop-meta li {
  font-size: 0.95rem;
  color: #444;
  display: flex;
  align-items: center;
  justify-content: center;
}

.workshop-meta li i {
  margin-right: 0.5rem;
  color: #7c3aed;
  font-size: 1.1rem;
}

.btn-book {
  background: linear-gradient(45deg, #8e6fad, #f2d8ff);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.8rem;
  font-weight: 700;
  font-size: 1rem;
  color: #fff !important;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 6px 14px rgba(124, 58, 237, 0.3);
  display: inline-block;
}

.btn-book:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(152, 110, 225, 0.45);
}


/* === GALLERY PAGE STYLING === */
/* Gallery Page - Hero Section */
.gallery-content-1 {
  background-color: #F3ECF9;
}

.gallery-layout {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.gallery-row img {
  width: 180px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  object-fit: cover;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}

.gallery-row img:hover {
  transform: scale(1.05);
  z-index: 10;
}

/* Gallery Page - Row Styling */
.row-1 {
  justify-content: center; 
  gap: 210px;
  height: 180px;
}

.row-2 {
  justify-content: center; 
  gap: 210px;
  margin-top: -140px;
  height: 239.91px;
}

.row-3 {
  justify-content: center;
  gap: 600px;
  margin-top: -210px;
  height: 239.91px;
}

.row-4 {
  justify-content: center;
  gap: 1000px;
  margin-top: -130px;
  height: 239.91px;
}

/* Gallery Page - Heading */
.gallery-hero-heading {
  margin-top: -160px;
}

/* Gallery Page - Background */
.gallery-hero-background {
  width: 100%;
}

/* Gallery Page - Filter Buttons */
.gallery-filter .filter-btn {
  background-color: transparent;
  border: 2px solid #4a2064;
  color: #4a2064;
  padding: 0.5rem 1.2rem;
  margin: 0.3rem;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gallery-filter .filter-btn:hover {
  background-color: #4a2064;
  color: #fff;
}

.gallery-filter .filter-btn.active {
  background-color: #4a2064;
  color: #fff;
}

/* Gallery Page - Image Display Section */
.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-5px);
}

.gallery-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-overlay-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.85);
  color: #2a1b3d;
  padding: 1rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  text-align: center;
}

.gallery-card:hover .gallery-overlay-caption {
  transform: translateY(0);
}

.gallery-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #b38bff;
  color: #fff;
  font-size: 0.8rem;
  padding: 4px 8px;
  border-radius: 4px;
}

/* Gallery Page - Categories Section */
.gallery-category-bg {
  background-color: rgb(250, 247, 253);
  position: relative; 
}

.right-arrow,
.left-arrow {
  position: absolute;
  bottom: 20px;

  font-size: 2rem;
  color: white;
  background: rgba(163, 150, 172, 0.12);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 50%;
  transition: background 0.3s ease, transform 0.2s ease;
}

.right-arrow {
  right: 20px;
}

.left-arrow {
  left: 20px;
}

.right-arrow:hover,
.left-arrow:hover {
  background: rgba(162, 114, 198, 0.3);
  transform: translateY(3px);
}

/* Gallery Categories Section - Stacked Images */
.gallery-content-3 .stacked-images .top-image,
.gallery-content-3 .stacked-images .bottom-image {
  width: 100%;
  max-width: 450px; 
  margin: 0 auto;
}

.gallery-content-3 .stacked-images .top-image img,
.gallery-content-3 .stacked-images .bottom-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
  aspect-ratio: 16 / 9;
  transition: transform 0.8s ease, opacity 0.8s ease, box-shadow 0.3s ease;
}

.gallery-content-3 .stacked-images .top-image {
  padding-top: 1rem;
}

.gallery-content-3 .stacked-images .bottom-image {
  padding-bottom: 1rem;
}

.gallery-content-3 .stacked-images.left .top-image {
  transform: translateX(-45px); /* moves top image a bit left */
}

.gallery-content-3 .stacked-images.left .bottom-image {
  transform: translateX(45px); /* moves bottom image a bit right */
}

.gallery-content-3 .stacked-images.right .top-image {
  transform: translateX(45px); /* moves top image a bit right */
}

.gallery-content-3 .stacked-images.right .bottom-image {
  transform: translateX(-45px); /* moves bottom image a bit left */
}


/* === SINGLE RUG PAGE STYLING === */
/* Single Rug Page - Back to Gallery Button */
.single-rug .btn-outline-primary {
  border-color: #6f42c1;
  color: #6f42c1;
  font-size: 1rem;
  padding: 0.5rem 1.25rem;
}

.single-rug .btn-outline-primary:hover {
  background-color: #6f42c1;
  color: #fff;
}

/* Single Rug Page - Image Layout */
.single-rug .top-image img,
.single-rug .bottom-images img,
.single-rug .two-image-layout img,
.single-rug .bottom-two-images img,
.single-rug .bottom-three-images img {
  object-fit: cover;
  height: auto;
  transition: opacity 0.8s ease, transform 0.8s ease, box-shadow 0.3s ease;
}

/* Once loaded, fade them in smoothly */
.single-rug img.loaded {
  opacity: 1;
  transform: translateY(0);
}

/* Hover effect for depth */
.single-rug img:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

/* Aspect ratios for consistency */
.single-rug .top-image img {
  aspect-ratio: 16 / 9;
}

/* One image layout */
.single-image img {
  max-height: 500px;     
  object-fit: contain;     
}

/* Three image layout */
.single-rug .bottom-two-images .flex-fill {
  width: calc(50% - 0.5rem); /* 50% minus half the gap */
}

.single-rug .bottom-two-images img {
  height: 200px;
  object-fit: cover;
}

/* Four image layout */
.single-rug .bottom-three-images img {    
  height: 200px;    
  object-fit: cover;
}

/* Two image layout */
.bottom-image img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.8s ease, opacity 0.8s ease;
}

.top-image img,
.bottom-single-image img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.single-rug h1 {
  font-family: 'Marcellus', serif;
  font-size: 2.75rem;
  margin-bottom: 1.25rem;
  color: #333;
  text-align: center;
}

.single-rug .meta-details li {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
  line-height: 1.6;
}

.single-rug .meta-details strong {
  color: #6f42c1;
  font-weight: 600;
}

/* Single Rug Page - CTA Box */
.single-rug .cta-box {
  background-color: #f9f5ff;
  border: 2px solid #c6aef5;
  box-shadow: 0 10px 25px rgba(111, 66, 193, 0.05);
  color: #333;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  padding: 1.75rem;
  border-radius: 1rem;
  text-align: center;
}

.single-rug .cta-box h3 {
  font-family: 'Marcellus', serif;
  font-size: 1.8rem;
  color: #6f42c1;
}

.single-rug .cta-box p {
  font-size: 1.1rem;
  color: #555;
}

/* Single Rug Page - Enquire CTA Button */
.single-rug .btn-primary {
  background-color: #6f42c1;
  border-color: #6f42c1;
  font-size: 1.15rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.single-rug .btn-primary:hover {
  background-color: #5a379e;
  border-color: #5a379e;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(111, 66, 193, 0.2);
}

#imageZoomModal .modal-body {
  max-height: 80vh; 
  overflow: hidden;
}

#imageZoomModal img {
  object-fit: contain;
}


/* === RUG ENQUIRY MODAL STYLING === */
#rugEnquireModal .modal-content {
  border-radius: 15px;
  border: none;
  background-color: #f9f4fc;
  box-shadow: 0 10px 30px rgba(75, 0, 130, 0.2);
}

/* Modal Header */
#rugEnquireModal .modal-header {
  border-bottom: none;
  background: linear-gradient(90deg, #a88beb, #f8ceec);
  color: #4b0082;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

#rugEnquireModal .modal-body {
  padding-bottom: 0.25rem; /* smaller bottom spacing */
}

#rugEnquireModal .modal-title {
  font-weight: 700;
  font-size: 1.5rem;
}

/* Close Button */
#rugEnquireModal .btn-close {
  filter: brightness(0) invert(1);
}

/* Form Labels */
#rugEnquireModal label {
  font-weight: 500;
  color: #4b0082;
}

/* Form Inputs */
#rugEnquireModal input,
#rugEnquireModal textarea,
#rugEnquireModal select {
  border-radius: 8px;
  border: 1px solid #d9c7ec;
  background-color: #fffafc;
  transition: all 0.3s ease;
  font-size: 1rem;
  padding: 0.5rem 0.75rem;
}

#rugEnquireModal input:focus,
#rugEnquireModal textarea:focus,
#rugEnquireModal select:focus {
  border-color: #a88beb;
  box-shadow: 0 0 0 0.25rem rgba(168, 139, 235, 0.3);
  outline: none;
}

/* Read only rug name input */
#rugEnquireModal input[readonly] {
  background-color: #e6dafc;
  color: #4b0082;
  font-weight: 600;
}

/* Textarea Styling */
#rugEnquireModal textarea {
  resize: vertical;
  min-height: 120px;
}

/* Rug Enquiry Submit Button Styling */
#rugEnquireModal .rug-enquire-form .wpcf7-submit {
  background: linear-gradient(90deg, #a88beb, #f8ceec);
  border: none;
  color: white;
  font-weight: 700;
  border-radius: 30px;
  padding: 0.75rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  display: block;
}

#rugEnquireModal .rug-enquire-form .wpcf7-submit:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

/* Green border for valid fields */
.rug-enquire-form input.is-valid,
.rug-enquire-form textarea.is-valid,
.rug-enquire-form select.is-valid {
  border-color: #6cc070 !important;
  box-shadow: 0 0 5px rgba(108, 192, 112, 0.7) !important;
}

/* Red border for invalid fields */
.rug-enquire-form input.is-invalid,
.rug-enquire-form textarea.is-invalid,
.rug-enquire-form select.is-invalid {
  border-color: #e03e2f !important;
  box-shadow: 0 0 5px rgba(224, 62, 47, 0.7) !important;
}


/* === RUGCARE PAGE STYLING === */
/* Rugcare Page - Hero Section */
.download-click-p{
  font-size: 0.8em;
}

.download-pdf-button{
  color: white;
  background-color: #5a379e;
}

.download-pdf-button:hover{
   color: white;
  background-color: #875DA6;
}

/* Rugcare Page - Quick Everyday Tips Section */
.rugcare-content-2{
  background-color: #FAF7FD;
}

.everyday-tips-box{
  width: 300px;
  height: 350px;
  background-color: #fff;
}

/* Rugcare Page - What Not To Do Section */
.rugcare-content-3{
  background-color: #fff;
  margin-top: -30px;
}

.not-todo-content{
  background-color: #fff;
}

.not-todo-img{
  width: 80%;
}

.not-todo-box{
  height: 110px;
  background-color: #FFF !important;
  border: 2px solid #875DA6 !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Rugcare Page - Cleaning Tips Video Section */
.cleaning-tips-box{
  background-color: #FAF7FD;
}

/* Rugcare Page - Contact Section */
.rugcare-contact-section h2 {
  color:#4b0082;
}


/* === FAQ PAGE STYLING === */
.faq-accordion-btn {
  background-color: #f3e9ff; 
  color: #4b0082; 
}

.faq-accordion-btn:not(.collapsed) {
  background-color: #e0d0ff; 
  color: #4b0082;
}

.accordion-body {
  font-family: 'Roboto', sans-serif;
}

.faq-nav-pills .nav-link.active {
  background-color: #4b0082;
  color: #fff;
  font-weight: 600;
}

.faq-nav-pills .nav-link {
  transition: background-color 0.2s ease;
}

.faq-nav-pills .nav-link:hover {
  background-color: #e0d0ff;
}

.faq-commission-link {
  color: #8e6fad; 
  text-decoration: underline;
}

.faq-commission-link:hover {
  color: #7a5d99; 
  text-decoration-color: #b49dcf;
}

/* FAQ Page - Contact Section */
.faq-contact-section h2 {
  color:#4b0082;
}


/* === TERMS AND CONDITIONS PAGE STYLING === */
/* Hero */
.tandc-hero {
  background-size: cover;
  background-position: center 70%;
  background-attachment: fixed;
  position: relative;
  isolation: isolate;         
  padding: clamp(40px, 8vw, 100px) 0;
  color: #fff;                   
}

/* light film to improve contrast (same density as bottom) */
.tandc-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.28) 100%);
  z-index: 0;
  pointer-events: none;
}

/* content on top of overlay */
.tandc-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.tandc-hero__title {
  font-size: clamp(32px, 6vw, 52px);
  margin: 0 0 .35rem;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,.28); 
}

.tandc-hero__lead {
  font-size: clamp(16px, 2.2vw, 18px);
  color: rgba(255,255,255,.95);
  text-shadow: 0 1px 10px rgba(0,0,0,.22);
}

/* mobile perf: avoid fixed attachment */
@media (max-width: 768px) {
  .tandc-hero { background-attachment: scroll; }
}

/* Content area */
.tandc-wrapper .tandc-content {
  max-width: 900px;
  margin-inline: auto;
  color: #24121f;
}

.tandc-wrapper h2 {
  font-size: clamp(20px, 3.8vw, 26px);
  margin-top: 1.8rem;
  margin-bottom: .6rem;
}

/* Bottom CTA */
.tandc-cta {
  background-image: linear-gradient(180deg, rgba(10,10,15,.65) 0%, rgba(10,10,15,.75) 100%);
  background-size: cover;
  background-position: center 70%;
  background-attachment: fixed;
  position: relative;
  isolation: isolate;
  padding: clamp(40px, 8vw, 100px) 0;
  overflow: clip;
}

/* same light overlay as hero for consistency */
.tandc-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.28) 100%);
  z-index: 0;
  pointer-events: none;
}

.tandc-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  color: #fff;
}

.tandc-cta__title {
  font-size: clamp(28px, 5.2vw, 44px);
  line-height: 1.15;
  margin: 0 0 10px;
  text-shadow: 0 2px 14px rgba(0,0,0,.28);
}

.tandc-cta__lead {
  max-width: 820px;
  margin: 0 auto 22px;
  font-size: clamp(16px, 2.3vw, 18px);
  line-height: 1.65;
  color: rgba(255,255,255,.95);
}

.tandc-cta__actions {
  display: inline-flex;
  gap: .75rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Use existing site tone on dark bg */
.tandc-cta .index-rug-button {
  border: none;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}

.tandc-cta .index-rug-button:hover,
.tandc-cta .index-rug-button:focus {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0,0,0,.22);
}

/* mobile perf: avoid fixed attachment */
@media (max-width: 768px) {
  .tandc-cta { background-attachment: scroll; }
}


/* === PRIVACY POLICY PAGE STYLING === */
/* Hero */
.privacy-hero {
  background-size: cover;
  background-position: center 70%;
  background-attachment: fixed;
  position: relative;
  isolation: isolate;
  padding: clamp(40px, 8vw, 100px) 0;
  color: #fff;
}

.privacy-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.28) 100%);
  z-index: 0;
}

.privacy-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.privacy-hero__title {
  font-size: clamp(32px, 6vw, 52px);
  margin: 0 0 .35rem;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,.28);
}

.privacy-hero__lead {
  font-size: clamp(16px, 2.2vw, 18px);
  color: rgba(255,255,255,.95);
  text-shadow: 0 1px 10px rgba(0,0,0,.22);
}

@media (max-width: 768px) {
  .privacy-hero { background-attachment: scroll; }
}

/* Content */
.privacy-wrapper .privacy-content {
  max-width: 900px;
  margin-inline: auto;
  color: #24121f;
}

.privacy-wrapper h2 {
  font-size: clamp(20px, 3.8vw, 26px);
  margin-top: 1.8rem;
  margin-bottom: .6rem;
}

.privacy-section + .privacy-section {
  margin-top: 2.5rem;
}


/* === COOKIE STATEMENT PAGE STYLING === */
/* Hero */
.cookie-hero {
  background-size: cover;
  background-position: center 70%;
  background-attachment: fixed;
  position: relative;
  isolation: isolate;
  padding: clamp(40px, 8vw, 100px) 0;
  color: #fff;
}

.cookie-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.25) 100%);
  z-index: 0;
}

.cookie-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.cookie-hero__title {
  font-size: clamp(32px, 6vw, 52px);
  margin: 0 0 .35rem;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,.28);
}

.cookie-hero__lead {
  font-size: clamp(16px, 2.2vw, 18px);
  color: rgba(255,255,255,.95);
  text-shadow: 0 1px 10px rgba(0,0,0,.22);
}

@media (max-width: 768px) {
  .cookie-hero { background-attachment: scroll; }
}

/* Main Content */
.cookie-wrapper .cookie-content {
  max-width: 900px;
  margin-inline: auto;
  color: #24121f;
}

.cookie-wrapper h2 {
  font-size: clamp(20px, 3.8vw, 26px);
  margin-top: 1.8rem;
  margin-bottom: .6rem;
}

.cookie-section + .cookie-section {
  margin-top: 2.5rem;
}


/* === FOOTER STYLING === */
.footer-wrapper {
  background-color: #6F587A;
}

.logo-footer {
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
}

.footer-logo {
  max-width: 150px; 
  height: auto;
}

.logo-footer .logo-text {
  font-size: 2rem; 
}

.footer-font {
  color: #ffff;
}

.fa-brands {
  color: #ffff ;
}

.footer-link {
  text-decoration: none;
  color: white !important;
}

.footer-link:hover {
  text-decoration: underline;
}

.instagram-btn {
  width: 100px;
  justify-content: flex-start;
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.5);
  overflow: hidden;
  transition: background-color 0.4s ease, border-color 0.4s ease;
  text-decoration: none; 
}

.instagram-btn i {
  transform: translateX(0);
  transition: transform 0.4s ease;
  color: white;
}

.instagram-btn:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

.instagram-btn:hover i {
  transform: translateX(50px); 
}

/* Newsletter Form - Invalid Input */
.newsletter-form .is-invalid {
  border-color: #ff9ecd; 
  box-shadow: 0 0 0 0.25rem rgba(255, 158, 205, 0.3); 
  transition: border-color 0.3s, box-shadow 0.3s;
}

.newsletter-form .invalid-feedback {
  color: #ffb3d9;
  font-size: 0.9rem; 
  margin-top: 0.3rem;
  opacity: 0.9;
  transition: opacity 0.3s;
}

/* Newsletter Form - Valid Input */
.newsletter-form .is-valid {
  border-color: #f6e6ff; 
  box-shadow: 0 0 0 0.25rem rgba(246, 230, 255, 0.4);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.newsletter-form .valid-feedback {
  color: #f6e6ff; 
  font-size: 0.9rem;
  margin-top: 0.3rem;
  opacity: 0.95;
  transition: opacity 0.3s;
}

.newsletter-p{
  color: white;
}


/* === MOBILE DESIGN === */
.navbar-toggler-icon i {
  font-size: 24px;
  color: #875DA6 !important;
}


/* === MOBILE RESPOSIVENESS === */
@media (max-width: 560px) {
  /* Mobile OffCanvas Menu */
  .offcanvas-mobile {
    --bs-offcanvas-width: 50vw;   
    height: 80vh; 
    background-color: #F3ECF9;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: 6px 0 24px rgba(0, 0, 0, 0.25);
    transition: transform 0.35s ease-in-out;
  }

  .offcanvas-backdrop.show {
    opacity: 0.5;
    background-color: rgba(0,0,0,0.7);
  }

  .nav-offcanvas{
    color: #875DA6 !important;
    font-size: 1.2em;
  }

  .offcanvas-mobile .nav-link.active-nav {
    background-color: #875DA6;
    color: #fff!important;
    padding-left: 10px;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
  }

  .offcanvas-mobile .nav-link {
    transition: all 0.3s ease;
  }

  .offcanvas-mobile .btn-close {
    background-color: #fff !important; 
    border-radius: 50%;              
    padding: 8px;                   
    width: 30px;                    
    height: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);  
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .navbar-toggler .fa-bars {
    font-size: 1.4rem;
    color: #fff; 
  }

  /* Index Page */
  .index-header {
    font-size: 32px;
    padding-top: 1em !important;
  }

  .index-rug-button {
    padding: 10px !important;
  }

  .index-workshop-button {
    padding: 10px !important;
  }

  .hero-img-section{
    background-color: #F3ECF9;
    padding-bottom: 0 !important;
    padding-top: 30px !important;
  }
  
  .index-hero-layout{
    gap: 5px;
    margin-top: -16px;
  }
   
  .hero-img {
    width: 30%;  
    height: auto;
    border-radius: 15px !important;
  }

  .hero-img-small {
    display: none !important;
  }

  .hero-background{
    width: 200%;
    margin-top: 0 !important;
  }

  .index-content-2{
    margin-top: 90px !important;
  }

  .customize-rug{
    gap: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .index-content-4 { 
    margin-left: 15px;  
    margin-right: 15px; 
  }

  .parallax-card {
    width: 100%;
    max-width: 800px;
  }

  #sb_instagram #sbi_images {
    width: 90%;
    gap: 10px !important;
    margin: 0 auto; 
  }

  /* About Page */
  .about-content-1 h1{
    width: 80%;
  }

  .about-content-2{
    padding: 0px 20px 0px 20px;
  }

  .about-content-6{
    padding: 0px 20px 0px 20px;
  }

  /* Commission Page - How It Works */
  .commission-content-1 h1{
    width: 70%;
  }

  .commission-content-1 p{
    width: 80%;
  }

  .ss-stepper{
    padding-top: 0 !important;
  }

  .ss-step{
    margin: 0px 0px 20px !important;
    padding: 10px 0px !important;
  }

  .commission-content-2{
    padding: 0px 20px 0px 20px;
  }

  .commission-content-3{
    padding: 0px 20px 0px 20px;
  }

  .ss-arrow-1 {
    display: none;
  }

  .ss-arrow-2 {
    display: none;
  }

  .ss-arrow-3 {
    display: none;
  }

  /* Workshop Page */
  .workshop-content-1 p{
    padding: 0px 20px 0px 20px;
    line-height: 1.2;
  }

  .workshop-content-2 {
    padding: 0px 20px 0px 20px;
  }

  .workshop-item {
    width: 100%;
    min-width: 100%;
    flex: 0 0 100%;
  }

  .rugcare-content-1 h1{
    width: 80%;
  }

  .rugcare-content-1 p{
    width: 80%;
  }

  .rugcare-content-2 h2{
    padding-top: 20px;
  }

  .col-auto{
    padding-top: 15px;
  }

  .not-todo-box{
    height: 150px;
  }

  .rugcare-content-4{
    padding: 0px 20px 0px 20px;
  }

  .rugcare-content-5{
    padding: 0px 20px 0px 20px;
  }

  .cleaning-tips-container{
    padding-top: 0 !important;
  }

  /* Gallery Page */
  .gallery-layout {
    height: 500px;
    padding-top: 80px !important;
  }

  .gallery-row img {
    width: 120px;
  }

  .row-1 {
    gap: 150px;
  }

  .row-2 {
    justify-content: center; 
    gap: 210px;
    margin-top: -250px;
    height: 180px;
  }

  .row-3 {
    display: none;
  }

  .row-4 {
    display: none;
  }

  .gallery-hero-heading {
    margin-top: -250px;
  }

  .gallery-filter .filter-btn {
    padding: 0.5rem 1.2rem;
    margin: 0.2rem;
    font-size: 0.8rem;
  }

  .gallery-content-3{
    padding: 0px 20px 0px 20px;
  }

  #gallery-categories-section {
    overflow: hidden;             
  }

  #gallery-categories-section .mobile-section-divider {
    max-width: none;               
    width: 220vw;                 
    position: relative;
    left: 50%;
    transform: translateX(-50%);   
    display: block;
  }
  
  .gallery-category-bg {
    background-color: white !important;
  }

  .stacked-images {
    padding: 0px 20px 0px 20px;
  }

  .right-arrow {
    right: -15px;
    bottom: 5px;
  }

  .left-arrow {
    left: 0px;
    bottom: -50px;
  }

  /* Single Rug */
  .single-rug-content{
    padding: 0px 20px 0px 20px;
  }

  .single-rug h1 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
  }

  .single-rug .meta-details li {
    font-size: 1rem;
    line-height: 1.4;
  }

  .single-rug .cta-box h3 {
    font-size: 1.5rem;
  }

  .single-rug .cta-box p {
    font-size: 1rem;
  }

  .single-rug .btn-primary {
    font-size: 1rem;
  }

  /* Custom Page */
  .custom-wrapper .row {
    display: flex;
    flex-wrap: wrap;
  }

  .custom-wrapper .row > .col-12.col-md-2.text-center {
    order: 1;
  }

  .custom-wrapper .row > .col-md-8 {
    order: 2;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
  }

  #custom-canvas {
    display: block;
    width: 300px !important;
    height: 400px !important;
    margin: 0 auto;  
  }

  .custom-wrapper .row > .col-md-2:first-child button {
    padding: 0.5rem 0.6rem !important;
    font-size: 1rem;
  }

  .custom-wrapper .row > .col-md-2:first-child {
    text-align: center;
  }

  .custom-wrapper .row > .col-md-2:first-child {
    order: 2;
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .custom-wrapper .row > .col-md-2:first-child {
    flex-wrap: nowrap;                 
    overflow-x: auto;               
    -webkit-overflow-scrolling: touch; 
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
  }

  .custom-wrapper .row > .col-md-2:first-child > .d-flex {
    display: contents !important;
  }

  .canvas-tools-btn {
    padding: 0 !important;       
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border-radius: 8px;
  }

  .canvas-tools-btn span{
    font-size: 0 !important;
  }

  .canvas-tools-btn i{
    font-size: 1em;            
  }

  .tools-row {
    gap: 6px;                 
  }

  .tools-row .nav-link {
    flex: 1 1 20%;
    min-width: 0;             
    text-align: center;
    padding: .55rem .4rem;    
    font-size: .8rem;         
    line-height: 1.1;         
    white-space: normal;      
  }

  .tools-row .nav-link i {
    margin-right: .35rem !important;
  }

  .custom-toolbox {
    padding-top: .6rem;
    padding-bottom: .9rem;
  }

  .tool-content-option-container{
    height: 115px !important;
  }

  .shape-option {
    width: 40px; 
    height: 40px;
  }

  .custom-design .tab-content .tab-pane-upload {
    height: 70px;
  }

  .custom-design .tab-content .tab-pane-text {
    height: 125px;
  }

  .custom-design .tab-content .tab-pane-draw {
    width: 250px !important;
    height: 120px !important;
  }

  .custom-design .tab-content .tab-pane-draw .brush-label {
    padding-left: 60px !important;
  }

  .custom-design .tab-content .tab-pane-background {
    height: 70px;
  }

  /* FAQ Page */
  .faq-content-1 h1{
    width: 80%;
  }

  .faq-content-1 p{
    width: 80%;
  }

  .faq-content-2 {
    padding: 0px 20px 0px 20px;
  }

    /* Footer */
  .footer-bottom{
    margin: 0 !important;
  }

  .footer-logo {
    max-width: 120px; 
    height: auto;
  }

  .logo-footer .logo-text {
    font-size: 1.5rem; 
  }
}