/* ==========================================================================
   RAMOJI STUDIO — CUSTOM SETS PAGE STYLESHEET
   ========================================================================== */

/* Hero Header (#sd-fiveb) */
#sd-fiveb {
  position: relative;
  z-index: 10;
  background: var(--primary-clr);
  color: #ffffff;
  box-sizing: border-box;
  width: 100%;
  height: calc(100vh - 40px);
  min-height: 680px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 13vh 2.3vw 0;
}

.sd-custom-hero-bg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4.5vh;
  z-index: 1;
  width: 100%;
  overflow: hidden;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  filter: grayscale(1) brightness(1.5);
}

.sd-custom-hero-bg img {
  width: 100%;
  min-width: 100%;
  max-width: none;
  height: auto;
  max-height: 48vh;
  object-fit: cover;
  object-position: bottom center;
  display: block;
  transform: translateY(2vh);
}

#sd-fiveb .sd-fmt-header {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1300px;
  width: 100%;
}

#sd-fiveb .sd-fmt-header h1 {
  line-height: 1.0;
  letter-spacing: 0px;
  text-transform: uppercase;
  color: #ffffff;
  margin: 1.2vh 0 2vh;
  text-wrap: balance;
}

#sd-fiveb .sd-fmt-header p {
  font-family: "Geist", Helvetica, Arial, sans-serif;
  font-size: clamp(22px, 1.8vw, 28px);
  font-weight: 400;
  line-height: 1.28;
  color: #f1efea;
  margin: 0 auto;
  max-width: 710px;
}

.sd-breadcrumbs {
  font-family:
    "Geist",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.8vh;
}

.sd-breadcrumbs a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

.sd-breadcrumbs a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.sd-breadcrumbs .sd-bc-sep {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.35);
}

.sd-breadcrumbs .sd-bc-current,
.sd-breadcrumbs span:last-child {
  color: #ffffff;
  font-weight: 400;
}

/* Section 1: Vision to Reality (#sd-vision-reality) */
#sd-vision-reality {
  position: relative;
  z-index: 7;
  background: #ffffff;
  color: var(--primary-clr);
  box-sizing: border-box;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8vh clamp(5vw, 2.3vw, 8vw);
  overflow: visible;
}

.sd-vr-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5vw;
  align-items: center;
  width: 100%;

  margin-left: auto;
  margin-right: auto;
}

.sd-vr-left-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-sizing: border-box;
}

.sd-vr-main-title {
  font-family: Anton, sans-serif;
  font-size: clamp(28px, min(4.5vw, 9vh), 86px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0px;
  text-align: left;
  text-transform: uppercase;
  color: var(--primary-clr);
  margin: 0 0 5vh 0;
}

.sd-vr-accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: auto;
  width: 100%;
}

.sd-vr-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 30px 0;
  cursor: pointer;
  transition: border-color 0.4s ease;
}

.sd-vr-item:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

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

.sd-vr-title {
  margin: 0;
  font-family: Anton, sans-serif;
  font-size: clamp(20px, 1.6vw, 28px);
  font-weight: 400;
  color: var(--grey);
  display: flex;
  align-items: center;
  gap: 14px;
  letter-spacing: 0px;
  transition: color 0.4s ease;
}

.sd-vr-num {
  font-family: Anton, sans-serif;
  font-size: 0.85em;
  opacity: 0.7;
  font-weight: 400;
}

.sd-vr-toggle {
  font-family:
    "Geist",
    -apple-system,
    sans-serif;
  font-size: 32px;
  font-weight: 200;
  line-height: 1;
  color: var(--grey);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.4s ease;
  user-select: none;
}

.sd-vr-toggle::before {
  content: "+";
  font-weight: 200;
}

/* Butter-Smooth CSS Grid Accordion Expansion */
.sd-vr-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

.sd-vr-content-inner {
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}

.sd-vr-content p {
  font-family: "Geist", Helvetica, Arial, sans-serif;
  font-size: 20px;
  line-height: 1.5;
  color: var(--primary-clr);
  margin: 20px 0 0 0;
  max-width: 95%;
  font-weight: 450;
}

/* Dark Button */
.sd-vr-content .sd-btn {
  background: #e31e24;
  color: #ffffff;
  border: 1px solid #e31e24;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  font-family: var(--font-main, "Geist", sans-serif);
  font-size: clamp(16px, 1.25vw, 21px);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0;
  box-shadow: none;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.sd-vr-content .sd-btn:hover {
  background: #000000 !important;
  color: #ffffff !important;
  border-color: #000000 !important;
  transform: translateY(-2px);
}

/* Active Accordion Item Styles */
.sd-vr-item.active {
  border-bottom: 1px solid rgba(0, 0, 0, 0.35);
}

.sd-vr-item.active .sd-vr-title {
  color: #000000;
}

.sd-vr-item.active .sd-vr-toggle {
  color: #000000;
}

.sd-vr-item.active .sd-vr-toggle::before {
  content: "−";
  font-weight: 200;
}

.sd-vr-item.active .sd-vr-content {
  grid-template-rows: 1fr;
}

.sd-vr-item.active .sd-vr-content-inner {
  opacity: 1;
  transform: translateY(0);
}

/* Visual Viewport on the Right (4:3 Aspect Ratio) */
.sd-vr-viewport {
  position: relative;
  background: #f1efea;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sd-vr-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1;
}

.sd-vr-img.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

/* Section 2: Craftsmanship & Engineering (#sd-five style) */
#sd-five {
  position: relative;
  z-index: 10;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5vh;
  padding: var(--comm-spc);
  box-sizing: border-box;
  width: 100%;
  height: auto !important;
  min-height: 100vh;
  overflow: visible !important;
}

.sd-crafts-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.6vh;
  max-width: 84vw;
}

#sd-five h2 {
  font-family: Anton, sans-serif;
  font-size: clamp(28px, min(4.5vw, 9vh), 86px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0px;
  text-align: center;
  margin: 0;
  max-width: 78vw;
  text-wrap: balance;
  text-transform: uppercase;
  color: var(--primary-clr);
}

.sd-crafts-subtext {
  font-family: "Geist", Helvetica, Arial, sans-serif;
  font-size: clamp(20px, 1.5vw, 26px);
  font-weight: 450;
  line-height: 1.45;
  color: #666666;
  margin: 0;
  text-align: center;
}

.sd-crafts-svcs {
  display: flex;
  align-items: flex-start;
  width: 100%;
  height: 46vh;
  overflow: hidden;
}

/* 6-item Services Layout for Craftsmanship starting with white #FFFFFF to deep green */
/* .sd-crafts-svcs .sd-svc:nth-child(1) .sd-svc-bg {
  background-color: #FFFFFF;
}

.sd-crafts-svcs .sd-svc:nth-child(1) h3 {
  background-color: #E8FFA3;
  color: var(--primary-clr);
}

.sd-crafts-svcs .sd-svc:nth-child(2) .sd-svc-bg {
  background-color: #BCEB4E;
}

.sd-crafts-svcs .sd-svc:nth-child(2) h3 {
  background-color: #D4FA6E;
  color: var(--primary-clr);
}

.sd-crafts-svcs .sd-svc:nth-child(3) .sd-svc-bg {
  background-color: #97C83C;
}

.sd-crafts-svcs .sd-svc:nth-child(3) h3 {
  background-color: #B1E051;
  color: var(--primary-clr);
}

.sd-crafts-svcs .sd-svc:nth-child(4) .sd-svc-bg {
  background-color: #6FA32B;
}

.sd-crafts-svcs .sd-svc:nth-child(4) h3 {
  background-color: #88BD3D;
  color: #FFFFFF;
}

.sd-crafts-svcs .sd-svc:nth-child(5) .sd-svc-bg {
  background-color: #4A7A1B;
}

.sd-crafts-svcs .sd-svc:nth-child(5) h3 {
  background-color: #609327;
  color: #FFFFFF;
}

.sd-crafts-svcs .sd-svc:nth-child(6) .sd-svc-bg {
  background-color: #254E0E;
}

.sd-crafts-svcs .sd-svc:nth-child(6) h3 {
  background-color: #386618;
  color: #FFFFFF;
}

.sd-crafts-svcs .sd-svc h3 {
  font-size: clamp(16px, 1.1vw, 18px);
  padding: 0 1vw;
} */

/* Responsive Custom Sets Styling */
@media (max-width: 1024px) {
  #sd-crafts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2.5vw;
    row-gap: 2.5vw;
  }

  .sd-vr-container {
    grid-template-columns: 1fr;
    gap: 4vh;

    margin-left: auto;
    margin-right: auto;
  }

  .sd-vr-viewport {
    min-height: 380px;
  }

  .sd-case-row {
    grid-template-columns: 1fr;
    gap: 4vh;
  }

  .sd-case-row.reverse .sd-case-img-col {
    order: -1;
  }
}

@media (max-width: 680px) {
  #sd-crafts-grid {
    grid-template-columns: 1fr;
    row-gap: 3vh;
  }

  #sd-fiveb {
    height: auto;
    min-height: 480px;
    padding: 14vh 5vw 4vh;
  }


  #sd-fiveb .sd-fmt-header p {
    font-size: 16px;
  }

  .sd-vr-viewport {
    min-height: 280px;
  }
}