@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
#track-my-day-info {
  background: #f0f8ff;
  padding: 1.5rem;
  border-radius: 10px;
  margin: 2rem 0;
}

#track-my-day-info h2 {
  color: #0077b6;
  margin-bottom: 0.8rem;
}

#track-my-day-info p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.typing-text {
  font-family: monospace;
  font-size: 2em;
  border-right: 3px solid black;
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  animation: typing 4s steps(25, end) infinite, blink 0.5s step-end infinite alternate;
}

@keyframes typing {
  0%   { width: 0 }
  40%  { width: 20ch }
  60%  { width: 20ch }
  100% { width: 0 }
}

@keyframes blink {
  50% { border-color: transparent }
}

body {
  background: linear-gradient(to bottom, #e6f7ff, #cceeff);
  color: #333;
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* HEADER */
header {
  background: #111;
  padding: 1rem 2rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  color: white;
  font-size: 1.8rem;
  font-weight: 700;
  text-decoration: none;
}
.logo span {
  color: #ffcc00;
}
.nav-links {
  list-style: none;
}
.nav-links li {
  display: inline;
  margin-left: 20px;
}
.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
}
.nav-links a:hover {
  color: #ffcc00;
}

/* SECTIONS with horizontal line */
section {
  padding: 6rem 2rem 3rem;
  max-width: 1000px;
  margin: auto;
  border-top: 2px solid #ccc;
}
section:first-of-type {
  border-top: none; /* No line above first section */
}

/* HERO with vertical divider */
#hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  background: #fff9e6;
}
.hero-text {
  border-right: 2px solid #ccc; /* vertical line */
  padding-right: 2rem;
}
.hero-text h2 {
  font-size: 3rem;
  font-weight: 700;
}
.hero-text p {
  font-size: 1.3rem;
  margin: 1rem 0;
}
.btn {
  display: inline-block;
  background: #ffcc00;
  padding: 12px 24px;
  border-radius: 5px;
  color: black;
  text-decoration: none;
  font-weight: bold;
}
.hero-img {
  padding-left: 2rem;
}
.hero-img img {
  width: 300px;
  border-radius: 50%;
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}
.about-container {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.about-img img {
  width: 200px;
  border-radius: 10px;
}

.about-text {
  flex: 1;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Mobile View */
@media (max-width: 768px) {
  .about-container {
      flex-direction: column;
      text-align: center;
  }
  .about-img img {
      width: 80%;
  }
}

/* MARQUEE REVIEWS */
.marquee {
  display: flex;
  gap: 2rem;
  animation: scroll 15s linear infinite;
  white-space: nowrap;
}
.review-item {
  flex: 0 0 auto;
  width: 250px;                
  margin: 0 15px;
  text-align: center;
  box-sizing: border-box;

  /* Rectangular card look */
  background: #ffffff;         /* Card background */
  border: 1px solid #ddd;      /* Thin border */
  border-radius: 8px;          /* Slightly rounded corners */
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1); /* Soft shadow */
}

.review-item p {
  word-wrap: break-word;       
  overflow-wrap: break-word;   
  white-space: normal;         
  font-size: 14px;
  line-height: 1.4;
  margin: 10px 0;
}

.review-item img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}
@keyframes scroll {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}
#reviews {
  overflow-x: hidden; /* Prevent sideways page shift */
  position: relative;
}


/* MOBILE */
@media (max-width: 768px) {
  .hero-text {
    border-right: none;
    padding-right: 0;
  }
  .hero-text h2 {
    font-size: 2rem;
  }
  nav {
    flex-direction: column;
  }
}


/*Project */

/* PROJECTS section */
#projects {
  padding: 3rem 2rem;
  background: #fff9e6;
}

#projects h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

.projects-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.project-card {
  background: #fff;
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
  width: 300px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.project-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.project-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.project-card p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.project-btn {
  display: inline-block;
  background: #ffcc00;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  color: black;
  font-weight: bold;
}

.project-btn:hover {
  background: #e6b800;
}

/* Mobile fix */
@media (max-width: 768px) {
  .projects-container {
    flex-direction: column;
    align-items: center;
  }
  .project-card {
    width: 90%;
  }
}
/* Track MY Day */

/* Section title */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #333;
}

/* Main container */
.skills-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  background: #fff9e6;
  padding: 2rem;
  border-radius: 10px;
}

/* Left side: single photo */
.skills-photo {
  flex: 1;
  display: flex;
  justify-content: center;
}
.skills-photo img {
  width: 100%;
  max-width: 350px;
  border-radius: 15px;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}
.skills-photo img:hover {
  transform: scale(1.05);
}

/* Right side: skill bars */
.skills-bars {
  flex: 2;
}
.skill {
  margin-bottom: 1.5rem;
}
.skill span {
  font-weight: bold;
  color: #333;
}
.progress {
  width: 100%;
  height: 8px;
  background: #ddd;
  border-radius: 5px;
  margin-top: 5px;
  overflow: hidden;
}
.progress div {
  height: 100%;
  background: #ffcc00;
  border-radius: 5px;
}

/* Responsive */
@media (max-width: 768px) {
  .skills-container {
    flex-direction: column;
    text-align: center;
  }
  .skills-photo img {
    max-width: 250px;
  }
}
/* Form */
#contact {
  padding: 3rem;
  background: #f7f7f7;
  border-radius: 10px;
  max-width: 600px;
  margin: auto;
}

#contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

label {
  font-weight: bold;
  margin-bottom: 0.3rem;
}

input, textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  width: 100%;
}

input:focus, textarea:focus {
  border-color: #ffcc00;
  outline: none;
}

.submit-btn {
  background: #ffcc00;
  color: #333;
  padding: 0.9rem;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.submit-btn:hover {
  background: #e6b800;
}
/*Social Media*/
#contact {
  text-align: center;
  padding: 2rem 0;
  background-color: #f7f7f7;
}

.social-icons {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}


.social-icons a {
  text-decoration: none;
  color: #333;
  margin: 0 10px;
  font-size: 2rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #ffcc00;
}