/* Design System Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-size: 14px; /* Design system body font size */
  font-family: 'Arial', sans-serif; /* Design system font family */
  line-height: 1.6; /* Design system body line height */
  color: #333; /* Design system text primary */
  margin: 0;
  padding: 0;
  background: #fff;
}

/* Navigation Header - Reduced Size */
.nav-header {
  background: rgba(0, 0, 0, 0.9);
  padding: 15px 30px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-name {
  font-size: 18px;
  font-weight: 600;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-name:hover {
  color: #ff69b4;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-item {
  font-size: 16px;
  color: white;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.nav-item:hover {
  color: #ff69b4;
}

/* Hero Section */
.hero-background-container {
  width: 100%;
  height: 400px;
  position: relative;
  overflow: hidden;
  margin-top: 0;
  margin-bottom: 0;
  background: linear-gradient(135deg, rgba(13, 136, 153, 0.8) 0%, rgba(25, 120, 133, 0.9) 100%);
}

.hero-background {
  width: 100%;
  height: 400px;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
}

/* Mobile Screen Components - More scattered mobile mockups */
.mobile-screen {
  position: absolute;
  background-size: cover;
  background-position: center;
  border-radius: 15px;
  transform-origin: center;
  transition: all 0.3s ease;
  opacity: 0.9;
}

/* More mobile mockups scattered across the hero - matching the screenshot density */
.mobile-mockup-1 {
  left: 30px;
  top: 20px;
  width: 70px;
  height: 140px;
  transform: rotate(-25deg);
  background-image: url("../images/v124_97.png");
}

.mobile-mockup-2 {
  left: 120px;
  top: 60px;
  width: 65px;
  height: 130px;
  transform: rotate(20deg);
  background-image: url("../images/v124_100.png");
}

.mobile-mockup-3 {
  left: 200px;
  top: 30px;
  width: 70px;
  height: 140px;
  transform: rotate(-15deg);
  background-image: url("../images/v124_103.png");
}

.mobile-mockup-4 {
  left: 280px;
  top: 80px;
  width: 65px;
  height: 130px;
  transform: rotate(30deg);
  background-image: url("../images/v124_106.png");
}

.mobile-mockup-5 {
  left: 360px;
  top: 40px;
  width: 70px;
  height: 140px;
  transform: rotate(-20deg);
  background-image: url("../images/v124_109.png");
}

.mobile-mockup-6 {
  left: 440px;
  top: 90px;
  width: 65px;
  height: 130px;
  transform: rotate(25deg);
  background-image: url("../images/v126_112.png");
}

.mobile-mockup-7 {
  left: 520px;
  top: 35px;
  width: 70px;
  height: 140px;
  transform: rotate(-30deg);
  background-image: url("../images/v126_115.png");
}

.mobile-mockup-8 {
  left: 600px;
  top: 75px;
  width: 65px;
  height: 130px;
  transform: rotate(15deg);
  background-image: url("../images/v126_118.png");
}

.mobile-mockup-9 {
  left: 680px;
  top: 45px;
  width: 70px;
  height: 140px;
  transform: rotate(-35deg);
  background-image: url("../images/v139_196.png");
}

.mobile-mockup-10 {
  left: 760px;
  top: 85px;
  width: 65px;
  height: 130px;
  transform: rotate(18deg);
  background-image: url("../images/v139_198.png");
}

/* Additional mobile mockups for denser coverage */
.mobile-mockup-11 {
  left: 840px;
  top: 25px;
  width: 70px;
  height: 140px;
  transform: rotate(-22deg);
  background-image: url("../images/v139_200.png");
}

.mobile-mockup-12 {
  left: 920px;
  top: 70px;
  width: 65px;
  height: 130px;
  transform: rotate(28deg);
  background-image: url("../images/v139_202.png");
}

/* Bottom row of mobile mockups */
.mobile-mockup-13 {
  left: 80px;
  top: 200px;
  width: 65px;
  height: 130px;
  transform: rotate(22deg);
  background-image: url("../images/v124_97.png");
}

.mobile-mockup-14 {
  left: 160px;
  top: 240px;
  width: 70px;
  height: 140px;
  transform: rotate(-18deg);
  background-image: url("../images/v124_100.png");
}

.mobile-mockup-15 {
  left: 240px;
  top: 210px;
  width: 65px;
  height: 130px;
  transform: rotate(32deg);
  background-image: url("../images/v124_103.png");
}

.mobile-mockup-16 {
  left: 320px;
  top: 250px;
  width: 70px;
  height: 140px;
  transform: rotate(-25deg);
  background-image: url("../images/v124_106.png");
}

.mobile-mockup-17 {
  left: 400px;
  top: 220px;
  width: 65px;
  height: 130px;
  transform: rotate(20deg);
  background-image: url("../images/v124_109.png");
}

.mobile-mockup-18 {
  left: 480px;
  top: 260px;
  width: 70px;
  height: 140px;
  transform: rotate(-30deg);
  background-image: url("../images/v126_112.png");
}

/* Hero Title */
.hero-title {
  position: absolute;
  top: 120px;
  right: 100px;
  font-family: 'Readex Pro', sans-serif;
  font-weight: Bold;
  font-size: 52px;
  color: white;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
  z-index: 10;
  margin: 0;
  line-height: 1.0;
  text-align: right;
  max-width: 600px;
  word-wrap: break-word;
}
}

/* Hero Phone Mockup - Removed since it's not in the screenshot */
.hero-phone-mockup {
  display: none;
}

/* Hero Date */
.hero-date {
  position: absolute;
  top: 300px;
  left: 60px;
  font-family: 'Readex Pro', sans-serif;
  font-weight: Bold;
  font-size: 28px;
  color: white;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
  z-index: 10;
  margin: 0;
}

/* Hero Description */
.hero-description {
  position: relative;
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
  font-family: 'Readex Pro', sans-serif;
  font-weight: Medium;
  font-size: 18px;
  color: #333;
  text-align: center;
  line-height: 1.6;
}

/* Mobile Mockups Section */
.mobile-mockups-section {
  background: rgba(25,120,133,0.37);
  padding: 40px 20px;
  margin: 40px 0;
}

.mobile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  justify-items: center;
}

.mobile-grid .mobile-screen {
  position: relative;
  width: 200px;
  height: 404px;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.mobile-grid .mobile-screen:hover {
  transform: scale(1.05);
}

/* Main Content */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Project Section Base Component */
.project-section {
  padding: 40px 0;
  margin-bottom: 40px;
  border-bottom: 1px solid #f0f0f0;
}

.project-section:last-child {
  border-bottom: none;
}

.section-title {
  font-family: 'Readex Pro', sans-serif;
  font-weight: Bold;
  font-size: 48px;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.2;
}

.section-text {
  font-family: 'Readex Pro', sans-serif;
  font-size: 18px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 15px;
}

.section-text:last-child {
  margin-bottom: 0;
}

/* Diagram Section */
.diagram-section {
  background: rgba(25,120,133,0.1);
  padding: 40px 20px;
  border-radius: 15px;
  margin: 40px 0;
}

.diagram-content, .process-content, .additional-process, .repair-process {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.diagram-content:last-child, .process-content:last-child, .additional-process:last-child, .repair-process:last-child {
  margin-bottom: 0;
}

.diagram-image img, .process-image img, .process-diagram img, .repair-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.diagram-text, .process-text, .process-description, .repair-text {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

/* Analysis Section */
.analysis-section {
  background: rgba(25,120,133,0.05);
  padding: 40px 20px;
  border-radius: 15px;
}

.analysis-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.analysis-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Results Section */
.results-section {
  background: rgba(25,120,133,0.1);
  padding: 40px 20px;
  border-radius: 15px;
}

.results-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.results-images {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.results-images img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* UI Section */
.ui-section {
  background: rgba(25,120,133,0.05);
  padding: 40px 20px;
  border-radius: 15px;
}

.ui-mockups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.ui-mockups .mobile-screen {
  position: relative;
  width: 100%;
  height: 350px;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.ui-mockups .mobile-screen:hover {
  transform: scale(1.05);
}

/* Learning Section */
.learning-section {
  background: rgba(25,120,133,0.1);
  padding: 40px 20px;
  border-radius: 15px;
}

/* Footer */
.footer {
  background: rgba(0,0,0,0.8);
  color: white;
  padding: 40px 20px;
  margin-top: 60px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.footer h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 36px;
  font-weight: Bold;
  margin-bottom: 20px;
}

.contact-info {
  background: rgba(255,255,255,0.68);
  color: #333;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
}

.contact-info a {
  color: #333;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-info a:hover {
  color: #0d8899;
  text-decoration: underline;
}

.footer-links {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-size: 24px;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 10px 15px;
  border-radius: 8px;
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-links a:hover {
  color: #ff69b4;
  border-color: #ff69b4;
  background: rgba(255, 105, 180, 0.1);
  transform: translateY(-2px);
}

.footer-links a:focus {
  outline: 2px solid #ff69b4;
  outline-offset: 2px;
}

.linkedin-link {
  min-width: 50px;
  min-height: 50px;
}

.linkedin-link svg {
  width: 28px;
  height: 28px;
  transition: all 0.3s ease;
}

.linkedin-link:hover svg {
  transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-header {
    padding: 10px 20px;
  }
  
  .nav-container {
    flex-direction: column;
    gap: 15px;
  }

  .nav-name {
    font-size: 16px;
    text-align: center;
  }

  .nav-links {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-item {
    font-size: 14px;
    padding: 6px 10px;
  }

  .hero-background-container {
    height: 300px;
  }
  
  .hero-title {
    font-size: 32px;
    top: 80px;
    right: 20px;
    left: auto;
    max-width: calc(100% - 40px);
    text-align: right;
    word-wrap: break-word;
  }
  
  .hero-date {
    font-size: 18px;
    top: 140px;
    left: 20px;
  }
  
  .mobile-screen {
    display: none;
  }

  .mobile-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
  }

  .mobile-grid .mobile-screen {
    width: 150px;
    height: 300px;
    display: block;
    opacity: 1;
  }

  .section-title {
    font-size: 36px;
  }

  .section-text {
    font-size: 16px;
  }

  .diagram-content, .process-content, .additional-process, .repair-process, .analysis-content, .results-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ui-mockups {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
  }

  .ui-mockups .mobile-screen {
    height: 280px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .footer h3 {
    font-size: 28px;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (min-width: 1200px) {
  .hero-title {
    font-size: 96px;
  }

  .main-content {
    max-width: 1400px;
  }
}