/* ===== CUSTOM PROPERTIES ===== */
:root {
  /* Light Theme Background Colors */
  --background-light: #f8f9fa;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Accent Colors */
  --primary-blue: #0077b5;
  --primary-blue-light: #3b82f6;
  --primary-blue-dark: #005885;
  --secondary-green: #28a745;
  --secondary-green-light: #5eead4;
  --accent-purple: #8b5cf6;
  --accent-purple-light: #a78bfa;

  /* Text Colors */
  --text-dark: #2c3e50;
  --text-light: #6c757d;
  --text-white: #ffffff;

  /* Status Colors */
  --status-completed: #28a745;
  --status-pursuing: #17a2b8;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0077b5 0%, #3b82f6 100%);
  --gradient-secondary: linear-gradient(135deg, #28a745 0%, #5eead4 100%);

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

  /* Typography */
  --ff-poppins: 'Poppins', sans-serif;
  --fs-1: 28px;
  --fs-2: 24px;
  --fs-3: 20px;
  --fs-4: 18px;
  --fs-5: 16px;
  --fs-6: 14px;
  --fs-7: 13px;
  --fs-8: 12px;
  --fw-300: 300;
  --fw-400: 400;
  --fw-500: 500;
  --fw-600: 600;
  --fw-700: 700;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.5s ease;
  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease-in-out;
}

/* ===== RESET ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a { text-decoration: none; }

li { list-style: none; }

img, ion-icon, a, button, time, span { display: block; }

button {
  font: inherit;
  background: none;
  border: none;
  text-align: left;
  text-align: left;
  cursor: pointer;
}

input, textarea {
  display: block;
  width: 100%;
  background: none;
  font: inherit;
}

::selection {
  background: var(--accent-purple);
  color: var(--text-dark);
}

:focus { outline-color: var(--accent-purple); }

html { font-family: var(--ff-poppins); }

body, .main-content {
  background: #f4f6fb; /* Softer light background for main area */
  color: var(--text-dark) !important; /* High contrast text for readability */
}

/* ===== LAYOUT ===== */
.layout-container {
  display: flex;
  min-height: 100vh;
}

/* ===== BUTTON ===== */
button {
  font: inherit;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
}

/* ===== BUTTON ===== */
button {
  font: inherit;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
}

input, textarea {
  display: block;
  width: 100%;
  background: none;
  font: inherit;
}

::selection {
  background: var(--accent-purple);
  color: var(--text-dark);
}

:focus { outline-color: var(--accent-purple); }

html { font-family: var(--ff-poppins); }

body, .main-content {
  background: #f4f6fb; /* Softer light background for main area */
  color: var(--text-dark) !important; /* High contrast text for readability */
}

/* ===== LAYOUT ===== */
.layout-container {
  display: flex;
  min-height: 100vh;
}

/* ===== SIDEBAR ===== */
.sidebar {
  width: 300px;
  background: linear-gradient(135deg, #1a2f4a 0%, #2c3e50 50%, #1a2f4a 100%);
  padding: 30px 20px;
  color: var(--text-white);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: sticky;
  top: 0;
  height: 100vh;
  box-shadow: 4px 0 15px rgba(0, 0, 0, 0.3);
}

.sidebar-info {
  text-align: center;
}

.avatar-box {
  border-radius: 50%;
  overflow: hidden;
  background: var(--background-light);
  width: 130px;
  height: 130px;
  margin: 0 auto 15px;
  border: 4px solid #a78bfa;
  box-shadow: 0 0 30px rgba(167, 139, 250, 0.4), 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
  position: relative;
}

.avatar-box::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a78bfa, #8b5cf6);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.avatar-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 40px rgba(167, 139, 250, 0.6), 0 12px 30px rgba(0, 0, 0, 0.4);
}

.avatar-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.info-content .name {
  margin: 15px 0 8px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.3px;
}

.info-content .title {
  font-size: 0.95rem;
  opacity: 0.9;
  color: #a78bfa;
  font-weight: 600;
  margin: 5px 0;
  letter-spacing: 0.3px;
}

.contacts-list,
.social-list {
  list-style: none;
  padding: 0;
  margin: 25px 0;
}

.contacts-list li,
.social-list li {
  margin: 10px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-list {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 25px 0;
}

.contact-link,
.social-link {
  color: #a78bfa;
  transition: color 0.3s ease;
}

.contact-link:hover,
.social-link:hover {
  color: #c4b5fd;
}

.icon-box {
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.15), rgba(139, 92, 246, 0.1));
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  color: #a78bfa;
  box-shadow: 0 4px 10px rgba(167, 139, 250, 0.15);
  border: 1px solid rgba(167, 139, 250, 0.3);
  transition: all 0.3s ease;
}

.icon-box:hover {
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.25), rgba(139, 92, 246, 0.2));
  box-shadow: 0 6px 15px rgba(167, 139, 250, 0.25);
  transform: translateY(-2px);
}

.icon-box::before {
  display: none;
}

.icon-box ion-icon,
.social-list ion-icon {
  color: #a78bfa;
  --ionicon-stroke-width: 35px;
  transition: color 0.3s ease;
}

.info_more-btn {
  background: linear-gradient(135deg, #a78bfa, #8b5cf6);
  border: none;
  color: #ffffff;
  cursor: pointer;
  font-size: 0.95rem;
  padding: 10px 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 15px auto;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(167, 139, 250, 0.3);
}

.info_more-btn:hover {
  background: linear-gradient(135deg, #c4b5fd, #a78bfa);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(167, 139, 250, 0.4);
}

.social-item {
  transition: all 0.3s ease;
}

.social-item .social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.15), rgba(139, 92, 246, 0.1));
  border: 2px solid rgba(167, 139, 250, 0.3);
  box-shadow: 0 4px 12px rgba(167, 139, 250, 0.15);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social-item .social-link:hover {
  background: linear-gradient(135deg, #a78bfa, #8b5cf6);
  border-color: #a78bfa;
  transform: translateY(-6px) scale(1.1);
  box-shadow: 0 8px 25px rgba(167, 139, 250, 0.4);
}

.social-item .social-link ion-icon {
  font-size: 22px;
  color: #a78bfa;
  transition: color 0.3s ease;
}

.social-item .social-link:hover ion-icon {
  color: #ffffff;
}

.sidebar-info_more {
  background: linear-gradient(135deg, #ffffff 0%, #f8f7ff 100%);
  padding: 18px 16px;
  border-radius: 12px;
  margin-top: 15px;
  color: #6c757d;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.15);
}

.sidebar-info_more .separator {
  height: 2px;
  background: linear-gradient(90deg, transparent, #a78bfa, transparent);
  margin: 15px 0;
  border-radius: 2px;
}

.sidebar-info_more .contact-item {
  background: linear-gradient(135deg, #ffffff, #fafbff);
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-size: 0.95rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(167, 139, 250, 0.1);
  transition: all 0.3s ease;
}

.sidebar-info_more .contact-item:hover {
  box-shadow: 0 4px 15px rgba(167, 139, 250, 0.15);
  border-color: rgba(167, 139, 250, 0.25);
  transform: translateX(3px);
}

.sidebar-info_more .contact-item:last-of-type {
  margin-bottom: 0;
}

.sidebar-info_more .contact-item .icon-box {
  width: 32px;
  height: 32px;
  font-size: 16px;
  border-radius: 8px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #a78bfa20, #8b5cf620);
  border: 1px solid #a78bfa30;
}

.sidebar-info_more .contact-item .contact-info p {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 3px;
  color: #2c3e50;
  letter-spacing: 0.5px;
}

.sidebar-info_more .contact-item .contact-info a,
.sidebar-info_more .contact-item .contact-info time,
.sidebar-info_more .contact-item .contact-info address {
  font-size: 0.92rem;
  color: #6c757d;
  font-weight: 400;
  margin: 0;
  word-break: break-all;
}

/* ===== ENHANCED CONTACT CARDS ===== */
.contact-details-section,
.social-links-section {
  margin-bottom: 0;
}

.contact-title-main {
  font-size: 0.95rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.contact-card {
  background: linear-gradient(135deg, #ffffff 0%, #fafbff 100%);
  padding: 12px 14px;
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(167, 139, 250, 0.12);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  min-width: 0;
  overflow: hidden;
}

.contact-card:hover {
  box-shadow: 0 6px 18px rgba(167, 139, 250, 0.18);
  border-color: rgba(167, 139, 250, 0.3);
  transform: translateY(-3px);
  background: linear-gradient(135deg, #fafbff 0%, #f3f0ff 100%);
}

.contact-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex-shrink: 0;
  font-size: 18px;
  transition: all 0.3s ease;
}

.contact-card-icon.email-icon {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #ffffff;
}

.contact-card-icon.phone-icon {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
}

.contact-card-icon.location-icon {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #ffffff;
}

.contact-card-icon.dob-icon {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: #ffffff;
}

.contact-card:hover .contact-card-icon {
  transform: scale(1.1) rotate(5deg);
}

.contact-card-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #a78bfa;
  margin: 0 0 3px 0;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.contact-value {
  font-size: 0.88rem;
  color: #2c3e50;
  font-weight: 500;
  margin: 0;
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  transition: color 0.3s ease;
  line-height: 1.35;
}

.contact-card a.contact-value:hover {
  color: #a78bfa;
}

/* ===== SOCIAL LINKS GRID ===== */
.social-links-section {
  margin-top: 15px;
}

.social-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

.social-link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffffff 0%, #fafbff 100%);
  border: 2px solid transparent;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  gap: 8px;
}

.social-link-card.linkedin-card {
  border-color: rgba(10, 102, 194, 0.2);
}

.social-link-card.linkedin-card:hover {
  background: linear-gradient(135deg, #0a66c2, #054a94);
  border-color: #0a66c2;
  box-shadow: 0 8px 20px rgba(10, 102, 194, 0.3);
  transform: translateY(-5px);
}

.social-link-card.github-card {
  border-color: rgba(24, 23, 23, 0.2);
}

.social-link-card.github-card:hover {
  background: linear-gradient(135deg, #181717, #0d0d0d);
  border-color: #181717;
  box-shadow: 0 8px 20px rgba(24, 23, 23, 0.3);
  transform: translateY(-5px);
}

.social-link-card.instagram-card {
  border-color: rgba(217, 70, 239, 0.2);
}

.social-link-card.instagram-card:hover {
  background: linear-gradient(135deg, #d946ef, #c026d3);
  border-color: #d946ef;
  box-shadow: 0 8px 20px rgba(217, 70, 239, 0.3);
  transform: translateY(-5px);
}

.social-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  transition: all 0.3s ease;
}

.social-link-card:hover .social-card-icon {
  color: #ffffff;
  transform: scale(1.15);
}

.social-card-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: #2c3e50;
  transition: color 0.3s ease;
}

.social-link-card:hover .social-card-text {
  color: #ffffff;
}

.social-card-icon {
  color: #a78bfa;
}

.linkedin-card .social-card-icon {
  color: #0a66c2;
}

.github-card .social-card-icon {
  color: #181717;
}

.instagram-card .social-card-icon {
  color: #d946ef;
}





.sidebar-info_more {
  display: none;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sidebar-info_more:not(.is-hidden) {
  display: block;
  max-height: 2000px;
  opacity: 1;
  animation: slideDown 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideDown {
  from {
    max-height: 0;
    opacity: 0;
    transform: translateY(-15px);
  }
  to {
    max-height: 2000px;
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== CONTACTS LIST STYLES ===== */
.contacts-list li.contact-item {
  padding: 10px 12px;
  margin-bottom: 8px;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
  background: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contacts-list .icon-box {
  width: 32px;
  height: 32px;
  font-size: 18px;
  border-radius: 6px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contacts-list .contact-info p {
  font-weight: 500;
  margin-bottom: 2px;
  font-size: 0.95rem;
}

.contacts-list .contact-info a,
.contacts-list .contact-info time,
.contacts-list .contact-info address {
  font-size: 0.93rem;
  color: #444;
  margin: 0;
  font-weight: 400;
  word-break: break-all;
}

/* ===== MAIN CONTENT ===== */
.main-content {
  flex: 1;
  padding: 40px 60px;
  overflow-y: auto;
  background: var(--background-light);
}

.article-title {
  font-size: var(--fs-1);
  margin-bottom: 15px;
  color: var(--text-dark); /* High contrast */
  position: relative;
  padding-bottom: 7px;
}

.article-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--accent-purple); /* Vibrant accent */
  border-radius: 3px;
}

section, article {
  margin-bottom: 50px;
}

article[data-page] { display: none; }

article[data-page].active {
  display: block;
  animation: fade 0.5s ease backwards;
}

@keyframes fade {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* ===== NAVBAR ===== */
.navbar {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  background: #fff; /* White navbar for contrast */
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border-radius: 10px;
  padding: 10px 0;
}

.navbar-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2em;
  list-style: none;
  padding: 0;
}

.navbar-link {
  background: none;
  border: none;
  color: #222; /* Dark text for navbar links */
  font-size: var(--fs-5);
  cursor: pointer;
  padding: 8px 15px;
  border-radius: 8px;
  transition: background var(--transition-1);
  font-weight: 500;
}

.navbar-link:hover,
.navbar-link.active {
  background: var(--accent-purple);
  color: #fff;
}

/* ===== ABOUT ===== */
.about-text {
  color: var(--text-light); /* Brighter text */
  font-size: var(--fs-5);
  font-weight: var(--fw-400);
  line-height: 1.6;
  margin-bottom: 40px;
}

.about-text p { margin-bottom: 15px; }

.service { margin-bottom: 35px; }

.service-title { margin-bottom: 20px; }

.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.service-item {
  background: var(--background-light); /* Lighter card background */
  padding: 25px; /* Increased padding */
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: flex-start;
  gap: 18px;
  border: 1px solid transparent;
  border-image: linear-gradient(135deg, var(--accent-purple), var(--secondary-green)) 1; /* Gradient border */
  transition: transform var(--transition-1), box-shadow var(--transition-1);
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(187, 134, 252, 0.4);
}

.service-icon-box { margin-top: 5px; }

.service-icon-box img { margin: auto; }

.service-content-box { text-align: left; }

.service-item-title {
  margin-bottom: 7px;
  color: var(--text-dark); /* High contrast */
  font-weight: var(--fw-600); /* Bolder */
}

.service-item-text {
  color: var(--text-light); /* Brighter text */
  font-size: var(--fs-5);
  font-weight: var(--fw-400);
  line-height: 1.6;
}

.testimonials { margin-bottom: 30px; }

.testimonials-title { margin-bottom: 25px; }

.testimonials-list {
  display: flex;
  gap: 30px;
  margin: 0 -30px;
  padding: 30px;
  padding-bottom: 35px;
  overflow-x: auto;
  scroll-behavior: smooth;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
}

.testimonials-item {
  min-width: calc(33.33% - 20px);
  scroll-snap-align: center;
}

.content-card {
  background: var(--background-light); /* Lighter background */
  padding: 30px;
  padding-top: 45px;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  position: relative;
  border: 1px solid transparent;
  border-image: linear-gradient(135deg, var(--accent-purple), var(--secondary-green)) 1; /* Gradient border */
  transition: transform var(--transition-1), box-shadow var(--transition-1);
}

.content-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(187, 134, 252, 0.4);
}

.testimonials-item-title {
  margin-bottom: 10px;
  color: var(--text-dark); /* High contrast */
  font-size: var(--fs-3);
  font-weight: var(--fw-600); /* Bolder */
}

.testimonials-text {
  color: var(--text-light); /* Brighter text */
  font-size: var(--fs-5);
  font-weight: var(--fw-400);
  line-height: 1.6;
  display: -webkit-box;
  line-clamp: 4;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.testimonials-text ul {
  list-style-type: disc;
  padding-left: 20px;
  color: var(--text-light); /* Brighter text */
}

.testimonials-text li {
  margin-bottom: 8px;
}

/* ===== MODAL ===== */
.modal-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  visibility: hidden;
}

.modal-container.active {
  visibility: visible;
}

.modal {
  background: var(--background-light);
  padding: 20px;
  border-radius: 14px;
  max-width: 500px;
  width: 90%;
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  color: var(--text-light);
  cursor: pointer;
}

.modal-close-btn:hover {
  color: var(--accent-purple);
}

.modal-img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

.modal-title {
  color: var(--text-white);
  font-size: var(--fs-3);
  margin-bottom: 10px;
}

.modal-text {
  color: var(--text-light);
  font-size: var(--fs-5);
  line-height: 1.6;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: hsla(0, 0%, 0%, 0.5);
  z-index: 999;
  visibility: hidden;
}

.overlay.active {
  visibility: visible;
}

/* ===== PROJECTS ===== */
.project-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 0;
  list-style: none;
}

.project-item {
  background: var(--background-light); /* Lighter background */
  border-radius: 16px;
  padding: 25px; /* Increased padding */
  transition: transform var(--transition-1), box-shadow var(--transition-1);
  border: 1px solid transparent;
  border-image: linear-gradient(135deg, var(--accent-purple), var(--secondary-green)) 1; /* Gradient border */
}

.project-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(187, 134, 252, 0.4);
}

.project-img img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

.project-title {
  font-size: var(--fs-3);
  color: var(--text-dark) !important; /* High contrast for headings */
  font-weight: var(--fw-600); /* Bolder */
  margin-bottom: 10px;
}

.project-category {
  color: #6a9ae2; /* Softer blue for better appeal */
  font-size: var(--fs-5);
  margin-bottom: 10px;
  font-weight: 600;
  font-style: italic;
  transition: color 0.3s ease;
}

.project-category:hover {
  color: #a18cd1; /* Light purple on hover */
  cursor: pointer;
}

.project-img img {
  transition: transform 0.3s ease;
  cursor: zoom-in;
}

.project-img img:hover {
  transform: scale(1.1);
  cursor: zoom-in;
}

.project-item ul {
  list-style-type: disc;
  padding-left: 20px;
  color: var(--text-light); /* Brighter text */
  margin-bottom: 10px;
}

.project-item b,
.project-item .project-meta,
.project-item .project-desc,
.project-item .project-tech,
.project-item .project-tech-title,
.project-item .project-tech-list,
.project-item .project-tech-list li {
  color: var(--text-dark) !important;
}

.btn {
  background: var(--secondary-green); /* Vibrant button color */
  color: var(--text-white);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: var(--fs-5);
  font-weight: var(--fw-500);
  margin: 5px;
  display: inline-block;
  transition: background var(--transition-1);
}

.btn:hover {
  background: #e55a5a; /* Slightly darker coral */
}

/* ===== RESUME ===== */
.timeline {
  margin-bottom: 30px;
}

.timeline .title-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.timeline-list {
  font-size: var(--fs-5);
  margin-left: 45px;
}

.timeline-item {
  position: relative;
  background: #fff; /* White card for best contrast */
  padding: 25px; /* Increased padding */
  border-radius: 16px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-image: linear-gradient(135deg, var(--accent-purple), var(--secondary-green)) 1; /* Gradient border */
  transition: transform var(--transition-1), box-shadow var(--transition-1);
}

.timeline-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(187, 134, 252, 0.4);
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -33px;
  width: 6px;
  height: 100%;
  background: var(--text-dark);
  border-radius: 5px;
  box-shadow: 0 0 0 4px var(--background-light);
}

.timeline-item::after {
  content: "";
  position: absolute;
  top: 5px;
  left: -43px;
  background: var(--secondary-green); /* Vibrant marker */
  border-radius: 50%;
  width: 26px;
  height: 26px;
  box-shadow: 0 0 0 4px var(--background-light);
}

.timeline-item-title {
  font-size: var(--fs-3);
  color: var(--text-dark) !important; /* High contrast for headings */
  font-weight: var(--fw-600); /* Bolder */
  margin-bottom: 10px;
}

.timeline-list span {
  color: var(--text-light); /* Brighter text */
  font-weight: var(--fw-400);
  line-height: 1.6;
  margin-bottom: 12px;
}

.timeline-text {
  color: var(--text-light); /* Brighter text */
  font-weight: var(--fw-400);
  font-size: var(--fs-5);
  line-height: 1.6;
}

.timeline-text ul {
  list-style-type: disc;
  padding-left: 20px;
  color: var(--text-light); /* Brighter text */
}

.timeline-text p {
  margin-bottom: 10px;
}

/* ===== EDUCATION ===== */
.education-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  margin: auto;
}

.edu-card {
  background: #fff; /* White card for best contrast */
  border-radius: 16px;
  padding: 25px; /* Increased padding */
  display: flex;
  align-items: center;
  gap: 20px;
  transition: transform var(--transition-1), box-shadow var(--transition-1);
  border: 1px solid transparent;
  border-image: linear-gradient(135deg, var(--accent-purple), var(--secondary-green)) 1; /* Gradient border */
}

.edu-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(187, 134, 252, 0.4);
}

.edu-card > div:first-child div {
  background: var(--accent-purple);
}

.edu-tag {
  background: var(--secondary-green); /* Vibrant coral */
  color: var(--text-white);
  padding: 0.4em 1em;
  border-radius: 16px;
  font-size: 1.1em; /* Larger for readability */
  font-weight: var(--fw-500);
  transition: background var(--transition-1);
}

.edu-tag:hover {
  background: var(--accent-purple);
}

.edu-card h3,
.edu-card div,
.edu-card a,
.edu-card p,
.edu-card span {
  color: var(--text-dark); /* High contrast for white background */
}

.edu-card > div:last-child > div {
  font-size: 2em; /* Larger for visibility */
  font-weight: var(--fw-600);
  color: var(--secondary-green); /* Vibrant coral */
}

/* ===== CERTIFICATIONS ===== */
.certifications-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  margin: auto;
}

.certification-card {
  background: #fff; /* White card for best contrast */
  border-radius: 16px;
  padding: 25px; /* Increased padding */
  border: 1px solid transparent;
  border-image: linear-gradient(135deg, var(--accent-purple), var(--secondary-green)) 1; /* Gradient border */
  display: flex;
  align-items: flex-start;
  gap: 15px;
  transition: transform var(--transition-1), box-shadow var(--transition-1);
}

.certification-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(187, 134, 252, 0.4);
}

.certification-icon {
  background: var(--secondary-green); /* Vibrant coral */
  color: var(--text-white);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.certification-title {
  font-size: var(--fs-3);
  color: var(--text-dark) !important; /* High contrast for headings */
  font-weight: var(--fw-600); /* Bolder */
  margin-bottom: 10px;
}

.certification-text {
  font-size: var(--fs-5);
  color: var(--text-light); /* Brighter text */
  line-height: 1.6;
}

/* ===== CONTACT FORM ===== */
.contact-section {
  padding: 80px 0;
  background-color: var(--background-light);
}

.contact-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.lets-connect h2,
.send-message h2 {
  font-size: 1.8rem;
  font-weight: var(--fw-600);
  color: var(--text-dark);
  margin-bottom: 30px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  margin-bottom: 0;
  transition: box-shadow 0.2s;
}

.contact-item:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
}

.email-icon    { background: #dc3545; }
.phone-icon    { background: #28a745; }
.location-icon { background: #2563eb; }
.linkedin-icon { background: var(--primary-blue); }
.github-icon   { background: #333333; }

.contact-details h3 {
  font-size: 1.05rem;
  font-weight: var(--fw-600);
  color: var(--text-dark);
  margin-bottom: 4px;
}

.contact-details p {
  font-size: 1rem;
  color: var(--text-dark);
  margin: 0;
  font-weight: var(--fw-400);
}

.message-form {
  background: var(--white);
  padding: 32px 28px;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field {
  margin-bottom: 25px;
}

.form-field label {
  font-size: 1rem;
  font-weight: var(--fw-500);
  color: var(--text-dark);
  margin-bottom: 7px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: 1rem;
  background: var(--gray-50);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 2px var(--accent-purple-light);
  background: var(--white);
}

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

.send-button {
  width: 100%;
  padding: 15px 0;
  background: var(--accent-purple);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: var(--fw-600);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.2s, box-shadow 0.2s;
}

.send-button:hover {
  background: var(--accent-purple-light);
  box-shadow: 0 4px 15px rgba(139,92,246,0.18);
}

.send-button:disabled {
  background: var(--gray-300);
  cursor: not-allowed;
  transform: none;
}

.form-message {
  margin-top: 20px;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  font-weight: var(--fw-500);
  display: none;
}

.form-message.success {
  display: block;
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  display: block;
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Responsive for contact section */
@media (max-width: 900px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .message-form {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .contact-section {
    padding: 60px 0;
  }
  .lets-connect h2,
  .send-message h2 {
    font-size: 1.5rem;
  }
  .contact-item {
    padding: 12px;
    border-radius: 10px;
  }
  .contact-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
  .message-form {
    padding: 16px;
    border-radius: 10px;
  }
  .form-field input,
  .form-field textarea {
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 0.95rem;
  }
  .send-button {
    padding: 12px 0;
    font-size: 1rem;
    border-radius: 6px;
  }
}