/* home.css - Home page services section (Mobile-First) */

/* Main services container */
.services-section  {
  width: 100%;
  background: var(--primary-color);
  padding: 5vh 5vw;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Section header */
.services-header, .projects-header {
  text-align: center;
  max-width: 80vw;
  margin-bottom: 3vh;
}

.services-title, .projects-title, .story-title, .skills-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 4vw;
  line-height: 1.5;
  color: var(--text-light);
}

.services-subtitle, .projects-subtitle, .story-subtitle, .skills-subtitle {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 5vw;
  line-height: 1.5;
  color: var(--text-color);
  max-width: 90vw;
  margin: 0 auto;
  padding: 2vh 3vw;
  border: 1px solid rgba(23, 25, 26, 0.93);
  border-radius: 1vh;
}

/* Services grid */
.services-grid ,.skills-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 4vh;
  width: 100%;
  max-width: 95vw;
}

/* Service card */
.service-card, .skill-card {
  background: rgba(234, 234, 234, 0.08);
  backdrop-filter: blur(2px);
  border-radius: 2vw;
  padding: 4vh 3vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3vh;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover, .skill-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-content {
  display: flex;
  flex-direction: column;
  gap: 2vh;
  width: 100%;
}

.service-header {
  display: flex;
  flex-direction: column;
  gap: 2vh;
  width: 100%;
}

.service-icon {
   display: flex;
   gap: 1vw;
}

.service-icon svg,
.service-icon .icon-placeholder {
  width: 100%;
  height: 100%;
}

/* Product Thinking icon */
.product-icon .icon-placeholder {
  border: 0.5vh solid #FFFFFF;
  border-radius: 1vw;
}

/* UX Research icon */
.research-icon .icon-placeholder {
  background: #FFFFFF;
  border-radius: 50%;
}

/* UI Design icon */
.ui-icon .icon-placeholder {
}

.ui-icon .vector-1 {
  left: 8.33%;
  right: 10.06%;
  top: 8.33%;
  bottom: 10.06%;
  border: 0.5vh solid #FFFFFF;
}

.ui-icon .vector-2 {
  left: 51.73%;
  right: 10.06%;
  top: 51.73%;
  bottom: 10.06%;
  border: 0.5vh solid #FFFFFF;
}

.ui-icon .vector-3 {
  left: 8.33%;
  right: 25%;
  top: 8.33%;
  bottom: 25%;
  border: 0.5vh solid #FFFFFF;
}

.ui-icon .vector-4 {
  left: 37.5%;
  right: 45.83%;
  top: 37.5%;
  bottom: 45.83%;
  border: 0.5vh solid #FFFFFF;
}

.service-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: var(--h3);
  line-height: 1.5;
  color: #FFFFFF;
  margin: 0;
}

.service-description {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: var(--p3);
  line-height: 1.5;
  color: #FFFFFF;
  margin: 0;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 2vh;
  width: 100%;
}

.feature-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2vw;
}

.feature-icon {
  width: 6vw;
  height: 6vw;
  max-width: 24px;
  max-height: 24px;
  flex-shrink: 0;
}

.feature-icon .tick-placeholder {
  position: absolute;
  left: 20.83%;
  right: 20.83%;
  top: 29.17%;
  bottom: 25%;
  border: 0.2vh solid var(--text-light);
  border-radius: 0.5vw;
}
.we-do p{
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: var(--p3);
    line-height: 1.5;
    color: var(--text-light);
    margin: 0;
}

.feature-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: var(--p3);
  line-height: 1.5;
  color: var(--text-light);
  margin: 0;
  flex: 1;
}

/* Desktop styles */
@media (min-width: 768px) {
    .projects-section, .skills-section{
        margin:0 auto;
        max-width: 1440px;
        padding: 3vw 2vw;
    }
  .services-section {
    padding: 5vh 5vw;
  }

  .services-header, .projects-header {
    margin-bottom: 4vh;
  }

  .services-title, .projects-title ,.story-title , .skills-title  {
    font-size: var(--p1);
    text-align: center;
  }

  .services-subtitle, .projects-subtitle, .story-subtitle ,.skills-subtitle ,.page-subtitle {
    font-size: var(--h3);
    padding: 2vh 3vw;
  }

  .services-grid, .skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3vh;
    max-width: 1440px;
  }
  .skills-grid{
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3vh;
    padding:0 2rem;

  }

  .service-card {
    max-width: 30vw;
    height: auto;
    padding: 4vh 1vw;
  }
  .skill-card {
    height: auto;
  }
  .skill-card h3 {
    font-size: var(--h3);
  }

  .skill-card p {
    font-size: var(--p3);
  }

  .service-content {
    gap: 3vh;
  }

  .service-header {
    gap: 2vh;
  }

  .service-title {
    font-size: var(--h3);
  }

  .service-description {
    font-size: var(--p3);
  }

  .service-features {
    gap: 2vh;
  }

  .feature-text {
    font-size: var(--p3);
  }
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .services-section {
    padding: 8vh 5vw;
  }

  .service-card {
    padding: 5vh 4vw;
  }

  .service-content {
    gap: 3vh;
  }

  .service-features {
    gap: 2.5vh;
  }
}

/* Projects Section - Mobile First Approach */
#projects-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 2vh;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  justify-content: center;
  align-items: stretch;
}

.project-detail-card-home {
  background: rgba(234, 234, 234, 0.08);
  border-radius: 2vw;
  padding: 2vh 2vw;
  display: flex;
  flex-direction: column-reverse;
  gap: 1.5vh;
  width: 100%;
  flex: 1 1 300px;
  min-width: 280px;
  max-width: 400px;
  transition: transform 0.3s ease;
  box-sizing: border-box;
}

.project-detail-card-home:hover {
  transform: translateY(-2px);
}

.project-detail-card-home__content {
  display: flex;
  flex-direction: column;
  gap: 1.5vh;
  color: #fff;
  flex: 1;
}

.project-detail-card-home__header {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.project-detail-card-home__desc {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.project-detail-card-home__meta {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.project-detail-card-home__meta-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.project-detail-card-home__meta-label {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  line-height: 1.2;
  color: #01E78F;
  text-transform: uppercase;
}

.project-detail-card-home__meta-value {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 0.85rem;
  line-height: 1.2;
  color: #fff;
}

.project-detail-card-home__tech {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 0.8rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.5rem;
}

.project-detail-card-home__thumbnail {
  width: 100%;
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 1rem;
}

.project-detail-card-home__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-detail-card-home__cta {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: #01E78F;
  border-radius: 25px;
  color: #17191A;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  width: max-content;
  margin: 1rem auto 0;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

.project-detail-card-home__cta:hover {
  background: #00d17f;
  transform: scale(1.05);
}

@media (min-width: 768px) {
  #projects-container {
    gap: 2.5vh;
  }

  .project-detail-card-home {
    flex: 1 1 320px;
    min-width: 300px;
    max-width: none;
  }
}

@media (min-width: 1024px) {
  #projects-container {
    gap: 3vh;
  }

  .project-detail-card-home {
    flex: 0 1 calc(33.333% - 2vh);
  }
}

/* Project Images - Mobile First */
.project-images {
  width: 100%;
}

.image-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 1vh;
}

.project-image {
  width: 100%;
  height: 120px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 8px;
}

/* Mobile Screenshots - Mobile First */
.mobile-screenshots {
  display: flex;
  gap: 2vw;
  padding: 3vh 4vw;
  background: rgba(234, 234, 234, 0.08);
  border-radius: 16px;
  overflow-x: auto;
}

.mobile-image {
  width: 15vw;
  min-width: 50px;
  height: 140px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 10px;
  flex-shrink: 0;
}

/* Website Screenshots - Mobile First */
.website-screenshots {
  display: flex;
  gap: 2vw;
  padding: 3vh 4vw;
  background: rgba(234, 234, 234, 0.08);
  border-radius: 16px;
  overflow-x: auto;
}

.website-image {
  width: 15vw;
  min-width: 60px;
  height: 140px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 2px;
  flex-shrink: 0;
}

/* Project Info - Mobile First */
.project-info {
  display: flex;
  flex-direction: column;
  gap: 2vh;
}

.project-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 5vw;
  line-height: 1.4;
  color: #FFFFFF;
  margin: 0;
  text-align: center;
}

.project-description {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 4vw;
  line-height: 1.5;
  color: #FFFFFF;
  margin: 0;
}

.project-details {
  display: flex;
  flex-direction: column;
  gap: 1vh;
  align-items: center;
}

.detail-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.detail-label,
.detail-value {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 3.5vw;
  line-height: 1.4;
  color: #FFFFFF;
}

.case-study-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #FFFFFF;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 4vw;
  line-height: 1.4;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.case-study-link:hover {
  opacity: 0.8;
}

.arrow-icon {
  width: 20px;
  height: 20px;
  position: relative;
}

.arrow-vector {
  position: absolute;
  left: 0%;
  right: 0%;
  top: 20.83%;
  bottom: 20.83%;
  border: 2px solid #FFFFFF;
  border-left: none;
  border-top: none;
  transform: rotate(-45deg);
}

/* Tablet Styles - min-width: 768px */
@media (min-width: 768px) {

  #projects-container {
    display: grid;
    grid-template-columns: auto auto;
    gap: 3vh;
  }

  .project-card {
    border-radius: 35px;
    padding: 3vh 2vw;
  }
  .row{
    display: flex;
    flex-direction: column;
    width: 90%;

    gap: 1vh;
  }

  /* Academic Dashboard - Top Left */
  .academic-card {
    grid-column: 1;
    margin-left: 1rem;
    grid-row: 1;
  }

  /* Oil Connect App - Top Right */
  .oil-card {
    grid-column: 2;
    grid-row: 1;
  }

  /* Hildis Website - Bottom Full Width */
  .hildis-card {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .image-row {
    flex-direction: row;
    gap: 11px;
  }

  .project-image {
    width: 290px;
    height: 168px;
    flex: 1;
  }

  .mobile-screenshots {
    display: flex;
    justify-content: center;
    gap: 31px;
    padding: 2vh 3vw;
  }

  .mobile-image {
    width: 68px;
  }

  .website-screenshots {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 2vh 3vw;
  }

  .website-image {
    width: 80px;
  }

  .project-title {
    font-size: 22px;
    line-height: 33px;
  }

  .project-description {
    font-size: 16px;
    line-height: 24px;
  }

  .project-details {
    flex-direction: row;
    gap: 10px;
  }

  .detail-row {
    flex-direction: row;
    gap: 10px;
  }

  .detail-label,
  .detail-value {
    font-size: 16px;
    line-height: 24px;
  }

  .case-study-link {
    font-size: 16px;
    line-height: 24px;
  }

  .arrow-icon {
    width: 24px;
    height: 24px;
  }
}

/* Desktop Styles - min-width: 1024px */
@media (min-width: 1024px) {
  .project-card {
    padding: 3vh 1vw;
  }

  .project-title {
    font-size: 1.5vw;
    line-height: 2.2vw;
  }

  .project-description {
    font-size: 1.1vw;
    line-height: 1.8vw;
  }

  .detail-label,
  .detail-value {
    font-size: 1.1vw;
    line-height: 1.8vw;
  }

  .case-study-link {
    font-size: 1.1vw;
    line-height: 1.8vw;
  }
}

/* Professional Experience Section - Mobile First */
.professional-experience-section {
  width: 100vw;
  max-width: 1440px;
  margin: 0 auto;
  padding: 6vh 5vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #17191A;
}

.professional-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 27px;
  color: #A0A0A0;
  margin-bottom: 2vh;
  text-align: center;
}

.professional-summary {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 32px;
  color: #EAEAEA;
  text-align: center;
  margin-bottom: 4vh;
  border: 1px solid rgba(23, 25, 26, 0.93);
  border-radius: 12px;
  padding: 2vh 2vw;
}

.professional-experience-list {
  display: flex;
  flex-direction: column;
  gap: 3vh;
  width: 100%;
  margin: 0 auto;
}

.experience-item {
  display: flex;
  flex-direction: column;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  gap: 1vh;
  border-radius: 8px;
  padding: 2vh 2vw;
}

.experience-role {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 30px;
  color: #EAEAEA;
}

.experience-company {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #EAEAEA;
}

.experience-details {
  display: flex;
  flex-direction: column;
  gap: 1vh;
}

.experience-detail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 21px;
  color: #A0A0A0;
}

/* Numbers with ring - Mobile First */
.professional-numbers {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 4vw;
  margin-top: 5vh;
}

.number-value {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 48px;
  color: #EAEAEA;
}

.number-label {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 21px;
  color: #EAEAEA;
  text-align: center;
}

@media (min-width: 768px) {
  .professional-experience-section {
   
    padding: 8vh 10vw;
  }
  .professional-title {
    font-size: 22px;
  }
  .professional-summary {
    font-size: 32px;
    line-height: 48px;
    padding: 3vh 4vw;
  }
  .experience-role {
    font-size: 24px;
    line-height: 36px;
  }
  .number-ring {
    width: 120px;
    height: 120px;
    font-size: 48px;
  }
  .number-value {
    font-size: 48px;
    line-height: 72px;
  }
}

@media (min-width: 1024px) {
  .professional-experience-section {
    padding: 10vh 15vw;
  }
  .professional-experience-list {
     display: grid;
    grid-template-columns: 0.4fr 1fr;
    max-width: 1200px;
  }
  .professional-numbers {
    gap: 6vw;
  }
}

.achievements-stats{
  display: grid;
  grid-template-rows: 1fr 1fr 1fr;
  border-right: 4px solid;
  gap: 0.5rem;
  padding: 0 1rem;
  margin-top: 1rem;
}

.achievement {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

/* DONUT */
.donut {
  --size: 100px;
  --thickness: 11px;
  width: var(--size);
  height: var(--size);
  margin-bottom: 10px;
  border-radius: 50%;
  position: relative;
  display: grid;
  place-items: center;
  background:
    conic-gradient(
      var(--text-color) calc(var(--value) * 1%),
      var(--primary-dark) 0
    );
}

/* INNER HOLE */
.donut::before {
  content: "";
  position: absolute;
  inset: var(--thickness);
  background-color: var(--primary-color);
  border-radius: 50%;
}

/* CENTER NUMBER */
.achievement-number {
  position: relative;
   background: transparent;
  font-size: var(--h3);
  font-weight: 700;
}

/* LABEL */
.achievement-label {
  font-size: var(--p3);
  font-weight: 400;
  text-align: center;
}

/* /how it works section */

/* How It Works Section - Container and Grid (Mobile-First) */
.how-it-works-section {
  width: 100%;
  background: var(--primary-color);
  padding: 5vh 5vw;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.how-it-works-container {
  width: 100%;
  max-width: 1440px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.how-it-works-header {
  text-align: center;
  max-width: 80vw;
  margin-bottom: 3vh;
}

.how-it-works-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 4vw;
  line-height: 1.5;
  color: var(--text-light);
}

.how-it-works-subtitle {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 5vw;
  line-height: 1.5;
  color: var(--text-color);
  max-width: 90vw;
  margin: 0 auto;
  padding: 2vh 3vw;
  border: 1px solid rgba(23, 25, 26, 0.93);
  border-radius: 1vh;
}

.how-it-works-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4vh;
  width: 100%;
}

.how-card {
  background: rgba(234, 234, 234, 0.08);
  border-radius: 2vw;
  padding: 4vh 3vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2vh;
}

.how-card-header {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1vh;
}

.how-card-icon {
  width: 48px;
  height: 48px;
}

.how-card-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 42px;
  color: #FFFFFF;
  margin: 0;
}

.how-card-details {
  display: flex;
  flex-direction: column;
  gap: 1vh;
}

.how-detail {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 21px;
  color: #A0A0A0;
}

.how-card-output {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  color: #FFFFFF;
  margin-top: 1vh;
}

@media (min-width: 768px) {
  .how-it-works-section {
    padding: 8vh 2vw;
  }
  .how-it-works-title {
    font-size: 22px;
  }
  .how-it-works-subtitle {
    font-size: 32px;
    line-height: 48px;
    padding: 3vh 4vw;
  }
  .how-it-works-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 3vh;
  }
  .how-card {
    border-radius: 35px;
    padding: 3vh 2vw;
  }
}

@media (min-width: 1024px) {
  .how-it-works-section {
    padding: 5vh 3vw;
  }
  .how-it-works-header {
    margin-bottom: 4vh;
  }
  .how-it-works-grid {
    gap: 2vw;
  }
}

/* Contact CTA Section - Minimal, Professional */
.contact-cta-section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5vh 0;
}

.contact-cta-container {
  background: rgba(234, 234, 234, 0.08);
  border-radius: 35px;
  max-width: 1090px;
  width: 90vw;
  padding: 4vh 4vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2vh;
}

.contact-cta-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 7vw;
  line-height: 1.5;
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 1vh;
}

.contact-cta-subtitle {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 4vw;
  line-height: 1.5;
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 2vh;
}

.contact-cta-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.contact-cta-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px 36px;
  border-radius: 30px;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.contact-cta-btn-primary {
  background: #fff;
  color: #17191A;
}

.contact-cta-btn-secondary {
  background: rgba(234, 234, 234, 0.1);
  color: #fff;
}

.contact-cta-btn-primary:hover {
  background: #eaeaea;
}

.contact-cta-btn-secondary:hover {
  background: #fff;
  color: #17191A;
}

@media (min-width: 768px) {
  .contact-cta-title {
    font-size: 32px;
    line-height: 48px;
  }
  .contact-cta-subtitle {
    font-size: 16px;
    line-height: 24px;
  }
  .contact-cta-container {
    padding: 4vh 6vw;
  }
}