/* --- GLOBAL STYLES --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
  color: #333;
  line-height: 1.6;
}

/* --- HERO SECTION --- */
.hero-section {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  text-align: center;
}

.hero-section h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.hero-section p {
  font-size: 1.4rem;
  max-width: 600px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.85);
}

/* --- SERVICES SECTION --- */
.services-section {
  padding: 5rem 2rem;
  text-align: center;
}

/* Prediction result text */
.service-card .result {
    color: black;
    font-weight: 600;
    margin-top: 10px;
}

.services-section h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #333;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* --- SERVICE CARD --- */
.service-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.service-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

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

/* --- UPLOAD BOX --- */
.upload-box {
  background: linear-gradient(135deg, #fceabb 0%, #f8b500 100%); /* soft yellow → orange */
  border: 2px dashed rgba(0, 0, 0, 0.3); /* light gray border */
  padding: 2rem;
  border-radius: 15px;
  margin-bottom: 1rem;
  cursor: pointer;
  text-align: center;
  transition: background 0.3s, border-color 0.3s;
}

.upload-text {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333; /* dark gray text for readability */
}



.upload-box:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
}



/* --- BUTTONS --- */
.btn {
  background: #667eea;
  color: #fff;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
}

.btn:hover {
  background: #764ba2;
  transform: translateY(-3px);
}

/* --- RESULTS --- */
.result {
  margin-top: 1rem;
  font-weight: 600;
  color: #fff;
}

/* --- CONTACT SECTION --- */
.contact-section {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  text-align: center;
}

.contact-section h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.contact-section form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-section input,
.contact-section textarea {
  padding: 1rem;
  border-radius: 15px;
  border: none;
  font-size: 1rem;
}

.contact-section input::placeholder,
.contact-section textarea::placeholder {
  color: rgba(0, 0, 0, 0.5);
}

.contact-section button {
  margin-top: 1rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 3rem;
  }
  .hero-section p {
    font-size: 1.2rem;
  }
}
