* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Josefin Sans', sans-serif;
}

body {
  background-color: #ffffff;
  color: #333;
  font-family: 'Montserrat', sans-serif;
}

/* HERO SECTION */
.hero {
  display: flex;
  height: 100vh;
}

/* LEFT SIDE (IMAGE) */
.hero-left {
  flex: 1;
}

.hero-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* RIGHT SIDE (TEXT) */
.hero-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
}

.hero-right h1 {
  font-size: 40px;
  margin-bottom: 10px;
  
}

.hero-right h2 {
  font-size: 20px;
  color: #e197ad; /* green accent 👀 */
  margin-bottom: 20px;
  padding-top: 40px;
}

.hero-right p {
  max-width: 400px;
  line-height: 1.6;
  margin-bottom: 25px;
  text-align: justify;
  font-size: 18px;
}
h1, h2, .logo {
  font-family: 'Josefin Sans', sans-serif;
}

/* BUTTON */
.btn {
  text-decoration: none;
  padding: 12px 20px;
  background-color: #4d5a78;
  color: white;
  border-radius: 5px;
  width: fit-content;
  transition: 0.3s;
}

.btn:hover {
  background-color: #2d3546;
}

/* 📱 MOBILE RESPONSIVE */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    height: auto;
  }

  .hero-left img {
    height: 300px;
  }

  .hero-right {
    padding: 30px;
  }
}



/* ABOUT SECTION */
.about-section {
  display: flex;
  padding: 180px 100px; /* more breathing room */
  gap: 80px; /* more space between image + text */
  align-items: center;
  padding-top: 200px;
}

 .about-left {
  flex: 1;
  display: flex;
  justify-content: center; /* centers horizontally */
  align-items: center; /* centers vertically */

}


.about-left img {
  width: 70%; /* smaller */
  max-width: 600px; /* prevents it from getting too big */
  border-radius: 12px;
}

.about-right {
  flex: 1;
}

.about-right h1 {
  font-family: 'Josefin Sans', sans-serif;
  margin-bottom: 20px;
  font-size: 40px;
}

.about-right p {
  margin-bottom: 15px;
  line-height: 1.6;
  text-align: justify;
  font-size: 20px;
}

.about-left img {
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

html {
  scroll-behavior: smooth;
}

/* PROJECTS SECTION */
.projects-section {
  min-height: 100vh;
  padding: 120px 80px;
  text-align: center;
}

.projects-section h2 {
  font-size: 40px;
  margin-bottom: 60px;
  font-family: 'Josefin Sans', sans-serif;
}

/* GRID */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 50px; /* 👈 ADD THIS */
}

/* CARD */
.project-card {
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: left;
  transition: 0.3s ease;
}

/* IMAGE */
.projects-grid img {
  width: 100%;
  max-height: 400px; /* 👈 controls height */
  object-fit: contain; /* keeps full phone visible */
  border-radius: 10px;
}

/* HOVER EFFECT */
.project-card:hover img {
  transform: scale(1.03);
}

/* TEXT */
.project-card p {
  font-size: 16px;
  line-height: 1.5;
}

/* BUTTON */
.project-card .btn {
  font-size: 14px;
  padding: 10px 16px;
}

.project-info {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.project-info p {
  margin-bottom: 25px; /* more breathing room */
  line-height: 1.6;
}

.project-info .btn {
  display: inline-block;
  margin-top: 10px;
}

.projects-section h3 {
  padding-bottom: 35px;
  font-size: 30px;
}

.project-info .btn {
  background-color: #e8a0aa; /* 👈 pick your color */
}

.project-info .btn:hover {
  background-color: #c97c86; /* slightly darker for hover */
}

.video-page {
  min-height: 100vh;
  padding: 120px 80px;
  text-align: center;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.video-page h1 {
  margin-bottom: 50px;
  font-size: 36px;
}

/* VIDEO */
.video-container {
  max-width: 320px;
  margin: 0 auto;
  padding: 10px;
  background: #000;
  border-radius: 30px;
}

.video-container video {
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.process-section {
  margin-top: 80px;
  text-align: center;
}

.process-section h2 {
  font-size: 32px;
  margin-bottom: 80px;
}

/* IMAGES */
.process-images {
  display: flex;
  justify-content: center;
  gap: 110px;
  margin-bottom: 40px;
}

.process-images img {
  width: 100%;
  max-width: 400px; /* ⬅️ bigger */
  border-radius: 12px;
  transition: 0.3s ease;
  cursor: pointer; /* 👈 shows it's clickable */
}

/* hover effect 👀 */
.process-images img:hover {
  transform: translateY(-5px);
}

.process-box {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px;

  background-color: #f8f8f8;
  border-radius: 16px;

  display: flex;
  gap: 40px;
}

.process-text {
  flex: 1;
  text-align: justify;
}

/* optional divider line */
.process-text:first-child {
  border-right: 1px solid #e0e0e0;
  padding-right: 20px;
}

.process-text:last-child {
  padding-left: 20px;
}

.process-text h4 {
  margin-bottom: 10px;
  color: #cb9cad;
}

.img-modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 80px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
}

.modal-content {
  display: block;
  margin: auto;
  max-width: 80%;
  max-height: 80%;
  border-radius: 12px;
}

.close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: white;
  font-size: 40px;
  cursor: pointer;
}
.back-btn-container {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.btn {
  text-decoration: none;
  padding: 12px 20px;
  background-color: #e8a0aa; /* 💗 soft pink */
  color: white;
  border-radius: 5px;
  width: fit-content;
  transition: 0.3s;
}
.btn:hover {
  background-color: #c97c86; /* darker pink */
}

.poster-container {
  display: flex;
  justify-content: center; /* centers horizontally */
  margin: 40px 0;
}

.poster-container img {
  width: 100%;
  max-width: 500px; /* 🔥 increase this to make it bigger */
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

h3 {
  font-size: 30px;
}

.project-info {
  margin-bottom: 80px; /* adds breathing room */
}

/* CONTACT SECTION */
.contact-section {
  padding: 100px 20px;
  text-align: center;
  background-color: #f8f8f8;
}

.contact-section h2 {
  font-size: 36px;
  margin-bottom: 20px;
  font-family: 'Josefin Sans', sans-serif;
  color: #e8a0aa;
}

.contact-section p {
  margin-bottom: 15px;
  font-size: 18px;
}

.contact-info p {
  font-size: 18px;
  margin: 5px 0;
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 20px;
  background-color: #c97c86; /* navy */
  color: white;
  font-size: 14px;
}

/* POSTER IMAGE */
.poster-container img {
  width: 100%;
  max-width: 500px;
  border-radius: 16px;
  display: block;
  margin: 0 auto 30px;
}

/* PROJECT TEXT */
.project-info {
  max-width: 700px;
  margin: 0 auto 60px;
  text-align: center;
  line-height: 1.6;
}

/* PROCESS SECTION */
.poster-process {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-top: 40px;
}

.process-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.process-block:nth-child(even) {
  flex-direction: row-reverse;
}

.process-block img,
.process-block video {
  width: 100%;
  max-width: 450px;
  border-radius: 16px;
}

.process-text {
  max-width: 500px;
}

.process-text h4 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #cb9cad;
}


.process-text p {
  line-height: 1.6;
}

/* BACK BUTTON CENTER */
.back-btn {
  text-align: center;
  margin-top: 80px;
  margin-bottom: 60px;
}

/* MOBILE */
@media (max-width: 768px) {
  .process-block {
    flex-direction: column !important;
    text-align: center;
  }
}

.process-section {
  margin-top: 40px; /* reduce space above */
  padding-top: 0;
}

.project-info {
  margin-bottom: 20px; /* reduce space below description */
}

/* SOFTWARE SKILLS SECTION */
.skills-section {
  text-align: center;
  padding: 80px 20px;
  background-color: #f9f9f9;
}

.skills-section h2 {
  font-size: 28px;
  margin-bottom: 40px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.skill img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 10px;
  border-radius: 10px;
}

.skill p {
  font-size: 14px;
  color: #444;
}