@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif; 
}

:root {
  --bg-main: #faf5ff;
  --card-bg: rgba(255, 255, 255, 0.15); 
  --text-main: #2e1065;
  --border: rgba(255, 255, 255, 0.3);

  --primary: #c084fc;   
  --secondary: #a78bfa; 
}

body {
  background: linear-gradient(135deg, #471c74, #7e789e);
  min-height: 100vh;
  background-image: url('images/bg\ img.png'); 
  background-size: cover;
  background-position: center;
}

.hidden {
  display: none;
}

/* ----- Modern Card Styling ----- */
.card {
  max-width: 520px;
  margin: auto;
  padding: 35px 30px;
  border-radius: 25px; 
  background: var(--card-bg);
  backdrop-filter: blur(15px); 
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15), 0 10px 20px rgba(168, 85, 247, 0.1);
  
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.2), 0 12px 25px rgba(168, 85, 247, 0.15);
}

.card::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, rgba(192,132,252,0.3), rgba(167,139,250,0.2), rgba(192,132,252,0.3));
  transform: rotate(25deg);
  z-index: 0;
  pointer-events: none;
}

.card > * {
  position: relative; 
  z-index: 1;
}

h3 {
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  color: var(--text-main);
}

input,
textarea {
  border-radius: 12px !important;
  border: 1px solid var(--border);
  padding: 12px 14px !important;
  transition: 0.3s;
  background: rgba(255,255,255,0.8);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(192, 132, 252, 0.25);
}

/* Buttons */
button {
  border-radius: 12px !important;
  padding: 12px;
  font-weight: 600;
  transition: 0.3s;
}

.btn-primary {
  background: var(--secondary);
  border: none;
  color: #fff;
}

.btn-primary:hover {
  background: #8b5cf6;
}

.btn-success {
  background: var(--primary);
  border: none;
  color: #fff;
}

.btn-success:hover {
  background: #a855f7;
}

.btn-info {
  background: #d8b4fe;
  color: #2e1065;
  border: none;
}

.btn-info:hover {
  background: #c084fc;
  color: #fff;
}

.btn-danger {
  background: #f3a6c8;
  border: none;
  color: #fff;
}

.btn-danger:hover {
  background: #f871b8;
}

.btn-back {
  background: #f5f3ff;
  color: #4c1d95;
  border: 1px solid var(--border);
}

.btn-back:hover {
  background: #e9d5ff;
}

/* Password Eye */
.password-box {
  position: relative;
}

.password-box input {
  padding-right: 45px !important;
}

.password-box .eye {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #7c3aed;
  transition: 0.3s;
}

.password-box .eye:hover {
  color: #5b21b6;
}



/* Responsive Styling */
@media screen and (max-width: 768px) {
  .card {
    padding: 25px 20px;
    width: 90%;
  }

  h3 {
    font-size: 1.5rem;
  }

  button {
    width: 100%;
    padding: 12px;
    font-size: 0.95rem;
  }
}

.resume-view {
  max-width: 900px;
}

.resume-head {
  text-align: center;
  border-bottom: 2px solid rgba(255,255,255,0.4);
  padding-bottom: 15px;
  margin-bottom: 25px;
}

.resume-head h2 {
  font-weight: 700;
  color: var(--text-main);
}

.resume-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.resume-grid h5 {
  color: #5b21b6;
  font-weight: 600;
}

.resume-grid p {
  color: #222;
  line-height: 1.6;
}

@media(max-width:768px){
  .resume-grid { grid-template-columns:1fr; }
}


.resume-view {
  max-width: 900px;
}

.resume-head {
  text-align: center;
  border-bottom: 2px solid rgba(255,255,255,0.4);
  padding-bottom: 15px;
  margin-bottom: 25px;
}

.resume-head h2 {
  font-weight: 700;
  color: var(--text-main);
}

.resume-head p {
  color: #333;
  opacity: 0.9;
}

.resume-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.resume-grid h5 {
  color: #5b21b6;
  font-weight: 600;
}

.resume-grid p {
  color: #222;
  font-size: 0.95rem;
  line-height: 1.6;
}

@media(max-width:768px){
  .resume-grid{grid-template-columns:1fr;}
}


@media screen and (max-width: 480px) {
  .card {
    padding: 20px 15px;
  }

  h3 {
    font-size: 1.3rem;
  }

  input,
  textarea {
    padding: 10px 12px;
    font-size: 0.95rem;
  }
}







