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

html, body {
   height:100%;
    font-family: Century Gothic;
    background: #D8BFD8;
    margin: 0;
}
/* Header */
header {
  background-color: #301934; /* dark purple for top part */
  color: white;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

/* Logo + Title inline */
.logo-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 18px;  /* taller */
  background-color: #301934; /* stays dark */
}

.header-logo {
  height: 40px; /* slightly larger logo */
}

.campaign-name {
  font-size: 18px; /* larger title text */
  font-weight: bold;
  margin: 0;
  color: white;
}

.desktop-menu {
  display: flex;
  align-items: center;
  background-color: #563c5c;
  padding: 3px 15px;
  position: relative;
}

/* Center the menu absolutely */
.menu {
  list-style: none;
  margin: 0 auto;   /* centers inside flexbox */
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Right-aligned join button */
.join-btn {
  margin-left: auto; /* pushes only this one to the right */
}

.join-btn a {
  background-color: #301934; /* same as top header */
  color: #d3d3d3;            /* light gray text */
  padding: 4px 10px;         /* smaller size */
  border-radius: 0;          /* square edges */
  text-decoration: none;
  font-weight: 500;          /* slightly lighter than bold */
  font-size: 14px;           /* smaller font */
  border: 1px solid #d3d3d3; /* subtle gray border */
  transition: all 0.3s ease;
}

.join-btn a:hover {
  background-color: #d3d3d3; /* gray highlight on hover */
  color: #301934;            /* dark purple text */
  border-color: #d3d3d3;
}


.menu a {
  color: white;
  text-decoration: none;
  padding: 6px 12px; /* smaller padding for compact look */
  display: block;
  font-weight: 500;
}

.menu a:hover {
  background-color: #7B68EE; /* hover effect */
  color: white;
}

.menu li {
  position: relative;
  margin: 5px;
}

.dropbtn {
  display: inline-flex;
  align-items: center;
  transition: background-color 0.3s, color 0.3s;
}

.dropbtn i {
  font-size: 0.8em;
  margin-left: 4px;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Dropdown Menu (Desktop) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #E6E6FA;
  min-width: 160px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.dropdown-content a {
  padding: 12px 16px;
  color: black;
}
/* Hide toggle button on desktop */
.menu-toggle-wrapper {
  display: none;
}
/* ðŸ”’ Hide sidebar on desktop */
.sidebar {
  display: none;
}
.hidden {
  display: none !important;
}
.main-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
}
.main-text {
  max-width: 800px;
  color: #301934;
}

.main-text h2 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #4B0082;
}

.main-text p {
  font-size: 15px;
  line-height: 1.6;
  text-align: justify;
}
.happy-image {
  max-width: 100%;
  width: 200px;
  height: 200px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Main container spans full width */
.projectpic {
  width: 100%;              /* full width */
  display: flex;            /* use flexbox to center child */
  justify-content: center;  /* center horizontally */
  margin: 120px 0;          /* space above & below */
  height: 300px;             /* optional: keep height */
  align-items: center;      /* vertical centering inside container */
  overflow: hidden;
}

/* Image stays at 1000px max */
.projectpic img {
    height:100%;
  width: 100%;            /* fixed image width */
  display: block;
  object-fit: fill;
}

.box-container {
    display: flex;
    margin-left:70px;
    margin-right:70px;
    margin-top:-40px;
    margin-bottom:50px;
}
.box {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0)); /* Gradient from white to transparent */
    padding: 20px;
    height: 230px; /* Height for the boxes */
    margin: -10% 0 0 0; /* Top margin set to -10%, remove bottom margin */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow */
    flex: 1; /* Allow boxes to grow equally */
    position: relative; /* Position relative for the pseudo-element */
    display: flex; /* Use flexbox for alignment */
    flex-direction: column; /* Stack items vertically */
}
.box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* Make the first box wider and add a top black overlay */
.box:second-child {
    flex: 2; /* Take up more space */
    margin-bottom: 0; /* Remove space below the first box */
    margin-right:0;
}

/* Add a black top border to the first box */
.box:second-child::before {
    content: '';
    position: absolute;
    top: -10px; /* Adjust to create overlap */
    left: 0;
    right: 0;
    height: 10px; /* Height of the black overlay */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* Subtle shadow for the top overlay */
}

.donate-button {
    background-color: #301934; /* Match the background color */
    color: white; /* Text color */
    border: none; /* No border */
    padding: 10px 15px; /* Padding */
    font-size: 14px; /* Font size */
    cursor: pointer; /* Pointer on hover */
    border-radius: 5px; /* Rounded corners */
    align-self: flex-end; /* Align to the right */
    margin-bottom: 20px; /* Add margin below the button */
}


.report-button, .proof-button {
    background-color: #C8A3C8;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px; /* Smaller font size */
    padding: 8px 12px; /* Smaller padding */
    display: flex;
    align-items: center;
    margin: 0 15px; /* Adjust margin for horizontal spacing */
}

.report-button:hover, .proof-button:hover {
    background-color: #301934;
}

.report-button i, .proof-button i {
    margin-right: 6px; /* Space between icon and text */
}

.report-button {
    background-color: #C8A3C8; /* Green for Report */
}

.proof-button {
    background-color: #C8A3C8; /* Yellow for Proof */
}

.proof-button:hover {
    background-color: #301934; /* Darker yellow on hover */
}

/* Container for buttons */
.button-container {
    display: flex; /* Use flexbox to align buttons horizontally */
    justify-content: center; /* Center the buttons */
    margin-top: 20px; /* Space above buttons */
}

/* TABLES */
.donor-box {
    width: 100%;
    margin-top: 30px;
    display: flex; /* Add this to use flexbox */
    justify-content: center; /* Center the table */
    margin-bottom:20px;
}

.donor-table {
    width: 80%;
    border-collapse: collapse;
    background-color: #D8BFD8;
    margin: 0 auto; /* Center the table */
}

.donor-table th, .donor-table td {
    border: 1px solid #b088b0; /* Adjust border color as needed */
    padding: 10px;
    text-align: center;
    font-size:14px;
}

.donor-table th {
    background-color: #b088b0; /* Header background color */
    color: white; /* Header text color */
}

.donor-table tr:nth-child(even) {
    background-color: #f1d2e5; /* Alternating row color */
}

.donor-table tr:hover {
    background-color: #e5b3d3; /* Row hover effect */
}
/* Base styling for the table */


.tab {
    display: flex; /* Use flexbox for horizontal alignment */
    justify-content: center; /* Center tabs */
    margin-bottom: 20px; /* Space between tabs and content */
}

.tab button {
    background-color: #A9A9A9; /* Gray background for tabs */
    color: white; /* Text color */
    border: none; /* No border */
    padding: 10px 20px; /* Padding for buttons */
    margin: 0 10px; /* Space between buttons */
    cursor: pointer; /* Pointer cursor on hover */
    border-radius: 5px; /* Rounded corners */
    transition: background-color 0.3s; /* Smooth transition */
}

.tab button:hover {
    background-color: #696969; /* Darker gray on hover */
}

.tabcontent {
    display: none; /* Hide tab content by default */
    border-collapse: collapse;
}

.tabcontent table {
    margin: 0 auto; /* Center the table */
    border-collapse: collapse; /* Collapse borders */
    width: 70%; /* Full width */
}

.tabcontent th, .tabcontent td {
    border: 1px solid #888; /* Border for table cells */
    padding: 10px; /* Padding in cells */
    text-align: left; /* Align text to the left */
    word-wrap: break-word; /* Enable word wrapping */
    white-space: normal; /* Allow wrapping of long words */
}

.tabcontent th {
    background-color: #DDA0DD; /* Light purple for headers */
    color: white; /* White text for headers */
}

.cell-text {
    word-wrap: break-word; /* Allow text wrapping inside the cells */
    white-space: normal; /* Enable wrapping */
    width: 100%; /* Make sure the text container takes full width of the cell */
    display: block; /* Ensure div or span behaves as a block element */
    overflow-wrap: break-word; /* Ensure long words break correctly */
}

.popup {
     display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
}

.popup-content {
    background-color: #D8BFD8;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
}

.modal-content {
    background-color: #D8BFD8;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.close-button {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background-color: white;
    color: maroon;
    font-size: 20px;
    font-weight: bold;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
    z-index: 10; /* Ensures it's above content */
}

.close-button:hover,
.close-button:focus {
    background-color: #f0f0f0;
    color: #8B0000;
    transform: scale(1.1);
}

.image-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.image-wrapper img {
    max-width: 200px; /* Adjust the size of images */
    margin: 0 10px;
}

p.center {
    text-align: center;
}

.caption-section {
    text-align: center; /* Center the caption */
    padding: 40px 0; /* Add top and bottom padding */
}

.caption {
    font-size: 24px; /* Adjust font size for the caption */
    margin-bottom: 10px; /* Space between caption and line */
}

.line {
    height: 4px; /* Thickness of the line */
    background-color: #A9A9A9; /* Line color (change as needed) */
    width: 60%; /* Width of the line */
    margin: 0 auto; /* Center the line */
}


.last-container {
    width: 100%; /* Full width */
    height: 100px; /* Increased height */
    background-color: #301934; /* Background color */
    text-align: center; /* Center align text */
    color: white; /* Text color */
    position: relative; /* Position it absolutely */
    display: flex; /* Use flexbox for alignment */
    flex-direction: column; /* Stack items vertically */
    justify-content: center; /* Center items vertically */
}

.last-container .social-icons {
    margin: 10px 0; /* Margin for spacing around social icons */
}

.last-container .social-icons a {
    color: white; /* Icon color */
    font-size: 24px; /* Size of the icons */
    margin: 0 10px; /* Space between icons */
    text-decoration: none; /* Remove underline */
    transition: color 0.3s; /* Smooth color transition on hover */
}

.last-container .social-icons a:hover {
    color: #7B68EE; /* Change color on hover */
}

.last-container p {
    font-size: 16px; /* Font size for the text */
    margin-top: 10px; /* Space above the text */
    letter-spacing: 0.5px; /* Slight letter spacing */
    word-spacing: 1.5px; /* Slight word spacing */
}
.contact-container {
  display: flex;
  gap: 20px; /* tighter gap between form & text */
  align-items: center;
  margin: 30px auto;
  max-width: 750px; /* width stays the same */
  padding: 15px 20px; /* ✅ shorter padding = shorter height */
  background: #f3e9f5; /* soft lavender */
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  font-family: Century Gothic, sans-serif;
}

/* Left (form) */
.contact-left-box {
  flex: 1;
}

.contact-left-box form {
  display: flex;
  flex-direction: column;
  gap: 6px; /* ✅ less vertical space between fields */
}

.contact-left-box label {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 1px;
  color: #301934;
}

.contact-left-box input,
.contact-left-box textarea {
  width: 100%;
  padding: 5px 7px; /* ✅ thinner inputs */
  font-size: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  resize: none;
}

.contact-left-box textarea {
  min-height: 60px; /* shorter textarea */
}

.contact-button {
  margin-top: 5px;
  padding: 6px 10px; /* ✅ smaller button */
  font-size: 12px;
  background-color: #301934;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-button:hover {
  background-color: #5a2d82;
}

/* Right (title & text) */
.contact-right-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-right-box h2 {
  font-size: 17px; /* ✅ smaller title */
  margin-bottom: 6px;
  color: #301934;
}

.contact-right-box p {
  font-size: 15px;
  line-height: 1.3;
  color: #333;
  margin: 0;
  text-align:justify;
}

/* Popups */
.popup {
  display: none;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 600;
}

#popup-sending { color: blue; }
#popup-success { color: green; }
#popup-failed { color: red; }

/* Back to top button */
#backToTop {
  position: fixed !important; 
  bottom: 30px;               /* slightly closer to bottom */
  right: 30px;                /* slightly closer to right edge */
  display: none;              
  z-index: 1000;

  background: #301934;        
  color: #fff;
  font-size: 22px;            /* adjusted arrow size */
  font-weight: bold;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.25);
  transition: opacity 0.3s ease, transform 0.2s ease;
  line-height: 45px;          /* perfectly center the arrow */
}

#backToTop:hover {
  background: #47265a;        
  transform: translateY(-3px);
}
/* Toast container */
#toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
}

/* Toast styles */
.toast {
  min-width: 250px;
  margin-bottom: 12px;
  padding: 14px 20px;
  border-radius: 12px;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.4s ease;
}

/* Toast types */
.toast.info { background-color: #3498db; }      /* Blue for sending */
.toast.success { background-color: #2ecc71; }   /* Green for success */
.toast.error { background-color: #e74c3c; }     /* Red for failure */

@media screen and (max-width: 768px) {
   .desktop-menu { display: none; }
  .menu-toggle-wrapper {
    display: flex; align-items: center; justify-content: center;
    background: #563c5c; padding: 4px 8px; height: 34px; gap: 4px; width: 100%;
  }
  .menu-toggle { font-size: 18px; color: white; }
  .menu-label { font-size: 14px; color: white; font-weight: 600; }

  .sidebar {
    display: block;
    position: fixed;
    top: 60px;
    left: 0; right: 0;
    width: auto; max-width: none;
    height: 50vh; /* ⬅️ Half the screen height */
    background: #6d4c7d;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    overflow-y: auto;
    opacity: 0; visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 10000;
    padding: 20px 15px;
  }
  .sidebar.show { opacity: 1; visibility: visible; transform: translateY(0); }
  .sidebar ul li { margin-bottom: 20px; } /* more spacing */
  .sidebar ul li a {
    text-decoration: none;
    color: #f2e9f8;
    font-size: 18px; /* balanced size */
    line-height: 1.5;
    font-family: Montserrat, sans-serif;
    font-weight: 500;
    display: block;
    padding: 6px 10px;
    border-radius: 6px;
    transition: background 0.3s;
  }
  .sidebar ul {
  list-style: none;
  padding: 20px 0 0 0; /* ⬅️ pushes menu items down */
  margin: 0;
}
  .sidebar ul li a:hover { background: #8a6b96; }

  .sidebar .dropdown-content {
    background: #c9b6d4;
    border-radius: 6px;
    padding: 4px 0;
  }
  .sidebar .dropdown-content a {
    color: #301934;
    font-size: 18px;
    padding: 8px 14px;
    display: block;
  }
  .sidebar .dropdown-content a:hover { background: #b497c4; color: #fff; }

  /* Bigger close button */
  .sidebar .close-btn {
    position: absolute;
    top: 8px; right: 20px;
    font-size: 36px; /* ⬅️ Bigger for easy tapping */
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    background:transparent;
  }
  .sidebar .dropdown > a i {
  transition: transform 0.3s;
}
.sidebar .dropdown > a i.rotate {
  transform: rotate(180deg);
}
/* Make all sidebar menu labels uppercase */
.sidebar ul li a,
.sidebar .dropdown-content a {
  text-transform: uppercase;
}
    .full-screen-photo {
        height:30vh;
        margin: 0; /* Remove margin for full-screen photo on mobile */
        object-fit:contain;
    }
    .last-container {
        position: relative;
        color: white;
        bottom: 0;
        width: 100%; /* Ensure it fits within viewport */
        background-color: #301934; /* Adjust background color as needed */
        text-align: center;
        padding: 10px 0; /* Added padding for better spacing */
        margin: 0;
    }
    .box-container {
        flex-direction: column; /* Stack boxes vertically */
        margin: 20px 10px; /* Adjust margin */
        padding: 10px 10px;
    }

    .box {
        height: auto; /* Allow box height to adjust based on content */
        margin: 10px 0; /* Add margin for spacing */
        padding: 15px; /* Adjust padding */
    }
    .caption-section {
        padding: 20px 0; /* Reduce padding */
    }

    .caption {
        font-size: 20px; /* Adjust font size */
    }

    .line {
        width: 80%; /* Make the line wider on mobile */
    }

    .paragraph-container {
        flex-direction: column; /* Stack paragraphs vertically */
        margin: 10px; /* Adjust margin */
        padding: 0 5px;
    }

    .paragraph {
        margin: 10px 0; /* Space between paragraphs */
    }
    /* Adjust button styles for mobile */
    .donate-button, .report-button, .proof-button {
        width: 100%; /* Full width for buttons */
        margin: 10px 0; /* Space between buttons */
        padding: 12px; /* Increase padding for better touch targets */
    }

    .button-container {
        flex-direction: column; /* Stack buttons vertically */
    }

    .image-wrapper img {
        max-width: 100%; /* Responsive images */
        height: auto; /* Maintain aspect ratio */
    }

    .donor-box {
        width: 100%; /* Keep width to 100% to match box-container */
        margin-top: 30px;
        display: flex;
        justify-content: center; /* Center the table */
        margin-bottom: 20px;
        flex-direction: column; /* Stack items vertically */
        overflow-x: auto; /* Allow horizontal scrolling if needed */
    }

    .donor-table {
        width: 100%; /* Full width for mobile */
        max-width: 100%; /* Prevent exceeding the screen width */
        font-size: 12px; /* Smaller font size */
        border-collapse: collapse; /* Collapse borders */
        overflow-x: auto; /* Allow scrolling for table if necessary */
    }

    .donor-table th, .donor-table td {
        padding: 8px; /* Adjust padding */
        word-wrap: break-word; /* Allow word wrapping */
        text-align: center; /* Center align text */
    }

    /* Optionally reduce padding for table cells to fit better */
    .donor-table th {
        background-color: #b088b0; /* Keep header background */
        color: white; /* Keep header text color */
    }
.popup {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.6); /* Dark overlay */
}

.popup-content {
    background-color: #D8BFD8; /* Background color */
    margin: auto; /* Center the pop-up horizontally */
    position: absolute; /* Use absolute positioning */
    left: 50%; /* Move to the center */
    top: 50%; /* Move to the center */
    transform: translate(-50%, -50%); /* Adjust both horizontally and vertically */
    padding: 20px; /* Padding */
    border: 1px solid #888; /* Border */
    width: 100%; /* Width of the pop-up */
    max-width: 400px; /* Optional max width */
    max-height: 85%; /* Set max height to prevent overflow */
    overflow: auto; /* Allow scrolling if content exceeds max height */
    border-radius: 8px; /* Rounded corners */
    text-align: center; /* Center contents */
}

.tabcontent table {
    margin: 0 auto; /* Center the table */
    border-collapse: collapse; /* Collapse borders */
    width: 100%; /* Full width */
}
.tabcontent input {
    width: 100%; /* Input fields take most of the width */
    padding: 5px; /* Padding in input fields */
    border: 1px solid #888; /* Border for input fields */
    border-radius: 4px; /* Rounded corners */
}

.tabcontent th, .tabcontent td {
    border: 1px solid #888; /* Border for table cells */
    padding: 10px; /* Padding in cells */
    text-align: left; /* Align text to the left */
}

.tabcontent th {
    background-color: #DDA0DD; /* Light purple for headers */
    color: white; /* White text for headers */
}

    .modal-content {
        margin: 15% auto; /* Center the modal content */
        width: 90%; /* Set width for mobile */
    }
   
    .image-wrapper {
        width: 100%; /* Ensure it takes full width */
        max-width: 150px; /* Set a maximum width for the wrapper */
        margin: 0 auto; /* Center the wrapper */
        padding: 10px; /* Optional: add some padding */
    }

    .image-wrapper img {
        width: 100%; /* Ensure the image fills the wrapper */
        height: auto; /* Maintain aspect ratio */
        max-width: 100%; /* Prevent overflow */
    }
     #expenseTable, #fundTable {
        font-size: 14px; /* Optional: reduce font size for better readability */
    }

    #expenseTable,#fundTable td textarea {
        font-size: 14px; /* Ensure text is readable on smaller screens */
    }
    .contact-container {
    flex-direction: column;   /* ✅ stack vertically */
    align-items: stretch;     /* each box takes full width */
    gap: 20px;
    max-width: 100%;
    padding: 15px;
    margin:0 15px 0 15px;
  }

  /* Right box comes first */
  .contact-right-box {
    order: 1;
    text-align: center;       /* optional: center align for mobile */
  }

  /* Left box (form) comes second */
  .contact-left-box {
    order: 2;
  }

  /* Scale down text & inputs */
  .contact-right-box h2 {
    font-size: 18px;
  }

  .contact-right-box p {
    font-size: 14px;
    line-height: 1.5;
  }

  .contact-left-box label,
  .contact-left-box input,
  .contact-left-box textarea,
  .contact-button {
    font-size: 13px;
  }

  .contact-left-box input,
  .contact-left-box textarea {
    padding: 6px 8px;
  }
  .projectpic {
    margin-top: 105px;   /* ✅ clears fixed header */
    margin-bottom: 10px; /* space below */
    height: auto;        /* allow natural scaling */
  }

  .projectpic img {
    width: 100%;
    height: auto;
    object-fit: contain; /* prevents cropping/stretching */
  }
}
