/* Font + Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  background: #f0f2f5;
  color: #222;
  line-height: 1.6;
}

/* Container */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* Navbar */
.navbar {
  background: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.nav-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 24px;
  font-weight: 800;
  color: #1e90ff;
}
.logo span {
  color: #0d74d1;
}
nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.2s;
}
nav a:hover {
  color: #1e90ff;
}
.btn-outline {
  padding: 8px 16px;
  border: 2px solid #1e90ff;
  border-radius: 20px;
  background: transparent;
  color: #1e90ff;
  font-weight: bold;
}
.hamburger {
  display: none;
  cursor: pointer;
}
.hamburger i {
  font-size: 24px;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #1e90ff, #00bfff);
  color: white;
  padding: 100px 20px;
  text-align: center;
}
.hero h1 {
  font-size: 3em;
  margin-bottom: 10px;
  animation: fadeIn 1s ease-out;
}
.hero p {
  font-size: 1.2em;
  margin-bottom: 30px;
}
.hero-buttons .btn {
  margin: 0 10px;
}
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  background: #fff;
  color: #1e90ff;
  text-decoration: none;
  transition: 0.3s;
}
.btn:hover {
  background: #e3f1ff;
}
.btn-light {
  background: rgba(255,255,255,0.2);
  color: white;
  border: 1px solid #fff;
}
.btn-light:hover {
  background: rgba(255,255,255,0.3);
}

/* Features */
.features {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  margin: 60px auto;
}
.feature-card {
  flex: 1;
  min-width: 280px;
  background: white;
  padding: 30px;
  text-align: center;
  border-radius: 20px;
  transition: transform 0.3s ease;
}
.feature-card i {
  color: #1e90ff;
  margin-bottom: 10px;
}
.feature-card:hover {
  transform: translateY(-5px);
}
.glass {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Footer */
footer {
  background: #fff;
  padding: 40px 20px;
  text-align: center;
  font-size: 14px;
  color: #666;
  border-top: 1px solid #eee;
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.socials a {
  color: #1e90ff;
  margin: 0 10px;
  font-size: 18px;
  transition: color 0.3s;
}
.socials a:hover {
  color: #0d74d1;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    margin-top: 10px;
  }
  nav.active {
    display: flex;
  }
  .hamburger {
    display: block;
  }
}


/* Register Form Styles */
.form-section {
  padding: 80px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #f5f8ff, #ffffff);
}

.form-card {
  background: white;
  max-width: 500px;
  width: 100%;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  text-align: center;
}
.form-card h2 {
  margin-bottom: 20px;
  color: #1e90ff;
}
.form label {
  display: block;
  text-align: left;
  margin: 15px 0 5px;
  font-weight: 500;
}
.form input,
.form select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 16px;
}
.form button {
  margin-top: 25px;
  width: 100%;
}
.alert {
  background: #e6f7ff;
  padding: 10px;
  margin-bottom: 20px;
  color: #0c5460;
  border: 1px solid #bee5eb;
  border-radius: 8px;
}

.form textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  resize: vertical;
}

/* Dashboard Banner */
.dashboard-banner {
  background: linear-gradient(135deg, #1e90ff, #00bfff);
  color: white;
  padding: 60px 20px;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
}
.banner-content {
  display: flex;
  align-items: center;
  gap: 20px;
}
.avatar {
  background: white;
  color: #1e90ff;
  font-weight: 800;
  font-size: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

/* Dashboard Grid */
.dashboard-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-top: -40px;
  padding-bottom: 40px;
}
.grid-card {
  flex: 1;
  min-width: 250px;
  background: white;
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.grid-card i {
  color: #1e90ff;
  margin-bottom: 10px;
}
.btn-small {
  margin-top: 10px;
  padding: 6px 12px;
  background: #1e90ff;
  color: white;
  font-size: 14px;
  border-radius: 16px;
  text-decoration: none;
}

/* Timeline */
.dashboard-activity {
  padding: 40px 20px;
}
.timeline {
  list-style: none;
  padding-left: 0;
  border-left: 3px solid #1e90ff;
  margin-left: 20px;
}
.timeline li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 20px;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 4px;
  width: 12px;
  height: 12px;
  background: #1e90ff;
  border-radius: 50%;
}

/* Mobile */
@media (max-width: 768px) {
  .banner-content {
    flex-direction: column;
    text-align: center;
  }
  .dashboard-grid {
    flex-direction: column;
    align-items: center;
  }
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1001;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.7);
}

.modal-content {
  background: white;
  margin: 5% auto;
  padding: 20px;
  max-width: 90%;
  max-height: 80vh;
  overflow: auto;
  border-radius: 12px;
  position: relative;
}

.close {
  position: absolute;
  top: 10px; right: 20px;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

#cvViewer iframe,
#cvViewer pre {
  width: 100%;
  height: 70vh;
  border: none;
  background: #f9f9f9;
}
