@font-face {
  font-family: 'Comfortaa';
  src: url('../assets/fonts/comfortaa-regular.woff2') format('woff2'),
    url('../assets/fonts/comfortaa-regular.woff') format('woff');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Comfortaa';
  src: url('../assets/fonts/comfortaa-bold.woff2') format('woff2'),
    url('../assets/fonts/comfortaa-bold.woff') format('woff');
  font-weight: 700;
  font-display: swap;
}

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

body {
  font-family: 'Comfortaa', sans-serif;
  line-height: 1.6;
  color: white;
  background: linear-gradient(135deg, #0a0d18 0%, #1a1f36 100%);
  min-height: 100vh;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.light-theme {
  background: linear-gradient(135deg, #f5f7fa 0%, #e8eaf0 50%, #d4d8e8 100%);
  color: #1a1a2e;
}

body.light-theme .navbar {
  background-color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid #7c5cef;
}

body.light-theme .nav-links a {
  color: #1a1a2e;
}

body.light-theme .nav-links a:hover {
  color: #5638E5;
}

body.light-theme .nav-links a.active {
  color: #5638E5;
}

body.light-theme .hamburger div {
  background-color: #1a1a2e;
}

body.light-theme .signup-btn {
  background-color: #5638E5;
  border-color: #4325c2;
  color: white;
}

body.light-theme .signup-btn:hover {
  background-color: #4325c2;
}

body.light-theme .container {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 30px rgba(86, 56, 229, 0.2);
  border: 1px solid #7c5cef;
}

body.light-theme .cover-photo {
  background: linear-gradient(135deg, #7c5cef 0%, #4325c2 100%);
}

body.light-theme .profile-image {
  border: 6px solid #7c5cef;
}

body.light-theme .edit-profile-btn {
  background: linear-gradient(45deg, #7c5cef, #4325c2);
  border: 2px solid #7c5cef;
  color: white;
}

body.light-theme .edit-profile-btn:hover {
  background: linear-gradient(45deg, #4325c2, #7c5cef);
}

body.light-theme .profile-name {
  color: #1a1a2e;
}

body.light-theme .profile-username {
  color: #666;
}

body.light-theme .profile-location {
  color: #666;
}

body.light-theme .profile-pronouns {
  color: #5638E5;
}

body.light-theme .stat-number {
  color: #5638E5;
}

body.light-theme .stat-label {
  color: #666;
}

body.light-theme .profile-nav {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid #d4d8e8;
}

body.light-theme .nav-btn {
  color: #666;
}

body.light-theme .nav-btn:hover {
  color: #5638E5;
  background: rgba(86, 56, 229, 0.1);
}

body.light-theme .nav-btn.active {
  color: #5638E5;
  background: rgba(255, 255, 255, 0.8);
}

body.light-theme .nav-btn.active::after {
  background: #5638E5;
}

body.light-theme .profile-content {
  background: rgba(255, 255, 255, 0.9);
}

body.light-theme .content-section h2 {
  color: #1a1a2e;
  border-bottom: 3px solid #5638E5;
}

body.light-theme .about-text p {
  color: #444;
}

body.light-theme .about-details {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #d4d8e8;
}

body.light-theme .detail-item {
  border-bottom: 1px solid #d4d8e8;
}

body.light-theme .detail-item strong {
  color: #5638E5;
}

body.light-theme .skill-category h3 {
  color: #5638E5;
}

body.light-theme .skill-tag {
  background: linear-gradient(45deg, #7c5cef, #4325c2);
  border: 1px solid #7c5cef;
  color: white;
}

body.light-theme .skill-tag:hover {
  box-shadow: 0 5px 15px rgba(124, 92, 239, 0.4);
}

body.light-theme .add-skill-btn {
  background: rgba(124, 92, 239, 0.1);
  color: #5638E5;
  border: 2px dashed #7c5cef;
}

body.light-theme .add-skill-btn:hover {
  background: rgba(124, 92, 239, 0.2);
}

body.light-theme .add-project-container {
  background: rgba(255, 255, 255, 0.9);
  border: 2px dashed #7c5cef;
}

body.light-theme .add-project-container:hover {
  background: rgba(124, 92, 239, 0.1);
  border-color: #5638E5;
}

body.light-theme .add-project-btn {
  background: linear-gradient(45deg, #7c5cef, #4325c2);
  color: white;
}

body.light-theme .portfolio-item {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #d4d8e8;
}

body.light-theme .portfolio-item:hover {
  box-shadow: 0 10px 30px rgba(124, 92, 239, 0.2);
  border-color: #7c5cef;
}

body.light-theme .portfolio-content h3 {
  color: #1a1a2e;
}

body.light-theme .portfolio-content p {
  color: #666;
}

body.light-theme .portfolio-tags span {
  background: rgba(124, 92, 239, 0.1);
  color: #5638E5;
  border: 1px solid rgba(124, 92, 239, 0.3);
}

body.light-theme .project-link {
  background: rgba(124, 92, 239, 0.1);
  color: #5638E5;
  border: 1px solid rgba(124, 92, 239, 0.3);
}

body.light-theme .project-link:hover {
  background: rgba(124, 92, 239, 0.2);
  color: #4325c2;
}

body.light-theme .timeline::before {
  background: #7c5cef;
}

body.light-theme .timeline-marker {
  background: #7c5cef;
  border: 3px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 3px #7c5cef;
}

body.light-theme .timeline-content h3 {
  color: #1a1a2e;
}

body.light-theme .timeline-content h4 {
  color: #5638E5;
}

body.light-theme .timeline-date {
  color: #666;
}

body.light-theme .timeline-content p {
  color: #444;
}

body.light-theme .add-experience-container {
  background: rgba(255, 255, 255, 0.9);
  border: 2px dashed #7c5cef;
}

body.light-theme .add-experience-container:hover {
  background: rgba(124, 92, 239, 0.1);
  border-color: #5638E5;
}

body.light-theme .add-experience-btn {
  background: linear-gradient(45deg, #7c5cef, #4325c2);
  color: white;
}

body.light-theme .contact-item h4 {
  color: #1a1a2e;
}

body.light-theme .contact-item p {
  color: #666;
}

body.light-theme .contact-item i {
  color: #5638E5;
}

body.light-theme .social-link {
  background: linear-gradient(45deg, #7c5cef, #4325c2);
  border: 1px solid #7c5cef;
  color: white;
}

body.light-theme .contact-form {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #d4d8e8;
}

body.light-theme .form-group input,
body.light-theme .form-group textarea {
  border: 2px solid #d4d8e8;
  background: rgba(255, 255, 255, 0.9);
  color: #1a1a2e;
}

body.light-theme .form-group input::placeholder,
body.light-theme .form-group textarea::placeholder {
  color: #888;
}

body.light-theme .form-group input:focus,
body.light-theme .form-group textarea:focus {
  border-color: #5638E5;
  box-shadow: 0 0 10px rgba(86, 56, 229, 0.2);
}

body.light-theme .btn-submit {
  background: linear-gradient(45deg, #7c5cef, #4325c2);
  color: white;
}

body.light-theme .image-preview {
  background: rgba(255, 255, 255, 0.9);
  border: 2px dashed #7c5cef;
}

body.light-theme .upload-placeholder {
  color: #5638E5;
}

body.light-theme .upload-placeholder small {
  color: #888;
}

body.light-theme .browse-btn {
  background: rgba(124, 92, 239, 0.1);
  color: #5638E5;
  border: 2px solid #7c5cef;
}

body.light-theme .browse-btn:hover {
  background: rgba(124, 92, 239, 0.2);
}

body.light-theme .remove-image-btn {
  background: rgba(244, 67, 54, 0.1);
  color: #f44336;
  border: 2px solid #f44336;
}

body.light-theme .remove-image-btn:hover {
  background: rgba(244, 67, 54, 0.2);
}

body.light-theme footer {
  background-color: rgba(255, 255, 255, 0.9);
  border-top: 1px solid #d4d8e8;
  color: #1a1a2e;
}

body.light-theme .footer-section h3 {
  color: #5638E5;
}

body.light-theme .footer-links a {
  color: #1a1a2e;
}

body.light-theme .footer-links a:hover {
  color: #5638E5;
}

body.light-theme .footer-separator {
  background-color: #d4d8e8;
}

body.light-theme .copyright {
  color: #6b6b7f;
}

body.light-theme .notification {
  color: white;
}

body.light-theme .input-modal .modal-content {
  background: #ffffff;
  border: 2px solid #7c5cef;
  color: #1a1a2e;
}

body.light-theme .modal-header {
  border-bottom: 1px solid #d4d8e8;
}

body.light-theme .modal-header h3 {
  color: #5638E5;
}

body.light-theme .input-modal .modal-close {
  color: #666;
}

body.light-theme .input-modal .modal-close:hover {
  color: #5638E5;
}

body.light-theme .modal-body input,
body.light-theme .modal-body textarea,
body.light-theme .modal-body select {
  border: 2px solid #d4d8e8;
  background: rgba(255, 255, 255, 0.9);
  color: #1a1a2e;
}

body.light-theme .modal-body input::placeholder,
body.light-theme .modal-body textarea::placeholder {
  color: #888;
}

body.light-theme .modal-body input:focus,
body.light-theme .modal-body textarea:focus,
body.light-theme .modal-body select:focus {
  border-color: #5638E5;
  box-shadow: 0 0 10px rgba(86, 56, 229, 0.2);
}

body.light-theme .modal-footer {
  border-top: 1px solid #d4d8e8;
}

body.light-theme .btn-cancel {
  background: #d4d8e8;
  color: #1a1a2e;
}

body.light-theme .btn-cancel:hover {
  background: #c4c8d8;
}

body.light-theme .btn-confirm {
  background: linear-gradient(45deg, #7c5cef, #4325c2);
  color: white;
}

body.light-theme .checkmark {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid #7c5cef;
}

body.light-theme .custom-checkbox input:checked~.checkmark {
  background: linear-gradient(45deg, #7c5cef, #4325c2);
  border-color: #7c5cef;
}

body.light-theme .custom-checkbox:hover .checkmark {
  border-color: #5638E5;
  box-shadow: 0 0 10px rgba(124, 92, 239, 0.3);
}

body.light-theme .checkbox-group label {
  color: #5638E5;
}

body.light-theme .date-pair-container select {
  background: rgba(255, 255, 255, 0.9) !important;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%231a1a2e" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  background-size: 16px !important;
}

body.light-theme .date-pair-container select:focus {
  border-color: #5638E5;
}

body.light-theme .date-pair-container select option {
  background: #ffffff;
  color: #1a1a2e;
}

@media (max-width: 768px) {
  body.light-theme .container {
    margin: 15px auto;
  }

  body.light-theme .profile-nav {
    background: rgba(255, 255, 255, 0.9);
  }
}

@media (max-width: 480px) {
  body.light-theme .container {
    margin: 10px auto;
  }
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  background-color: rgba(10, 13, 24, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #5638E5;
  position: relative;
  z-index: 10;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  width: 45px;
  height: auto;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.1);
}

.nav-links {
  display: flex;
  gap: 20px;
  font-family: 'PT Sans', sans-serif;
  font-size: 16px;
}

.nav-links a {
  text-decoration: none;
  color: white;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #543fce;
}

.nav-links a.active {
  color: #543fce;
  font-weight: bold;
}

.signup-hamburger {
  display: flex;
  align-items: center;
  gap: 30px;
}

.signup-btn {
  background-color: #0E0634;
  border: 2px solid #5638E5;
  border-radius: 7px;
  padding: 10px 20px;
  font-family: 'PT Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  margin-right: 10px;
  transition: background-color 0.3s ease;
}

.signup-btn:hover {
  background-color: #5638E5;
}

.hamburger {
  width: 25px;
  height: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.hamburger div {
  height: 3px;
  background-color: white;
  border-radius: 2px;
}

.main-content {
  flex: 1;
  position: relative;
  z-index: 5;
}

.container {
  max-width: 1200px;
  margin: 20px auto;
  background: rgba(14, 15, 29, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 30px rgba(86, 56, 229, 0.3);
  border-radius: 15px;
  border: 1px solid #5638E5;
  overflow: hidden;
  position: relative;
  z-index: 5;
}

.profile-header {
  position: relative;
  padding: 0 0 30px 0;
}

.cover-photo {
  height: 250px;
  background: linear-gradient(135deg, #5638E5 0%, #0E0634 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-image-container {
  position: absolute;
  bottom: -75px;
  left: 50%;
  transform: translateX(-50%);
}

.profile-image {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 6px solid #5638E5;
  cursor: pointer;
  transition: all 0.3s ease;
  object-fit: cover;
  position: relative;
}

.profile-actions {
  margin-top: 25px;
  margin-bottom: -25px;
}

.edit-profile-btn {
  background: linear-gradient(45deg, #5638E5, #0E0634);
  color: white;
  border: 2px solid #5638E5;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Comfortaa', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.edit-profile-btn:hover {
  background: linear-gradient(45deg, #0E0634, #5638E5);
}

.profile-info {
  text-align: center;
  padding: 90px 20px 20px;
}

.profile-name {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 5px;
}

.profile-username {
  font-size: 1.1rem;
  color: #aaa;
  margin-bottom: 15px;
}

.profile-location {
  color: #aaa;
  margin-bottom: 15px;
}

.profile-location i {
  margin-right: 5px;
  color: #5638E5;
}

.profile-pronouns {
  font-size: 1rem;
  color: #5638E5;
  margin-bottom: 10px;
  font-weight: 500;
  text-align: center;
}

.profile-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 15px;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: bold;
  color: #5638E5;
}

.stat-label {
  color: #ccc;
  font-size: 0.9rem;
}

.profile-nav {
  display: flex;
  justify-content: center;
  background: rgba(10, 13, 24, 0.8);
  padding: 0;
  border-bottom: 1px solid #2C2F45;
  flex-wrap: wrap;
}

.nav-btn {
  background: none;
  border: none;
  padding: 15px 25px;
  cursor: pointer;
  font-size: 1rem;
  color: #ccc;
  transition: all 0.3s ease;
  position: relative;
  font-family: 'Comfortaa', sans-serif;
}

.nav-btn:hover {
  color: #5638E5;
  background: rgba(86, 56, 229, 0.1);
}

.nav-btn.active {
  color: #5638E5;
  background: rgba(14, 6, 52, 0.8);
}

.nav-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #5638E5;
}

.profile-content {
  padding: 40px;
  background: rgba(14, 15, 29, 0.9);
}

.content-section {
  display: none;
}

.content-section.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.content-section h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: white;
  border-bottom: 3px solid #5638E5;
  padding-bottom: 0.3px;
  display: inline-block;
}

.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-top: 15px;
}

.about-text p {
  margin-bottom: 20px;
  color: #ddd;
  font-size: 1.1rem;
  line-height: 1.8;
}

.about-details {
  background: rgba(10, 13, 24, 0.8);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #2C2F45;
}

.detail-item {
  margin-bottom: 15px;
  padding: 10px 0;
  border-bottom: 1px solid #2C2F45;
}

.detail-item:last-child {
  border-bottom: none;
}

.detail-item strong {
  color: #5638E5;
}

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

.skill-category h3 {
  color: #5638E5;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-tag {
  background: linear-gradient(45deg, #5638E5, #0E0634);
  color: white;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.9rem;
  transition: box-shadow 0.3s ease;
  border: 1px solid #5638E5;
}

.skill-tag:hover {
  box-shadow: 0 5px 15px rgba(86, 56, 229, 0.4);
}

.add-skill-btn {
  background: rgba(86, 56, 229, 0.2);
  color: #5638E5;
  border: 2px dashed #5638E5;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Comfortaa', sans-serif;
}

.add-skill-btn:hover {
  background: rgba(86, 56, 229, 0.3);
}

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

.add-project-container {
  background: rgba(10, 13, 24, 0.8);
  border: 2px dashed #5638E5;
  border-radius: 15px;
  padding: 60px 20px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.add-project-container:hover {
  background: rgba(86, 56, 229, 0.1);
  border-color: #6f54f8;
}

.add-project-btn {
  background: linear-gradient(45deg, #5638E5, #0E0634);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 25px;
  font-size: 1.1rem;
  cursor: pointer;
  font-family: 'Comfortaa', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.add-project-btn:hover {
  box-shadow: 0 10px 20px rgba(86, 56, 229, 0.4);
}

.portfolio-item {
  background: rgba(10, 13, 24, 0.8);
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid #2C2F45;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: fit-content;
}

.portfolio-item:hover {
  box-shadow: 0 10px 30px rgba(86, 56, 229, 0.3);
  border-color: #5638E5;
}

.portfolio-item .portfolio-image {
  flex-shrink: 0;
}

.portfolio-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.portfolio-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.portfolio-content h3 {
  color: white;
  margin: 0;
  font-size: 1.2rem;
}

.portfolio-content p {
  color: #ccc;
  margin: 0;
  line-height: 1.5;
  flex: 1;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.portfolio-tags span {
  background: rgba(86, 56, 229, 0.2);
  color: #5638E5;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  border: 1px solid rgba(86, 56, 229, 0.3);
}

.portfolio-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0;
  padding-top: 5px;
}

.project-link {
  background: rgba(86, 56, 229, 0.2);
  color: #5638E5;
  padding: 8px 12px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.85rem;
  border: 1px solid rgba(86, 56, 229, 0.3);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.project-link:hover {
  background: rgba(86, 56, 229, 0.3);
  color: #6f54f8;
  text-decoration: none;
}

.timeline {
  position: relative;
  padding-left: 30px;
  margin-top: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #5638E5;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.timeline-marker {
  position: absolute;
  left: -23px;
  top: 0;
  width: 16px;
  height: 16px;
  background: #5638E5;
  border-radius: 50%;
  border: 3px solid rgba(14, 15, 29, 0.9);
  box-shadow: 0 0 0 3px #5638E5;
}

.timeline-content h3 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.timeline-content h4 {
  color: #5638E5;
  margin-bottom: 5px;
  font-weight: 500;
}

.timeline-date {
  color: #aaa;
  font-size: 0.9rem;
  margin-bottom: 10px;
  display: block;
}

.timeline-content p {
  color: #ddd;
  line-height: 1.6;
}

.add-experience-container {
  background: rgba(10, 13, 24, 0.8);
  border: 2px dashed #5638E5;
  border-radius: 15px;
  padding: 40px 20px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-bottom: 20px;
  margin-top: 15px;
}

.add-experience-container:hover {
  background: rgba(86, 56, 229, 0.1);
  border-color: #6f54f8;
}

.add-experience-btn {
  background: linear-gradient(45deg, #5638E5, #0E0634);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 25px;
  font-size: 1.1rem;
  cursor: pointer;
  font-family: 'Comfortaa', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.add-experience-btn:hover {
  box-shadow: 0 10px 20px rgba(86, 56, 229, 0.4);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 15px;
}

.contact-info {
  padding: 20px 0;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.contact-item i {
  font-size: 1.5rem;
  color: #5638E5;
  margin-right: 15px;
  width: 30px;
}

.contact-item h4 {
  color: white;
  margin-bottom: 5px;
}

.contact-item p {
  color: #ccc;
}

.social-links {
  margin-top: 30px;
  display: flex;
  gap: 15px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: linear-gradient(45deg, #5638E5, #0E0634);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  transition: box-shadow 0.3s ease;
  border: 1px solid #5638E5;
}

.social-link:hover {
  box-shadow: 0 10px 20px rgba(86, 56, 229, 0.4);
}

.contact-form {
  background: rgba(10, 13, 24, 0.8);
  padding: 30px;
  border-radius: 15px;
  border: 1px solid #2C2F45;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid #2C2F45;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: inherit;
  background: rgba(14, 15, 29, 0.9);
  color: white;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #888;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #5638E5;
  box-shadow: 0 0 10px rgba(86, 56, 229, 0.3);
}

.btn-submit {
  background: linear-gradient(45deg, #5638E5, #0E0634);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  width: 100%;
  transition: box-shadow 0.3s ease;
  font-family: 'Comfortaa', sans-serif;
  font-weight: 600;
}

.btn-submit:hover {
  box-shadow: 0 10px 20px rgba(86, 56, 229, 0.4);
}

.image-upload-container {
  margin-top: 10px;
}

.image-preview {
  background: rgba(10, 13, 24, 0.8);
  border: 2px dashed #5638E5;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  margin-bottom: 10px;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #5638E5;
  cursor: pointer;
}

.upload-placeholder i {
  font-size: 2rem;
}

.upload-placeholder span {
  font-weight: 600;
}

.upload-placeholder small {
  color: #aaa;
  font-size: 0.8rem;
}

.browse-btn {
  background: rgba(86, 56, 229, 0.2);
  color: #5638E5;
  border: 2px solid #5638E5;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Comfortaa', sans-serif;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.browse-btn:hover {
  background: rgba(86, 56, 229, 0.3);
}

.remove-image-btn {
  background: rgba(244, 67, 54, 0.2);
  color: #f44336;
  border: 2px solid #f44336;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Comfortaa', sans-serif;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 10px;
}

.remove-image-btn:hover {
  background: rgba(244, 67, 54, 0.3);
}

footer {
  background-color: rgba(10, 13, 24, 0.9);
  backdrop-filter: blur(10px);
  border-top: 1px solid #2C2F45;
  padding: 40px 50px;
  font-family: 'Comfortaa', sans-serif;
  color: white;
  position: relative;
  z-index: 10;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.footer-section {
  margin-bottom: 20px;
  flex: 1;
}

.footer-section h3 {
  font-size: 18px;
  margin-bottom: 20px;
  color: #6f54f8;
}

.footer-section p {
  margin: 8px 0;
  line-height: 1.5;
}

.footer-section a {
  color: #5638E5;
  text-decoration: none;
}

.footer-section a:hover {
  text-decoration: none;
}

.footer-links a {
  display: block;
  margin-bottom: 12px;
  padding: 2px 0;
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
  width: fit-content;
}

.footer-links a:hover {
  color: #5638E5;
  text-decoration: none;
}

.footer-separator {
  width: 100%;
  height: 1px;
  background-color: #1A1F36;
  margin: 20px 0;
}

.copyright {
  text-align: center;
  padding-top: 20px;
  font-size: 14px;
  color: #888;
}

.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 25px;
  color: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  animation: slideIn 0.3s ease;
}

.notification.success {
  background: #4CAF50;
}

.notification.error {
  background: #f44336;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }

  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.portfolio-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease;
}

.portfolio-modal .modal-content {
  background: white;
  padding: 30px;
  border-radius: 15px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.3s ease;
  color: #333;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 30px;
  cursor: pointer;
  color: #666;
}

.modal-buttons {
  margin-top: 20px;
  display: flex;
  gap: 15px;
}

.btn-primary,
.btn-secondary {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
}

.btn-secondary {
  background: #f8f9fa;
  color: #333;
  border: 2px solid #eee;
}

.btn-primary:hover,
.btn-secondary:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.input-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease;
}

.input-modal .modal-content {
  background: #0E0F1D;
  border: 2px solid #5638E5;
  border-radius: 15px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.3s ease;
  color: white;
}

.modal-header {
  padding: 20px 25px;
  border-bottom: 1px solid #2C2F45;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  color: #5638E5;
  margin: 0;
  font-size: 1.3rem;
}

.input-modal .modal-close {
  font-size: 24px;
  cursor: pointer;
  color: #ccc;
  transition: color 0.3s ease;
  position: static;
}

.input-modal .modal-close:hover {
  color: #5638E5;
}

.modal-body {
  padding: 25px;
}

.modal-body .form-group {
  margin-bottom: 20px;
}

.modal-body label {
  display: block;
  margin-bottom: 8px;
  color: #5638E5;
  font-weight: 600;
  font-size: 0.9rem;
}

.modal-body input,
.modal-body textarea,
.modal-body select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #2C2F45;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: inherit;
  background: rgba(10, 13, 24, 0.8);
  color: white;
  box-sizing: border-box;
}

.modal-body input::placeholder,
.modal-body textarea::placeholder {
  color: #888;
}

.modal-body input:focus,
.modal-body textarea:focus,
.modal-body select:focus {
  outline: none;
  border-color: #5638E5;
  box-shadow: 0 0 10px rgba(86, 56, 229, 0.3);
}

.modal-footer {
  padding: 20px 25px;
  border-top: 1px solid #2C2F45;
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}

.btn-cancel,
.btn-confirm {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-family: 'Comfortaa', sans-serif;
  transition: all 0.3s ease;
}

.btn-cancel {
  background: #2C2F45;
  color: white;
}

.btn-cancel:hover {
  background: #3C3F55;
}

.btn-confirm {
  background: linear-gradient(45deg, #5638E5, #0E0634);
  color: white;
}

.btn-confirm:hover {
  box-shadow: 0 5px 15px rgba(86, 56, 229, 0.4);
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding: 12px 0;
}

.custom-checkbox {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.custom-checkbox input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.checkmark {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
  background: rgba(10, 13, 24, 0.8);
  border: 2px solid #5638E5;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.checkmark::after {
  content: '';
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.custom-checkbox input:checked~.checkmark {
  background: linear-gradient(45deg, #5638E5, #0E0634);
  border-color: #5638E5;
}

.custom-checkbox input:checked~.checkmark::after {
  display: block;
}

.custom-checkbox:hover .checkmark {
  border-color: #6f54f8;
  box-shadow: 0 0 10px rgba(86, 56, 229, 0.3);
}

.checkbox-group label {
  margin: 0;
  cursor: pointer;
  color: #5638E5;
  font-weight: 600;
  font-size: 0.95rem;
  user-select: none;
}

.date-pair-container {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.date-pair-container select {
  background: rgba(10, 13, 24, 0.8) !important;
  background-image: url('data:image/svg+xml;utf8,<svg fill="white" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  background-size: 16px !important;
}

.date-pair-container select:focus {
  outline: none;
  border-color: #5638E5;
  box-shadow: 0 0 10px rgba(86, 56, 229, 0.3);
}

.date-pair-container select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.date-pair-container select option {
  background: #0a0d18;
  color: white;
  padding: 10px;
}

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

  .contact-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .profile-stats {
    gap: 20px;
    flex-wrap: wrap;
  }

  .profile-nav {
    overflow-x: auto;
    justify-content: flex-start;
  }

  .nav-btn {
    white-space: nowrap;
    min-width: 100px;
  }

  .skills-container {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-section {
    width: 100%;
  }

  .profile-image {
    width: 150px;
    height: 150px;
  }

  .profile-image-container {
    bottom: -60px;
  }

  .profile-info {
    padding: 55px 20px 20px;
  }

  .profile-name {
    font-size: 2rem;
  }

  .profile-username {
    font-size: 1rem;
  }

  .content-section h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .profile-image {
    width: 120px;
    height: 120px;
  }

  .profile-image-container {
    bottom: -45px;
  }

  .profile-info {
    padding: 40px 20px 20px;
  }
}