/** * Template Name: iPortfolio * Template URL: https://bootstrapmade.com/iportfolio-bootstrap-portfolio-websites-template/ * Updated: Jun 29 2024 with Bootstrap v5.3.3 * Author: BootstrapMade.com * License: https://bootstrapmade.com/license/ */
/*-------------------------------------------------------------- # Font & Color Variables # Help: https://bootstrapmade.com/color-system/ --------------------------------------------------------------*/
/* Fonts */
 :root {
     --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
     --heading-font: "Raleway", sans-serif;
     --nav-font: "Poppins", sans-serif;
}
/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
 :root {
     --background-color: #ffffff;
    /* Background color for the entire website, including individual sections */
     --default-color: #272829;
    /* Default color used for the majority of the text content across the entire website */
     --heading-color: #050d18;
    /* Color for headings, subheadings and title throughout the website */
     --accent-color: #149ddd;
    /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
     --surface-color: #ffffff;
    /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
     --contrast-color: #ffffff;
    /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}
/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
 :root {
     --nav-color: #a8a9b4;
    /* The default color of the main navmenu links */
     --nav-hover-color: #ffffff;
    /* Applied to main navmenu links when they are hovered over or active */
     --nav-mobile-background-color: #040b14;
    /* Used as the background color for mobile navigation menu */
     --nav-dropdown-background-color: #040b14;
    /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
     --nav-dropdown-color: #a8a9b4;
    /* Used for navigation links of the dropdown items in the navigation menu. */
     --nav-dropdown-hover-color: #ffffff;
    /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}
/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */
 .light-background {
     --background-color: #f4fafd;
     --surface-color: #ffffff;
}
 .dark-background {
     --background-color: #040b14;
     --default-color: #ffffff;
     --heading-color: #ffffff;
     --surface-color: #151f2b;
     --contrast-color: #ffffff;
}
/* Smooth scroll */
 :root {
     scroll-behavior: smooth;
}
/*-------------------------------------------------------------- # General Styling & Shared Classes --------------------------------------------------------------*/
 body {
     color: var(--default-color);
     background-color: var(--background-color);
     font-family: var(--default-font);
     --background-color: #f4fafd;
     --surface-color: #ffffff;
}
 a {
     color: var(--accent-color);
     text-decoration: none;
     transition: 0.3s;
}
 a:hover {
     color: color-mix(in srgb, var(--accent-color), transparent 25%);
     text-decoration: none;
}
 h1, h2, h3, h4, h5, h6 {
     color: var(--heading-color);
     font-family: var(--heading-font);
}
/*-------------------------------------------------------------- # Global Header --------------------------------------------------------------*/
 .header {
     color: var(--default-color);
     background-color: var(--background-color);
     position: fixed;
     top: 0;
     left: 0;
     bottom: 0;
     padding: 0 15px;
     width: 300px;
     transition: all ease-in-out 0.3s;
     overflow-y: auto;
     z-index: 997;
     border-right: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}
 .header .profile-img img {
     margin: 15px auto;
     display: block;
     width: 120px;
     border: 8px solid color-mix(in srgb, var(--default-color), transparent 85%);
}
 .header .logo {
     line-height: 1;
     margin-bottom: 15px;
}
 .header .logo img {
     max-height: 32px;
     margin-right: 8px;
}
 .header .logo h1 {
     font-size: 24px;
     margin: 0;
     font-weight: 700;
     color: var(--heading-color);
}
 .header .social-links {
     margin: 0 0 20px 0;
}
 .header .social-links a {
     font-size: 16px;
     display: inline-flex;
     align-items: center;
     justify-content: center;
     background: color-mix(in srgb, var(--default-color), transparent 90%);
     color: var(--default-color);
     margin: 0 2px;
     border-radius: 50%;
     text-align: center;
     width: 40px;
     height: 40px;
     transition: 0.3s;
}
 .header .social-links a:hover {
     color: var(--contrast-color);
     background: var(--accent-color);
}
 @media (min-width: 1200px) {
     .header~main, .header~#footer {
         margin-left: 300px;
    }
}
 @media (max-width: 1199px) {
     .header {
         left: -100%;
    }
}
 .header.header-show {
     left: 0;
}
 .header .header-toggle {
     color: var(--contrast-color);
     background-color: var(--accent-color);
     font-size: 22px;
     display: flex;
     align-items: center;
     justify-content: center;
     width: 40px;
     height: 40px;
     border-radius: 50%;
     cursor: pointer;
     position: fixed;
     top: 15px;
     right: 15px;
     z-index: 9999;
     transition: background-color 0.3s;
}
 .header .header-toggle:hover {
     color: var(--contrast-color);
     background-color: color-mix(in srgb, var(--accent-color) 90%, white 15%);
}
/*-------------------------------------------------------------- # Navigation Menu --------------------------------------------------------------*/
 .mobile-nav-toggle {
     display: none;
}
 .navmenu {
     padding: 0;
     z-index: 9997;
}
 .navmenu ul {
     list-style: none;
     padding: 0 0 20px 0;
     margin: 0;
}
 .navmenu a, .navmenu a:focus {
     color: var(--nav-color);
     padding: 15px 10px;
     font-family: var(--nav-font);
     font-size: 16px;
     font-weight: 400;
     display: flex;
     align-items: center;
     white-space: nowrap;
     transition: 0.3s;
     width: 100%;
}
 .navmenu a .navicon, .navmenu a:focus .navicon {
     font-size: 20px;
     margin-right: 10px;
}
 .navmenu a .toggle-dropdown, .navmenu a:focus .toggle-dropdown {
     font-size: 12px;
     line-height: 0;
     margin-left: auto;
     width: 30px;
     height: 30px;
     display: flex;
     align-items: center;
     justify-content: center;
     border-radius: 50%;
     transition: 0.3s;
     flex-shrink: 0;
     background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
}
 .navmenu a .toggle-dropdown:hover, .navmenu a:focus .toggle-dropdown:hover {
     background-color: var(--accent-color);
     color: var(--contrast-color);
}
 .navmenu a:hover, .navmenu .active, .navmenu .active:focus {
     color: var(--nav-hover-color);
}
 .navmenu a:hover .navicon, .navmenu .active .navicon, .navmenu .active:focus .navicon {
     color: var(--accent-color);
}
 .navmenu .active .toggle-dropdown, .navmenu .active:focus .toggle-dropdown {
     background-color: var(--accent-color);
     color: var(--contrast-color);
     transform: rotate(180deg);
}
 .navmenu .dropdown {
     display: block;
}
 .navmenu .dropdown a, .navmenu .dropdown a:focus {
     color: --nav-dropdown-color;
}
 .navmenu .dropdown a:hover, .navmenu .dropdown .active, .navmenu .dropdown .active:focus {
     color: var(--nav-dropdown-hover-color);
}
 .navmenu .dropdown ul {
     position: static;
     display: none;
     z-index: 99;
     padding: 5px 10px;
     margin: 5px 10px;
     background-color: var(--nav-dropdown-background-color);
     border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
     box-shadow: none;
     transition: all 0.5s ease-in-out;
}
 .navmenu .dropdown ul ul {
     background-color: rgba(33, 37, 41, 0.1);
}
 .navmenu .dropdown>.dropdown-active {
     display: block;
     background-color: rgba(33, 37, 41, 0.03);
}
/*-------------------------------------------------------------- # Preloader --------------------------------------------------------------*/
 #preloader {
     position: fixed;
     inset: 0;
     z-index: 999999;
     overflow: hidden;
     background: var(--background-color);
     transition: all 0.6s ease-out;
}
 #preloader:before {
     content: "";
     position: fixed;
     top: calc(50% - 30px);
     left: calc(50% - 30px);
     border: 6px solid #ffffff;
     border-color: var(--accent-color) transparent var(--accent-color) transparent;
     border-radius: 50%;
     width: 60px;
     height: 60px;
     animation: animate-preloader 1.5s linear infinite;
}
 @keyframes animate-preloader {
     0% {
         transform: rotate(0deg);
    }
     100% {
         transform: rotate(360deg);
    }
}
/*-------------------------------------------------------------- # Scroll Top Button --------------------------------------------------------------*/
 .scroll-top {
     position: fixed;
     visibility: hidden;
     opacity: 0;
     right: 15px;
     bottom: -15px;
     z-index: 99999;
     background-color: var(--accent-color);
     width: 44px;
     height: 44px;
     border-radius: 50px;
     transition: all 0.4s;
}
 .scroll-top i {
     font-size: 24px;
     color: var(--contrast-color);
     line-height: 0;
}
 .scroll-top:hover {
     background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
     color: var(--contrast-color);
}
 .scroll-top.active {
     visibility: visible;
     opacity: 1;
     bottom: 15px;
}
/*-------------------------------------------------------------- # Disable aos animation delay on mobile devices --------------------------------------------------------------*/
 @media screen and (max-width: 768px) {
     [data-aos-delay] {
         transition-delay: 0 !important;
    }
}
/*-------------------------------------------------------------- # Global Sections --------------------------------------------------------------*/
 section, .section {
     color: var(--default-color);
     background-color: var(--background-color);
     padding: 20px 10px 10px 10px;
     overflow: clip;
}
/*-------------------------------------------------------------- # Global Section Titles --------------------------------------------------------------*/
 .section-title {
     padding-bottom: 5px;
     position: relative;
}
 .section-title h2 {
     font-size: 32px;
     font-weight: 700;
     margin-bottom: 20px;
     padding-bottom: 20px;
     position: relative;
}
 .section-title h2:after {
     content: "";
     position: absolute;
     display: block;
     width: 50px;
     height: 3px;
     background: var(--accent-color);
     left: 0;
     bottom: 0;
}
 .section-title p {
     margin-bottom: 0;
}
/*-------------------------------------------------------------- # Hero Section --------------------------------------------------------------*/
 .hero {
     width: 100%;
     min-height: fit-content;
     position: relative;
     padding: 80px 0;
     display: flex;
     align-items: center;
     justify-content: center;
}
 .hero-img-bg {
     position: absolute;
     inset: 0;
     display: block;
     width: 100%;
     height: 100%;
     object-fit: fill;
     z-index: 1;
}
 @media (min-width: 600px){
     .hero {
         width: 100%;
         min-height: 80vh;
         position: relative;
         padding: 80px 0;
         display: flex;
         align-items: center;
         justify-content: center;
    }
     .hero-img-bg {
         position: absolute;
         inset: 0;
         display: block;
         width: 100%;
         height: 100%;
         object-fit: fill;
         z-index: 1;
    }
}
 .hero:before {
     content: "";
     background: color-mix(in srgb, var(--background-color), transparent 70%);
     position: absolute;
     inset: 0;
     z-index: 2;
}
 /* .container {
     max-width: 900px;
     border-radius: 30px;
} */
 .hero .container {
     position: relative;
     z-index: 3;
}
 .hero h2 {
     margin: 0;
     font-size: 64px;
     font-weight: 700;
}
 .hero p {
     margin: 5px 0 0 0;
     font-size: 26px;
}
 .hero p span {
     letter-spacing: 1px;
     border-bottom: 2px solid var(--accent-color);
}
 .hero .social-links {
     margin-top: 25px;
}
 .hero .social-links a {
     font-size: 24px;
     display: inline-block;
     color: color-mix(in srgb, var(--default-color), transparent 50%);
     line-height: 1;
     margin-right: 20px;
     transition: 0.3s;
}
 .hero .social-links a:hover {
     color: var(--accent-color);
}
 @media (max-width: 768px) {
     .hero h2 {
         font-size: 32px;
    }
     .hero p {
         font-size: 20px;
    }
}
/*-------------------------------------------------------------- # About Section --------------------------------------------------------------*/
 .about .content h2 {
     font-weight: 700;
     font-size: 24px;
}
 .about .content ul {
     list-style: none;
     padding: 0;
}
 .about .content ul li {
     margin-bottom: 20px;
     display: flex;
     align-items: center;
}
 .about .content ul strong {
     margin-right: 10px;
}
 .about .content ul i {
     font-size: 16px;
     margin-right: 5px;
     color: var(--accent-color);
     line-height: 0;
}

 .project-card {
     background: white;
     border-radius: 20px;
     padding: 0;
     box-shadow: var(--shadow-lg);
     transition: var(--transition-normal);
     overflow: hidden;
     position: relative;
}

 .project-card:hover {
     transform: translateY(-10px);
     box-shadow: var(--shadow-xl);
}
 .project-card .project-info {
     padding: 20px;
}
 .project-label {
     font-size: 14px;
     font-weight: 600;
     color: var(--accent-color);
     text-transform: uppercase;
     letter-spacing: 1px;
     margin-bottom: 15px;
     display: inline-block;
     background: rgba(20, 157, 221, 0.1);
     padding: 5px 15px;
     border-radius: 20px;
}
 .project-title {
     font-size: 1.8rem;
     font-weight: 700;
     margin-bottom: 15px;
     color: var(--heading-color);
     line-height: 1.3;
}
 .project-description {
     font-size: 1rem;
     line-height: 1.7;
     color: var(--medium-gray);
     margin-bottom: 10px;
}
 .tech-stack {
     display: flex;
     flex-wrap: wrap;
     gap: 8px;
     margin-bottom: 25px;
}
 .tech-tag {
     background: var(--light-gray);
     color: var(--dark-gray);
     padding: 5px 12px;
     border-radius: 20px;
     font-size: 12px;
     font-weight: 500;
     border: 1px solid rgba(0, 0, 0, 0.1);
}
 .project-links {
     display: flex;
     gap: 15px;
     flex-wrap: wrap;
}
 .btn {
     display: inline-flex;
     align-items: center;
     gap: 8px;
     padding: 10px 20px;
     border-radius: 8px;
     font-size: 14px;
     font-weight: 600;
     text-decoration: none;
     transition: var(--transition-normal);
     border: none;
     cursor: pointer;
}
 .btn-primary {
     background: var(--accent-gradient);
     color: white;
}
 .btn-primary:hover {
     transform: translateY(-2px);
     box-shadow: 0 5px 15px rgba(20, 157, 221, 0.4);
}
 .btn-secondary {
     background: transparent;
     border: 2px solid var(--accent-color);
     color: var(--accent-color);
}
 .btn-secondary:hover {
     background: var(--accent-color);
     color: white;
     transform: translateY(-2px);
}

/* paragraph styling */
/* Section title */
 .section-title h2 {
     font-size: 2.2rem;
     font-weight: 700;
     color: #000000;
     margin-bottom: 0.5rem;
}
 .section-title .subtitle {
     font-size: 1.2rem;
     color: #000000;
     margin-bottom: 1rem;
}
/* About card (glass effect) */
 .about-card {
     padding: 2rem;
     border-radius: 16px;
     background: rgba(255, 255, 255, 0.05);
     backdrop-filter: blur(12px);
     border: 1px solid rgba(255, 255, 255, 0.15);
     box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
     color: #000000;
     line-height: 1.7;
     font-size: 1rem;
     max-width: 900px;
     margin: 0 auto;
     transition: transform 0.3s ease;
}
 .about-card:hover {
     transform: translateY(-5px);
}
/* Buttons */
 .about-actions {
     margin-top: 2rem;
     display: flex;
     gap: 1rem;
}
 .link-gap {
     padding-right: 5px;
}
 .btn-primary, .btn-secondary {
     padding: 0.8rem 1.4rem;
     border-radius: 8px;
     font-size: 1rem;
     font-weight: 600;
     text-decoration: none;
     transition: all 0.3s ease;
}
 .btn-primary {
     background: transparent;
     border: 2px solid #000000;
     color: #000000;
}
 .btn-primary:hover {
     opacity: 0.9;
}
 .btn-secondary {
     background: transparent;
     border: 2px solid #000000;
     color: #000000;
}
 .btn-secondary:hover {
     background: #000000;
     color: #fff;
}

/* --- Tech Stack Icons --- */
 .tech-stack {
     display: flex;
     gap: 10px;
     margin-top: 6px;
     flex-wrap: wrap;
}
 .tech-stack img {
     width: 28px;
     height: 28px;
     object-fit: contain;
     transition: transform 0.2s;
}
 .tech-stack img:hover {
     transform: scale(1.1);
}
/* --- Buttons --- */
 .card-buttons {
     display: flex;
     gap: 12px;
     margin-top: auto;
}
 .btn {
     display: inline-flex;
     align-items: center;
     gap: 6px;
     padding: 8px 14px;
     border-radius: 8px;
     font-size: 14px;
     font-weight: 500;
     text-decoration: none;
     transition: background 0.3s ease, transform 0.2s ease;
}
 .github-btn {
     background: #24292e;
     color: #fff;
}
 .github-btn:hover {
     background: #000;
     transform: translateY(-2px);
}
 .demo-btn {
     background: #007bff;
     color: #fff;
}
 .demo-btn:hover {
     background: #0056b3;
     transform: translateY(-2px);
}
 .btn i {
     font-size: 16px;
}
 @media (max-width: 600px) {
     .cards {
         grid-template-columns: 1fr;
    }
}

.skills-badges {
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skills-badges:hover {
  transform: scale(1.08);
  border-radius: 8px;
}

/* LinkedIn */
.skills-badges[href*="linkedin"]:hover {
  box-shadow: 0 6px 16px rgba(0, 119, 181, 0.6);
}

/* GitHub */
.skills-badges[href*="github"]:hover {
  box-shadow: 0 6px 16px rgba(109, 107, 107, 0.6);
}

/* Gmail */
.skills-badges[href*="mailto"]:hover {
  box-shadow: 0 6px 16px rgba(209, 72, 54, 0.6);
}

/* ===== IMPROVED PORTFOLIO CARDS ===== */



/* Project Card - Now with better image visibility */



.portfolio-container .project-card .project-info .project-tech span:last-child {
  margin-right: 0;
}

.portfolio-container .project-card .project-info .project-label {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  color: #3ca7b5;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.portfolio-container .project-card .project-info .project-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #000000;
}

/* Project Info */
.project-info {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-label {
  font-size: 12px;
  font-weight: 600;
  color: #72bed8;
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
}

.project-label.label-working {
  background-color: #312f2f;
  padding: 5px 15px;
  border-radius: 12px;
  margin-right: 8px;
  margin-bottom: 8px;
}

.project-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 12px;
  color: #000000;
  line-height: 1.3;
}

.project-description {
  font-size: 16px;
  line-height: 1.6;
  color: #333333;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Tech Stack */
.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tech-tag {
  background: #e8f4f8;
  color: #2c5aa0;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid rgba(44, 90, 160, 0.2);
}

/* Project Links */
.project-links {
  display: flex;
  gap: 12px;
  margin-top: auto;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: #222222;
  color: white;
  border: 1px solid #000000;
}

.btn-primary:hover {
  background: #0e7ab8;
  border-color: #0e7ab8;
  transform: translateY(-2px);
  color: white;
}

.btn-secondary {
  background: #222222;
  color: white;
  border: 1px solid #000000;
}

.btn-secondary:hover {
  background: #0e7ab8;
  border-color: #0e7ab8;
  transform: translateY(-2px);
  color: white;;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet and larger screens (768px+) */
@media (min-width: 768px) {
  .project-card {
    flex-direction: row;
    align-items: stretch;
  }

  .project-image {
    width: 45%;
    height: auto;
    /* min-height: 350px; Increased for better image visibility */
    border-radius: 16px 0 0 16px;
    padding: 8px; /* More padding on larger screens */
  }

  .project-image img {
    border-radius: 8px; /* Keep consistent image rounding */
  }


  .project-title {
    font-size: 26px;
  }

  .project-description {
    font-size: 16px;
  }
}

/* Large desktop (1200px+) */
@media (min-width: 1200px) {
  .project-image {
    width: 50%;
    /* min-height: 380px; Even more height for desktop */
    padding: 8px; /* More padding for larger screens */
  }


  .project-title {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .project-image {
    padding: 8px;
  }
}
/* Small mobile adjustments (480px and below) */
@media (max-width: 480px) {
  .portfolio-container {
    gap: 20px;
  }

  .project-image {
    height: 250px; /* Slightly increased for mobile */
    padding: 8px; /* Smaller padding on mobile */
  }

  .project-info {
    padding: 20px;
  }

  .project-title {
    font-size: 20px;
  }

  .project-description {
    font-size: 14px;
  }

  .btn {
    padding: 10px 16px;
    font-size: 13px;
  }

  .project-links {
    flex-direction: column;
  }

  .project-links .btn {
    text-align: center;
    justify-content: center;
  }
}

.project-card:hover {
  box-shadow: 0 20px 56px rgba(20, 157, 221, 0.25);
}


/* Portfolio container grid */
.portfolio-container {
  display: grid;
  grid-template-columns: 1fr; /* default mobile: 1 column */
  gap: 16px;
}

/* Tablet (iPad) - 2 columns */
@media (min-width: 768px) {
  .portfolio-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop - 3 columns */
@media (min-width: 1024px) {
  .portfolio-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Project Card styling */
.project-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Project Image */
.project-image {
  width: 100%;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;  /* ensures images scale nicely */
  border-bottom: 2px solid #f0f0f0;
  transition: transform 0.3s ease;
}
.project-image:hover {
transition: transform 0.3s ease-in-out; /* Animation */
transform: scale(1.05); /* Zoom effect */
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

/* Project Info */
.project-info {
  padding: 16px;
}

.project-title {
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.project-description {
  font-size: 1rem;
  color: #313131;
  margin-bottom: 12px;
}

/* Tech stack tags */
.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.tech-tag {
  background: #f4f4f4;
  padding: 4px 10px;
  font-size: 0.8rem;
  border-radius: 12px;
}


/* Project Image Wrapper */
.project-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
}

/* Project Images */
.project-image img {
  width: 100%;
  height: auto;
  /* max-height: 400px;         keeps image compact on desktop */
  object-fit: cover;         /* ensures full coverage without distortion */
  display: block;
  border-radius: 12px;
  transition: transform 0.4s ease, filter 0.3s ease;
  filter: brightness(0.95) contrast(1.05); /* slightly enhance clarity */
}

/* Hover effect */
.project-card:hover .project-image img {
  transform: scale(1.05);
  filter: brightness(1) contrast(1.1);
}

/* Mobile: taller images for visibility */
@media (max-width: 767px) {
  .project-image img {
    max-height: 360px;   /* give more space on mobile */
  }
}
