 @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
 * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    opacity: 0;
    transition: opacity 0.6s ease;
    }

    body.page-show{
      opacity: 1;
    }
    body.page-hide{
      opacity: 0;
    }
    html {
      scroll-behavior: smooth;
    }
    a {
      text-decoration: none;
      color: inherit;
    }
    img {
      max-width: 100%;
      display: block;
    }

    .container {
      width: 90%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 15px;
    }

    /* Header */
    header {
      background: #fff;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
      position: sticky;
      top: 0;
      z-index: 1000;
    }

    .header-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem 0;
    }

    .logo img {
      height: 70px;
      width: 70px;
    }

    nav ul {
      display: flex;
      list-style: none;
      gap: 2rem;
    }

    nav a {
      font-weight: 500;
      color: #444;
      transition: color 0.3s;
    }

    nav a:hover {
      color: #d4a373;
    }

    .header-actions {
      display: flex;
      align-items: center;
      gap: 1rem;
    }

    .btn {
      padding: 0.5rem 1rem;
      border-radius: 25px;
      font-weight: 600;
      transition: all 0.3s;
    }

    .btn-outline {
      border: 2px solid #d4a373;
      color: #d4a373;
    }

    .btn-outline:hover {
      background: #d4a373;
      color: white;
    }

    .btn-primary {
      background: #2c3e50;
      color: white;
      border: none;
    }

    .btn-primary:hover {
      background: #1a252f;
    }

    /* Hero Section */
    .hero {
      background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('/image/main.jpg') center/cover no-repeat;
      color: white;
      text-align: center;
      padding: 5rem 0;
      padding-bottom: 10rem;
    }

    .hero h1 {
      font-size: 3.5rem;
      margin-bottom: 1rem;
      text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
    }

    .hero p {
      font-size: 1.2rem;
      max-width: 700px;
      margin: 0 auto 2rem;
    }

    .badge {
      display: inline-block;
      background: rgba(255, 255, 255, 0.538);
      padding: 0.5rem 1rem;
      border-radius: 50px;
      font-size: 0.9rem;
      backdrop-filter: blur(5px);
      margin-bottom: 2rem;
      color: #000000;
      font-family: 'Times New Roman', Times, serif;
      cursor: pointer;
      transition: transform 0.3s;
    }
    .badge:hover{
        transform: translateY(-10px);
        background-color: #ffffff6c;
    }

    /* About Section */
    .about {
      padding: 4rem 0;
      background: #fff;
    }

    .about-content {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
      align-items: center;
    }

    .about-text h2 {
      font-size: 2.2rem;
      margin-bottom: 1rem;
      color: #2c3e50;
    }

    .about-text p {
      color: #555;
      margin-bottom: 1.5rem;
    }

    .about-image {
      position: relative;
    }

    .about-image img {
      border-radius: 15px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .join-btn {
      display: inline-block;
      background: #2c3e50;
      color: white;
      padding: 0.8rem 1.8rem;
      border-radius: 50px;
      font-weight: 600;
      margin-top: 1rem;
    }

    .join-btn:hover {
      background: #1a252f;
    }

    /* Design Tools */
    .design-tools {
      background: #f5f0e6;
      padding: 4rem 0;
      text-align: center;
    }

    .design-tools h2 {
      font-size: 2.5rem;
      margin-bottom: 1rem;
      color: #2c3e50;
    }

    .design-tools p {
      color: #666;
      margin-bottom: 3rem;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
    }

    .tools-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2rem;
    }

    .tool-card {
      background: white;
      padding: 2rem;
      border-radius: 20px;
      box-shadow: 0 5px 15px rgba(0,0,0,0.05);
      text-align: center;
      transition: transform 0.3s;
    }

    .tool-card:hover {
      transform: translateY(-10px);
    }

    .tool-icon {
      width: 60px;
      height: 60px;
      margin: 0 auto 1rem;
      background: #a07850;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.8rem;
      color: white;
    }
  
    .tool-card h3 {
      margin-bottom: 0.5rem;
      color: #2c3e50;
    }

    .tool-card a {
      color: #d4a373;
      font-weight: 600;
      font-size: 0.9rem;
    }

    /* Features Section */
    .features {
      padding: 4rem 0;
      background: #8c7a6b;
      color: white;
    }

    .features-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
      align-items: center;
    }

    .feature-image img {
      border-radius: 15px;
    }
    .feature-image{
      will-change: transform;
      transform-origin: center;
      display: inline-block;
    }
    .feature-image:hover{
      transform: translateZ(30px) rotateY(15deg) rotateX(5deg);
      box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    }

    /* Add grid layout to feature list */
    .feature-list {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 2rem;
    }
    
    .feature-item {
      padding: 1.5rem;
      border-radius: 15px;
      background: linear-gradient(135deg, #8c7a6b 0%, #6b5344 100%);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.3);
      transition: all 0.3s;
      cursor: pointer;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
      min-height: 150px;
      display: flex;
      flex-direction: column;
    }
    .feature-item:nth-child(1) {
      background: linear-gradient(135deg, #8c7a6b 0%, #7a6859 100%);
    }

    .feature-item:nth-child(2) {
      background: linear-gradient(135deg, #9d8b7c 0%, #6b5344 100%);
    }

    .feature-item:nth-child(3) {
      background: linear-gradient(135deg, #8c7a6b 0%, #6b5344 100%);
    }

    .feature-item:nth-child(4) {
      background: linear-gradient(135deg, #a69585 0%, #6b5344 100%);
    }

    .feature-item:nth-child(5) {
      background: linear-gradient(135deg, #8c7a6b 0%, #7a6859 100%);
    }

    .feature-item:hover {
      transform: translateY(-5px) scale(1.02);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    }

    /* Hide all feature paragraphs by default */
    .feature-item p {
      opacity: 0;
      max-height: 0;
      overflow: hidden;
      transition: opacity 0.4s ease, max-height 0.4s ease;
    }

    /* Show paragraph when hovering over the feature item */
    .feature-item:hover p {
      opacity: 1;
      max-height: 100px;
    }
    
    .feature-item h3 {
      font-size: 1.4rem;
      margin-bottom: 0.5rem;
      position: relative;
      padding-bottom: 0.5rem;
      cursor: pointer;
      transition: color 0.3s;
    }

    .feature-item h3::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: 0;
      width: 50px;
      height: 3px;
      background: #d4a373;
    }
      

    /* Metrics */
    .metrics {
      background: #fff;
      padding: 3rem 0;
      text-align: center;
    }

    .metrics-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
      margin-bottom: 1rem;
    }
    .metric h3 {
      font-size: 2.5rem;
      color: #d4a373;
    }

    .metric p {
      color: #666;
      font-size: 0.9rem;
    }

    .metrics h2 {
      font-size: 2rem;
      color: #2c3e50;
    }

    /* Key Feature */
    .key-feature {
      padding: 4rem 1rem;
      background: linear-gradient(to right, #e6e6e6, #f0f0f0);
    }

    .key-feature-content {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
      align-items: center;
    }

    .key-feature-text h2 {
      font-size: clamp(1.5rem, 3.5vw, 2.2rem);
      margin-bottom: 1rem;
      color: #2c3e50;
    }

    .key-feature-text p {
      margin-bottom: 1.5rem;
      color: #444;
      font-size: clamp(0.9rem, 1.5vw, 1rem);
    }

    .key-feature-image img {
      border-radius: 15px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.1);
      width: 100%;
      height: auto;
    }


    /* Testimonials */
    .testimonials {
      padding: 4rem 0;
      text-align: center;
      background: #fff;
    }

    .testimonials h2 {
      font-size: 2.5rem;
      margin-bottom: 1rem;
      color: #2c3e50;
    }

    .testimonials p {
      max-width: 700px;
      margin: 0 auto 3rem;
      color: #1d1d1d;
    }

    .testimonial-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 2rem;
    }

    .testimonial {
      background: #b0b0b06b;
      padding: 2rem;
      border-radius: 15px;
      text-align: left;
    }

    .testimonial-header {
      display: flex;
      align-items: center;
      gap: 1rem;
      margin-bottom: 1rem;
    }

    .testimonial-header img {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      object-fit: cover;
    }

    .testimonial-header h4 {
      font-size: 1.1rem;
    }

    .testimonial-header p {
      font-size: 0.9rem;
      color: #d4a373;
    }

    .read-more {
      display: inline-block;
      margin-top: 2rem;
      background: #48637f;
      color: white;
      padding: 0.8rem 2rem;
      border-radius: 50px;
      font-weight: 600;
    }
    .read-more:hover{
      transform: translateY(-10px);
      transition: transform 0.3s;
      color: rgba(255, 255, 255, 0.83);
      background: #2c3e50;
    }

    /* Footer */
    footer {
      background: #2c3e50;
      color: #ddd;
      padding: 3rem 0 1rem;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 2rem;
      margin-bottom: 2rem;
    }

    .footer-col h4 {
      color: #fff;
      margin-bottom: 1rem;
      font-size: 1.1rem;
    }

    .footer-col ul {
      list-style: none;
    }

    .footer-col ul li {
      margin-bottom: 0.5rem;
    }

    .footer-col a {
      color: #bbb;
      font-size: 0.9rem;
      transition: color 0.3s;
    }

    .footer-col a:hover {
      color: #d4a373;
    }

    .footer-bottom {
      border-top: 1px solid #444;
      padding-top: 1rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 0.9rem;
    }

    .social-links a {
      margin-left: 1rem;
      font-size: 1.2rem;
      color: #bbb;
    }

    .social-links a:hover {
      color: #d4a373;
    }

@media (max-width: 1199px) {
  .container {
    width: 95%;
  }

  .about-content, 
  .features-grid, 
  .key-feature-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .feature-image {
    order: -1;
  }

  .tools-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

/* Tablets (768px - 991px) */
@media (max-width: 991px) {
  nav ul {
    gap: 1.5rem;
  }

  .hero {
    padding: 4rem 1rem 6rem;
  }

  .feature-list {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .feature-item {
    min-height: auto;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Landscape and Small Tablets (576px - 767px) */
@media (max-width: 767px) {
  .header-inner {
    justify-content: center;
    text-align: center;
  }

  nav {
    order: 3;
    width: 100%;
  }

  nav ul {
    justify-content: center;
    gap: 1rem;
    font-size: 0.9rem;
  }

  .header-actions {
    order: 2;
  }

  .logo {
    order: 1;
  }

  .hero {
    padding: 3rem 1rem 5rem;
  }

  .about,
  .design-tools,
  .features,
  .key-feature,
  .testimonials {
    padding: 3rem 1rem;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .tools-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }
}

/* Mobile Portrait (up to 575px) */
@media (max-width: 575px) {
  .container {
    padding: 0 10px;
  }

  .header-inner {
    padding: 0.8rem 0;
  }

  .logo img {
    height: 50px;
    width: 50px;
  }

  nav ul {
    gap: 0.8rem;
    font-size: 0.85rem;
  }

  .header-actions {
    gap: 0.5rem;
  }

  .btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
  }

  .hero {
    padding: 2.5rem 0.5rem 4rem;
  }

  .badge {
    padding: 0.4rem 0.8rem;
  }

  .about,
  .design-tools,
  .features,
  .metrics,
  .key-feature,
  .testimonials {
    padding: 2.5rem 0.5rem;
  }

  .tool-card,
  .testimonial {
    padding: 1.5rem;
  }

  .feature-item {
    padding: 1.2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .social-links a {
    font-size: 1.1rem;
  }
}

/* Extra Small Mobile (up to 374px) */
@media (max-width: 374px) {
  nav ul {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }

  .header-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    max-width: 200px;
  }

  .tools-grid,
  .testimonial-grid {
    gap: 1rem;
  }
}