/* ========================================
   KARPET NUSANTARA - MAIN STYLESHEET
   ======================================== */

/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

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

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

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: #2c3e50;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

a {
  color: #3498db;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #2980b9;
}

/* ========================================
   LAYOUT & CONTAINERS
   ======================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header p {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 1rem;
  position: relative;
}

.section-header p::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(135deg, #004600, #45a445);
  border-radius: 2px;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
.header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo img {
  width: 130px;
  height: 60px;
  border-radius: 10px;
}

.logo h1 {
  font-size: 1.8rem;
  color: #004600;
  margin: 0;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

/* Mobile Navigation Toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background: #004600;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Hamburger animation when active */
.mobile-nav-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-nav-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.nav-link {
  color: #333;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: #004600;
  background-color: #f8f9fa;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  background: url('/images/image-header-karpet-nusantara.webp') center/cover;
  color: white;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.hero .container {
  border-radius: 20px;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  padding: 30px;
}

.hero-title {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #004600;
}

.hero-subtitle {
  font-size: 1rem;
  font-weight: 600;
  text-shadow: 1px 1px #0000002d;
  margin-bottom: 2.5rem;
  color: #004600;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   NEW SECTION
   ======================================== */
.new-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.content-block {
  text-align: center;
  margin-bottom: 3rem;
}

.content-block h3 {
  color: #004600;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.content-block p {
  color: #666;
  line-height: 1.7;
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
}

.image-carousel {
  position: relative;
  margin: 3rem 0;
  overflow: hidden;
}

.carousel-container {
  display: flex;
  transition: transform 0.5s ease;
  gap: 2rem;
  justify-content: flex-start;
  width: calc(3 * 300px + 2 * 2rem);
  /* Show exactly 3 items */
  margin: 0 auto;
}

.carousel-item {
  flex: 0 0 300px;
  text-align: center;
}

.carousel-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.carousel-image:hover {
  transform: scale(1.05);
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 70, 0, 0.8);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.carousel-nav:hover {
  background: rgba(0, 70, 0, 1);
  transform: translateY(-50%) scale(1.1);
}

.carousel-nav:disabled {
  background: rgba(0, 70, 0, 0.3);
  cursor: not-allowed;
  transform: translateY(-50%);
}

.carousel-nav:disabled:hover {
  background: rgba(0, 70, 0, 0.3);
  transform: translateY(-50%);
}

.carousel-prev {
  left: 20px;
}

.carousel-next {
  right: 20px;
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.info-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.info-card .info-card-title {
  color: #004600;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.info-card p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* ========================================
    CTA SECTION MAIN
    ======================================== */
.cta-section-main {
  padding: 80px 0;
  background: linear-gradient(135deg, #004600 0%, #1a5a1a 100%);
  color: white;
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-text {
  font-size: 1.3rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  color: white;
  font-weight: 400;
}

.btn-cta {
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  color: white;
  border-color: #1e3a8a;
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(30, 58, 138, 0.3);
}

.btn-cta:hover {
  background: linear-gradient(135deg, #1e40af, #2563eb);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4);
}

/* ========================================
    CARPET SELECTION SECTION
    ======================================== */
.carpet-selection {
  padding: 80px 0;
  background: white;
}

.carpet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.carpet-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.carpet-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.carpet-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.carpet-card:hover .carpet-image {
  transform: scale(1.05);
}

.carpet-card h3 {
  color: #2c3e50;
  margin: 1.5rem 1rem 1rem;
  font-size: 1.2rem;
  line-height: 1.4;
}

.btn-view {
  background: linear-gradient(135deg, #004600, #45a445);
  color: white;
  border-color: #004600;
  margin: 0 1rem 1.5rem;
  padding: 10px 25px;
  font-size: 0.9rem;
}

.btn-view:hover {
  background: linear-gradient(135deg, #003400, #3a8a3a);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 70, 0, 0.3);
}

/* ========================================
    DIFFICULTIES SECTION
    ======================================== */
.difficulties-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.difficulties-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: flex-start;
  margin-top: 3rem;
}

.difficulties-intro {
  color: #666;
  line-height: 1.7;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  text-align: justify;
}

.difficulty-item {
  margin-bottom: 2rem;
}

.difficulty-item .difficulty-title {
  color: #004600;
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.difficulty-item p {
  color: #666;
  line-height: 1.7;
  text-align: justify;
}

.difficulties-images {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.difficulty-image {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.difficulty-image:hover {
  transform: translateY(-5px);
}

.difficulty-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ========================================
    BUTTONS
    ======================================== */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, #004600, #45a445);
  color: white;
  border-color: #004600;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #003400, #3a8a3a);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 70, 0, 0.3);
}

.btn-secondary {
  background: transparent;
  color: white;
  border-color: white;
}

.btn-secondary:hover {
  background: white;
  color: #004600;
  transform: translateY(-2px);
}

.btn-large {
  padding: 15px 40px;
  font-size: 1.1rem;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
  padding: 80px 0;
  background: #f8f9fa;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #004600, #45a445);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.feature-content .feature-title {
  color: #2c3e50;
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.feature-content p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* ========================================
   WHY REPLACE SECTION
   ======================================== */
.why-replace {
  padding: 80px 0;
  background: white;
}

.why-replace-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 3rem;
}

.why-replace-text .reason {
  margin-bottom: 2rem;
}

.why-replace-text .reason .reason-title {
  color: #004600;
  margin-bottom: 0.8rem;
  font-size: 1.4rem;
  font-weight: 600;
}

.why-replace-text .reason p {
  color: #666;
  line-height: 1.7;
}

.why-replace-image img {
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.cta-section {
  text-align: center;
  margin-top: 3rem;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials {
  padding: 80px 0;
  background: #f8f9fa;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.testimonial-card blockquote {
  margin-bottom: 1.5rem;
  font-style: italic;
  color: #555;
  font-size: 1.1rem;
  line-height: 1.6;
}

.testimonial-card blockquote p {
  margin: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 600;
  color: #2c3e50;
  font-size: 1.1rem;
}

.author-title {
  color: #666;
  font-size: 0.9rem;
}

/* ========================================
   PRICING SECTION
   ======================================== */
.pricing {
  padding: 80px 0;
  background: white;
}

.pricing-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 3rem;
}

.pricing-text p {
  color: #666;
  line-height: 1.7;
  font-size: 1.1rem;
}

.pricing-image img {
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ========================================
   SERVICE AREA SECTION
   ======================================== */
.service-area {
  padding: 80px 0;
  background: linear-gradient(135deg, #004600 0%, #45a445 100%);
  color: white;
}

.service-area .section-header p {
  color: white;
}

.service-area .section-header p::after {
  background: white;
}

.service-area-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: center;
  margin-top: 3rem;
}

.service-area-image img {
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-area-text p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* ========================================
    FAQ SECTION
    ======================================== */
.faq {
  padding: 80px 0;
  background: white;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 0;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem 0;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
  font-size: 1.1rem;
  color: #2c3e50;
  font-weight: 500;
}

.faq-question:hover {
  color: #004600;
}

.faq-icon {
  width: 24px;
  height: 24px;
  background: #004600;
  color: white;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.faq-question.active .faq-icon {
  background: #45a445;
  transform: rotate(45deg);
}

.faq-text {
  flex: 1;
  line-height: 1.4;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #f8f9fa;
  border-radius: 8px;
  margin: 0 0 1rem 2.5rem;
}

.faq-answer.active {
  max-height: 200px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.faq-answer p {
  margin: 0;
  color: #666;
  line-height: 1.7;
  font-size: 1rem;
}

/* ========================================
    PORTFOLIO SECTION
    ======================================== */
.portfolio {
  padding: 80px 0;
  background: #f8f9fa;
}

.portfolio-carousel {
  margin-bottom: 4rem;
  position: relative;
  padding: 0 60px;
  /* Add padding to make room for navigation buttons */
}

.carousel-viewport {
  width: calc(3 * 300px + 2 * 2rem);
  /* Show exactly 3 items */
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.portfolio-carousel h3 {
  text-align: center;
  color: #004600;
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

.portfolio-carousel-1,
.portfolio-carousel-2 {
  display: flex;
  transition: transform 0.5s ease;
  gap: 2rem;
  justify-content: flex-start;
  width: calc(3 * 300px + 2 * 2rem);
  /* Show exactly 3 items */
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

/* Make the carousel container wider to hold all items for sliding */
.portfolio-carousel-1 {
  width: calc(12 * 300px + 11 * 2rem);
  /* 12 items */
}

.portfolio-carousel-2 {
  width: calc(15 * 300px + 14 * 2rem);
  /* 15 items */
}

.portfolio-carousel .carousel-item {
  flex: 0 0 300px;
  text-align: center;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-carousel .carousel-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.portfolio-carousel .carousel-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.portfolio-carousel .carousel-item:hover .carousel-image {
  transform: scale(1.05);
}



/* ========================================
    FOOTER
    ======================================== */
.footer {
  background: #0a0a33;
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 2fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.footer-section .logo img {
  width: 230px;
  height: 115px;
  border-radius: 10px;
  background: white;
  padding: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.tagline-text {
  color: #45a445;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

.footer-section .footer-title {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.footer-section p {
  color: white;
  line-height: 1.7;
  font-size: 1rem;
}

.office-info,
.showroom-info {
  margin-bottom: 1.5rem;
}

.office-info .footer-subtitle,
.showroom-info .footer-subtitle {
  color: white;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.office-info p,
.showroom-info p {
  color: white;
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 0;
}

.footer-separator {
  height: 1px;
  background: #ffffff20;
  margin: 2rem 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
}

.social-media {
  display: flex;
  gap: 1rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #0a0a33;
  color: white;
  border: 1px solid #ffffff30;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: #45a445;
  border-color: #45a445;
  transform: translateY(-2px);
}

.copyright p {
  color: white;
  font-size: 0.9rem;
  margin: 0;
}

/* ========================================
   WHATSAPP FLOATING BUTTON
   ======================================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  font-size: 1.8rem;
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
}

.whatsapp-btn:hover {
  background: #128c7e;
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* ========================================
   BACK TO TOP BUTTON
   ======================================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 50px;
  height: 50px;
  background: #004600;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #45a445;
  transform: translateY(-2px);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .header-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }

  /* Show hamburger menu on mobile */
  .mobile-nav-toggle {
    display: flex;
  }

  /* Hide desktop navigation on mobile */
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    padding-top: 80px;
  }

  .nav.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
    padding: 0;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-link {
    display: block;
    padding: 1rem 2rem;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1.1rem;
    transition: all 0.3s ease;
  }

  .nav-link:hover {
    background: #f8f9fa;
    color: #004600;
  }

  /* Overlay when menu is open */
  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .hero {
    padding: 80px 0;
    min-height: 400px;
  }

  .hero::before {
    width: 95%;
    min-height: 250px;
  }

  .hero-title {
    font-size: 2.2rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.5;
    padding: 0 1rem;
  }

  .section-header p {
    font-size: 2rem;
    line-height: 1.3;
  }

  .content-block h3 {
    font-size: 1.4rem;
    line-height: 1.3;
  }

  .content-block p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .btn {
    padding: 12px 25px;
    font-size: 0.95rem;
    width: 100%;
    max-width: 280px;
  }

  .new-section {
    padding: 50px 0;
  }

  .cta-section-main {
    padding: 50px 0;
  }

  .carpet-selection {
    padding: 50px 0;
  }

  .difficulties-section {
    padding: 50px 0;
  }

  .portfolio {
    padding: 50px 0;
  }

  .faq {
    padding: 50px 0;
  }

  .cta-section-main {
    padding: 50px 0;
  }

  .cta-text {
    font-size: 1rem;
    line-height: 1.6;
    padding: 0 1rem;
  }

  .btn-cta {
    padding: 12px 30px;
    font-size: 1rem;
    width: 100%;
    max-width: 280px;
  }

  .carpet-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .carpet-card h3 {
    font-size: 1.1rem;
    margin: 1rem;
  }

  .carpet-card {
    margin: 0 0.5rem;
  }

  .info-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 0 0.5rem;
  }

  .info-card {
    padding: 1.5rem;
  }

  .info-card .info-card-title {
    font-size: 1.2rem;
  }

  .info-card p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .carousel-container {
    gap: 1rem;
    width: calc(3 * 250px + 2 * 1rem);
    /* Adjust for mobile */
  }

  .carousel-item {
    flex: 0 0 250px;
  }

  .carousel-image {
    height: 180px;
  }

  .carousel-nav {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .carousel-prev {
    left: 10px;
  }

  .carousel-next {
    right: 10px;
  }

  .info-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    margin: 0 0.5rem;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  .testimonial-card blockquote {
    font-size: 1rem;
    line-height: 1.6;
  }

  .author-name {
    font-size: 1rem;
  }

  .author-title {
    font-size: 0.85rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    margin: 0 0.5rem;
  }

  .feature-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .feature-content .feature-title {
    font-size: 1.2rem;
  }

  .feature-content p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .difficulties-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 0 0.5rem;
  }

  .difficulties-intro {
    font-size: 1rem;
    line-height: 1.6;
  }

  .difficulty-item .difficulty-title {
    font-size: 1.2rem;
  }

  .difficulty-item p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .why-replace-content,
  .pricing-content,
  .service-area-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 0 0.5rem;
  }

  .why-replace-text .reason .reason-title {
    font-size: 1.3rem;
  }

  .why-replace-text .reason p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .cta-text {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .btn-cta {
    padding: 12px 25px;
    font-size: 0.95rem;
    max-width: 250px;
  }

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

  .carousel-viewport {
    width: calc(1 * 250px);
    /* Show exactly 1 item on mobile */
  }

  .portfolio-carousel-1,
  .portfolio-carousel-2 {
    gap: 1rem;
  }

  .portfolio-carousel .carousel-item {
    flex: 0 0 250px;
  }

  .portfolio-carousel .carousel-image {
    height: 200px;
  }

  .faq-question {
    padding: 1rem 0;
    font-size: 1rem;
  }

  .faq-answer.active {
    padding: 1rem;
    margin-left: 2rem;
  }

  .faq-text {
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .faq-answer p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-section .footer-title {
    font-size: 1.3rem;
  }

  .footer-section p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .tagline-text {
    font-size: 0.9rem;
  }

  .footer-section .logo {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .social-media {
    justify-content: center;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }

  .back-to-top {
    left: 20px;
    bottom: 20px;
  }

  /* Mobile portfolio carousel adjustments */
  .portfolio-carousel {
    padding: 0 50px;
    /* Reduce padding on mobile */
  }

  .carousel-nav {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .carousel-prev {
    left: 5px;
  }

  .carousel-next {
    right: 5px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }

  .hero {
    padding: 60px 0;
    min-height: 350px;
  }

  .hero::before {
    width: 98%;
    min-height: 200px;
  }

  .hero-title {
    font-size: 1.8rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .section-header p {
    font-size: 1.6rem;
    line-height: 1.3;
  }

  .content-block h3 {
    font-size: 1.3rem;
    line-height: 1.3;
  }

  .content-block p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .feature-card,
  .testimonial-card {
    padding: 1rem;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.85rem;
    max-width: 250px;
  }

  .btn-large {
    padding: 12px 25px;
    font-size: 0.9rem;
  }

  .carpet-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .carpet-card h3 {
    font-size: 1rem;
    margin: 0.8rem;
  }

  .carpet-card {
    margin: 0 0.3rem;
  }

  .info-cards {
    margin: 0 0.3rem;
  }

  .info-card {
    padding: 1rem;
  }

  .info-card .info-card-title {
    font-size: 1.1rem;
  }

  .info-card p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .difficulties-content {
    margin: 0 0.3rem;
  }

  .difficulties-intro {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .difficulty-item .difficulty-title {
    font-size: 1.1rem;
  }

  .difficulty-item p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .why-replace-content,
  .pricing-content,
  .service-area-content {
    margin: 0 0.3rem;
  }

  .why-replace-text .reason .reason-title {
    font-size: 1.2rem;
  }

  .why-replace-text .reason p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .cta-text {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .btn-cta {
    padding: 10px 20px;
    font-size: 0.9rem;
    max-width: 220px;
  }

  .testimonials-grid {
    margin: 0 0.3rem;
  }

  .testimonial-card {
    padding: 1rem;
  }

  .testimonial-card blockquote {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .author-name {
    font-size: 0.9rem;
  }

  .author-title {
    font-size: 0.8rem;
  }

  .features-grid {
    margin: 0 0.3rem;
  }

  .feature-card {
    padding: 1rem;
  }

  .feature-content .feature-title {
    font-size: 1.1rem;
  }

  .feature-content p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .faq-question {
    padding: 0.8rem 0;
    font-size: 0.9rem;
  }

  .faq-text {
    font-size: 0.9rem;
    line-height: 1.3;
  }

  .faq-answer.active {
    padding: 0.8rem;
    margin-left: 1.5rem;
  }

  .faq-answer p {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  /* Extra small screen portfolio carousel adjustments */
  .portfolio-carousel {
    padding: 0 40px;
    /* Further reduce padding on very small screens */
  }

  .carousel-nav {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }

  .carousel-prev {
    left: 2px;
  }

  .carousel-next {
    right: 2px;
  }

  .footer-section .footer-title {
    font-size: 1.2rem;
  }

  .footer-section p {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .tagline-text {
    font-size: 0.85rem;
  }

  .social-icon {
    width: 35px;
    height: 35px;
  }
}

/* ========================================
   ANIMATIONS & TRANSITIONS
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-center {
  text-align: center;
}

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

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

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mt-0 {
  margin-top: 0;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.p-0 {
  padding: 0;
}

.p-1 {
  padding: 0.5rem;
}

.p-2 {
  padding: 1rem;
}

.p-3 {
  padding: 1.5rem;
}

.p-4 {
  padding: 2rem;
}

.hidden {
  display: none;
}

.visible {
  display: block;
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {

  .header,
  .whatsapp-float,
  .back-to-top {
    display: none;
  }

  .hero {
    background: white !important;
    color: black !important;
  }

  .section-header p::after {
    display: none;
  }
}



/* Section button WA */
.button-wa {
  position: fixed;
  bottom: 10%;
  right: 5%;
  z-index: 99999999;
}

.button-wa a {
  display: inline-flex;
  align-items: center;
  background-color: #002B5B;
  padding: 8px 62px 8px 20px;
  /* ruang kiri lebih lebar */
  border-radius: 30px;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  position: relative;
}

.button-wa .text-label {
  margin-right: 40px;
  /* ruang kosong agar logo muat di kanan */
  white-space: nowrap;
}

.button-wa img {
  width: 70px;
  position: absolute;
  right: -20px;
  /* biar nempel keluar dari oval */
  top: 50%;
  transform: translateY(-50%);
}

.list-kota .container .d-grid {
  display: grid;
  grid-template-columns:
    repeat(4, 1fr);
  gap: 10px;
}

.list-kota {
  margin: 20px 0;
}

.list-kota .container h4 {
  font-size: 30px;
  margin-bottom: 20px;
  text-align: center;
}

.list-kota .container {
  box-shadow: 1px 1px 3px #aaa;
  padding: 30px;
  border-radius: 10px;
}

.list-kota .container .d-grid a {
  color: #003400;
}

.kontak-kami .desktop {
  display: block;
}

.kontak-kami .mobile {
  display: none;
}

@media only screen and (max-width: 767px) {
  .button-wa a {
    font-size: 12px;
    padding: 3px 40px 3px 16px;
  }

  .button-wa img {
    width: 45px;
    right: -12px;
    right: -10px;
  }

  .list-kota .container .d-grid {
    grid-template-columns:
      repeat(3, 1fr);
    gap: 10px;
  }

  .service-area-text p {
    font-size: 14px;
  }
  .service-area img {
    display: block;
    margin: auto;
  }
}

@media only screen and (max-width: 480px) {
  .hero .container {
    margin: 50px 10px 0 10px;
  }

  .hero-title {
    font-size: 24px;
  }

  .hero-content {
    padding: 10px;
  }

  .feature-icon {
    display: block;
    margin: auto;
    padding-top: 11px;
    padding-left: 2px;
  }

  .list-kota .container .d-grid {
    grid-template-columns:
      repeat(2, 1fr);
    gap: 10px;
  }

  .list-kota .container h4 {
    font-size: 26px;
    margin-bottom: 10px;
  }

  .list-kota {
    padding: 0 10px;
  }

  .carousel-viewport {
    width: 100%;
    padding: 0;
  }

  .portfolio-carousel {
    padding: 0;
  }

  .portfolio-carousel-2 {
    width: 100%;
  }

  .portfolio-carousel-1,
  .portfolio-carousel-2 {
    gap: 8px;
  }

  .carousel-image {
    width: 900px;
  }

  .service-area, .testimonials, .why-replace, .portfolio {
    padding: 30px 0;
  }

  .kontak-kami .desktop {
    display: none;
  }

  .kontak-kami .mobile {
    display: block;
  }

  .hero {
    background: url('/images/image-header-karpet-nusantara-mobile.webp') center/cover;

  }
}

.title-produk {
  font-weight: 600;
  font-size: 20px;
  margin-top: 20px;
}

.carpet-selection h3,
.difficulties-section h4,
.about h4,
.why-replace h4,
.testimonials h5,
.service-area h3,
.portfolio h4,
.faq h5 {
  font-size: 32px;
}

.service-area h3 {
  color: #fff;
}

@media only screen and (max-width: 480px) {
  .title-produk {
    font-weight: 600;
    font-size: 16px;
    margin-top: 10px;
  }

  .carpet-selection h3 ,
  .difficulties-section h4,
  .about h4,
  .why-replace h4,
  .testimonials h5,
  .service-area h3,
  .portfolio h4,
  .faq h5 {
    font-size: 22px;
  }
}