html {
  margin: 0;
  padding: 0;
  width: 100%;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
  background: #ffe000;
  background-repeat: no-repeat;
  background-position: top center;
  background-attachment: scroll;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  display: flex;
  flex-direction: column;
}

h1,
h2,
h3,
h4,
p {
  color: #232326;
}

.container {
  padding: 0 2rem 10rem 2rem;
  flex: 1;
}

.hero {
  text-align: center;
}

.hero h1 {
  font-size: 60px;
  margin-top: 10rem;
  font-weight: 700;
}

.hero p,
.partners p {
  max-width: 85ch;
  font-size: 20px;
  font-weight: 500;
  margin: 0 auto;
  /* centers horizontally */
}

.card {
  margin: auto;
  padding-top: 0.2rem;
  padding-left: 2rem;
  padding-right: 2rem;
  padding-bottom: 2rem;
  margin-top: 5rem;
  max-width: 83rem;
  border-radius: 1.5rem;
  background-color: #232326;
  filter: drop-shadow(0 0 1rem #181818aa);
}

.card h2,
.card h3 {
  color: #fcfbf8;
  font-weight: 600;
}

.card p {
  color: #fcfbf8;
}

.info-card,
.link-card {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.info-card {
  padding-bottom: 1rem;
}

.info-cards,
.link-cards-1,
.link-cards-2,
.link-cards-3 {
  flex: 1;
  min-width: 10rem;
  padding: 1.5rem;
  background-color: #2a2a2e;
  border-radius: 1rem;
  line-height: 1.4;
  border-style: solid;
  border-color: #404040;
  border-width: 1px;
}

.info-cards h3,
.info-cards p,
.link-cards-1 h3,
.link-cards-1 p,
.link-cards-2 h3,
.link-cards-2 p,
.link-cards-3 h3,
.link-cards-3 p {
  margin: 0;
}

.link-cards-1,
.link-cards-2,
.link-cards-3 {
  transition: 0.3s ease;
}

.link-cards-1:hover {
  cursor: pointer;
  transform: scale(1.002);
  filter: drop-shadow(0 0 1rem #181818aa);
  border-color: #5d4fb1;
}

.link-cards-2:hover {
  cursor: pointer;
  transform: scale(1.002);
  filter: drop-shadow(0 0 1rem #181818aa);
  border-color: #007340;
}

.link-cards-3:hover {
  cursor: pointer;
  transform: scale(1.002);
  filter: drop-shadow(0 0 1rem #181818aa);
  border-color: #a62186;
}

.card-icon {
  width: 1.2rem;
  height: 1.2rem;
  margin-right: 0.5rem;
  vertical-align: middle;
  position: relative;
  top: -0.14rem;
  /*because of some wierd spacing issues*/
  filter: brightness(0) invert(1);
}

.cta {
  display: flex;
  justify-content: center;
}

.cta button {
  margin-top: 2.5rem;
  border-radius: 1rem;
  width: 15rem;
  margin: 2rem;
  border: none;
  /*we have to do this for some reason to disable default*/
  padding: 1.5rem;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
}

.cta .primary {
  background-color: #232326;
  color: #fcfbf8;
  /*sliding arrow animation setup*/
  transition: 0.3s ease;
  position: relative;
  padding-right: 1.5rem;
}

.cta .primary::after {
  content: " →";
  position: absolute;
  right: 1.5rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.primary:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.cta .secondary {
  background-color: transparent;
  color: #232326;
  border-color: #232326;
  border-style: solid;
  border-width: 5px;
  transition: 0.3s ease;
}

.primary:hover {
  cursor: pointer;
  padding-right: 3rem;
}

.secondary:hover {
  background-color: #232326;
  color: #fcfbf8;
  cursor: pointer;
}

.partners {
  margin: 10rem auto;
  text-align: center;
}

.partners h1 {
  font-size: 50px;
  font-weight: 700;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  justify-items: center;
}

.navbar {
  display: flex;
  background: #111111aa;
  border-color: #111111aa;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  width: 100%;
  top: 0px;
  height: 4.5rem;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  z-index: 999;
  border-style: solid;
  border-bottom-color: #303030;
  border-width: 1px;
}

.logo {
  margin-left: 4rem;
  width: 5rem;
}

.menu {
  display: flex;
  list-style-type: none;
  margin: 0;
  /* we need to reset all margins bc. browser sets it*/
  margin-right: 4rem;
  padding: 0;
  gap: 0.938rem;
}

.item a {
  padding-right: 2rem;
  text-decoration: none;
  color: #fcfbf8;
  font-weight: 500;
  transition: color 0.2s ease;
}

.item a:hover {
  color: #d0d0d0;
}

.highlight {
  transition: 0.3s ease;
}

footer {
  margin: auto;
  display: flex;
  padding: 0 4rem;
  color: #fcfbf8;
  background: #111111;
  width: 100%;
  max-width: 85rem;
  border-radius: 1.5rem 1.5rem 0 0;
  height: 8.5rem;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
  filter: drop-shadow(0 0 1rem #181818aa);
  box-sizing: border-box;
}

footer h3,
footer p {
  color: #ffe000;
  margin: 0;
  /*reset once again*/
}

footer p {
  color: #fcfbf8;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-icon {
  height: 2.2rem;
  margin-right: 0.5rem;
  vertical-align: middle;
  position: relative;
  filter: brightness(0) invert(1);
  top: 0.2rem;
}

/*signup card*/
.signup-card {
  max-width: 83rem;
}

.signup-form {
  margin-top: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-row .form-group {
  flex: 1;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  color: #fcfbf8;
  font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="password"] select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid #404040;
  background-color: #2a2a2e;
  color: #fcfbf8;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
select:focus {
  outline: none;
  border-color: #ffe000;
}

small {
  display: block;
  margin-top: 0.25rem;
  color: #a0a0a0;
  font-size: 0.8rem;
}

.radio-group {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.radio-option {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.radio-option input[type="radio"] {
  margin: 0;
  margin-right: 0.5rem;
}

.radio-label {
  color: #fcfbf8;
}

.checkbox-group {
  margin-top: 1.5rem;
}

.checkbox-option {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
}

.checkbox-option input[type="checkbox"] {
  margin: 0;
  margin-right: 0.5rem;
  margin-top: 0.25rem;
}

.checkbox-label {
  color: #fcfbf8;
  line-height: 1.4;
}

.full-width {
  width: 100%;
  margin-top: 1rem;
}

.signup-footer {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #404040;
}

.signup-footer p {
  margin: 0;
}

.link {
  color: #ffe000;
  text-decoration: none;
  transition: color 0.2s ease;
}

.link:hover {
  color: #fdecb2;
  text-decoration: underline;
}

.signup-form button[type="submit"] {
  border: 1px solid #404040;
  background-color: #2a2a2e;
  color: #fcfbf8;
  border-radius: 1rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Inter", sans-serif;
}

.signup-form button[type="submit"]:hover {
  background-color: #ffe000;
  color: #232326;
}

input[type="password"] {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid #404040;
  background-color: #2a2a2e;
  color: #fcfbf8;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

input[type="password"]:focus {
  outline: none;
  border-color: #ffe000;
}

/* --- Navbar Profile Styles --- */
.nav-profile-link {
  display: flex !important;
  /* Overrides default block/inline */
  align-items: center;
  gap: 10px;
  padding: 5px 10px;
  border-radius: 20px;
  transition: background-color 0.2s;
}

.nav-profile-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.nav-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ddd;
}

.nav-username {
  font-weight: 600;
  font-size: 0.95rem;
  color: #fcfbf8;
}

.hamburger {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  margin-right: 1rem;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #fff;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* --- Dashboard Specific Styles --- */
.profile-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.profile-pic {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #eee;
}

.profile-info h2 {
  margin: 0;
  font-size: 1.5rem;
  color: #fcfbf8;
}

.profile-info p {
  margin: 5px 0 0;
  color: #ccc;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  text-align: left;
}

.info-item {
  background: #2a2a2e;
  padding: 15px;
  border-radius: 6px;
  border: 1px solid #404040;
}

.info-item label {
  display: block;
  font-size: 0.85rem;
  color: #a0a0a0;
  margin-bottom: 5px;
  font-weight: bold;
  text-transform: uppercase;
}

.info-value {
  font-size: 1.1rem;
  color: #fcfbf8;
  font-weight: 500;
}

/* Edit Inputs */
.edit-input {
  width: 100%;
  padding: 8px;
  border: 1px solid #404040;
  border-radius: 4px;
  font-size: 1rem;
  box-sizing: border-box;
  background-color: #1a1a1d;
  color: #fcfbf8;
}

.action-buttons {
  margin-top: 30px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hidden {
  display: none !important;
}

/* Notification Box */
.alert-box {
  padding: 10px;
  margin-bottom: 20px;
  border-radius: 4px;
  font-weight: bold;
  display: none;
}

.alert-warning {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
}

.alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

/* Delete Section */
.delete-section {
  margin-top: 40px;
  border-top: 1px solid #404040;
  padding-top: 20px;
}

.delete-btn {
  background-color: transparent;
  color: #ff4d4d;
  border: 1px solid #ff4d4d;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: 0.2s;
}

.delete-btn:hover {
  background-color: #ff4d4d;
  color: #fff;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(5px);
}

.modal-content {
  background: #232326;
  padding: 30px;
  border-radius: 8px;
  width: 400px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  border: 1px solid #404040;
  color: #fcfbf8;
}

.modal-actions {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  justify-content: center;
}