/* ============================================
   ABOUT PAGE - DESKTOP REDESIGNED
   Engineering Architectural Theme
   Red (#CC0000, #FF0000), Black (#000000, #0a0a0a), White (#FFFFFF)
   ============================================ */

/* ============================================
   GLOBAL STYLES & OPTIMIZATION
   ============================================ */
html {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

body {
  background: #000000;
  color: #ffffff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* ============================================
   CUSTOM SCROLLBAR - THEME MATCHED
   ============================================ */
/* Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: #0a0a0a;
  border-left: 1px solid rgba(204, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #CC0000 0%, #990000 100%);
  border-radius: 6px;
  border: 2px solid #0a0a0a;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #FF0000 0%, #CC0000 100%);
  box-shadow: 0 0 10px rgba(204, 0, 0, 0.5);
}

::-webkit-scrollbar-thumb:active {
  background: #FF0000;
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #CC0000 #0a0a0a;
}

/* ============================================
   ENHANCED BACKGROUND SYSTEM INTEGRATION
   Uses centralized background-system.css (same as Home/Contact/Content)
   ============================================ */
/* Background handled by background-system.css - no custom override needed */

/* ============================================
   HEADER SECTION
   ============================================ */
.bp-header {
  position: relative;
  padding: 110px 20px 30px;
  text-align: center;
  background: linear-gradient(180deg, rgba(204, 0, 0, 0.1) 0%, transparent 100%);
  border-bottom: 3px solid #CC0000;
  overflow: hidden;
  margin-top: 0;
  z-index: 10;
}

.bp-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(204, 0, 0, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(204, 0, 0, 0.15) 0%, transparent 50%);
  animation: pulseGlow 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.6;
  }
}

.bp-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 10px 0;
  letter-spacing: -0.02em;
  text-shadow: 0 0 30px rgba(204, 0, 0, 0.5);
  position: relative;
  z-index: 1;
}

.bp-header p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
  position: relative;
  z-index: 1;
}

/* ============================================
   MAIN CONTENT CONTAINER
   ============================================ */
.about {
  position: relative;
  padding: 30px 0 60px;
  z-index: 10;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 10;
}

/* Cards Flow Grid - make top-level cards non-full-width */
.page-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 16px; /* Reduced from 24px to minimize waste */
  align-items: start;
}

@media (max-width: 1200px) {
  .page-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  }
}

@media (max-width: 992px) {
  .page-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   PROFILE HEADER SECTION
   ============================================ */
.desktop-profile-header {
  display: flex;
  align-items: center;
  gap: 30px;
  background: linear-gradient(135deg, rgba(204, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.8) 100%);
  padding: 30px 35px;
  border-radius: 16px;
  border: 2px solid rgba(204, 0, 0, 0.3);
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 60px rgba(204, 0, 0, 0.2);
  margin-bottom: 20px; /* Reduced from 35px */
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.desktop-profile-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(204, 0, 0, 0.1), transparent);
  animation: shimmer 6s infinite;
  pointer-events: none;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

.desktop-profile-header:hover {
  border-color: rgba(204, 0, 0, 0.6);
  box-shadow: 
    0 15px 50px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 0 80px rgba(204, 0, 0, 0.4);
  transform: translateY(-5px);
}

.desktop-profile-photo {
  width: 160px;
  height: 160px;
  border-radius: 16px;
  object-fit: cover;
  border: 3px solid #CC0000;
  box-shadow: 
    0 10px 30px rgba(204, 0, 0, 0.4),
    0 0 40px rgba(204, 0, 0, 0.3);
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
}

.desktop-profile-photo:hover {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 
    0 15px 40px rgba(204, 0, 0, 0.6),
    0 0 60px rgba(204, 0, 0, 0.5);
}

.desktop-profile-info {
  flex: 1;
  position: relative;
  z-index: 1;
}

.desktop-profile-name {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 10px 0;
  letter-spacing: -0.01em;
}

.desktop-profile-title {
  font-size: 1.15rem;
  color: #CC0000;
  font-weight: 500;
  margin: 0 0 6px 0;
}

.desktop-profile-university {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
  line-height: 1.5;
}

/* ============================================
   CARD COMPONENTS (UNIFIED DESIGN)
   ============================================ */
.desktop-card,
.desktop-address-card,
.desktop-club-card,
.desktop-recommendation-card {
  background: linear-gradient(135deg, rgba(204, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.95) 100%);
  border: 2px solid rgba(204, 0, 0, 0.25);
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 25px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 40px rgba(204, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  width: 100%;
}

.desktop-card::before,
.desktop-address-card::before,
.desktop-club-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #CC0000, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.desktop-card:hover,
.desktop-address-card:hover,
.desktop-club-card:hover {
  border-color: rgba(204, 0, 0, 0.5);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 60px rgba(204, 0, 0, 0.25);
  transform: translateY(-3px);
}

.desktop-card:hover::before,
.desktop-address-card:hover::before,
.desktop-club-card:hover::before {
  opacity: 1;
}

/* Section Titles */
.desktop-section-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 20px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  padding-bottom: 12px;
}

.desktop-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #CC0000, transparent);
}

.desktop-section-title i {
  color: #CC0000;
  font-size: 1.35rem;
}

/* ============================================
   TWO COLUMN LAYOUT
   ============================================ */
.desktop-two-column {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 16px; /* Reduced from 20px */
  margin-bottom: 20px; /* Reduced from 28px */
}

/* ============================================
   PERSONAL DETAILS & CONTACT
   ============================================ */
.desktop-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.desktop-detail {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  border: 1px solid rgba(204, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.desktop-detail:hover {
  background: rgba(204, 0, 0, 0.1);
  border-color: rgba(204, 0, 0, 0.4);
  transform: translateY(-2px);
}

.detail-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.detail-label i {
  color: #CC0000;
  font-size: 0.85rem;
}

.detail-value {
  font-size: 0.95rem;
  color: #ffffff;
  font-weight: 500;
}

/* Contact Grid */
.desktop-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.desktop-contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(204, 0, 0, 0.2);
  border-radius: 10px;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.desktop-contact-link i {
  color: #CC0000;
  font-size: 1.15rem;
  transition: all 0.3s ease;
}

.desktop-contact-link:hover {
  background: rgba(204, 0, 0, 0.15);
  border-color: rgba(204, 0, 0, 0.5);
  transform: translateX(5px);
}

.desktop-contact-link:hover i {
  transform: scale(1.2);
  color: #FF0000;
}

/* ============================================
   ADDRESS CARDS - GRID LAYOUT (NOT FULL WIDTH EACH)
   ============================================ */
.desktop-address-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
  width: 100%;
}

.desktop-address-card {
  padding: 25px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(26, 0, 0, 0.6));
  border: 2px solid rgba(204, 0, 0, 0.3);
  border-radius: 14px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.desktop-address-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #CC0000, #FF0000, #CC0000);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.desktop-address-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(204, 0, 0, 0.1) 50%,
    transparent 70%
  );
  transform: rotate(45deg) translateX(-100%);
  transition: transform 0.6s ease;
}

.desktop-address-card:hover::after {
  transform: rotate(45deg) translateX(100%);
}

.desktop-address-card:hover {
  background: linear-gradient(135deg, rgba(26, 0, 0, 0.7), rgba(51, 0, 0, 0.8));
  border-color: rgba(255, 0, 0, 0.6);
  transform: translateY(-8px);
  box-shadow: 
    0 20px 50px rgba(204, 0, 0, 0.4),
    0 0 60px rgba(255, 0, 0, 0.2);
}

.desktop-address-card:hover::before {
  opacity: 1;
}

.address-icon {
  width: 65px;
  height: 65px;
  background: linear-gradient(135deg, rgba(204, 0, 0, 0.2), rgba(153, 0, 0, 0.3));
  border: 2px solid rgba(204, 0, 0, 0.4);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.desktop-address-card:hover .address-icon {
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.3), rgba(204, 0, 0, 0.4));
  border-color: #FF0000;
  transform: scale(1.15) rotate(-5deg);
  box-shadow: 0 0 30px rgba(255, 0, 0, 0.5);
}

.address-icon i {
  font-size: 1.8rem;
  color: #FF0000;
  transition: all 0.3s ease;
}

.desktop-address-card:hover .address-icon i {
  color: #FF3333;
  transform: scale(1.1);
}

.address-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 15px 0;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
}

.address-text {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  font-size: 1rem;
  margin: 0;
  position: relative;
  z-index: 1;
}

.desktop-address-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.desktop-address-header i {
  font-size: 1.25rem;
  color: #CC0000;
}

.desktop-address-header h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

/* ============================================
   ABOUT TEXT
   ============================================ */
.desktop-about-text {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  font-size: 0.98rem;
}

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

.desktop-about-text p:last-child {
  margin-bottom: 0;
}

/* ============================================
   EDUCATION TIMELINE
   ============================================ */
.desktop-education-timeline {
  position: relative;
  padding-left: 35px;
}

.desktop-education-timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #CC0000, rgba(204, 0, 0, 0.3));
}

/* Education Cards Grid - HSC & SSC Side by Side */
.education-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 16px; /* Reduced from 24px */
  margin-bottom: 20px; /* Reduced */
  padding-bottom: 20px; /* Reduced */
  border-bottom: 1px solid rgba(204, 0, 0, 0.15);
}

.education-cards-grid .education-card {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.desktop-timeline-item {
  position: relative;
  margin-bottom: 20px; /* Reduced from 30px */
  padding-bottom: 20px; /* Reduced from 30px */
  border-bottom: 1px solid rgba(204, 0, 0, 0.15);
}

.desktop-timeline-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.timeline-dot {
  position: absolute;
  left: -30px;
  top: 3px;
  width: 12px;
  height: 12px;
  background: #CC0000;
  border: 3px solid #000000;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(204, 0, 0, 0.6);
  z-index: 1;
}

.timeline-content-wrapper h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 10px 0;
}

.timeline-date,
.timeline-institution,
.timeline-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  margin-bottom: 6px;
}

.timeline-date i,
.timeline-institution i,
.timeline-location i {
  color: #CC0000;
  font-size: 0.85rem;
}

.timeline-details-desktop {
  margin-top: 12px;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  border-left: 3px solid #CC0000;
}

.timeline-details-desktop p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.timeline-details-desktop p:last-child {
  margin-bottom: 0;
}

.timeline-details-desktop strong {
  color: #CC0000;
  font-weight: 600;
}

/* ============================================
   SKILLS GRID
   ============================================ */
.desktop-skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}

.desktop-skill-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(204, 0, 0, 0.2);
  border-radius: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.desktop-skill-item:hover {
  background: rgba(204, 0, 0, 0.1);
  border-color: rgba(204, 0, 0, 0.5);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(204, 0, 0, 0.3);
}

.skill-icon-wrapper {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(204, 0, 0, 0.15);
  border-radius: 8px;
  border: 1px solid rgba(204, 0, 0, 0.3);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.desktop-skill-item:hover .skill-icon-wrapper {
  background: rgba(204, 0, 0, 0.25);
  transform: rotate(5deg) scale(1.1);
}

.skill-icon-wrapper i {
  font-size: 1.25rem;
  color: #CC0000;
}

.skill-name {
  font-size: 0.92rem;
  font-weight: 500;
  color: #ffffff;
}

/* ============================================
   LANGUAGE SKILLS - COMPACT HORIZONTAL DESIGN
   ============================================ */
.desktop-language-section-compact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
  margin-bottom: 12px;
}

.lang-compact-item {
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(204, 0, 0, 0.25);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.lang-compact-item:hover {
  background: rgba(204, 0, 0, 0.08);
  border-color: rgba(204, 0, 0, 0.5);
  transform: translateY(-3px);
}

.lang-compact-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.lang-compact-header i {
  font-size: 1.3rem;
  color: #CC0000;
}

.lang-compact-header h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.lang-level-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(204, 0, 0, 0.2);
  border: 1px solid #CC0000;
  border-radius: 6px;
  color: #FF0000;
  font-weight: 600;
  font-size: 0.95rem;
}

.lang-level-badge.native {
  background: rgba(204, 0, 0, 0.25);
  color: #FF4444;
}

.lang-skills-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.skill-grid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px 8px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  border: 1px solid rgba(204, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.skill-grid-item:hover {
  background: rgba(204, 0, 0, 0.1);
  border-color: rgba(204, 0, 0, 0.4);
  transform: translateY(-2px);
}

.skill-name {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  text-align: center;
}

.proficiency-badge {
  padding: 4px 12px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 0.75rem;
}

.prof-b2 {
  background: rgba(204, 0, 0, 0.2);
  color: #FF0000;
  border: 1px solid #CC0000;
}

.prof-b1 {
  background: rgba(204, 0, 0, 0.15);
  color: rgba(255, 0, 0, 0.8);
  border: 1px solid rgba(204, 0, 0, 0.6);
}

.proficiency-legend {
  margin-top: 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
}

.proficiency-legend i {
  color: #CC0000;
  font-size: 0.75rem;
}

/* OLD LANGUAGE STYLES - KEPT FOR BACKWARDS COMPATIBILITY */
.desktop-language-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 16px; /* Reduced from 20px */
}

.desktop-language-card {
  padding: 18px;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(204, 0, 0, 0.25);
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
}

.desktop-language-card:hover {
  background: rgba(204, 0, 0, 0.1);
  border-color: rgba(204, 0, 0, 0.5);
  transform: translateY(-5px);
}

.lang-icon-circle {
  width: 50px;
  height: 50px;
  margin: 0 auto 12px;
  background: rgba(204, 0, 0, 0.15);
  border: 2px solid #CC0000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.desktop-language-card:hover .lang-icon-circle {
  background: rgba(204, 0, 0, 0.25);
  transform: rotate(360deg) scale(1.1);
}

.lang-icon-circle i {
  font-size: 1.3rem;
  color: #CC0000;
}

.desktop-language-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 6px 0;
}

.lang-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #CC0000;
  margin-bottom: 4px;
}

.lang-note {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.proficiency-grid {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.proficiency-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 10px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 5px;
  border: 1px solid rgba(204, 0, 0, 0.2);
}

.prof-skill {
  font-weight: 500;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
}

.proficiency-note-desktop {
  margin-top: 10px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.proficiency-note-desktop i {
  color: #CC0000;
}

/* ============================================
   HOBBIES GRID
   ============================================ */
.desktop-hobbies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px; /* Reduced from 18px */
}

.desktop-hobby-card {
  text-align: center;
  padding: 24px 20px;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(204, 0, 0, 0.2);
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.desktop-hobby-card:hover {
  background: rgba(204, 0, 0, 0.1);
  border-color: rgba(204, 0, 0, 0.5);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(204, 0, 0, 0.3);
}

.desktop-hobby-card i {
  font-size: 2.5rem;
  color: #CC0000;
  margin-bottom: 12px;
  display: block;
  transition: all 0.3s ease;
}

.desktop-hobby-card:hover i {
  transform: scale(1.2) rotate(5deg);
}

.desktop-hobby-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 8px 0;
}

.desktop-hobby-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ============================================
   CLUBS & ORGANIZATIONS
   ============================================ */
.desktop-clubs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.club-header-desktop {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.club-header-desktop i {
  font-size: 1.6rem;
  color: #CC0000;
  padding: 10px;
  background: rgba(204, 0, 0, 0.15);
  border-radius: 8px;
  border: 1px solid rgba(204, 0, 0, 0.3);
  flex-shrink: 0;
}

.club-header-desktop h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 6px 0;
}

.club-date-desktop,
.club-location-desktop {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 4px;
}

.club-date-desktop i,
.club-location-desktop i {
  font-size: 0.8rem;
  color: #CC0000;
  background: none;
  border: none;
  padding: 0;
}

.club-desc-preview,
.club-desc-full {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 16px;
  font-size: 0.93rem;
}

.club-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.see-more-btn {
  padding: 8px 16px;
  background: rgba(204, 0, 0, 0.2);
  border: 1px solid rgba(204, 0, 0, 0.4);
  border-radius: 6px;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.see-more-btn:hover {
  background: rgba(204, 0, 0, 0.3);
  border-color: #CC0000;
  transform: translateY(-2px);
}

.club-link-desktop {
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(204, 0, 0, 0.3);
  border-radius: 6px;
  color: #ffffff;
  font-size: 0.9rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.club-link-desktop:hover {
  background: rgba(204, 0, 0, 0.15);
  border-color: #CC0000;
  transform: translateY(-2px);
}

.club-link-desktop i {
  font-size: 1rem;
  color: #CC0000;
  background: none;
  border: none;
  padding: 0;
}

/* ============================================
   CERTIFICATES SECTION
   ============================================ */
.desktop-certificates-preview {
  text-align: center;
}

.desktop-certificates-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

.desktop-certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-bottom: 32px;
}

.desktop-cert-category {
  padding: 28px 20px;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(204, 0, 0, 0.2);
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.desktop-cert-category:hover {
  background: rgba(204, 0, 0, 0.1);
  border-color: rgba(204, 0, 0, 0.5);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(204, 0, 0, 0.3);
}

.cert-category-icon {
  width: 65px;
  height: 65px;
  margin: 0 auto 16px;
  background: rgba(204, 0, 0, 0.15);
  border: 2px solid #CC0000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.desktop-cert-category:hover .cert-category-icon {
  background: rgba(204, 0, 0, 0.25);
  transform: rotate(360deg) scale(1.1);
}

.cert-category-icon i {
  font-size: 1.6rem;
  color: #CC0000;
}

.desktop-cert-category h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 10px 0;
}

.desktop-cert-category p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  line-height: 1.5;
}

.desktop-certificates-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #CC0000, #FF0000);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 10px;
  border: 2px solid #CC0000;
  box-shadow: 0 8px 25px rgba(204, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.desktop-certificates-btn:hover {
  background: linear-gradient(135deg, #FF0000, #CC0000);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(204, 0, 0, 0.6);
}

.desktop-certificates-btn i {
  font-size: 1.2rem;
}

/* ============================================
   RECOMMENDATION SECTION
   ============================================ */
.desktop-recommendation-card {
  background: linear-gradient(135deg, rgba(204, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.95) 100%);
  border: 2px solid rgba(204, 0, 0, 0.4);
}

.desktop-recommendation-content {
  padding: 8px;
}

.recommendation-header-desktop {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(204, 0, 0, 0.2);
}

.recommendation-header-desktop i {
  font-size: 2.5rem;
  color: #CC0000;
  padding: 12px;
  background: rgba(204, 0, 0, 0.15);
  border-radius: 50%;
  border: 2px solid rgba(204, 0, 0, 0.3);
  flex-shrink: 0;
}

.recommendation-header-desktop h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 4px 0;
}

.recommendation-header-desktop p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.93rem;
  margin: 0;
}

.recommendation-quote-desktop {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  font-style: italic;
  padding: 20px 24px;
  background: rgba(0, 0, 0, 0.5);
  border-left: 3px solid #CC0000;
  border-radius: 8px;
  margin: 0 0 20px 0;
}

.recommendation-contact-desktop {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.recommendation-contact-desktop a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(204, 0, 0, 0.15);
  border: 1px solid rgba(204, 0, 0, 0.3);
  border-radius: 6px;
  color: #ffffff;
  font-size: 0.9rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.recommendation-contact-desktop a:hover {
  background: rgba(204, 0, 0, 0.25);
  border-color: #CC0000;
  transform: translateY(-2px);
}

.recommendation-contact-desktop i {
  color: #CC0000;
  font-size: 1.1rem;
}

/* ============================================
   CV DOWNLOAD SECTION
   ============================================ */
.desktop-cv-section {
  text-align: center;
  padding: 40px 0;
  margin-top: 24px;
}

.desktop-cv-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  background: linear-gradient(135deg, #CC0000, #FF0000);
  color: #ffffff;
  border: 2px solid #CC0000;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(204, 0, 0, 0.5);
  transition: all 0.4s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.desktop-cv-btn:hover {
  background: linear-gradient(135deg, #FF0000, #CC0000);
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 40px rgba(204, 0, 0, 0.7);
}

.desktop-cv-btn i {
  font-size: 1.5rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.9) 100%);
  border-top: 2px solid #CC0000;
  padding: 24px 0;
  text-align: center;
  margin-top: 30px;
}

.footer p {
  color: rgba(255, 255, 255, 0.7);
  margin: 6px 0;
  font-size: 0.95rem;
}

.footer strong {
  color: #CC0000;
  font-weight: 700;
}

/* ============================================
   ANIMATIONS & UTILITIES
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about {
  animation: fadeInUp 0.6s ease-out;
}

/* Smooth Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #000000;
  border-left: 1px solid rgba(204, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #CC0000, #FF0000);
  border-radius: 6px;
  border: 2px solid #000000;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #FF0000, #CC0000);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1400px) {
  .container {
    max-width: 1200px;
  }
}

@media (max-width: 1200px) {
  .desktop-skills-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
  
  .desktop-hobbies-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .desktop-clubs-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  .desktop-two-column {
    grid-template-columns: 1fr;
  }
  
  .desktop-language-section {
    grid-template-columns: 1fr;
  }
  
  .desktop-certificates-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .desktop-profile-header {
    flex-direction: column;
    text-align: center;
  }
  
  .desktop-address-grid {
    grid-template-columns: 1fr;
  }
  
  .desktop-hobbies-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

/* ============================================
   PARTICLE SYSTEM JAVASCRIPT INTEGRATION
   ============================================ */
/* Note: Particles are created dynamically via JavaScript
   Add this to your HTML before </body>:
   
   <script>
   // Create engineering background with particles
   const engineeringBg = document.createElement('div');
   engineeringBg.className = 'engineering-background';
   document.body.insertBefore(engineeringBg, document.body.firstChild);
   
   // Create geometric shapes
   for (let i = 1; i <= 3; i++) {
     const shape = document.createElement('div');
     shape.className = `engineering-shape shape-${i}`;
     engineeringBg.appendChild(shape);
   }
   
   // Create particles
   for (let i = 0; i < 50; i++) {
     const particle = document.createElement('div');
     particle.className = 'particle';
     particle.style.width = Math.random() * 4 + 2 + 'px';
     particle.style.height = particle.style.width;
     particle.style.left = Math.random() * 100 + '%';
     particle.style.top = Math.random() * 100 + '%';
     particle.style.setProperty('--tx', (Math.random() - 0.5) * 200 + 'px');
     particle.style.setProperty('--ty', (Math.random() - 0.5) * 200 + 'px');
     particle.style.animationDelay = Math.random() * 5 + 's';
     particle.style.animationDuration = Math.random() * 10 + 10 + 's';
     engineeringBg.appendChild(particle);
   }
   </script>
*/

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */
.scroll-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #CC0000 0%, #990000 100%);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(100px) scale(0.8);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 9999;
  box-shadow: 
    0 4px 15px rgba(204, 0, 0, 0.4),
    0 0 30px rgba(204, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.scroll-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  animation: buttonFloat 3s ease-in-out infinite;
}

@keyframes buttonFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.02);
  }
}

.scroll-to-top-btn::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(204, 0, 0, 0.4), rgba(153, 0, 0, 0.2));
  z-index: -1;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.scroll-to-top-btn.visible::before {
  animation: borderPulse 2s ease-in-out infinite;
}

@keyframes borderPulse {
  0%, 100% {
    box-shadow: 0 0 10px rgba(204, 0, 0, 0.4);
  }
  50% {
    box-shadow: 0 0 20px rgba(204, 0, 0, 0.8);
  }
}

.scroll-to-top-btn:hover::before {
  opacity: 1;
}

.scroll-to-top-btn:hover {
  background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 
    0 6px 25px rgba(255, 0, 0, 0.6),
    0 0 40px rgba(255, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(-6px) scale(1.08);
  animation: none;
}

.scroll-to-top-btn:active {
  transform: translateY(-2px) scale(0.96);
  box-shadow: 
    0 3px 15px rgba(204, 0, 0, 0.5),
    0 0 25px rgba(204, 0, 0, 0.25);
}

.scroll-to-top-btn i {
  transition: transform 0.3s ease;
  position: relative;
  z-index: 2;
}

.scroll-to-top-btn.visible i {
  animation: arrowBounce 2s ease-in-out infinite;
}

@keyframes arrowBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.scroll-to-top-btn:hover i {
  transform: translateY(-6px);
  animation: none;
}

/* Progress Ring Styles */
.progress-ring {
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  pointer-events: none;
}

.progress-ring__circle {
  fill: none;
  stroke: url(#progressGradient);
  stroke-width: 2.5;
  stroke-dasharray: 138.23;
  stroke-dashoffset: 138.23;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.35s ease;
}

.scroll-to-top-btn.visible .progress-ring__circle {
  stroke: #00FF00;
  filter: drop-shadow(0 0 4px rgba(0, 255, 0, 0.6));
}

.scroll-to-top-btn:hover .progress-ring__circle {
  stroke: #00FF00;
  filter: drop-shadow(0 0 8px rgba(0, 255, 0, 0.8));
}

/* Keyboard Hint Animation */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Pulse animation when button appears */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 
      0 4px 15px rgba(204, 0, 0, 0.4),
      0 0 30px rgba(204, 0, 0, 0.2);
  }
  50% {
    box-shadow: 
      0 4px 20px rgba(204, 0, 0, 0.6),
      0 0 40px rgba(204, 0, 0, 0.4);
  }
}

.scroll-to-top-btn.visible {
  box-shadow: 
    0 4px 15px rgba(204, 0, 0, 0.4),
    0 0 30px rgba(204, 0, 0, 0.2);
}
