/* 🔹 Section Spacing */
.section {
    margin-top: 60px;
    padding: 50px 0;
    text-align: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10%;
}

nav .logo a {
    font-size: 28px;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 15px;
    transition: all 0.3s ease-in-out;
    border-radius: 5px;
}

.nav-links li a:hover {
    background: rgba(255, 255, 255, 0.2);
}


/* Ensure Navigation Fits */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 5%;
    margin: auto;
    overflow: hidden;
}

.nav-links {
    display: flex;
    flex-wrap: wrap; /* Prevent long navs from causing scroll */
    list-style: none;
    gap: 15px;
}


/* 📱 Responsive Design */
@media screen and (max-width: 900px) {
    .info-container, .feature-grid, .how-it-works {
        flex-direction: column;
        align-items: center;
    }

    .info-box, .feature {
        width: 100%;
    }
}

/* 📞 Contact Page Styling */
.contact {
    text-align: center;
    padding: 70px 0;
    background: white;
}

.contact h1 {
    font-size: 30px;
    font-weight: 600;
    color: #1D3557;
    margin-bottom: 10px;
}

.contact p {
    font-size: 16px;
    color: #555;
    max-width: 600px;
    margin: auto;
    margin-bottom: 30px;
}

/* 📩 Contact Form */
#contact-form {
    max-width: 480px;  /* More compact width */
    margin: auto;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

#contact-form:hover {
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

/* Form Group */
.form-group {
    margin-bottom: 18px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1D3557;
    margin-bottom: 6px;
}

/* 🔹 Input & Textarea */
.form-group input,
.form-group textarea {
    width: 94%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease-in-out;
    background: #F8F9FA;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #FFD700;
    box-shadow: 0 0 6px rgba(255, 215, 0, 0.4);
    outline: none;
    background: #fff;
}

.form-group textarea {
    resize: none;
    height: 100px;
}


/* 📞 Contact Info */
.contact-info {
    margin-top: 40px;
    padding: 25px;
    background: #F8F9FA;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.contact-info h2 {
    color: #1D3557;
    font-size: 20px;
    margin-bottom: 10px;
}

.contact-info p {
    font-size: 16px;
    color: #555;
    margin-bottom: 8px;
}

.contact-info a {
    color: #1D3557;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
}

.contact-info a:hover {
    text-decoration: underline;
    color: #003366;
}
/* 🔹 Form Group */
.form-group {
    margin-bottom: 18px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1D3557;
    margin-bottom: 6px;
}

/* 🔹 Input & Select */
.form-group input,
.form-group select {
    width: 94%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease-in-out;
    background: #F8F9FA;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #FFD700;
    box-shadow: 0 0 6px rgba(255, 215, 0, 0.4);
    outline: none;
    background: #fff;
}


/* 🔹 Form Group */
.form-group {
    margin-bottom: 18px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1D3557;
    margin-bottom: 6px;
}

/* 🔹 Input Fields */
.form-group input {
    width: 50%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease-in-out;
    background: #F8F9FA;
}

.form-group input:focus {
    border-color: #FFD700;
    box-shadow: 0 0 6px rgba(255, 215, 0, 0.4);
    outline: none;
    background: #fff;
}

/* 🔹 Form Group */
.form-group {
    margin-bottom: 18px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1D3557;
    margin-bottom: 6px;
}

/* 🔹 Input Fields */
.form-group input {
    width: 94%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease-in-out;
    background: #F8F9FA;
}

.form-group input:focus {
    border-color: #FFD700;
    box-shadow: 0 0 6px rgba(255, 215, 0, 0.4);
    outline: none;
    background: #fff;
}

/* 📌 Forms */
form {
    max-width: 500px;
    margin: auto;
    text-align: left;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1D3557;
    margin-bottom: 5px;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background: #F8F9FA;
}

.form-group input:focus, .form-group select:focus {
    border-color: #FFD700;
    box-shadow: 0 0 6px rgba(255, 215, 0, 0.4);
    outline: none;
    background: #fff;
}

/* 📌 Upload Form */
#csv-upload {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    background: #F8F9FA;
}

/* ✅ Action Links */
.view-link {
    color: #1D3557;
    font-weight: bold;
    text-decoration: none;
}

.delete-link {
    color: #D9534F;
    font-weight: bold;
    text-decoration: none;
}

.view-link:hover, .delete-link:hover {
    text-decoration: underline;
}


/* 📌 Forms */
form {
    max-width: 500px;
    margin: auto;
    text-align: left;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1D3557;
    margin-bottom: 5px;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background: #F8F9FA;
}

.form-group input:focus, .form-group select:focus {
    border-color: #FFD700;
    box-shadow: 0 0 6px rgba(255, 215, 0, 0.4);
    outline: none;
    background: #fff;
}


/* ✅ Action Links */
.download-link {
    color: #1D3557;
    font-weight: bold;
    text-decoration: none;
}

.share-link {
    color: #28A745;
    font-weight: bold;
    text-decoration: none;
}

.download-link:hover, .share-link:hover {
    text-decoration: underline;
}


/* 🔹 Form Group */
.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    transition: 0.3s ease-in-out;
    background: #F8F9FA;
}

.form-group input:focus {
    border-color: #00D0B0;
    box-shadow: 0 0 6px rgba(255, 215, 0, 0.4);
    outline: none;
    background: #fff;
}


form {
    max-width: 500px;
    margin: auto;
    text-align: left;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1D3557;
    margin-bottom: 5px;
}

.form-group input {
    width: 95%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background: #F8F9FA;
}

.form-group input:focus {
    border-color: #00D0B0;
    box-shadow: 0 0 6px rgba(0, 208, 176, 1);
    outline: none;
    background: #fff;
}

/* 📌 View Link */
.view-link {
    text-decoration: none;
    color: #1D3557;
    font-weight: bold;
    transition: 0.3s;
}

.view-link:hover {
    color: #FFD700;
}


/* 🔹 Section Spacing */
.section {
  margin-top: 60px;
  padding: 50px 0;
  text-align: center;
}

/* ─── Navigation ───────────────────────────────────────────────────── */
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  padding: 0 5%;
  margin: auto;
  overflow: hidden;
}

nav .logo a {
  font-size: 28px;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap; /* Prevent overflow */
  list-style: none;
  gap: 15px;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 15px;
  transition: all 0.3s ease-in-out;
  border-radius: 5px;
}

.nav-links li a:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ─── Contact Section ──────────────────────────────────────────────── */
.contact {
  text-align: center;
  padding: 70px 0;
  background: white;
}

.contact h1 {
  font-size: 30px;
  font-weight: 600;
  color: #1D3557;
  margin-bottom: 10px;
}

.contact p {
  font-size: 16px;
  color: #555;
  max-width: 600px;
  margin: 0 auto 30px;
}

/* ─── Contact Info Box ────────────────────────────────────────────── */
.contact-info {
  margin: 40px auto 0;
  padding: 25px;
  background: #F8F9FA;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  text-align: left;
}

.contact-info h2 {
  color: #1D3557;
  font-size: 20px;
  margin-bottom: 10px;
}

.contact-info p,
.contact-info a {
  font-size: 16px;
  color: #555;
  margin-bottom: 8px;
}

.contact-info a {
  color: #1D3557;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.contact-info a:hover {
  text-decoration: underline;
  color: #003366;
}

/* ─── Contact Form ───────────────────────────────────────────────── */
#contact-form {
  max-width: 480px;
  margin: auto;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease-in-out;
}

#contact-form:hover {
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

form {
  max-width: 500px;
  margin: auto;
  text-align: left;
}

/* 🔹 Form Group & Inputs */
.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1D3557;
  margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  background: #F8F9FA;
  transition: all 0.3s ease-in-out;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #FFD700;
  box-shadow: 0 0 6px rgba(255, 215, 0, 0.4);
  outline: none;
  background: #fff;
}

.form-group textarea {
  height: 100px;
  resize: vertical;
}

/* 📌 Upload Form */
#csv-upload {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  background: #F8F9FA;
}

/* ✅ Action Links */
.view-link,
.delete-link,
.download-link,
.share-link {
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  margin-top: 8px;
  transition: all 0.3s ease-in-out;
}

.view-link {
  color: #1D3557;
}

.delete-link {
  color: #D9534F;
}

.download-link {
  color: #1D3557;
}

.share-link {
  color: #28A745;
}

.view-link:hover,
.delete-link:hover,
.download-link:hover,
.share-link:hover {
  text-decoration: underline;
}

/* ─── Close Button ───────────────────────────────────────────────── */
.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  color: #555;
  transition: color 0.3s;
}

.close:hover {
  color: red;
}

/* ─── Responsive Breakpoints ──────────────────────────────────────── */
/* Tablet & small desktops */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    padding: 20px 5%;
  }
  .nav-links {
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
    width: 100%;
  }
  nav .logo a {
    font-size: 24px;
  }
  #contact-form,
  .contact-info {
    width: 90%;
    padding: 20px;
  }
  .contact h1 {
    font-size: 26px;
  }
  .contact p,
  .contact-info p {
    font-size: 15px;
  }
}



.form-group.relative {
  position: relative;
}

.form-group input {
  padding-right: 2.5rem;  /* room for eye */
}

#togglePassword {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #a0aec0;
}

#togglePassword:hover {
  color: #718096;
}

