* {
    box-sizing: border-box;
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
  }



.door-hero {
    height: 100vh;
    background: linear-gradient(120deg, #111, #333);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }
 
  /* ============================================================
     /* 1. DOOR FRAME - All 4 panels */
.panel {

  position: absolute;

  width: 50%;

  height: 50%;

  background:
    linear-gradient(
      135deg,
      rgba(220, 244, 255, 0.42),
      rgba(120, 190, 215, 0.20)
    );

  border: 8px solid #252d32;

  overflow: hidden;

  transition:
    transform 1.8s cubic-bezier(.77,0,.18,1);

}
     /* panel
     ------------------------------------------------------------*/ 
  
     .door-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
  }
  
  
  /* ============================================================
     2. ALL FOUR PANELS
     ------------------------------------------------------------ */
  .door,
  .base {
    position: absolute;
  
    width: 50%;
    height: 50%;
  
    z-index: 10;
  }
  
  
  /* ============================================================
     3. TOP LEFT PANEL
     ------------------------------------------------------------ */
  .base.top {
    top: 0;
    left: 0;
  
  
    animation: topLeft 5s ease forwards;
  }
  
  
  @keyframes topLeft {
  
    from {
      top: 0;
      left: 0;
    }
  
    to {
      top: -100%;
      left: -100%;
    }
  }
  
  
  /* ============================================================
     4. TOP RIGHT PANEL
     ---------------------------------------------------------- */
  
  .door.right {
    top: 0;
    left: 50%;
  
  
    animation: topRight 5s ease forwards;
  }
  
  
  @keyframes topRight {
  
    from {
      top: 0;
      left: 50%;
    }

    to {
      top: -100%;
      left: 150%;
    }
  }
  
  
  /* ============================================================
     5. BOTTOM LEFT PANEL
     ---------------------------------------------------------- */
  
  .door.left {
    top: 50%;
    left: 0;
    animation: bottomLeft 5s ease forwards;
  }
   
  @keyframes bottomLeft {
  
    from {
      top: 50%;
      left: 0;
    }
  
    to {
      top: 150%;
      left: -100%;
    }
  }
  
 
  /* ============================================================
     6. BOTTOM RIGHT PANEL
     -----------------------------------------------------------  */
  
  .base.bottom {
    top: 50%;
    left: 50%;
    animation: bottomRight 5s ease forwards;
  }
  
  
  @keyframes bottomRight {
  
    from {
      top: 50%;
      left: 50%;
    }
    to {
      top: 150%;
      left: 150%;
    }
  }
  
  
  /* ============================================================
     7. HERO TEXT
     ------------------------------------------------------------ */


  .hero-text {
    text-align: center;
    color: #fff;
    z-index: 2;
    animation: fadeUp 1.8s ease forwards;
  }

  @keyframes fadeUp {
    from {
      opacity: 0;
      transform: translateY(40px);
    }

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

  .hero-text h1 {
    font-size: 3rem;
    margin-bottom: 10px;
  }

  .btn {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 28px;
    background: #f1c40f;
    color: #111;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
  }

    /* ============================================================
     7. HERO TEXT
     ------------------------------------------------------------ */

.door-range {
    position: relative;
  
    padding: 100px 8%;
    padding-bottom: 200px;
  
    margin-bottom: -80px;
  
    background: #20262b;
    color: white;
  
    overflow: hidden;
  }
  
  
  /* Background glow */
  
  .door-range::before {
    content: "";
  
    position: absolute;
  
    top: 50%;
    left: 50%;
  
    width: 700px;
    height: 700px;
  
    transform: translate(-50%, -50%);
  
    background: radial-gradient(
      circle,
      rgba(158, 221, 243, 0.08),
      transparent 65%
    );
  
    pointer-events: none;
  }
  
  
  /* Heading */
  
  .door-range .title {
    position: relative;
  
    z-index: 1;
  
    margin-bottom: 60px !important;
  
    color: #ffffff;
  
    font-size: clamp(2.2rem, 5vw, 4rem);
  
    font-weight: 300;
  
    letter-spacing: -2px;
  }
  
  
  /* =========================
     GRID
  ========================= */
  
  .door-grid {
    position: relative;
  
    z-index: 1;
  
    display: grid;
  
    grid-template-columns: repeat(3, 1fr);
  
    gap: 25px;
  
    max-width: 1200px;
  
    margin: auto;
  }
  
  
  /* =========================
     DOOR BOX
  ========================= */
  
  .door-box {
    position: relative;
  
    min-height: 420px;
  
    padding: 40px 25px;
  
    display: flex;
  
    flex-direction: column;
  
    align-items: center;
  
    justify-content: center;
  
    background: #252d32;
  
    border: 1px solid rgba(255, 255, 255, 0.821);
  
    border-radius: 22px;
  
    text-align: center;
  
    transition:
      transform 0.35s ease,
      box-shadow 0.35s ease,
      border-color 0.35s ease;
  }
  
  
  /* Hover */
  
  .door-box:hover {
    transform: translateY(-10px);
  
    border-color: rgba(158, 221, 243, 0.35);
  
    box-shadow:
      0 20px 45px rgba(0, 0, 0, 0.35),
      0 0 30px rgba(158, 221, 243, 0.08);
  }
  
  
  /* =========================
     DOOR IMAGE
  ========================= */
  
  .door-box img {
    width: 180px;
    height: 230px;
  
    object-fit: contain;
  
    padding: 15px;
  
    margin-bottom: 25px;
  
    background: rgba(158, 221, 243, 0.08);
  
    border: 1px solid rgba(158, 221, 243, 0.2);
  
    border-radius: 18px;
  
    transition:
      transform 0.35s ease,
      background 0.35s ease,
      box-shadow 0.35s ease;
  }
  
  
  /* Image hover */
  
  .door-box:hover img {
    transform: scale(1.05);
  
    background: rgba(158, 221, 243, 0.15);
  
    box-shadow:
      0 0 25px rgba(158, 221, 243, 0.15);
  }
  
  
  /* =========================
     TITLE
  ========================= */
  
  .door-box h3 {
    margin-bottom: 12px;
  
    color: #ffffff;
  
    font-size: 1.4rem;
  
    font-weight: 600;
  }
  
  
  /* =========================
     DESCRIPTION
  ========================= */
  
  .door-box p {
    padding-top: 10px;
  
    margin: 0;
  
    max-width: 230px;
  
    color: #aeb8be;
  
    font-size: 1rem;
  
    line-height: 1.7;
  }
  
  
  /* =========================
     TABLET
  ========================= */
  
  @media (max-width: 1000px) {
  
    .door-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  
    .door-box {
      min-height: 380px;
    }
  
  }
  
  
  /* =========================
     MOBILE
  ========================= */
  
  @media (max-width: 650px) {
  
    .door-range {
      padding: 65px 20px;
    }
  
    .door-range .title {
      margin-bottom: 40px !important;
  
      font-size: 2.5rem;
  
      letter-spacing: -1px;
    }
  
    .door-grid {
      grid-template-columns: 1fr;
  
      gap: 18px;
    }
  
    .door-box {
      min-height: 360px;
  
      padding: 35px 25px;
    }
  
    .door-box img {
      width: 150px;
      height: 200px;
    }
  
  }
  