/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {

  /**
   * colors
   */

  /* gradient */
  --bg-gradient-dark: linear-gradient(
    to bottom right,
    hsl(220, 10%, 15%) 3%,
    hsl(220, 10%, 10%) 97%
  );
  --bg-gradient-code: linear-gradient(
    to bottom right,
    hsla(220, 10%, 12%, 0.7) 0%,
    hsla(220, 10%, 5%, 0) 100%
  ), hsl(220, 10%, 8%);
  --bg-gradient-accent-1: linear-gradient(
    to bottom right,
    hsl(180, 100%, 50%) 0%,
    hsla(270, 100%, 60%, 0) 50%
  );
  --bg-gradient-accent-2: linear-gradient(
    135deg,
    hsla(180, 100%, 50%, 0.3) 0%,
    hsla(270, 100%, 60%, 0) 59.86%
  ), hsl(220, 10%, 8%);
  --border-gradient-dark: linear-gradient(
    to bottom right,
    hsl(220, 10%, 25%) 0%,
    hsla(220, 10%, 25%, 0) 50%
  );
  --text-gradient-accent: linear-gradient(
    to right,
    hsl(180, 100%, 50%),
    hsl(270, 100%, 60%)
  );

  /* solid */
  --dark-blue-gray: hsl(220, 10%, 12%);
  --dark-slate: hsl(220, 10%, 8%);
  --deep-space: hsl(220, 10%, 5%);
  --cyber-black: hsl(0, 0%, 3%);
  --light-cyan: hsl(180, 100%, 85%);
  --electric-blue: hsl(180, 100%, 50%);
  --electric-purple: hsl(270, 100%, 60%);
  --cool-gray: hsl(220, 5%, 70%);
  --cool-gray-70: hsla(220, 5%, 70%, 0.7);
  --warning-red: hsl(0, 70%, 50%);

  /**
   * typography
   */

  /* font-family */
  --ff-mono: 'Space Mono', monospace;
  --ff-sans: 'Inter', sans-serif;

  /* font-size */
  --fs-1: 32px;
  --fs-2: 24px;
  --fs-3: 20px;
  --fs-4: 18px;
  --fs-5: 16px;
  --fs-6: 15px;
  --fs-7: 14px;
  --fs-8: 12px;

  /* font-weight */
  --fw-300: 300;
  --fw-400: 400;
  --fw-500: 500;
  --fw-600: 600;
  --fw-700: 700;

  /**
   * shadow
   */

  --shadow-1: 0 4px 15px hsla(0, 0%, 0%, 0.3);
  --shadow-2: 0 8px 25px hsla(0, 0%, 0%, 0.4);
  --shadow-3: 0 12px 35px hsla(0, 0%, 0%, 0.5);
  --shadow-4: 0 15px 40px hsla(0, 0%, 0%, 0.25);
  --shadow-5: 0 20px 60px hsla(0, 0%, 0%, 0.35);
  /* Adjusted glow for a more subtle, professional feel */
  --shadow-glow: 0 0 10px hsla(180, 100%, 50%, 0.5), 0 0 20px hsla(270, 100%, 60%, 0.3);

  /**
   * transition
   */

  /* Renamed for clarity and consistency in professional contexts */
  --transition-fast: 0.2s ease-out; /* For quick, snappy hover effects */
  --transition-medium: 0.4s ease-in-out; /* For general element transitions like modals or sidebar */
  --transition-slow: 0.6s ease; /* For softer, background changes or larger elements */

}

/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

/* Universal reset for consistent box-sizing */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Remove text decoration from links */
a { text-decoration: none; }

/* Remove default list styling */
li { list-style: none; }

/* Ensure these elements behave as blocks for consistent layout */
img, ion-icon, a, button, time, span { display: block; }

/* Reset button styles to inherit font and remove default browser styling */
button {
  font: inherit;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
}

/* Base styles for input and textarea for consistent appearance */
input, textarea {
  display: block;
  width: 100%;
  background: none;
  font: inherit;
}

/* Custom selection styling for a sleek look */
::selection {
  background: var(--electric-blue);
  color: var(--cyber-black);
}

/* Improved accessibility: outline only appears when navigating with keyboard (not just mouse clicks) */
:focus-visible {
  outline: 2px solid var(--electric-blue);
  outline-offset: 2px; /* Adds space between element and outline */
}

/* Set default font family for the entire document */
html { font-family: var(--ff-sans); }

/* Set default background color for the body */
body { background: var(--cyber-black); }


/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

/* Common styles for main content containers (sidebar and articles) */
.sidebar,
article {
  background: var(--dark-slate);
  border: 1px solid var(--dark-blue-gray);
  border-radius: 10px;
  padding: 20px;
  box-shadow: var(--shadow-2);
  z-index: 1;
  /* Optimized transition for smooth hover effects without lag */
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

/* Subtle glow on hover for interactive sections */
.sidebar:hover,
article:hover {
  box-shadow: var(--shadow-glow);
}

/* Horizontal separator line for content division */
.separator {
  width: 100%;
  height: 1px;
  background: var(--dark-blue-gray);
  margin: 20px 0;
}

/* Styling for icon containers, providing a distinct visual element */
.icon-box {
  position: relative;
  background: var(--border-gradient-dark);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  color: var(--electric-blue);
  box-shadow: var(--shadow-1);
  z-index: 1;
  /* Optimized transition for icon interactions */
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

/* Inner background for the icon box to create a subtle border effect */
.icon-box::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--dark-slate);
  border-radius: inherit;
  z-index: -1;
}

/* Hover effect for icon boxes: slightly larger and glowing */
.icon-box:hover {
  transform: scale(1.08); /* Slightly less aggressive scale for professionalism */
  box-shadow: var(--shadow-glow);
}

/* Custom stroke width for ion-icons for consistent visual weight */
.icon-box ion-icon { --ionicon-stroke-width: 30px; }

/* Default state for articles (hidden) */
article { display: none; }

/* Active state for articles, with a smooth fade-in animation */
article.active {
  display: block;
  /* Smoother, faster fade-in for quick content transitions */
  animation: fadeIn 0.4s ease forwards;
}

/* Keyframe animation for content fade-in */
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(15px); } /* Reduced translateY for subtlety */
  100% { opacity: 1; transform: translateY(0); }
}

/* Styling for headings (H2-H5) with monospace font and consistent color */
.h2,
.h3,
.h4,
.h5 {
  color: var(--light-cyan);
  /* Removed general text-transform: uppercase for better readability across all headings.
     Specific headings will have uppercase applied if desired for design. */
  font-family: var(--ff-mono);
}

/* Specific font sizes and weights for different heading levels */
.h2 { font-size: var(--fs-1); font-weight: var(--fw-700); }
.h3 { font-size: var(--fs-2); font-weight: var(--fw-600); }
.h4 { font-size: var(--fs-4); font-weight: var(--fw-500); }
.h5 {
  font-size: var(--fs-7);
  font-weight: var(--fw-500);
}

/* Styling for article titles with an accent underline */
.article-title {
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 25px;
}

/* Underline effect for article titles using a pseudo-element and gradient */
.article-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 4px;
  background: var(--text-gradient-accent);
  border-radius: 3px;
}

/* Custom scrollbar styling for webkit browsers */
.has-scrollbar::-webkit-scrollbar {
  width: 8px; /* for vertical scrollbar */
  height: 8px; /* for horizontal scrollbar */
}

.has-scrollbar::-webkit-scrollbar-track {
  background: var(--dark-blue-gray);
  border-radius: 8px;
}

.has-scrollbar::-webkit-scrollbar-thumb {
  background: var(--electric-blue); /* Accent color for thumb */
  border-radius: 8px;
}

.has-scrollbar::-webkit-scrollbar-button { width: 20px; }

/* Common styling for content cards (e.g., testimonial items, project items) */
.content-card {
  position: relative;
  background: var(--border-gradient-dark);
  padding: 20px;
  padding-top: 50px;
  border-radius: 10px;
  box-shadow: var(--shadow-2);
  cursor: pointer;
  z-index: 1;
  /* Optimized transition for smooth card interactions */
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

/* Inner background for content cards to create a subtle border effect */
.content-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--bg-gradient-code);
  border-radius: inherit;
  z-index: -1;
}

/* Hover effect for content cards: subtle lift and glow */
.content-card:hover {
  transform: translateY(-5px); /* Reduced lift for more professionalism */
  box-shadow: var(--shadow-glow);
}


/*-----------------------------------*\
  #MAIN
\*-----------------------------------*/

/* Main content area layout */
main {
  margin: 20px 15px;
  margin-bottom: 80px;
  min-width: 280px;
}


/*-----------------------------------*\
  #SIDEBAR
\*-----------------------------------*/

/* Sidebar container styling */
.sidebar {
  margin-bottom: 20px;
  max-height: 120px;
  overflow: hidden;
  /* Smooth transition for sidebar expansion/collapse */
  transition: max-height var(--transition-medium), transform var(--transition-medium), box-shadow var(--transition-fast);
  transform: translateY(0);
}

/* Active state for sidebar when expanded */
.sidebar.active {
  max-height: 450px;
  transform: translateY(0);
}

/* Sidebar information section layout */
.sidebar-info {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
}

/* Avatar box styling with gradient background */
.avatar-box {
  background: var(--bg-gradient-dark);
  border-radius: 15px;
  padding: 5px;
}

/* Avatar image styling */
.avatar-box img {
  border-radius: 10px;
}

/* Name styling in sidebar */
.info-content .name {
  color: var(--light-cyan);
  font-size: var(--fs-3);
  font-weight: var(--fw-600);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  /* Name is typically not uppercase for a professional personal brand */
}

/* Title/profession styling in sidebar, now in initial caps for a distinct label */
.info-content .title {
  color: var(--electric-blue);
  background: var(--dark-blue-gray);
  font-size: var(--fs-8);
  font-weight: var(--fw-400);
  width: max-content;
  padding: 5px 15px;
  border-radius: 6px;
  /* Removed text-transform: uppercase for initial caps */
  letter-spacing: 1px;
}

/* "More Info" button styling for sidebar expansion */
.info_more-btn {
  position: absolute;
  top: -20px;
  right: -20px;
  border-radius: 0 10px;
  font-size: var(--fs-8);
  color: var(--electric-blue);
  background: var(--border-gradient-dark);
  padding: 12px;
  box-shadow: var(--shadow-2);
  z-index: 1;
  /* Optimized transition for button interaction */
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

/* Inner background for the "More Info" button */
.info_more-btn::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: var(--bg-gradient-code);
  transition: background var(--transition-fast);
  z-index: -1;
}

/* Hover/focus effects for the "More Info" button */
.info_more-btn:hover,
.info_more-btn:focus-visible {
  background: var(--bg-gradient-accent-1);
  transform: scale(1.05); /* Slightly less aggressive scale */
  box-shadow: var(--shadow-glow);
}

.info_more-btn:hover::before,
.info_more-btn:focus-visible::before { background: var(--bg-gradient-accent-2); }

/* Hide text span in mobile view */
.info_more-btn span { display: none; }

/* Hidden state for additional sidebar info */
.sidebar-info_more {
  opacity: 0;
  visibility: hidden;
  /* Smooth transition for showing/hiding additional info */
  transition: opacity var(--transition-medium), visibility var(--transition-medium);
}

/* Visible state for additional sidebar info */
.sidebar.active .sidebar-info_more {
  opacity: 1;
  visibility: visible;
}

/* Layout for contact list in sidebar */
.contacts-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

/* Individual contact item styling */
.contact-item {
  min-width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Contact information text area */
.contact-info {
  max-width: calc(100% - 60px);
  width: calc(100% - 60px);
}

/* Title for contact details (e.g., "Email", "Phone"), kept uppercase for labeling */
.contact-title {
  color: var(--cool-gray-70);
  font-size: var(--fs-8);
  text-transform: uppercase;
  margin-bottom: 4px;
  font-family: var(--ff-mono);
}

/* Styling for contact links, time, and address */
.contact-info :is(.contact-link, time, address) {
  color: var(--light-cyan);
  font-size: var(--fs-7);
  font-family: var(--ff-mono);
}

/* Reset font style for address */
.contact-info address { font-style: normal; }

/* Layout for social media links */
.social-list {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  padding-bottom: 6px;
  padding-left: 10px;
}

/* Individual social link styling */
.social-item .social-link {
  color: var(--cool-gray-70);
  font-size: 20px;
  /* Optimized transition for social link interactions */
  transition: color var(--transition-fast), transform var(--transition-fast);
}

/* Hover effect for social links: accent color and subtle lift/scale */
.social-item .social-link:hover {
  color: var(--electric-blue);
  transform: translateY(-3px) scale(1.05); /* Softer lift and scale */
}


/*-----------------------------------*\
  #NAVBAR
\*-----------------------------------*/

/* Fixed navigation bar at the bottom of the screen */
.navbar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: hsla(220, 10%, 8%, 0.85); /* Darker, more opaque background */
  backdrop-filter: blur(15px); /* Stronger blur for modern look */
  border: 1px solid var(--dark-blue-gray);
  border-radius: 15px 15px 0 0;
  box-shadow: var(--shadow-3);
  z-index: 5;
}

/* Layout for navigation list items */
.navbar-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 0 15px;
}

/* Individual navigation link styling */
.navbar-link {
  color: var(--cool-gray);
  font-size: var(--fs-8);
  padding: 22px 10px;
  /* Optimized transition for navigation links */
  transition: color var(--transition-fast), transform var(--transition-fast);
  font-family: var(--ff-mono);
  text-transform: uppercase; /* Kept uppercase for navigation links for clear labeling */
  letter-spacing: 0.5px;
}

/* Hover/focus and active effects for navigation links */
.navbar-link:hover,
.navbar-link:focus-visible {
  color: var(--electric-blue);
  transform: translateY(-3px); /* Softer lift */
}

.navbar-link.active {
  color: var(--electric-blue);
  transform: translateY(-3px);
}


/*-----------------------------------*\
  #ABOUT
\*-----------------------------------*/

/* Margin for article title in About section */
.about .article-title { margin-bottom: 20px; }

/* Styling for general text in About section */
.about-text {
  color: var(--cool-gray);
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
  line-height: 1.7;
}

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

/**
 * #service
 */

/* Margin for service section */
.service { margin-bottom: 40px; }

/* Margin for service section title */
.service-title { margin-bottom: 25px; }

/* Layout for service items */
.service-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

/* Individual service item styling */
.service-item {
  position: relative;
  background: var(--border-gradient-dark);
  padding: 25px;
  border-radius: 10px;
  box-shadow: var(--shadow-2);
  z-index: 1;
  /* Optimized transition for service item interactions */
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

/* Inner background for service items */
.service-item::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--bg-gradient-code);
  border-radius: inherit;
  z-index: -1;
}

/* Hover effect for service items: subtle lift and glow */
.service-item:hover {
  transform: translateY(-5px); /* Reduced lift for professionalism */
  box-shadow: var(--shadow-glow);
}

/* Margin for service icon box */
.service-icon-box { margin-bottom: 15px; }

/* Center service icon images */
.service-icon-box img { margin: auto; }

/* Center text content in service box */
.service-content-box { text-align: center; }

/* Title for service items, kept uppercase for clear labeling */
.service-item-title {
  margin-bottom: 10px;
  color: var(--light-cyan);
  font-family: var(--ff-mono);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Text content for service items */
.service-item-text {
  color: var(--cool-gray);
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
  line-height: 1.7;
}


/**
 * #testimonials
 */

/* Margin for testimonials section */
.testimonials { margin-bottom: 35px; }

/* Margin for testimonials section title */
 .testimonials-title { margin-bottom: 25px; }

/* Layout for testimonials list (horizontal scrollable) */
 .testimonials-list {
   display: flex;
   justify-content: flex-start;
   align-items: flex-start;
   gap: 20px;
   margin: 0 -20px;
   padding: 30px 20px;
   padding-bottom: 40px;
   overflow-x: auto;
   scroll-behavior: smooth;
   overscroll-behavior-inline: contain;
   scroll-snap-type: inline mandatory;
 }

/* Individual testimonial item styling */
 .testimonials-item {
   min-width: 100%;
   scroll-snap-align: center;
   /* Optimized transition for testimonial item interactions */
   transition: transform var(--transition-fast), box-shadow var(--transition-fast);
 }

/* Hover effect for testimonial items: subtle lift and glow */
 .testimonials-item:hover {
   transform: translateY(-5px); /* Reduced lift */
   box-shadow: var(--shadow-glow);
 }

/* Avatar box for testimonials */
 .testimonials-avatar-box {
   position: absolute;
   top: 0;
   left: 0;
   transform: translate(20px, -30px);
   background: var(--bg-gradient-dark);
   border-radius: 10px;
   box-shadow: var(--shadow-1);
   width: 70px;
   height: 70px;
   display: flex;
   justify-content: center;
   align-items: center;
   overflow: hidden;
 }

/* Avatar image styling */
 .testimonials-avatar-box img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   border-radius: 8px;
 }

/* Title for testimonial items (person's name), kept uppercase for clear labeling */
 .testimonials-item-title {
   margin-bottom: 8px;
   color: var(--light-cyan);
   font-family: var(--ff-mono);
   text-transform: uppercase;
   letter-spacing: 0.5px;
 }

/* Text content for testimonials, with line clamping for truncation */
 .testimonials-text {
   color: var(--cool-gray);
   font-size: var(--fs-6);
   font-weight: var(--fw-300);
   line-height: 1.7;
   display: -webkit-box;
   -webkit-line-clamp: 4; /* Truncate text to 4 lines */
   -webkit-box-orient: vertical;
   overflow: hidden;
 }

 /**
  * #testimonials-modal
  */

/* Full-screen modal container */
 .modal-container {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   display: flex;
   justify-content: center;
   align-items: center;
   overflow-y: auto;
   overscroll-behavior: contain;
   z-index: 20;
   pointer-events: none;
   visibility: hidden;
 }

/* Hide scrollbar for modal container */
 .modal-container::-webkit-scrollbar { display: none; }

/* Active state for modal container (visible and interactive) */
 .modal-container.active {
   pointer-events: all;
   visibility: visible;
 }

/* Overlay background for the modal */
 .overlay {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100vh;
   background: hsla(0, 0%, 0%, 0.9);
   opacity: 0;
   visibility: hidden;
   pointer-events: none;
   z-index: 1;
   /* Optimized transition for overlay fade */
   transition: opacity var(--transition-fast);
 }

/* Active state for overlay (fully opaque) */
 .overlay.active {
   opacity: 1;
   visibility: visible;
   pointer-events: all;
 }

/* Testimonials modal content box */
 .testimonials-modal {
   background: var(--dark-slate);
   position: relative;
   padding: 20px;
   margin: 20px 15px;
   border: 1px solid var(--dark-blue-gray);
   border-radius: 10px;
   box-shadow: var(--shadow-5);
   transform: scale(1.1);
   opacity: 0;
   /* Optimized transition for modal appearance */
   transition: transform var(--transition-fast), opacity var(--transition-fast);
   z-index: 2;
 }

/* Active state for testimonials modal (visible and scaled to normal size) */
 .modal-container.active .testimonials-modal {
   transform: scale(1);
   opacity: 1;
 }

/* Close button for the modal */
 .modal-close-btn {
   position: absolute;
   top: 15px;
   right: 15px;
   background: var(--dark-blue-gray);
   border-radius: 6px;
   width: 35px;
   height: 35px;
   display: flex;
   justify-content: center;
   align-items: center;
   color: var(--light-cyan);
   font-size: 20px;
   opacity: 0.8;
   /* Optimized transition for close button interaction */
   transition: opacity var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
 }

/* Hover/focus effect for modal close button */
 .modal-close-btn:hover,
 .modal-close-btn:focus-visible {
    opacity: 1;
    color: var(--electric-blue);
    box-shadow: 0 0 10px var(--electric-blue);
 }

/* Custom stroke width for close button icon */
 .modal-close-btn ion-icon { --ionicon-stroke-width: 40px; }

/* Avatar box within the modal */
 .modal-avatar-box {
   background: var(--bg-gradient-dark);
   width: 90px;
   height: 90px;
   border-radius: 10px;
   margin-bottom: 20px;
   box-shadow: var(--shadow-2);
   display: flex;
   justify-content: center;
   align-items: center;
   overflow: hidden;
 }

/* Avatar image within the modal */
 .modal-avatar-box img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   border-radius: 8px;
 }

/* Hide image wrapper in modal (if used for layout) */
 .modal-img-wrapper > img { display: none; }

/* Title within the modal, kept uppercase for clear labeling */
 .modal-title {
   margin-bottom: 6px;
   color: var(--light-cyan);
   font-family: var(--ff-mono);
   text-transform: uppercase;
   letter-spacing: 0.5px;
 }

/* Timestamp styling within the modal content */
 .modal-content time {
   font-size: var(--fs-7);
   color: var(--cool-gray-70);
   font-weight: var(--fw-300);
   margin-bottom: 12px;
   font-family: var(--ff-mono);
 }

/* Paragraph text within the modal content */
 .modal-content p {
   color: var(--cool-gray);
   font-size: var(--fs-6);
   font-weight: var(--fw-300);
   line-height: 1.7;
 }

/**
 * #coding credentials
 */

/* Margin for coding platform section */
 .platform { margin-bottom: 20px; }

/* Layout for coding platform list (horizontal scrollable) */
 .platform-list {
   display: flex;
   justify-content: flex-start;
   align-items: flex-start;
   gap: 20px;
   margin: 0 -20px;
   padding: 30px;
   padding-bottom: 30px;
   overflow-x: auto;
   scroll-behavior: smooth;
   overscroll-behavior-inline: contain;
   scroll-snap-type: inline mandatory;
   scroll-padding-inline: 30px;
 }

/* Individual platform item styling */
 .platform-item {
   min-width: 50%;
   scroll-snap-align: start;
 }

/* Platform logo image styling */
 .platform-item img {
   width: 100%;
   max-width: 120px;
   height: auto;
   filter: grayscale(0.8);
   /* Optimized transition for platform logo interactions */
   transition: transform var(--transition-fast), filter var(--transition-fast), box-shadow var(--transition-fast);
 }

/* Hover effect for platform logos: full color, brighter, subtle zoom, and glow */
 .platform-item img:hover {
   filter: grayscale(0) brightness(1.1); /* Slightly less bright for professionalism */
   transform: scale(1.1); /* Reduced zoom for subtlety */
   box-shadow: var(--shadow-glow);
 }


/*-----------------------------------*\
  #RESUME
\*-----------------------------------*/

/* Margin for article title in Resume section */
.article-title { margin-bottom: 35px; }


/**
 * education and experience
 */

/* Margin for timeline section */
.timeline { margin-bottom: 35px; }

/* Layout for timeline title and icon */
.timeline .title-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

/* Base font size for timeline list items */
.timeline-list {
  font-size: var(--fs-6);
  margin-left: 55px;
}

/* Individual timeline item styling */
.timeline-item { position: relative; }

/* Margin between timeline items */
.timeline-item:not(:last-child) { margin-bottom: 25px; }

/* Title for timeline items (e.g., degree, job title), kept uppercase for clear labeling */
.timeline-item-title {
  font-size: var(--fs-6);
  line-height: 1.4;
  margin-bottom: 8px;
  color: var(--light-cyan);
  font-family: var(--ff-mono);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Styling for institution/company names in timeline */
.timeline-list span {
  color: var(--electric-purple);
  font-weight: var(--fw-500);
  line-height: 1.7;
  font-family: var(--ff-mono);
}

/* Vertical line connecting timeline items */
.timeline-item:not(:last-child)::before {
  content: "";
  position: absolute;
  top: -30px;
  left: -35px;
  width: 2px;
  height: calc(100% + 60px);
  background: var(--dark-blue-gray);
}

/* Dot indicator for each timeline item */
.timeline-item::after {
  content: "";
  position: absolute;
  top: 8px;
  left: -38px;
  height: 10px;
  width: 10px;
  background: var(--text-gradient-accent);
  border-radius: 50%;
  box-shadow: 0 0 0 5px var(--dark-slate);
}

/* Text content for timeline items */
.timeline-text {
  color: var(--cool-gray);
  font-weight: var(--fw-300);
  line-height: 1.7;
}


/**
 * skills
 */

/* Margin for skills section title */
.skills-title { margin-bottom: 25px; }

/* Padding for skills list */
.skills-list { padding: 25px; }

/* Margin between individual skill items */
.skills-item:not(:last-child) { margin-bottom: 20px; }

/* Layout for skill title and percentage */
.skill .title-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

/* Styling for skill percentage data */
.skill .title-wrapper data {
  color: var(--light-cyan);
  font-size: var(--fs-7);
  font-weight: var(--fw-400);
  font-family: var(--ff-mono);
}

/* Background for skill progress bar */
.skill-progress-bg {
  background: var(--dark-blue-gray);
  width: 100%;
  height: 10px;
  border-radius: 10px;
}

/* Fill for skill progress bar with gradient */
.skill-progress-fill {
  background: var(--text-gradient-accent);
  height: 100%;
  border-radius: inherit;
}


/*-----------------------------------*\
  #PORTFOLIO
\*-----------------------------------*/

/* Hide filter list by default (shown on larger screens) */
.filter-list { display: none; }

/* Container for filter select box (for mobile/tablet) */
.filter-select-box {
  position: relative;
  margin-bottom: 30px;
}

/* Styling for the filter select dropdown button */
.filter-select {
  background: var(--dark-slate);
  color: var(--light-cyan);
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 15px 20px;
  border: 1px solid var(--dark-blue-gray);
  border-radius: 10px;
  font-size: var(--fs-6);
  font-weight: var(--fw-400);
  font-family: var(--ff-mono);
  text-transform: uppercase; /* Kept uppercase for filter select label */
}

/* Rotate icon when filter select is active */
.filter-select.active .select-icon { transform: rotate(0.5turn); }

/* Styling for the dropdown list of filter options */
.select-list {
  background: var(--dark-slate);
  position: absolute;
  top: calc(100% + 8px);
  width: 100%;
  padding: 8px;
  border: 1px solid var(--dark-blue-gray);
  border-radius: 10px;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  /* Optimized transition for dropdown visibility */
  transition: opacity var(--transition-fast), visibility var(--transition-fast);
}

/* Show dropdown list when filter select is active */
.filter-select.active + .select-list {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

/* Styling for individual filter options in the dropdown */
.select-item button {
  background: var(--dark-slate);
  color: var(--cool-gray);
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
  text-transform: uppercase; /* Kept uppercase for select items */
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  font-family: var(--ff-mono);
}

/* Hover effect for filter options */
.select-item button:hover { background: var(--dark-blue-gray); color: var(--electric-blue); }

/* Layout for project list */
.project-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 35px;
  margin-bottom: 15px;
}

/* Hide project items by default */
.project-item { display: none; }

/* Active state for project items with a scale-up animation */
.project-item.active {
  display: block;
  animation: scaleUp 0.3s ease forwards;
}

/* Keyframe animation for project item scale-up */
@keyframes scaleUp {
  0% { transform: scale(0.9); opacity: 0; } /* Slightly less aggressive scale */
  100% { transform: scale(1); opacity: 1; }
}

/* Ensure project item link takes full width */
.project-item > a { width: 100%; }

/* Project image container styling */
.project-img {
  position: relative;
  width: 100%;
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 18px;
  box-shadow: var(--shadow-1);
}

/* Overlay for project image on hover */
.project-img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 1;
  /* Optimized transition for overlay */
  transition: background var(--transition-fast);
}

/* Gradient overlay on project image hover */
.project-item > a:hover .project-img::before {
  background: linear-gradient(to top, hsla(270, 100%, 60%, 0.3) 0%, hsla(180, 100%, 50%, 0) 100%); /* Softer gradient */
}

/* Icon box for project items on hover */
.project-item-icon-box {
  --scale: 0.7;

  background: var(--dark-blue-gray);
  color: var(--electric-blue);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(var(--scale));
  font-size: 22px;
  padding: 20px;
  border-radius: 10px;
  opacity: 0;
  z-index: 1;
  /* Optimized transition for icon box appearance */
  transition: transform var(--transition-fast), opacity var(--transition-fast), box-shadow var(--transition-fast);
}

/* Hover effect for project item icon box: visible, scaled, and glowing */
.project-item > a:hover .project-item-icon-box {
  --scale: 1;
  opacity: 1;
  box-shadow: 0 0 10px var(--electric-blue); /* Slightly less intense glow */
}

/* Custom stroke width for project item icon */
.project-item-icon-box ion-icon { --ionicon-stroke-width: 45px; }

/* Project image styling */
.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-fast);
}

/* Zoom effect on project image hover */
.project-item > a:hover img { transform: scale(1.1); /* Reduced zoom for subtlety */ }

/* Margins for project title and category */
.project-title,
.project-category { margin-left: 12px; }

/* Project title styling, kept uppercase for clear labeling */
.project-title {
  color: var(--light-cyan);
  font-size: var(--fs-5);
  font-weight: var(--fw-500);
  text-transform: uppercase;
  line-height: 1.4;
  font-family: var(--ff-mono);
}

/* Project category styling, not uppercase for better readability and hierarchy */
.project-category {
  color: var(--cool-gray);
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
  font-family: var(--ff-mono);
}


/*-----------------------------------*\
  #BLOG
\*-----------------------------------*/

/* Margin for blog posts section */
.blog-posts { margin-bottom: 15px; }

/* Layout for blog posts list */
.blog-posts-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

/* Individual blog post item styling */
.blog-post-item > a {
  position: relative;
  background: var(--border-gradient-dark);
  height: 100%;
  box-shadow: var(--shadow-4);
  border-radius: 12px;
  z-index: 1;
  /* Optimized transition for blog post item interactions */
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

/* Inner background for blog post items */
.blog-post-item > a::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: var(--dark-slate);
  z-index: -1;
}

/* Hover effect for blog post items: subtle lift and glow */
.blog-post-item > a:hover {
  transform: translateY(-5px); /* Reduced lift */
  box-shadow: var(--shadow-glow);
}

/* Blog banner image container */
.blog-banner-box {
  width: 100%;
  height: 220px;
  border-radius: 10px;
  overflow: hidden;
}

/* Blog banner image styling */
.blog-banner-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-fast);
}

/* Zoom effect on blog banner image hover */
.blog-post-item > a:hover .blog-banner-box img { transform: scale(1.1); /* Reduced zoom */ }

/* Padding for blog content */
.blog-content { padding: 20px; }

/* Layout for blog metadata (category, date) */
.blog-meta {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

/* Styling for blog category and time, kept uppercase for labeling */
.blog-meta :is(.blog-category, time) {
  color: var(--cool-gray-70);
  font-size: var(--fs-7);
  font-weight: var(--fw-300);
  font-family: var(--ff-mono);
  text-transform: uppercase;
}

/* Dot separator in blog metadata */
.blog-meta .dot {
  background: var(--cool-gray-70);
  width: 5px;
  height: 5px;
  border-radius: 5px;
}

/* Blog item title styling, kept uppercase for clear labeling */
.blog-item-title {
  margin-bottom: 12px;
  line-height: 1.4;
  transition: color var(--transition-fast);
  color: var(--light-cyan);
  font-family: var(--ff-mono);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hover effect for blog item title: accent color */
.blog-post-item > a:hover .blog-item-title { color: var(--electric-blue); }

/* Blog text content styling */
.blog-text {
  color: var(--cool-gray);
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
  line-height: 1.7;
}


/*-----------------------------------*\
  #CONTACT
\*-----------------------------------*/

/* Mapbox container styling */
.mapbox {
  position: relative;
  height: 280px;
  width: 100%;
  border-radius: 12px;
  margin-bottom: 35px;
  border: 1px solid var(--dark-blue-gray);
  overflow: hidden;
}

/* Ensure map figure takes full height */
.mapbox figure { height: 100%; }

/* Map iframe styling with grayscale and hue rotation for a techy look */
.mapbox iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(1) invert(0.8) hue-rotate(180deg);
}

/* Margin for contact form */
.contact-form { margin-bottom: 15px; }

/* Margin for form title */
.form-title { margin-bottom: 25px; }

/* Layout for input fields in the form */
.input-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

/* Styling for form input fields */
.form-input {
  color: var(--light-cyan);
  font-size: var(--fs-6);
  font-weight: var(--fw-400);
  padding: 15px 20px;
  border: 1px solid var(--dark-blue-gray);
  border-radius: 10px;
  outline: none;
  background: var(--dark-blue-gray);
  font-family: var(--ff-mono);
}

/* Placeholder text styling */
.form-input::placeholder {
    font-weight: var(--fw-500);
    color: var(--cool-gray-70);
}

/* Focus effect for form inputs: accent border and subtle glow */
.form-input:focus-visible {
    border-color: var(--electric-blue);
    box-shadow: 0 0 10px hsla(180, 100%, 50%, 0.5);
}

/* Styling for textarea, allowing vertical resizing */
textarea.form-input {
  min-height: 120px;
  height: 150px;
  max-height: 250px;
  resize: vertical;
  margin-bottom: 30px;
}

/* Hide webkit resizer handle for textarea */
textarea.form-input::-webkit-resizer { display: none; }

/* Warning focus effect for invalid inputs */
.form-input:focus-visible:invalid {
    border-color: var(--warning-red);
    box-shadow: 0 0 10px hsla(0, 70%, 50%, 0.5);
}

/* Styling for form submission button */
.form-btn {
  position: relative;
  width: 100%;
  background: var(--border-gradient-dark);
  color: var(--electric-blue);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 16px 25px;
  border-radius: 10px;
  font-size: var(--fs-6);
  text-transform: uppercase; /* Kept uppercase for prominent buttons */
  font-weight: var(--fw-600);
  box-shadow: var(--shadow-3);
  z-index: 1;
  /* Optimized transition for button interactions */
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  font-family: var(--ff-mono);
  letter-spacing: 0.5px;
}

/* Inner background for the form button */
.form-btn::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--bg-gradient-code);
  border-radius: inherit;
  z-index: -1;
  transition: background var(--transition-fast);
}

/* Icon size for form button */
.form-btn ion-icon { font-size: 18px; }

/* Hover effect for form button: accent background, subtle lift, and glow */
.form-btn:hover {
  background: var(--bg-gradient-accent-1);
  transform: translateY(-3px); /* Reduced lift */
  box-shadow: var(--shadow-glow);
}

.form-btn:hover::before { background: var(--bg-gradient-accent-2); }

/* Styling for disabled form button */
.form-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Reset hover effect for disabled button */
.form-btn:disabled:hover {
    background: var(--border-gradient-dark);
    box-shadow: var(--shadow-3);
}

.form-btn:disabled:hover::before { background: var(--bg-gradient-code); }


/*-----------------------------------*\
  #RESPONSIVE
\*-----------------------------------*/

/**
 * responsive larger than 450px screen
 */

@media (min-width: 450px) {

  /**
   * client
   */

  .clients-item { min-width: calc(33.33% - 15px); }


  /**
   * #PORTFOLIO, BLOG
   */

  .project-img,
  .blog-banner-box { height: auto; }

}


/**
 * responsive larger than 580px screen
 */

@media (min-width: 580px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-1: 40px;
    --fs-2: 30px;
    --fs-3: 24px;
    --fs-4: 20px;
    --fs-6: 16px;
    --fs-7: 16px;
    --fs-8: 14px;

  }


  /**
   * #REUSED STYLE
   */

  .sidebar, article {
    width: 560px;
    margin-inline: auto;
    padding: 35px;
    border-radius: 15px;
  }

  .article-title {
    font-weight: var(--fw-700);
    padding-bottom: 18px;
  }

  .article-title::after {
    width: 60px;
    height: 5px;
  }

  .icon-box {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    font-size: 22px;
  }


  /**
   * #MAIN
   */

  main {
    margin-top: 70px;
    margin-bottom: 120px;
  }


  /**
   * #SIDEBAR
   */

  .sidebar {
    max-height: 200px;
    margin-bottom: 35px;
  }

  .sidebar.active { max-height: 650px; }

  .sidebar-info { gap: 30px; }

  .avatar-box { border-radius: 20px; }

  .avatar-box img { width: 140px; }

  .info-content .name { margin-bottom: 12px; }

  .info-content .title { padding: 6px 20px; }

  .info_more-btn {
    top: -25px;
    right: -25px;
    padding: 12px 18px;
  }

  .info_more-btn span {
    display: block;
    font-size: var(--fs-8);
  }

  .info_more-btn ion-icon { display: none; }

  .separator { margin: 35px 0; }

  .contacts-list { gap: 25px; }

  .contact-info {
    max-width: calc(100% - 75px);
    width: calc(100% - 75px);
  }


  /**
   * #NAVBAR
   */

  .navbar { border-radius: 20px 20px 0 0; }

  .navbar-list { gap: 25px; }

  .navbar-link { --fs-8: 15px; }


  /**
   * #ABOUT
   */

  .about .article-title { margin-bottom: 25px; }

  .about-text { margin-bottom: 45px; }

  /* service */

  .service-item {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
    padding: 35px;
    border-radius: 15px;
  }

  .service-icon-box {
    margin-bottom: 0;
    margin-top: 8px;
  }

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

  /* testimonials */

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

  .testimonials-list {
    gap: 35px;
    margin: 0 -35px;
    padding: 35px;
    padding-bottom: 40px;
  }

  .content-card {
    padding: 35px;
    padding-top: 30px;
    border-radius: 15px;
  }

  .testimonials-avatar-box {
    transform: translate(35px, -35px);
    border-radius: 15px;
    width: 80px;
    height: 80px;
  }

  .testimonials-avatar-box img { width: 100%; border-radius: 12px; }

  .testimonials-item-title {
    margin-bottom: 12px;
    margin-left: 100px;
  }

  .testimonials-text {
    -webkit-line-clamp: 2;
  }

  /* testimonials modal */

  .modal-container { padding: 30px; }

  .testimonials-modal {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    gap: 30px;
    padding: 35px;
    border-radius: 15px;
  }

  .modal-avatar-box {
    border-radius: 15px;
    width: 100px;
    height: 100px;
  }

  .modal-avatar-box img { width: 100%; border-radius: 12px; }

  .modal-img-wrapper > img {
    display: block;
    flex-grow: 1;
    width: 40px;
  }

  /* clients */

  .clients-list {
    gap: 60px;
    margin: 0 -35px;
    padding: 50px;
    scroll-padding-inline: 50px;
  }

  .clients-item { min-width: calc(33.33% - 40px); }


  /**
   * #RESUME
   */

  .timeline-list { margin-left: 75px; }

  .timeline-item:not(:last-child)::before { left: -45px; }

  .timeline-item::after {
    height: 12px;
    width: 12px;
    left: -48px;
  }

  .skills-item:not(:last-child) { margin-bottom: 30px; }


  /**
   * #PORTFOLIO, BLOG
   */

  .project-img, .blog-banner-box { border-radius: 18px; }

  .blog-posts-list { gap: 35px; }

  .blog-content { padding: 30px; }


  /**
   * #CONTACT
   */

  .mapbox {
    height: 420px;
    border-radius: 20px;
  }

  .input-wrapper {
    gap: 35px;
    margin-bottom: 35px;
  }

  .form-input { padding: 18px 25px; }

  textarea.form-input { margin-bottom: 35px; }

  .form-btn {
    --fs-6: 18px;
    padding: 18px 30px;
  }

  .form-btn ion-icon { font-size: 20px; }

}


/**
 * responsive larger than 768px screen
 */

@media (min-width: 768px) {

  /**
   * REUSED STYLE
   */

  .sidebar, article { width: 720px; }

  .has-scrollbar::-webkit-scrollbar-button { width: 120px; }


  /**
   * SIDEBAR
   */

  .contacts-list {
    grid-template-columns: 1fr 1fr;
    gap: 35px 20px;
  }


  /**
   * NAVBAR
   */

  .navbar-link { --fs-8: 16px; }


  /**
   * ABOUT
   */

  /* testimonials modal */

  .testimonials-modal {
    gap: 40px;
    max-width: 750px;
  }

  .modal-avatar-box img { width: 90px; }


  /**
   * PORTFOLIO
   */

  .article-title { padding-bottom: 25px; }

  .filter-select-box { display: none; }

  .filter-list {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 30px;
    padding-left: 8px;
    margin-bottom: 35px;
  }

  .filter-item button {
    color: var(--cool-gray);
    font-size: var(--fs-5);
    transition: color var(--transition-fast);
    font-family: var(--ff-mono);
    text-transform: uppercase; /* Kept uppercase for filter buttons */
  }

  .filter-item button:hover { color: var(--electric-blue); }

  .filter-item button.active { color: var(--electric-blue); }

  /* portfolio and blog grid */

  .project-list, .blog-posts-list { grid-template-columns: 1fr 1fr; }


  /**
   * CONTACT
   */

  .input-wrapper { grid-template-columns: 1fr 1fr; }

  .form-btn {
    width: max-content;
    margin-left: auto;
  }

}


/**
 * responsive larger than 1024px screen
 */

@media (min-width: 1024px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * shadow
     */

    --shadow-1: 0 4px 15px hsla(0, 0%, 0%, 0.2);
    --shadow-2: 0 8px 25px hsla(0, 0%, 0%, 0.3);
    --shadow-3: 0 12px 35px hsla(0, 0%, 0%, 0.4);

  }


  /**
   * REUSED STYLE
   */

  .sidebar, article {
    width: 980px;
    box-shadow: var(--shadow-5);
  }


  /**
   * MAIN
   */

  main { margin-bottom: 70px; }

  .main-content {
    position: relative;
    width: max-content;
    margin: auto;
  }


  /**
   * NAVBAR
   */

  .navbar {
    position: absolute;
    bottom: auto;
    top: 0;
    left: auto;
    right: 0;
    width: max-content;
    border-radius: 0 25px;
    padding: 0 25px;
    box-shadow: none;
  }

  .navbar-list {
    gap: 35px;
    padding: 0 25px;
  }

  .navbar-link { font-weight: var(--fw-600); }


  /**
   * ABOUT
   */

  /* service */

  .service-list {
    grid-template-columns: 1fr 1fr;
    gap: 25px 30px;
  }

  /* testimonials */

  .testimonials-item { min-width: calc(50% - 20px); }

  /* clients */

  .clients-item { min-width: calc(25% - 45px); }


  /**
   * PORTFOLIO
   */

  .project-list { grid-template-columns: repeat(3, 1fr); }


  /**
   * BLOG
   */

  .blog-banner-box { height: 250px; }

}


/**
 * responsive larger than 1250px screen
 */

@media (min-width: 1250px) {

  /**
   * RESET
   */

  body::-webkit-scrollbar { width: 20px; }

  body::-webkit-scrollbar-track { background: var(--cyber-black); }

  body::-webkit-scrollbar-thumb {
    border: 5px solid var(--cyber-black);
    background: hsla(180, 100%, 50%, 0.2);
    border-radius: 20px;
    box-shadow: inset 1px 1px 0 hsla(180, 100%, 50%, 0.1),
                inset -1px -1px 0 hsla(270, 100%, 60%, 0.1);
  }

  body::-webkit-scrollbar-thumb:hover { background: hsla(180, 100%, 50%, 0.3); }

  body::-webkit-scrollbar-button { height: 70px; }


  /**
   * REUSED STYLE
   */

  .sidebar, article { width: auto; }

  article { min-height: 100%; }


  /**
   * MAIN
   */

  main {
    max-width: 1300px;
    margin-inline: auto;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
  }

  .main-content {
    min-width: 78%;
    width: 78%;
    margin: 0;
  }


  /**
   * SIDEBAR
   */

  .sidebar {
    position: sticky;
    top: 70px;
    max-height: max-content;
    height: 100%;
    margin-bottom: 0;
    padding-top: 70px;
    z-index: 1;
  }

  .sidebar-info { flex-direction: column; }

  .avatar-box img { width: 160px; }

  .info-content .name {
    white-space: nowrap;
    text-align: center;
  }

  .info-content .title { margin: auto; }

  .info_more-btn { display: none; }

  .sidebar-info_more {
    opacity: 1;
    visibility: visible;
  }

  .contacts-list { grid-template-columns: 1fr; }

  .contact-info :is(.contact-link) {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .contact-info :is(.contact-link, time, address) {
    --fs-7: 15px;
    font-weight: var(--fw-300);
  }

  .separator:last-of-type {
    margin: 20px 0;
    opacity: 0;
  }

  .social-list { justify-content: center; }


  /**
   * RESUME
   */

  .timeline-text { max-width: 800px; }

}
