/* styles.css - Consolidated from styles.css and styles1.css */

/* Global Variables */
:root {
  --primary-color: #050a30;
  --secondary-color: #0cca98;
  --accent-color: #ff124f;
  --background-color: #020526;
  --text-color: #e2e8f0;
  --header-color: #94a3b8;
  --card-bg: rgba(15, 23, 42, 0.7);
  --shadow: 0 4px 20px rgba(12, 202, 152, 0.2);
  --neon-glow: 0 0 10px rgba(12, 202, 152, 0.5), 0 0 20px rgba(12, 202, 152, 0.3);
  --neon-border: rgba(12, 202, 152, 0.3);
  --neon-text: #0cca98;
  --neon-blue: #36a2eb;
  --neon-green: #4cd964;
  --neon-red: #ff3b30;
}

/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body Styles */
body {
  font-family: 'Rajdhani', 'Orbitron', 'Arial', sans-serif;
  background-color: var(--background-color);
  background-image: 
      radial-gradient(circle at 20% 30%, rgba(12, 202, 152, 0.1) 0%, transparent 40%),
      radial-gradient(circle at 80% 70%, rgba(255, 18, 79, 0.1) 0%, transparent 30%);
  color: var(--text-color);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><rect width="1" height="1" fill="rgba(255,255,255,0.05)" x="10" y="10"/><rect width="1" height="1" fill="rgba(255,255,255,0.05)" x="30" y="20"/><rect width="1" height="1" fill="rgba(255,255,255,0.05)" x="70" y="30"/><rect width="1" height="1" fill="rgba(255,255,255,0.05)" x="50" y="40"/><rect width="1" height="1" fill="rgba(255,255,255,0.05)" x="20" y="60"/><rect width="1" height="1" fill="rgba(255,255,255,0.05)" x="90" y="50"/><rect width="1" height="1" fill="rgba(255,255,255,0.05)" x="40" y="80"/><rect width="1" height="1" fill="rgba(255,255,255,0.05)" x="60" y="90"/></svg>');
  z-index: -1;
  pointer-events: none;
}

body.modal-open {
  overflow: hidden;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  background-color: var(--primary-color);
  color: var(--header-color);
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: static;
  top: 0;
  box-shadow: var(--shadow);
  border-bottom: 1px solid var(--secondary-color);
}

/* Profile */
.profile {
  margin-bottom: 20px;
}

.profile h1 {
  font-size: 2.5rem;
  margin-bottom: 5px;
  letter-spacing: 2px;
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.profile h1::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, var(--secondary-color), transparent);
}

.profile .title {
  color: var(--secondary-color);
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 1px;
}

/* Navigation */
nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

nav a {
  color: var(--header-color);
  text-decoration: none;
  padding: 10px 15px;
  margin: 0 5px;
  border-radius: 4px;
  transition: all 0.3s;
  position: relative;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

nav a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--secondary-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease-out;
}

nav a:hover {
  color: var(--secondary-color);
}

nav a:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* Main Content */
main {
  padding: 40px 0;
}

section {
  margin-bottom: 70px;
  position: relative;
}

.section-content {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(12, 202, 152, 0.1);
  position: relative;
  overflow: hidden;
}

.section-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, var(--secondary-color), var(--accent-color), transparent);
}


/* Headings */
h1 {
  font-size: 2.5rem;
  margin-bottom: 5px;
  letter-spacing: 2px;
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

h1::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, var(--secondary-color), transparent);
}

h2 {
  color: var(--secondary-color);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
  font-size: 1.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--secondary-color);
  box-shadow: var(--neon-glow);
}

h3 {
  font-family: 'Rajdhani', sans-serif;
}

/* Form Elements */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--header-color);
  font-weight: 600;
  letter-spacing: 1px;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="number"],
.form-group input[type="file"],
.form-group input[type="url"],
.form-group textarea,
.form-group select {
  background-color: rgba(5, 10, 48, 0.7);
  border: 1px solid rgba(12, 202, 152, 0.3);
  color: var(--text-color);
  border-radius: 4px;
  padding: 12px;
  width: 100%;
  font-size: 16px;
  transition: border 0.3s;
}

.form-group input[type="text"]:focus,
.form-group input[type="password"]:focus,
.form-group input[type="number"]:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--secondary-color);
  outline: none;
  box-shadow: 0 0 10px rgba(12, 202, 152, 0.3);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group .checkbox-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: normal;
}

.checkbox-group {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.checkbox-group input {
  margin-right: 10px;
}

.invalid-feedback {
  color: var(--accent-color);
  font-size: 0.85rem;
  margin-top: 5px;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 20px;
  background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
  color: var(--primary-color);
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s;
  box-shadow: 0 3px 10px rgba(12, 202, 152, 0.2);
}

.btn:hover {
  background: linear-gradient(to right, var(--accent-color), var(--secondary-color));
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(12, 202, 152, 0.4);
}

.btn-primary { background-color: #3498db; }
.btn-danger { background-color: #e74c3c; }
.btn-success { background-color: #2ecc71; }
.btn-warning { background-color: #f39c12; }
.btn-exit { background-color: #7f8c8d; }
.btn-sm { padding: 8px 15px; font-size: 14px; }

.action-btn {
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  color: var(--header-color);
  transition: color 0.3s;
}

.toggle-btn { color: var(--secondary-color); }
.toggle-btn.hidden { color: var(--accent-color); }
.delete-btn:hover { color: var(--accent-color); }
.edit-btn { color: var(--neon-blue); }
.edit-btn:hover { color: #85c5f5; transform: scale(1.1); }

.button-group {
  display: flex;
  gap: 10px;
}

.button-group .btn {
  flex: 1;
}

/* Alert Messages */
.alert {
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 20px;
  font-weight: bold;
}

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

.alert-danger, .alert.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Skills Section */


.skills-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.skill-category {
  margin-bottom: 15px;
}

.skill-category h3 {
  color: var(--accent-color);
  margin-bottom: 15px;
  font-size: 1.3rem;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
}

.skill-category h3::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, var(--accent-color), transparent);
}

.skill {
  margin-bottom: 20px;
  background-color: var(--card-bg);
  padding: 15px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  align-items: center;
}

.skill-name {
  font-weight: 500;
  letter-spacing: 1px;
  flex: 1;
}

.skill-level {
  color: var(--secondary-color);
  font-weight: bold;
  position: relative;
  padding: 2px 10px;
  border-radius: 4px;
  background-color: rgba(12, 202, 152, 0.1);
  border: 1px solid rgba(12, 202, 152, 0.3);
}

.skill-level.noob { color: #ff124f; }
.skill-level.beginner { color: #ff6b6b; }
.skill-level.intermediate { color: #ffd166; }
.skill-level.advanced { color: #0cca98; }

.skill-level-bar {
  height: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 5px;
}

.skill-level-progress {
  height: 100%;
  background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
}

.skill-level-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
}

.skill-level-noob {
  background-color: rgba(255, 18, 79, 0.2);
  border: 1px solid rgba(255, 18, 79, 0.4);
  color: #ff124f;
}

.skill-level-beginner {
  background-color: rgba(255, 107, 107, 0.2);
  border: 1px solid rgba(255, 107, 107, 0.4);
  color: #ff6b6b;
}

.skill-level-intermediate {
  background-color: rgba(255, 209, 102, 0.2);
  border: 1px solid rgba(255, 209, 102, 0.4);
  color: #ffd166;
}

.skill-level-advanced {
  background-color: rgba(12, 202, 152, 0.2);
  border: 1px solid rgba(12, 202, 152, 0.4);
  color: #0cca98;
}

.progress-bar {
  height: 10px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}

.progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

.progress {
  height: 100%;
  background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
  width: 0;
  transition: width 1.5s cubic-bezier(0.1, 0.5, 0.1, 1);
}

/* Gallery Section */
#gallery {
  padding: 20px;
  background-color: var(--card-bg);
  border-radius: 8px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid rgba(12, 202, 152, 0.2);
  width: 100%;
  max-width: 300px;
  height: 250px;
}

.gallery-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 70%, rgba(5, 10, 48, 0.9));
  z-index: 1;
}

.gallery-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 30px rgba(12, 202, 152, 0.3);
}

.gallery-item img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  margin: 0 auto;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover .gallery-item-details {
  transform: translateY(0);
}

.gallery-item-details {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  color: white;
  background-color: rgba(5, 10, 48, 0.9);
  font-size: 0.9em;
  transition: transform 0.3s ease;
  transform: translateY(100%);
  z-index: 2;
  height: 50%;
  overflow-y: auto;
}

.gallery-item-details h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
  color: var(--secondary-color);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.gallery-item-details .project-link {
  margin-top: 15px;
}

.gallery-item-details .project-link a {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 8px 15px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.gallery-item-details .project-link a:hover {
  background-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.gallery-item-details .project-link i {
  margin-right: 5px;
}

/* Keep the gallery navigation functionality */
.gallery-item .image-container {
  height: 100%;
  width: 100%;
  position: relative;
}

.gallery-item .gallery-nav {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 5px 10px;
  border-radius: 20px;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover .gallery-nav {
  opacity: 1;
}

.gallery-item .gallery-prev,
.gallery-item .gallery-next {
  background: none;
  border: none;
  color: white;
  font-size: 14px;
  cursor: pointer;
  padding: 5px;
  transition: color 0.3s;
}

.gallery-item .gallery-prev:hover,
.gallery-item .gallery-next:hover {
  color: var(--secondary-color);
}

.gallery-item .gallery-counter {
  color: white;
  font-size: 12px;
  margin: 0 8px;
}

/* Contact Section */
#contact {
  padding: 20px;
  background-color: var(--card-bg);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: space-around;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background-color: rgba(5, 10, 48, 0.5);
  border-radius: 8px;
  border: 1px solid rgba(12, 202, 152, 0.2);
  transition: all 0.3s;
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--neon-glow);
}

.contact-item i {
  color: var(--secondary-color);
  font-size: 1.5rem;
}

.contact-item a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 500;
}

.contact-item a:hover {
  color: var(--secondary-color);
}

/* Admin Panel Styles */
.admin-header {
  background-color: var(--primary-color);
  border-bottom: 1px solid var(--secondary-color);
  padding: 15px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-header h1 {
  margin: 0;
  color: var(--secondary-color);
  font-weight: 600;
  letter-spacing: 2px;
}

.admin-nav {
  display: flex;
  gap: 10px;
}

.admin-nav a {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  font-weight: 600;
  letter-spacing: 1px;
  padding: 8px 15px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s;
}

.admin-nav a:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
}

.admin-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.admin-controls {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

.admin-section {
  background-color: var(--card-bg);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 25px;
  margin-bottom: 30px;
  border: 1px solid rgba(12, 202, 152, 0.2);
}

.admin-section h2 {
  font-size: 22px;
  color: var(--secondary-color);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(12, 202, 152, 0.2);
}

/* Admin Gallery */
.admin-gallery-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 15px;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid rgba(12, 202, 152, 0.2);
  background-color: rgba(5, 10, 48, 0.5);
  transition: all 0.3s;
}

.admin-gallery-item:hover {
  background-color: rgba(12, 202, 152, 0.1);
}

.admin-gallery-item img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(12, 202, 152, 0.3);
}

.item-info h3 {
  margin: 0 0 5px 0;
  font-size: 1rem;
  color: var(--secondary-color);
}

.item-actions {
  display: flex;
  gap: 10px;
}

.gallery-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}

.gallery-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.gallery-info {
  padding: 15px;
}

.gallery-actions {
  display: flex;
  justify-content: space-between;
  padding: 15px;
  background-color: rgba(5, 10, 48, 0.5);
  border-top: 1px solid rgba(12, 202, 152, 0.2);
}

/* Login Page */
.login-container {
  max-width: 400px;
  margin: 80px auto;
  padding: 30px;
  background-color: var(--card-bg);
  border-radius: 8px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(12, 202, 152, 0.2);
  position: relative;
  overflow: hidden;
}

.login-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, var(--secondary-color), var(--accent-color), transparent);
}

.login-header {
  text-align: center;
  margin-bottom: 30px;
}

.login-header h1 {
  color: var(--secondary-color);
  font-size: 2rem;
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}

.login-form .btn {
  width: 100%;
  margin-top: 10px;
}

.back-to-site {
  display: block;
  text-align: center;
  margin-top: 20px;
  color: var(--header-color);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.back-to-site:hover {
  color: var(--secondary-color);
}

.login-error {
  background-color: rgba(255, 18, 79, 0.2);
  border: 1px solid rgba(255, 18, 79, 0.4);
  color: var(--accent-color);
  padding: 10px;
  border-radius: 4px;
  margin-bottom: 20px;
  font-weight: 500;
}

/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(2, 6, 23, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.modal.show {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: var(--card-bg);
  border-radius: 8px;
  max-width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  box-shadow: 0 0 30px rgba(12, 202, 152, 0.3);
  opacity: 0;
  transition: opacity 0.3s;
  border: 1px solid var(--secondary-color);
  display: flex;
  flex-direction: column;
}

.modal.show .modal-content {
  opacity: 1;
}

.modal-image-container {
  position: relative;
  max-height: none;
  overflow: visible;
  padding: 20px;
}

.modal-image-container img {
  max-width: 100%;
  max-height: 65vh;
  display: block;
  margin: 0 auto;
  object-fit: contain;
  height: auto;
  transform: none;
  transition: none;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.modal-nav {
  position: absolute;
   
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(5, 10, 48, 0.8);
  padding: 10px;
  border-radius: 30px;
  margin: 0 auto;
  width: fit-content;
  z-index: 10;
}

.modal-prev,
.modal-next {
  background: none;
  border: none;
  color: var(--secondary-color);
  font-size: 20px;
  cursor: pointer;
  padding: 0 15px;
  transition: all 0.3s;
}

.modal-prev:hover,
.modal-next:hover {
  color: var(--accent-color);
  transform: scale(1.2);
}

.modal-counter {
  color: white;
  font-size: 14px;
  margin: 0 15px;
  font-family: 'Orbitron', sans-serif;
}

.close-modal {
  position: fixed;
  top: auto;
  right: auto;
  font-size: 22px;
  color: var(--secondary-color);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(5, 10, 48, 0.9);
  border-radius: 50%;
  transition: all 0.3s;
  z-index: 1000;
  box-shadow: 0 0 12px var(--secondary-color);
  border: 2px solid var(--secondary-color);
  text-shadow: 0 0 8px var(--secondary-color);
}

.close-modal:hover {
  background-color: var(--accent-color);
  color: white;
  transform: rotate(90deg);
}

.modal-info {
  padding: 20px;
}

.modal-info h3 {
  color: var(--secondary-color);
  margin-bottom: 10px;
}

/* Tech Specs in Modal */
.tech-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 15px 0;
  padding: 15px;
  background-color: rgba(5, 10, 48, 0.7);
  border-radius: 4px;
  border: 1px solid rgba(12, 202, 152, 0.3);
  position: relative;
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.spec-link-item {
  margin-left: auto;
  align-self: center;
}

.spec-label {
  font-size: 0.8rem;
  color: var(--header-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.spec-value {
  font-size: 1rem;
  color: var(--secondary-color);
  font-weight: 600;
}

.spec-value.completed {
  color: #0cca98;
}

.project-link-btn {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 5px 12px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.project-link-btn:hover {
  background-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  color: var(--primary-color);
}

.project-link-btn i {
  margin-right: 5px;
}

/* Admin panel styles */
.badge {
  display: inline-block;
  background-color: var(--neon-blue);
  color: black;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 10px;
  margin-top: 5px;
}

.form-group .help-text {
  color: #999;
  font-size: 12px;
  margin-top: 5px;
}

/* Visibility Badge */
.visibility-badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
}

.visibility-public {
  background-color: #2ecc71;
  color: white;
}

.visibility-hidden {
  background-color: #e74c3c;
  color: white;
}

/* Table Styles */
.table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.table th {
  background-color: rgba(5, 10, 48, 0.9);
  color: var(--secondary-color);
  text-align: left;
  padding: 12px;
  border-bottom: 2px solid var(--secondary-color);
  font-weight: 600;
  letter-spacing: 1px;
}

.table td {
  padding: 12px;
  border-bottom: 1px solid rgba(12, 202, 152, 0.2);
}

.table tr {
  background-color: rgba(5, 10, 48, 0.5);
  transition: all 0.3s;
}

.table tr:hover {
  background-color: rgba(12, 202, 152, 0.1);
}

/* Tabs */
.tabs {
  display: flex;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(12, 202, 152, 0.3);
}

.tab {
  padding: 10px 20px;
  cursor: pointer;
  background-color: transparent;
  color: var(--header-color);
  border: none;
  border-bottom: 3px solid transparent;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s;
}

.tab.active {
  color: var(--secondary-color);
  border-bottom-color: var(--secondary-color);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--header-color);
  padding: 20px 0;
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid var(--secondary-color);
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--secondary-color), transparent);
}

/* Sci-fi Cursor */
.cursor-fx {
  position: fixed;
  width: 30px;
  height: 30px;
  border: 2px solid var(--secondary-color);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s;
  z-index: 9999;
  mix-blend-mode: difference;
}

.cursor-fx::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 5px;
  height: 5px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  opacity: 0.5;
}

.cursor-fx::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 1px solid var(--secondary-color);
  border-radius: 50%;
  opacity: 0;
  transition: all 0.3s;
}

.cursor-fx-click {
  width: 15px;
  height: 15px;
  background-color: var(--secondary-color);
}

.cursor-fx-click::after {
  opacity: 1;
  top: -15px;
  left: -15px;
  right: -15px;
  bottom: -15px;
}

/* Scan Line Effect */
.scan-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, transparent, var(--secondary-color), transparent);
  opacity: 0.5;
  box-shadow: 0 0 15px var(--secondary-color);
  pointer-events: none;
  transition: top 1s linear, opacity 0.5s;
  z-index: 1;
}

.scanner-effect {
  position: absolute;
  height: 2px;
  width: 100%;
  background: var(--secondary-color);
  opacity: 0.7;
  box-shadow: 0 0 8px var(--secondary-color);
  top: 0;
  left: 0;
  animation: scan 2s linear infinite;
  pointer-events: none;
}

@keyframes scan {
  0% { top: 0; }
  100% { top: 100%; }
}

/* Modal Scanner */
.modal-scanner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(12, 202, 152, 0.1), transparent);
  background-size: 100% 200%;
  animation: scanAnimation 3s linear infinite;
  pointer-events: none;
  z-index: 2;
}

@keyframes scanAnimation {
  0% { background-position: 0 -100%; }
  100% { background-position: 0 100%; }
}

/* Animations */
.animate-title {
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

.animate-fade-in {
  animation: fadeIn 0.8s ease forwards;
  opacity: 0;
}

.animate-slide-up {
  animation: slideUp 0.8s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  0% { background-position: -100% 0; }
  100% { background-position: 100% 0; }
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background-color: rgba(5, 10, 48, 0.7);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--secondary-color), var(--accent-color));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  header {
      padding: 15px;
      flex-direction: column;
      text-align: center;
  }

  nav ul {
      margin-top: 15px;
      justify-content: center;
  }

  .admin-controls {
      flex-direction: column;
  }

  .admin-controls > * {
      margin-bottom: 15px;
  }

  .admin-panel {
      grid-template-columns: 1fr;
  }

  .admin-gallery-item {
      grid-template-columns: 80px 1fr;
  }

  .item-actions {
      grid-column: span 2;
      justify-content: flex-end;
  }

  .gallery-grid {
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

  .contact-info {
      flex-direction: column;
      align-items: stretch;
  }

  .skill-info {
      flex-direction: column;
      align-items: flex-start;
  }

  .skill-name {
      margin-bottom: 5px;
  }

  .skill-level {
      width: 100%;
  }
}

@media (max-width: 480px) {
  nav ul {
      flex-direction: column;
      align-items: center;
  }

  nav a {
      margin: 5px 0;
  }

  .gallery-item {
      height: 200px;
  }
}
.pic{
  width: 100%;
  height: 100%;
  
}

