/* ---------- RESET ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; background: linear-gradient(135deg,#fff1f3,#fef9ff,#fff7f0); color: #333; overflow-x: hidden; scroll-behavior: smooth; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---------- CONTAINER ---------- */
.container { width: 90%; max-width: 1200px; margin: auto; }

/* ---------- HEADER ---------- */
.header { position: fixed; width: 100%; top: 0; left: 0; z-index: 100; background: rgba(255,255,255,0.85); backdrop-filter: blur(12px); padding: 15px 0; box-shadow: 0 4px 20px rgba(0,0,0,0.08); display: flex; justify-content: center; animation: slideDown 0.7s ease; }
.header-inner { display: flex; justify-content: space-between; align-items: center; width: 90%; max-width: 1200px; }
.logo img { height: 50px; }
.nav a { color: #444; margin-left: 20px; font-weight: 500; font-family: 'Playfair Display', serif; position: relative; transition: 0.4s; }
.nav a::after { content: ''; position: absolute; width: 0; height: 2px; background: linear-gradient(90deg,#ffb6c1,#ffc3a0); left: 0; bottom: -4px; transition: 0.3s; border-radius: 2px; }
.nav a:hover::after { width: 100%; }
.btn-login, .btn-signup { padding: 8px 18px; border-radius: 30px; font-weight: 600; transition: 0.3s; }
.btn-login { background: #ffb6c1; color: #fff; }
.btn-login:hover { background: #ff9aa2; transform: scale(1.05); }
.btn-signup { border: 2px solid #ffb6c1; color: #ffb6c1; }
.btn-signup:hover { background: #ffb6c1; color: #fff; transform: scale(1.05); }

/* ---------- HERO ---------- */
.hero { height: 100vh; display: flex; justify-content: center; align-items: center; text-align: center; position: relative; overflow: hidden; background: linear-gradient(135deg,#ffe6f0,#fff7f0); }
.hero h1 { font-size: 3rem; margin-bottom: 20px; color: #ff6f91; animation: textSlide 1s ease; }
.hero h1 span { color: #ffc3a0; }
.hero p.subtext { font-size: 1.2rem; margin-bottom: 30px; color: #555; animation: fadeIn 1.5s ease; }
.btn-primary { background: #ff6f91; color: #fff; padding: 12px 30px; border-radius: 50px; font-weight: bold; transition: 0.3s; }
.btn-primary:hover { transform: scale(1.1); background: #ffc3a0; color: #fff; }

/* Floating shapes */
#heroCanvas { position: absolute; top:0; left:0; width:100%; height:100%; z-index:0; }

/* ---------- ABOUT ---------- */
.about-section { padding: 100px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 40px; background: #fff7f8; }
.about-text { flex: 1 1 400px; }
.about-text h2 { color: #ff6f91; font-size: 2rem; margin-bottom: 20px; border-bottom: 2px solid #ffc3a0; display: inline-block; font-family: 'Playfair Display', serif; }
.about-text p { line-height: 1.6; margin-bottom: 15px; color: #555; }
.about-img { flex: 1 1 400px; }
.about-img img { width: 100%; border-radius: 12px; box-shadow: 0 8px 20px rgba(255,111,145,0.2); }

/* ---------- PROJECTS ---------- */
.projects-section { padding: 100px 0; text-align: center; }
.projects-section h2 { font-size: 2rem; margin-bottom: 50px; color: #ff6f91; font-family: 'Playfair Display', serif; }
.projects-grid { display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; }
.project-card { background: rgba(255,198,200,0.3); padding: 20px; border-radius: 15px; width: 250px; box-shadow: 0 8px 30px rgba(255,111,145,0.1); transition: 0.3s; }
.project-card:hover { transform: translateY(-10px) scale(1.05); box-shadow: 0 12px 40px rgba(255,111,145,0.2); }
.project-card img { width: 100%; border-radius: 12px; margin-bottom: 15px; }
.project-card h3 { color: #ff6f91; margin-bottom: 8px; }
.project-card p { color: #555; }

/* ---------- TEAM ---------- */
.team { background: #fff0f5; padding: 100px 0; text-align: center; }
.team h2 { font-size: 2rem; color: #ff6f91; margin-bottom: 50px; font-family: 'Playfair Display', serif; }
.team-grid { display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; }
.team-card { background: rgba(255,198,200,0.3); padding: 20px; border-radius: 15px; width: 250px; box-shadow: 0 8px 30px rgba(255,111,145,0.1); transition: 0.3s; }
.team-card:hover { transform: translateY(-10px) scale(1.05); box-shadow: 0 12px 40px rgba(255,111,145,0.2); }
.team-card img { width: 100%; border-radius: 50%; margin-bottom: 15px; }
.team-card h3 { color: #ff6f91; margin-bottom: 8px; }
.team-card p { color: #555; }

/* ---------- CONTACT ---------- */
.contact-section { padding: 100px 0; text-align: center; }
.contact-section h2 { color: #ff6f91; margin-bottom: 50px; font-family: 'Playfair Display', serif; }
.contact-form { display: flex; flex-direction: column; max-width: 500px; margin: auto; gap: 15px; }
.contact-form input, .contact-form textarea { padding: 12px; border-radius: 12px; border: none; background: rgba(255,198,200,0.2); color: #555; font-size: 1rem; outline: none; }
.contact-form input:focus, .contact-form textarea:focus { background: rgba(255,198,200,0.3); box-shadow: 0 0 10px #ff6f91; }
.contact-form button { padding: 12px; border: none; border-radius: 50px; background: #ff6f91; color: #fff; font-weight: bold; cursor: pointer; transition: 0.3s; }
.contact-form button:hover { transform: scale(1.05); background: #ffc3a0; }

/* ---------- FOOTER ---------- */
.footer { background: black; padding: 80px 0 20px; color: #555; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.footer-section h3 { color: #ff6f91; margin-bottom: 15px; font-family: 'Playfair Display', serif; }
.footer-section ul li { margin-bottom: 8px; }
.footer-section ul li a:hover { color: #ffc3a0; }
.social-icons a { display: inline-block; background: #ff6f91; color: #fff; padding: 10px; border-radius: 50%; transition: 0.3s; }
.social-icons a:hover { background: #ffc3a0; color: #fff; transform: translateY(-4px) scale(1.2); }
.footer-bottom { text-align: center; margin-top: 30px; font-size: 0.9rem; color: #aaa; }

/*/* ---------- MODALS ---------- */
.modal {
  display: none;
  position: fixed;
  z-index: 200;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: flex;               /* Flex for centering */
  justify-content: center;     /* Horizontal center */
  align-items: center;         /* Vertical center */
}

.modal-content {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 20px;
  width: 90%;
  max-width: 400px;
  position: relative;
  text-align: center;
  animation: slideDown 0.5s ease;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  color: #fff;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}
.close:hover { color: #ffcc00; }

.close:hover { color: #ffcc00; }

/* Form inside modal */
.modal-content form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.modal-content input {
  padding: 12px;
  border-radius: 12px;
  border: none;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 1rem;
  outline: none;
}
.modal-content input:focus {
  background: rgba(255,255,255,0.2);
  box-shadow: 0 0 10px #ffcc00;
}
.modal-content button {
  padding: 12px;
  border-radius: 50px;
  border: none;
  background: #ffcc00;
  color: #111;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}
.modal-content button:hover {
  background: #e6b800;
  transform: scale(1.05);
}

/* ---------- ANIMATIONS ---------- */
@keyframes slideDown { from { transform: translateY(-50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes textSlide { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ---------- REVEAL ON SCROLL ---------- */
.reveal { opacity: 0; transform: translateY(50px); transition: 1s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }


.subscribe-form {
  display: flex;
  margin-top: 10px;
  gap: 5px;
}

.subscribe-form input {
  padding: 10px;
  border: none;
  border-radius: 4px 0 0 4px;
  flex: 1;
  outline: none;
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.subscribe-form input:focus {
  background: rgba(255,255,255,0.2);
  box-shadow: 0 0 10px #ffcc00;
}

.subscribe-form button {
  padding: 10px 15px;
  border: none;
  background: #ffcc00;
  color: #111;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: 0.3s;
}

.subscribe-form button:hover {
  background: #e6b800;
  transform: scale(1.05);
}
