#content-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 20px 0;
}

.themestek-sidebar-true .site-content-inner {
  margin-bottom: 0;
}

/* Background decorative elements */
.bg-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.red-triangle-top {
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-left: 830px solid transparent;
  border-top: 330px solid #dc2626;
  animation: slideInFromTop 1.2s ease-out;
}

/* ↓ replace the existing .red-triangle-bottom */
.red-triangle-bottom {
  position: absolute;
  bottom: 0px;
  /* push it further down */
  right: 0;
  width: 0;
  height: 0;
  border-left: 640px solid transparent;
  /* wider base = shallower angle */
  border-bottom: 100px solid #dc2626;
  /* smaller height = less angle */
  animation: slideInFromBottom 1.2s ease-out;
}


.gray-shapes-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  animation: fadeIn 1.5s ease-out;
}

/* Main container */
/* .container {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 10vh 10vw;
} */

/* Single content card without columns, containing laptop frame */
.card {
  background: white;
  border-radius: 32px;

  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
  /* Changed from max-width to width: 80% to make it exactly 80% of available space */
  width: 80%;
  position: relative;
  z-index: 5;
  animation: slideInFromLeft 1s ease-out;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card {
  background-image: url("../imgs/callback-confirmation/mask-group.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  /* store padding for reuse */
  --pad-x: 3rem;
  --pad-y: 3.5rem;

  padding: var(--pad-y) var(--pad-x);
  border-radius: 32px;
  position: relative;
  /* anchor children to this card so absolute laptop uses its edges */
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.12);
}

.main-title {
  font-family: Biryani;
  font-weight: 700;
  font-style: Bold;
  font-size: 40px;
  leading-trim: NONE;
  line-height: 51px;
  letter-spacing: 0%;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* Two-column layout right after the main title without altering inner content */
.hero-two-col {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.hero-two-col .col-left {
  flex: 1 1 auto;
  min-width: 0;
}

.hero-two-col .col-right {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
  min-width: 450px;
  /* reserve space so left text doesn't run under the absolutely positioned laptop on desktop */
}

/* Align left column text hierarchy and spacing to match reference */
.hero-two-col .col-left .subtitle-info p {
  margin: 0;
  color: #374151;
  /* gray-700 for readable body text */
  line-height: 1.65;
  font-size: 13px;
  margin-top: 10px;
}

.hero-two-col .col-left .subtitle-1 {
  margin-bottom: 8px;
  /* small gap between the two lines */
}

.hero-two-col .col-left .subtitle-2 {
  margin-bottom: 22px;
  /* larger gap before the paragraph */
}

.hero-two-col .col-left .description {
  color: #374151;
  line-height: 1.7;
  margin-bottom: 26px;
  /* gap before contact details */
  max-width: 44ch;
  /* keep a readable measure like the mock */
  font-size: 13px;
  margin-top: 10px;
}

/* Contact rows: consistent spacing and emphasis on phone/email */
.hero-two-col .col-left .contact-info {
  display: grid;
  gap: 12px;
  /* even spacing between phone, email, timer */
}

.hero-two-col .col-left .contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-two-col .col-left .contact-item img {
  width: 13px;
  height: 13px;
  /* smaller icons */
}

.hero-two-col .col-left .phone-number a,
.hero-two-col .col-left .email a {
  font-weight: 700;
  /* bold like the mock */
  color: #111827;
  /* near-black */
  font-size: 13px;
  /* bold already applied above */
}

.hero-two-col .col-left .hours {
  font-weight: 500;
  /* slightly lighter than phone/email */
  color: #111827;
  font-size: 14px;
  /* hours slightly lighter/smaller */
}

/* Place laptop frame within the right column; keep original look */
.hero-two-col .laptop-frame {
  position: absolute;
  right: 0;
  bottom: 0;
  margin: 0;
  --laptop-scale: 0.85;
  transform-origin: bottom right;
  scale: var(--laptop-scale);

  will-change: transform, scale;
  width: 450px;
  height: 315px;
  background: #374151;
  border-radius: 15px 0px 30px 0px;
  padding: 8px;
  z-index: 10;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/*.laptop-frame:hover {
  --laptop-scale: 0.87;
}

.laptop-frame:hover {
  transform: scale(1.02);
}*/

.laptop-frame::before {
  content: "";
  position: absolute;
  inset: 20px;
  background: #f7fafc;
  border-radius: 4px;
}

/* Girl image fully inside laptop frame with left hand overlapping left border */
.girl-image {
  position: absolute;
  bottom: 15px;
  /* Moved girl image more to the right */
  left: 18px;
  width: 300px;
  height: auto;
  z-index: 2;
  animation: waveHandSlow 4s ease-in-out infinite;
}

/* Chat icon inside laptop frame, right side, overlapping border */
.chat-icon-inside {
  position: absolute;
  top: 80px;
  /* Moved chat icon more to the left */
  right: 30px;
  width: 60px;
  height: 60px;
  background: #dc2626;
  border-radius: 50%;
  padding: 5px;
  z-index: 8;
  box-shadow: 0 6px 15px rgba(220, 38, 38, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

/* Clock inside laptop frame, away from girl's left hand */
.clock-inside {
  position: absolute;
  top: 40px;
  left: 90px;
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;

  border: none;
  z-index: 8;
}

.clock-inside img {
  width: 60px;
  height: 60px;
}

/* User cards inside laptop frame at bottom */
.user-card {
  position: absolute;
  background: #e5e7eb;
  border-radius: 6px;
  z-index: 7;
  animation: slideInFromBottom 0.8s ease-out calc(1.2s + var(--delay, 0s)) both;
}

.user-card-1 {
  bottom: 25px;
  left: 25px;
  width: 65px;
  height: 28px;
  --delay: 0s;
}

.user-card-2 {
  bottom: 25px;
  left: 100px;
  width: 55px;
  height: 22px;
  --delay: 0.2s;
}

/* Added user-card.webp elements inside laptop frame */
.user-card-left {
  position: absolute;
  bottom: 30px;
  left: 40px;
  width: 120px;
  height: auto;
  z-index: 8;
  animation: slideInFromBottom 0.8s ease-out 1.2s both;
}

.user-card-right {
  position: absolute;
  bottom: 80px;
  right: 40px;
  width: 120px;
  height: auto;
  z-index: 8;
  animation: slideInFromBottom 0.8s ease-out 1.4s both;
}

/* Added ratting.webp below user-card on right side */
.rating-image {
  position: absolute;
  bottom: 30px;
  right: 40px;
  width: 80px;
  height: auto;
  z-index: 8;
  animation: starTwinkle 1.5s ease-in-out infinite;
}

/* Added wave.webp above laptop-frame */
.wave-above-laptop {
  position: absolute;
  top: -50px;
  right: 200px;
  width: 60px;
  height: auto;
  z-index: 4;
  animation: wave 2s ease-in-out infinite;
}

/* Added wave.webp left side of laptop-frame but outside */
.wave-left-laptop {
  position: absolute;
  bottom: 200px;
  left: 430px;
  width: 60px;
  height: auto;
  z-index: 4;
  animation: wave 2s ease-in-out infinite 0.3s;
}

/* Chat grey outside laptop frame on left side */
.chat-grey-outside {
  position: absolute;
  bottom: 225px;
  left: -80px;
  width: 70px;
  height: auto;
  z-index: 4;
  animation: float 3s ease-in-out infinite;
}

/* Wave on left outside laptop frame */
.wave-left {
  position: absolute;
  top: 120px;
  left: -120px;
  width: 60px;
  height: auto;
  z-index: 4;
  animation: wave 2s ease-in-out infinite;
}

/* Leaves outside laptop frame at left bottom */
.leaves-outside {
  position: absolute;
  bottom: 0px;
  left: -105px;
  width: 110px;
  height: auto;
  z-index: -10;
  /* Enhanced leaves animation with more complex movement */
  animation: leavesUpDown 3s ease-in-out infinite;
  transform-origin: center;
}

/* Phone above laptop frame on right side */
.phone-outside {
  position: absolute;
  top: -60px;
  right: 50px;
  width: 75px;
  height: auto;
  z-index: 5;
  animation: bounce 2s ease-in-out infinite;
}

/* Wave above laptop frame on right side */
.wave-right {
  position: absolute;
  top: 180px;
  right: 200px;
  width: 35px;
  height: auto;
  z-index: 4;
  animation: wave 2s ease-in-out infinite 0.5s;
}

/* Background circles */
.bg-circle {
  position: absolute;
  border-radius: 50%;
  background: #e5e7eb;
  opacity: 0.3;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}

.bg-circle-1 {
  top: 15%;
  left: 15%;
  width: 100px;
  height: 100px;
  animation-delay: 0s;
}

.bg-circle-2 {
  bottom: 25%;
  left: 10%;
  width: 70px;
  height: 70px;
  animation-delay: 2s;
}

.bg-circle-3 {
  top: 60%;
  right: 15%;
  width: 85px;
  height: 85px;
  animation-delay: 4s;
}

/* Responsive design */
@media (max-width: 1024px) {
  .container {
    padding: 8vh 6vw;
  }

  .card {
    width: 92%;
    border-radius: 28px;
  }

  .content-card {
    --pad-x: 2rem;
    --pad-y: 2.5rem;
    padding: var(--pad-y) var(--pad-x);
    background-position: center right;
  }

  .main-title {
    font-size: 2.25rem;
    line-height: 2.6rem;
  }

  /* Columns still apply; laptop sizing rules below remain */
  .hero-two-col {
    gap: 1.5rem;
  }

  /* Bring the laptop into normal flow and align to the right bottom of content */
  .hero-two-col .laptop-frame {
    --laptop-scale: 0.9;
    transform-origin: center;
    position: relative;
    /* remains relative on tablet as before */
    right: auto;
    bottom: auto;
    margin: 1.75rem 0 0 auto;
    width: 360px;
    height: 245px;
    border-radius: 14px;
  }

  .girl-image {
    width: 225px;
    left: 16px;
    bottom: 12px;
  }

  .chat-icon-inside {
    width: 48px;
    height: 48px;
    right: 22px;
    top: 68px;
  }

  .clock-inside {
    width: 52px;
    height: 52px;
    left: 70px;
    top: 34px;
  }

  .clock-inside img {
    width: 18px;
    height: 18px;
  }

  .user-card-left {
    width: 110px;
    bottom: 24px;
    left: 28px;
  }

  .user-card-right {
    width: 110px;
    bottom: 66px;
    right: 28px;
  }

  .rating-image {
    width: 72px;
    bottom: 24px;
    right: 28px;
  }

  /* Make contact items slightly smaller but readable */
  .contact-item {
    font-size: 1rem;
  }

  .phone-number,
  .email,
  .hours {
    font-size: 1rem;
    line-height: 1.6rem;
  }

  /* Subtle triangles to match composition without overwhelming on tablet */
  .red-triangle-top {
    /* scaled from 830×330 to keep similar angle */
    border-left-width: 500px;
    border-top-width: 200px;
  }

  .red-triangle-bottom {
    /* shallower than top + pushed further down */
    border-left-width: 380px;
    border-bottom-width: 60px;
    bottom: -30px;
  }

  /* Keep lighter background ornaments or push them away from content */
  .chat-grey-outside {
    left: auto;
    right: 12vw;
    bottom: 200px;
    width: 56px;
  }

  .leaves-outside {
    left: auto;
    right: 22vw;
    bottom: 90px;
    width: 90px;
  }

  .phone-outside {
    right: 18vw;
    top: 200px;
    width: 60px;
  }

  .wave-right {
    right: 16vw;
    top: 160px;
    width: 32px;
  }

  .wave-left {
    right: 20vw;
    top: 180px;
    width: 36px;
  }
}

@media (max-width: 768px) {
  #content-wrapper {
    min-height: auto;
    height: auto;
    align-items: flex-start;
    padding: 15px 0;
  }

  .container {
    padding: 2vh 3vw;
  }

  .card {
    width: 96%;
    border-radius: 20px;
  }

  .content-card {
    --pad-x: 1rem;
    --pad-y: 1.25rem;
    padding: var(--pad-y) var(--pad-x);
    background-position: center;
    background-size: cover;
  }

  .main-title {
    font-size: 1.5rem;
    /* 24px */
    line-height: 1.9rem;
    /* 30px */
    margin-bottom: 10px;
  }

  .main-title br {
    display: none;
    /* Remove line break on mobile for better flow */
  }

  .hero-two-col .col-left .subtitle-info p {
    font-size: 12px;
    line-height: 1.5;
    margin-top: 6px;
  }

  .hero-two-col .col-left .description {
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 18px;
    max-width: 100%;
  }

  .hero-two-col .col-left .contact-info {
    gap: 8px;
  }

  .hero-two-col .col-left .contact-item {
    gap: 8px;
  }

  .hero-two-col .col-left .contact-item img {
    width: 12px;
    height: 12px;
  }

  .hero-two-col .col-left .phone-number a,
  .hero-two-col .col-left .email a {
    font-size: 12px;
  }

  .hero-two-col .col-left .hours {
    font-size: 12px;
  }

  /* Stack: laptop below text and centered */
  .hero-two-col {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-two-col .col-right {
    min-width: 100%;
    justify-content: center;
  }

  .hero-two-col .laptop-frame {
    --laptop-scale: 1;
    transform-origin: center;
    position: relative;
    right: auto;
    bottom: auto;
    margin: 1rem auto 0;
    width: min(100%, 300px);
    height: 210px;
    border-radius: 12px 12px 20px 12px;
    scale: 1;
  }

  .girl-image {
    width: 180px;
    left: 10px;
    bottom: 8px;
  }

  .chat-icon-inside {
    width: 36px;
    height: 36px;
    right: 14px;
    top: 50px;
  }

  .clock-inside {
    width: 42px;
    height: 42px;
    left: 50px;
    top: 22px;
  }

  .clock-inside img {
    width: 42px;
    height: 42px;
  }

  .user-card-left {
    width: 85px;
    bottom: 16px;
    left: 18px;
  }

  .user-card-right {
    width: 85px;
    bottom: 50px;
    right: 18px;
  }

  .rating-image {
    width: 56px;
    bottom: 16px;
    right: 18px;
  }

  /* Properly sized decorative triangles for mobile */
  .red-triangle-top {
    border-left-width: 50vw;
    border-top-width: 60px;
    right: 0;
  }

  .red-triangle-bottom {
    border-left-width: 40vw;
    border-bottom-width: 35px;
    right: 0;
    bottom: 0;
  }

  .bg-circle {
    display: none;
  }

  .wave-left,
  .wave-right,
  .wave-above-laptop,
  .wave-left-laptop,
  .chat-grey-outside,
  .leaves-outside,
  .phone-outside {
    display: none;
  }

  /* Keep gray background subtle */
  .gray-shapes-bg {
    opacity: 0.1;
  }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
  #content-wrapper {
    padding: 10px 0;
  }

  .container {
    padding: 1vh 2vw;
  }

  .card {
    width: 98%;
    border-radius: 16px;
  }

  .content-card {
    --pad-x: 0.875rem;
    --pad-y: 1rem;
    padding: var(--pad-y) var(--pad-x);
  }

  .main-title {
    font-size: 1.25rem;
    /* 20px */
    line-height: 1.6rem;
    /* 26px */
    margin-bottom: 8px;
  }

  .hero-two-col .col-left .subtitle-info p {
    font-size: 11px;
  }

  .hero-two-col .col-left .description {
    font-size: 11px;
    margin-bottom: 14px;
  }

  .hero-two-col .col-left .phone-number a,
  .hero-two-col .col-left .email a,
  .hero-two-col .col-left .hours {
    font-size: 11px;
  }

  .hero-two-col .laptop-frame {
    width: 100%;
    max-width: 280px;
    height: 195px;
    border-radius: 10px 10px 16px 10px;
  }

  .girl-image {
    width: 160px;
    left: 8px;
    bottom: 6px;
  }

  .chat-icon-inside {
    width: 32px;
    height: 32px;
    right: 12px;
    top: 45px;
  }

  .clock-inside {
    width: 38px;
    height: 38px;
    left: 45px;
    top: 18px;
  }

  .clock-inside img {
    width: 38px;
    height: 38px;
  }

  .user-card-left {
    width: 75px;
    bottom: 14px;
    left: 14px;
  }

  .user-card-right {
    width: 75px;
    bottom: 44px;
    right: 14px;
  }

  .rating-image {
    width: 50px;
    bottom: 14px;
    right: 14px;
  }

  /* Smaller triangles for extra small screens */
  .red-triangle-top {
    border-left-width: 45vw;
    border-top-width: 50px;
  }

  .red-triangle-bottom {
    border-left-width: 35vw;
    border-bottom-width: 28px;
  }
}

/* Keyframe animations */
@keyframes slideInFromTop {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideInFromBottom {
  from {
    transform: translateY(100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideInFromLeft {
  from {
    transform: translateX(-100px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInFromRight {
  from {
    transform: translateX(100px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 0.2;
  }
}

@keyframes fadeInUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes waveHandSlow {

  0%,
  100% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(2deg);
  }

  75% {
    transform: rotate(-2deg);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 6px 15px rgba(220, 38, 38, 0.3);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.4);
  }
}

@keyframes clockTick {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes starTwinkle {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes wave {

  0%,
  100% {
    transform: translateX(0px);
  }

  50% {
    transform: translateX(8px);
  }
}

@keyframes sway {

  0%,
  100% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(3deg);
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes leavesUpDown {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }
}