* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
html {
  font-family: "Montserrat", sans-serif;
}
body {
  background: #F2EAD3;
  padding: 0 16px;
}

header {
  margin: auto -16px;
  padding: 16px 32px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
}

header h1 {
  font-family: "McLaren", cursive;
  font-weight: 200;
}


.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 32px;
  background-color: #F9F5F0;
  border-bottom: 1px solid #ddd;
}

.header h1 {
  font-size: 36px;
  font-weight: 600;
  margin: 0;
  color: #333;
}

.add-btn {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 12px 28px;        /* bigger padding → bigger button */
  border-radius: 8px;
  font-size: 18px;           /* larger text */
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.1s ease;
}

.add-btn:hover {
  background-color: #0056b3;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transform: scale(1.03);
}

.search-wrapper {
  position: relative;
  width: 75%;
  margin: auto;
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-55%);
  pointer-events: none; /* click passes through to input */
}

.search-bar {
  width: 100%;
  padding: 18px 18px 18px 40px; /* left padding for icon */
  font-size: 18px;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.search-bar:focus {
  border-color: #007bff;
  box-shadow: 0 0 6px rgba(0, 123, 255, 0.3);
}

.note-container {
  display: flex;
  flex-wrap: wrap;           /* allow multiple rows */
  justify-content: center;   /* center cards horizontally */
  gap: 16px;                 /* space between cards */
}

.cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

.contact-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  width: 240px;
  padding: 20px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.profile-pic {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
  border: 2px solid #e0e7ff; /* subtle border like your screenshot */
}

.contact-card h2 {
  margin: 0;
  font-size: 18px;
  color: #111827;
}

.role {
  margin: 4px 0;
  color: #2563eb; /* blue for role */
  font-size: 14px;
}

.company {
  margin: 2px 0 12px 0;
  color: #6b7280; /* gray for company */
  font-size: 13px;
}

.contact-info p {
  margin: 4px 0;
  font-size: 13px;
  color: #374151;
}

.addcontact{
  text-align: center;
  max-width: 300px;
  margin: 50px auto;
  padding: 25px;
  background: #F9F5F0;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  font-family: "Poppins", sans-serif;
}
.addcontact input{
  border-radius: 5px;
  border-style:groove;
  border-color: white;
  padding: 10px;
}
.addcontact h3{
  font-family: "Montserrat", sans-serif;
  font-size: 25px;
}
.btn{
  background-color: #D1BB9E;
  border-style: none;
  font-size: 18px;
  font-weight: 500;
  padding: 8px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.1s ease;
}
.btn:hover{
  background-color: #88663a;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transform: scale(1.03);
}