/* WatchOur Portfolio Page - Modern Design */

/* ============================================
   CSS Variables & Base Styles
   ============================================ */
.watchour,
.watchour-content,
.watchour * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.watchour {
  /* Use CSS variables from vars.css */
  font-family: var(--body-regular-400-font-family, "WorkSans-Regular", sans-serif);
  background: var(--gray-white, #ffffff);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 80px !important;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
  width: 100%;
  color: var(--gray-700, #424e60);
}

.watchour-content {
  /* Use CSS variables from vars.css */
  font-family: var(--body-regular-400-font-family, "WorkSans-Regular", sans-serif);
  background: var(--gray-white, #ffffff);
  display: flex;
  flex-direction: column;
  gap: 80px;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
  width: 100%;
  color: var(--gray-700, #424e60);
}

/* Ensure navigation components fill parent width */
.navigation-bar,
.footer-component {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  position: relative;
  left: 0;
  right: 0;
}

/* ============================================
   Typography - Using WorkSans
   ============================================ */
.watchour h1,
.watchour h2,
.watchour h3,
.watchour h4,
.watchour h5,
.watchour h6,
.watchour-content h1,
.watchour-content h2,
.watchour-content h3,
.watchour-content h4,
.watchour-content h5,
.watchour-content h6 {
  font-family: var(--heading-01-font-family, "WorkSans-SemiBold", sans-serif);
  color: var(--gray-900, #132238);
  font-weight: 600;
}

.watchour p,
.watchour li,
.watchour-content p,
.watchour-content li {
  font-family: var(--body-regular-400-font-family, "WorkSans-Regular", sans-serif);
  font-size: 18px;
  line-height: 1.7;
  color: var(--gray-600, #556070);
  text-align: justify;
}

/* Section Titles */
.watchour .watchour-app,
.watchour .project-title,
.typography-h1.watchour-app {
  font-family: var(--heading-01-font-family, "WorkSans-SemiBold", sans-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--gray-900, #132238);
  text-align: center !important;
  margin-bottom: 24px;
}

.watchour .problem,
.watchour .research,
.watchour .solution,
.watchour .design-process,
.watchour .competitive-analysis,
.watchour .outcome-header,
.typography-h2.problem,
.typography-h2.research,
.typography-h2.solution,
.typography-h2.design-process,
.competitive-analysis-watchour .competitive-analysis,
.project-outcome-watchour .outcome-header {
  font-family: var(--heading-02-font-family, "WorkSans-SemiBold", sans-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--gray-900, #132238);
  text-align: center !important;
  margin-bottom: 24px;
  position: relative;
}

.watchour .problem::after,
.watchour .research::after,
.watchour .solution::after,
.watchour .design-process::after,
.watchour .competitive-analysis::after,
.watchour .outcome-header::after,
.typography-h2.problem::after,
.typography-h2.research::after,
.typography-h2.solution::after,
.typography-h2.design-process::after,
.competitive-analysis-watchour .competitive-analysis::after,
.project-outcome-watchour .outcome-header::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary-500, #a53dff);
  border-radius: 2px;
  margin: 16px auto 0;
}

/* Links */
.watchour a,
.watchour-content a {
  color: var(--primary-500, #a53dff);
  text-decoration: none;
  transition: color 0.3s ease;
}

.watchour a:hover,
.watchour-content a:hover {
  color: var(--primary-600, #8431cc);
  text-decoration: none;
}

/* Footer link colors */
.footer-component a,
#footer a {
  color: #f0f1f3 !important;
}

.footer-component a:hover,
#footer a:hover {
  color: #a53dff !important;
  text-decoration: none;
}

/* ============================================
   Background Effects (Matching Carmax)
   ============================================ */
.watchour .ellipse-6 {
  background: linear-gradient(
    181.87deg,
    rgba(255, 223, 168, 0.8) 0%,
    rgba(255, 226, 176, 0.77) 0.01%,
    rgba(255, 234, 198, 0.54) 100%,
    rgba(250, 211, 144, 0.64) 100%
  );
  border-radius: 50%;
  width: 1293.62px;
  height: 1209.7px;
  position: absolute;
  left: 366px;
  top: 7252.81px;
  transform-origin: 0 0;
  transform: rotate(-30deg) scale(1, 1);
  filter: blur(100px);
  z-index: 0;
  pointer-events: none;
}

.watchour .ellipse-4 {
  background: rgba(196, 245, 233, 0.7);
  border-radius: 50%;
  width: 1044.32px;
  height: 1044.32px;
  position: absolute;
  left: -77.55px;
  top: 3725.22px;
  transform-origin: 0 0;
  transform: rotate(-130.444deg) scale(1, 1);
  filter: blur(300px);
  z-index: 0;
  pointer-events: none;
}

/* Movement/ decorative elements */
.watchour .movement-1,
.watchour .movement-2,
.watchour .movement-3 {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.watchour .movement-1 {
  width: 581px;
  height: 537px;
  right: 30px;
  top: 1962px;
}

.watchour .movement-1 .ellipse-7 {
  background: linear-gradient(
    181.87deg,
    rgba(255, 223, 168, 0.4) 0%,
    rgba(255, 226, 176, 0.38) 0.01%,
    rgba(255, 234, 198, 0.27) 100%,
    rgba(250, 211, 144, 0.32) 100%
  );
  border-radius: 50%;
  width: 466.25px;
  height: 454.24px;
  position: absolute;
  left: calc(50% - 290.5px);
  top: 265.24px;
  filter: blur(100px);
}

.watchour .movement-3 {
  width: 384px;
  height: 372px;
  left: 50%;
  transform: translateX(-50%);
  top: 3320px;
}

.watchour .movement-3 .ellipse-72 {
  background: rgba(0, 192, 232, 0.1);
  border-radius: 50%;
  width: 366.8px;
  height: 429.44px;
  position: absolute;
  left: calc(50% - 192px);
  top: 265.24px;
  filter: blur(100px);
}

.watchour .movement-2 {
  width: 577px;
  height: 559px;
  left: calc(50% - 602.5px);
  top: 4967px;
}

.watchour .movement-2 .ellipse-73 {
  background: rgba(219, 177, 255, 0.4);
  border-radius: 50%;
  width: 464.08px;
  height: 453.65px;
  position: absolute;
  left: calc(50% - 288.5px);
  top: 265.24px;
  filter: blur(100px);
}

/* ============================================
   Main Content Container - CENTERED
   ============================================ */
.watchour-content {
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center;
  justify-content: flex-start;
  align-self: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  z-index: 1;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.watchour-main-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 40px;
  align-items: center;
  justify-content: center;
  align-self: center;
  flex-shrink: 0;
  position: relative;
}

/* ============================================
   Section Styles - CENTERED CARDS
   ============================================ */
.about-watchour,
.problem-watchour,
.research-watchour,
.solution-watchour,
.design-process-watchour,
.competitive-analysis-watchour,
.project-outcome-watchour {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  justify-content: center;
  align-self: center;
  flex-shrink: 0;
  position: relative;
  background: var(--gray-white, #ffffff);
  border-radius: 20px;
  box-shadow: 0px 8px 40px rgba(43, 56, 76, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-watchour:hover,
.problem-watchour:hover,
.research-watchour:hover,
.solution-watchour:hover,
.design-process-watchour:hover,
.competitive-analysis-watchour:hover,
.project-outcome-watchour:hover {
  transform: translateY(-4px);
  box-shadow: 0px 16px 60px rgba(43, 56, 76, 0.12);
}

/* Section content wrapper */
.watchour .section-contents,
.contents-watchour,
.contents-watchour-99,
.contents-watchour-652,
.contents-watchour-5,
.contents-watchour-3 {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
  align-self: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 900px;
}

.watchour-watchour-88,
.watchour-watchour-267,
.watchour-watchour-90,
.watchour-watchour-8,
.watchour-watchour-23,
.watchour-watchour-1,
.watchour-watchour-202,
.watchour-watchour-21,
.watchour-watchour-9,
.watchour-watchour-24 {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  position: relative;
  width: 100%;
}

/* ============================================
   Image Display - Modern Cards (Matching Carmax)
   ============================================ */
.watchour .frame-393102 {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  align-content: center;
  align-self: center;
  flex-shrink: 0;
  position: relative;
  width: 100%;
  margin-top: 32px;
}

.watchour .frame-3931013 {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  align-content: center;
  align-self: center;
  flex-shrink: 0;
  position: relative;
  width: 100%;
  margin-top: 32px;
}

.watchour .image-17,
.watchour .image-18,
.watchour .image-19 {
  flex: 1;
  height: auto;
  min-width: 280px;
  max-width: 100%;
  min-height: 400px;
  max-height: none;
  position: relative;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0px 12px 40px rgba(43, 56, 76, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  width: 100%;
}

.watchour .image-17:hover,
.watchour .image-18:hover,
.watchour .image-19:hover {
  transform: scale(1.03) translateY(-8px);
  box-shadow: 0px 20px 50px rgba(43, 56, 76, 0.2);
}

/* ============================================
   Lists - Modern Styling
   ============================================ */
.watchour ul,
.watchour ol {
  width: 100%;
  max-width: 900px;
  padding-left: 0;
  list-style: none;
}

.watchour ul li,
.watchour ol li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 20px;
  font-family: var(--body-regular-400-font-family, "WorkSans-Regular", sans-serif);
  font-size: 17px;
  line-height: 1.7;
  color: var(--gray-600, #556070);
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.watchour ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-400, #b764ff), var(--primary-500, #a53dff));
}

.watchour ol li {
  counter-increment: list-counter;
}

.watchour ol li::before {
  content: counter(list-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-500, #a53dff);
  color: white;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.watchour li:last-child {
  margin-bottom: 0;
}

/* ============================================
   Footer Styles
   ============================================ */
.watchour .frame-2320 {
  display: flex;
  flex-direction: column;
  gap: 100px;
  align-items: center;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
  width: 100%;
}

.watchour .footer {
  background: var(--gray-800, #2b384c);
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
  width: 100%;
}

/* ============================================
   Responsive Design - FIXED
   ============================================ */
@media screen and (max-width: 1024px) {
  .watchour {
    padding-top: 70px !important;
  }
  
  .watchour .about-watchour,
  .watchour .problem-watchour,
  .watchour .research-watchour,
  .watchour .solution-watchour,
  .watchour .design-process-watchour,
  .watchour .competitive-analysis-watchour,
  .watchour .project-outcome-watchour {
    padding: 32px 24px;
    margin: 0 16px;
    width: calc(100% - 32px);
  }
  
  .watchour .watchour-app,
  .watchour .project-title {
    font-size: 2rem;
  }
  
  .typography-h1.watchour-app {
    font-size: 2rem !important;
  }
  
  .watchour .problem,
  .watchour .research,
  .watchour .solution,
  .watchour .design-process,
  .watchour .competitive-analysis,
  .watchour .outcome-header,
  .typography-h2.outcome-header {
    font-size: 1.75rem !important;
  }
  
  .watchour p,
  .watchour li {
    font-size: 16px;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .watchour .section-contents,
  .watchour ul,
  .watchour ol {
    max-width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .watchour {
    padding-top: 70px !important;
  }
  
  .watchour-content {
    padding: 0 16px;
  }
  
  .watchour .about-watchour,
  .watchour .problem-watchour,
  .watchour .research-watchour,
  .watchour .solution-watchour,
  .watchour .design-process-watchour,
  .watchour .competitive-analysis-watchour,
  .watchour .project-outcome-watchour {
    padding: 24px 20px;
    border-radius: 16px;
    margin: 0 12px;
    width: calc(100% - 24px);
  }
  
  .watchour .watchour-app,
  .watchour .project-title {
    font-size: 1.75rem;
  }
  
  .typography-h1.watchour-app {
    font-size: 1.75rem !important;
  }
  
  .watchour .problem,
  .watchour .research,
  .watchour .solution,
  .watchour .design-process,
  .watchour .competitive-analysis,
  .watchour .outcome-header,
  .typography-h2.outcome-header {
    font-size: 1.5rem !important;
  }
  
  .watchour p,
  .watchour li {
    font-size: 15px;
    line-height: 1.6;
    text-align: justify;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .watchour .frame-393102,
  .watchour .frame-3931013 {
    flex-direction: column;
    gap: 16px;
  }
  
  .watchour .image-17,
  .watchour .image-18,
  .watchour .image-19 {
    width: 100%;
    min-width: unset;
    max-width: 100%;
    height: auto;
  }
  
  .watchour .section-contents,
  .watchour ul,
  .watchour ol {
    max-width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .watchour {
    padding-top: 60px !important;
  }
  
  .watchour .about-watchour,
  .watchour .problem-watchour,
  .watchour .research-watchour,
  .watchour .solution-watchour,
  .watchour .design-process-watchour,
  .watchour .competitive-analysis-watchour,
  .watchour .project-outcome-watchour {
    padding: 20px 16px;
    margin: 0 8px;
    width: calc(100% - 16px);
    border-radius: 12px;
  }
  
  .watchour .watchour-app,
  .watchour .project-title {
    font-size: 1.5rem;
  }
  
  .typography-h1.watchour-app {
    font-size: 1.5rem !important;
  }
  
  .watchour .problem,
  .watchour .research,
  .watchour .solution,
  .watchour .design-process,
  .watchour .competitive-analysis,
  .watchour .outcome-header,
  .typography-h2.outcome-header {
    font-size: 1.25rem !important;
  }
  
  .watchour p,
  .watchour li {
    font-size: 14px;
    line-height: 1.5;
    text-align: justify;
  }
  
  .watchour ul li,
  .watchour ol li {
    padding-left: 20px;
    font-size: 14px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .watchour ul li::before {
    width: 6px;
    height: 6px;
    top: 6px;
  }
}

/* ============================================
   Animation Classes
   ============================================ */
.watchour .animate-fadeInUp {
  animation: fadeInUp 0.6s ease-out forwards;
}

.watchour .animate-delay-1 { animation-delay: 0.1s; }
.watchour .animate-delay-2 { animation-delay: 0.2s; }
.watchour .animate-delay-3 { animation-delay: 0.3s; }
.watchour .animate-delay-4 { animation-delay: 0.4s; }
.watchour .animate-delay-5 { animation-delay: 0.5s; }
.watchour .animate-delay-6 { animation-delay: 0.6s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   Utility Classes
   ============================================ */
.watchour .text-center { text-align: center; }
.watchour .text-left { text-align: left; }
.watchour .text-justify { text-align: justify; }

.watchour .mb-0 { margin-bottom: 0; }
.watchour .mb-1 { margin-bottom: 8px; }
.watchour .mb-2 { margin-bottom: 16px; }
.watchour .mb-3 { margin-bottom: 24px; }
.watchour .mb-4 { margin-bottom: 32px; }

.watchour .mt-0 { margin-top: 0; }
.watchour .mt-1 { margin-top: 8px; }
.watchour .mt-2 { margin-top: 16px; }
.watchour .mt-3 { margin-top: 24px; }
.watchour .mt-4 { margin-top: 32px; }

.watchour .container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   Text Content Styling (Matching Carmax)
   ============================================ */
.watchour div[class*="watchour-is-a"],
.watchour div[class*="the-increasing"],
.watchour div[class*="to-address"],
.watchour div[class*="watchour-offers"],
.watchour div[class*="strong-ui"],
.watchour div[class*="netflix-known"],
.watchour div[class*="project-outcome"],
.watchour .watchour,
.watchour .watchour-640,
.watchour .watchour-923,
.watchour .watchour-51,
.watchour .paragraph-watchour-765,
.watchour .paragraph-watchour,
.watchour .project-outcome-content,
.watchour .strong-ui-ux-design-implementation,
.watchour .watchour-watchour-78 {
  font-family: var(--body-regular-400-font-family, "WorkSans-Regular", sans-serif);
  font-size: 18px;
  line-height: 1.7;
  color: var(--gray-600, #556070);
  text-align: justify;
  width: 100%;
}

/* Remove padding-top from nested .watchour divs */
.about-watchour .watchour,
.solution-watchour .watchour,
.watchour-watchour-9 .watchour {
  padding-top: 0 !important;
  gap: 0;
}

/* Coverage for long class names with short aliases */
.watchour div[class*="watchour-is-a"],
.watchour div[class*="the-increasing"],
.watchour div[class*="to-address"],
.watchour div[class*="watchour-offers"],
.watchour .txt-watchour-intro,
.watchour .txt-watchour-problem,
.watchour .txt-watchour-research,
.watchour .txt-watchour-solution {
  font-family: var(--body-regular-400-font-family, "WorkSans-Regular", sans-serif);
  font-size: 18px;
  line-height: 1.7;
  color: var(--gray-600, #556070);
  text-align: justify;
}

/* Container-based responsive scaling for all text nodes in content sections */
@media screen and (max-width: 1024px) {
  .watchour-content .section-contents p,
  .watchour-content .section-contents div,
  .watchour-content .section-contents span,
  .watchour-content .section-contents li {
    font-size: 16px;
    line-height: 1.6;
  }
  /* Explicit aliases */
  .txt-watchour-solution,
  .txt-watchour-research {
    font-size: 16px;
    line-height: 1.6;
  }
}
@media screen and (max-width: 768px) {
  .watchour-content .section-contents p,
  .watchour-content .section-contents div,
  .watchour-content .section-contents span,
  .watchour-content .section-contents li {
    font-size: 15px;
    line-height: 1.6;
    text-align: left;
  }
  /* Explicit aliases */
  .txt-watchour-solution,
  .txt-watchour-research {
    font-size: 15px;
    line-height: 1.6;
    text-align: left;
  }
}
@media screen and (max-width: 480px) {
  .watchour-content .section-contents p,
  .watchour-content .section-contents div,
  .watchour-content .section-contents span,
  .watchour-content .section-contents li {
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
  }
  /* Explicit aliases */
  .txt-watchour-solution,
  .txt-watchour-research {
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
  }
}
