:root {
    --primary-color: #2e7d32;  /* Green 800 */
    --secondary-color: #1b5e20; /* Green 900 */
    --background-color: #f8f9fa;
    --text-color: #333;
    --card-bg: #ffffff;
    --sidebar-bg: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --dim-overlay: rgba(0, 0, 0, 0.5);
    --modal-bg-color: #ffffff;
}

[data-theme="dark"] {
    --primary-color: #4caf50;   /* Green 500 */
    --secondary-color: #388e3c; /* Green 600 */
    --background-color: #121212;
    --text-color: #f0f0f0;
    --card-bg: #1e1e1e;
    --sidebar-bg: #181818;
    --border-color: #444;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    --dim-overlay: rgba(0, 0, 0, 0.7);
    --modal-bg-color: #1e1e1e;
}

html {
    font-size: 72%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.3s, color 0.3s;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Disable scrolling when modal is open */
body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

.container {
    display: flex;
    min-height: 100vh;
    position: relative;
}

/* Sidebar Styles */
.sidebar {
    background-color: var(--sidebar-bg);
    padding: 16px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border-color);
    position: fixed;
    height: 100vh;
    z-index: 100;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    top: 0;
    left: 0;
    width: 180px;
}

.sidebar.open {
    transform: translateX(0);
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--dim-overlay);
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, background-color 0.3s ease;
}

.sidebar.open + .sidebar-overlay {
    opacity: 1;
    pointer-events: auto;
}

.logo {
    margin-bottom: 24px;
    text-align: center;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.nav ul {
    list-style: none;
}

.nav li {
    margin-bottom: 8px;
}

.nav a {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    text-decoration: none;
    color: var(--text-color);
    border-radius: 5px;
    transition: background-color 0.2s;
}

.nav a:hover, .nav a.active {
    background-color: rgba(46, 125, 50, 0.1);
    color: var(--primary-color);
}

.nav a i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

.sidebar-footer {
    margin-top: auto;
    padding-top: 16px;
}

/* Main Content Styles */
.main-content {
    flex: 1;
    padding: 14px;
    margin-left: 0;
    transition: margin-left 0.3s, filter 0.3s;
    width: 100%;
}

.sidebar.open ~ .main-content {
    filter: brightness(0.8);
}

/* Mobile Header */
.mobile-header {
    display: none;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background-color: var(--sidebar-bg);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    width: 100%;
    z-index: 90;
}

.mobile-header h1 {
    font-size: 1.2rem;
    color: var(--primary-color);
}

/* Notes Container */
.notes-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(216px, 1fr));
    gap: 16px;
    margin-top: 48px;
    width: 100%;
}

.note-card {
    width: 100%;
    height: 216px;
    padding: 14px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background-color: var(--card-bg);
}

.note-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Loading Styles */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    min-height: 240px;
}

.spinner-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    margin: 6px;
}

.loading-spinner i {
    font-size: 2rem;
    color: var(--primary-color);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.no-notes, .error {
    grid-column: 1 / -1;
    text-align: center;
    padding: 32px;
    color: var(--text-color);
    opacity: 0.7;
}

/* Note Content Styles */
.note-message {
    flex: 1;
    margin-bottom: 16px;
    word-wrap: break-word;
    overflow-y: auto;
    padding-right: 4px;
    line-height: 1.5;
}

.note-message::-webkit-scrollbar {
    width: 4px;
}

.note-message::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 10px;
}

.note-author {
    text-align: right;
    font-style: italic;
    color: inherit;
    opacity: 0.7;
    margin-top: auto;
}

.note-date {
    font-size: 0.8rem;
    opacity: 0.6;
    margin-top: 4px;
}

.char-counter {
    text-align: right;
    font-size: 0.8rem;
    color: var(--text-color);
    opacity: 0.7;
    margin-top: 4px;
}

/* Enhanced Reaction Button Styles */
.note-reaction {
    margin-top: auto;
    display: flex;
    justify-content: flex-end;
    padding-top: 8px;
}

.reaction-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    opacity: 0.7;
    min-width: 40px;
    justify-content: center;
    outline: none;
}

.reaction-btn:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.reaction-btn:disabled {
    cursor: not-allowed;
    opacity: 0.5;
    pointer-events: none;
}

.reaction-btn.reacted {
    opacity: 1;
    color: #ff6b6b;
}

.reaction-btn.reacted:hover {
    background-color: rgba(255, 107, 107, 0.1);
}

.reaction-btn i {
    font-size: 1rem;
    transition: all 0.2s ease;
}

.reaction-btn:hover i {
    transform: scale(1.1);
}

.reaction-btn.reacted i {
    color: #ff6b6b;
    text-shadow: 0 0 8px rgba(255, 107, 107, 0.3);
}

.reaction-count {
    font-size: 0.85rem;
    font-weight: 500;
    min-width: 8px;
    text-align: center;
    transition: transform 0.2s ease;
}

/* NEW: Bottom section with timestamp and reaction aligned horizontally */
.note-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 8px;
    gap: 8px;
}

.note-date {
    font-size: 0.8rem;
    opacity: 0.6;
    margin-top: 0;
    flex-shrink: 0;
}

.note-reaction {
    margin-top: 0;
    padding-top: 0;
}

/* Animation for when reaction count changes */
@keyframes heartBeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

@keyframes countPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.reaction-btn.reacted i {
    animation: heartBeat 0.6s ease-in-out;
}

/* Dark theme adjustments */
[data-theme="dark"] .reaction-btn:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .reaction-btn.reacted:hover {
    background-color: rgba(255, 107, 107, 0.15);
}

/* Light theme adjustments */
[data-theme="light"] .reaction-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .reaction-btn.reacted:hover {
    background-color: rgba(255, 107, 107, 0.1);
}

/* Mobile responsive adjustments to match your existing pattern */
@media (max-width: 767px) {
    .note-bottom {
        padding-top: 8.8px;
        gap: 8.8px;
    }
    
    .note-date {
        margin-top: 0;
    }
    
    .reaction-btn {
        gap: 4.4px;
        padding: 4.4px 8.8px;
        border-radius: 16.5px;
        font-size: 0.99rem;
        min-width: 44px;
    }
    
    .reaction-btn i {
        font-size: 1.1rem;
    }
    
    .reaction-count {
        font-size: 0.935rem;
        min-width: 8.8px;
    }
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s, transform 0.2s;
    text-align: center;
    margin: 4px 0;
    width: 100%;
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-1.6px);
}

.btn:active {
    transform: translateY(0);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: rgba(46, 125, 50, 0.1);
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    padding: 8px 12px;
}

.btn-icon i {
    margin-right: 6px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal.open {
    display: flex;
}

.modal-content {
    background-color: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    max-height: 90vh;
    box-shadow: var(--shadow);
    position: relative;
    display: flex;
    flex-direction: column;
}

.close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
    background: none;
    border: none;
}

.modal h2 {
    margin-bottom: 16px;
    color: var(--primary-color);
}

/* Terms Modal Specific Styles */
.terms-content {
    flex: 1;
    overflow-y: auto;
    padding: 8px;
    margin-bottom: 12px;
    border-radius: 5px;
    max-height: calc(70vh - 120px);
}

.terms-content ul {
    margin: 12px 0;
    padding-left: 16px;
}

.terms-content li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.terms-content li i {
    margin-right: 8px;
    color: var(--primary-color);
}

.terms-checkbox {
    margin-top: 12px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
}

.terms-content::-webkit-scrollbar {
    width: 4px;
}

.terms-content::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 10px;
}

.modal-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    padding-top: 8px;
    position: sticky;
    bottom: 0;
    background: var(--modal-bg-color);
    z-index: 1;
}

.modal-actions .btn {
    flex: 1;
}

/* Hide reCAPTCHA badge */
.grecaptcha-badge {
    visibility: hidden !important;
}

/* Style for the disclaimer text */
.recaptcha-disclaimer {
    margin-top: 0.4rem;
    padding-top: 0.4rem;
    border-top: 1px solid #eee;
    color: #666;
    font-size: 0.75rem;
    line-height: 1.3;
    margin-bottom: -4px;
}

[data-theme="dark"] .recaptcha-disclaimer {
    border-top: 1px solid #444;
    color: #999;
}

.recaptcha-disclaimer a {
    color: var(--primary-color);
}

/* Form Styles */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background-color: var(--card-bg);
    color: var(--text-color);
    font-family: inherit;
}

.form-group textarea {
    min-height: 96px;
    resize: vertical;
}

/* Color Options - Centered with Equal Spacing */
.color-options {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px;
    width: 100%;
    margin: 8px 0;
}

.color-option {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

/* Mobile Horizontal Scroll for Small Screens */
@media (max-width: 768px) {
    .color-options {
        display: flex;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        padding: 16px 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 10px;
    }
    
    .color-options::-webkit-scrollbar {
        display: none;
    }
    
    /* Center-align the options in the container */
    .color-options::before,
    .color-options::after {
        content: "";
        min-width: calc((100% - (7 * 36px) - (6 * 10px)) / 2);
    }
}

/* Perfect Centering for 375px Screens */
@media (max-width: 375px) {
    .color-options {
        gap: 8px;
    }
    
    .color-option {
        width: 34px;
        height: 34px;
    }
    
    /* Precise calculation for 375px */
    .color-options::before,
    .color-options::after {
        min-width: calc((100% - (7 * 34px) - (6 * 8px)) / 2);
    }
}

/* Visual States */
.color-option:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.color-option.selected {
    border: 2px solid var(--text-color);
    transform: scale(1.1);
}

/* Dark Mode Adjustments */
[data-theme="dark"] .color-option {
    border-color: rgba(255,255,255,0.2);
}

[data-theme="dark"] .color-option.selected {
    border-color: var(--text-color);
}


/* Color Options */
.color-option[data-color="#ff595e"] {
    background-color: #ff595e;
}
.color-option[data-color="#4FC3F7"] {
    background-color: #4FC3F7;
}
.color-option[data-color="#A5D6A7"] {
    background-color: #A5D6A7;
}
.color-option[data-color="#FFEB3B"] {
    background-color: #FFEB3B;
}
.color-option[data-color="#FFB74D"] {
    background-color: #FFB74D;
}
.color-option[data-color="#FF66B2"] {
    background-color: #FF66B2;
}
.color-option[data-color="#CE93D8"] {
    background-color: #CE93D8;
}

.btn-dots {
    display: inline-flex;
    align-items: flex-end;
    height: 1em;
}

.dot {
    animation: dot-animation 1.5s infinite ease-in-out;
    animation-delay: 0s;
    opacity: 0;
}

.dot:nth-child(2) {
    animation-delay: 0.2s;
}

.dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dot-animation {
    0%, 100% {
        opacity: 0;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-4px);
    }
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 16px;
    right: 16px;
    background-color: var(--card-bg);
    color: var(--text-color);
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    z-index: 9999;
    transform: translateX(150%);
    transition: transform 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.toast.show {
    transform: translateX(0);
}

.toast.error {
    border-left-color: #ff6b6b;
}

.toast-content {
    display: flex;
    align-items: center;
}

.toast-content i {
    margin-right: 8px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.toast.error .toast-content i {
    color: #ff6b6b;
}

.toast-message {
    font-size: 0.9rem;
}

/* About and Contact Page Styles */
.page-content {
    padding: 16px;
    max-width: 640px;
    margin: 48px auto 0;
}

.page-content h2 {
    color: var(--primary-color);
    margin-bottom: 16px;
}

.page-content h3 {
    margin: 20px 0 12px;
    color: var(--primary-color);
}

/* Warning Box */
.warning-box {
    background-color: rgba(255, 152, 0, 0.1);
    border-left: 4px solid #ff9800;
    padding: 12px;
    margin: 16px 0;
    border-radius: 0 4px 4px 0;
}

.warning-box h3 {
    color: #ff9800;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.warning-box h3 i {
    margin-right: 8px;
}

.warning-box ul {
    margin: 8px 0 8px 16px;
}

.tech-grid, .contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.tech-item, .contact-card {
    background-color: var(--card-bg);
    padding: 16px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.2s;
}

.tech-item:hover, .contact-card:hover {
    transform: translateY(-4px);
}

.tech-item i {
    font-size: 2rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.contact-card i {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.contact-card a {
    color: var(--primary-color);
    word-break: break-all;
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

.contact-form {
    margin-top: 32px;
    background-color: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* Responsive Styles */
@media (min-width: 768px) {
    .sidebar {
        transform: translateX(0);
        position: fixed;
    }
    
    .main-content {
        margin-left: 200px;
    }
    
    .mobile-header {
        display: none;
    }
    
    .notes-container {
        margin-top: 0;
    }

    .sidebar-overlay {
        display: none;
    }

    .sidebar.open ~ .main-content {
        filter: none;
    }
}

@media (max-width: 767px) {
    .mobile-header {
        display: flex;
    }
    
    /* Mobile-specific enhancements - 10% bigger */
    html {
        font-size: 79.2%;
    }
    
    .notes-container {
        grid-template-columns: repeat(auto-fill, minmax(237px, 1fr));
        gap: 17.6px;
        margin-top: 52.8px;
    }
    
    .note-card {
        height: 237.6px;
        padding: 15.4px;
    }
    
    .mobile-header {
        padding: 13.2px 17.6px;
    }
    
    .mobile-header h1 {
        font-size: 1.32rem;
    }
    
    .sidebar {
        width: 198px;
        padding: 17.6px;
    }
    
    .logo {
        margin-bottom: 26.4px;
    }
    
    .logo h1 {
        font-size: 1.65rem;
    }
    
    .nav li {
        margin-bottom: 8.8px;
    }
    
    .nav a {
        padding: 8.8px 13.2px;
        border-radius: 5.5px;
    }
    
    .nav a i {
        margin-right: 8.8px;
        width: 17.6px;
    }
    
    .sidebar-footer {
        padding-top: 17.6px;
    }
    
    .main-content {
        padding: 15.4px;
    }
    
    .btn {
        padding: 8.8px 17.6px;
        font-size: 1.1rem;
        margin: 4.4px 0;
        border-radius: 5.5px;
    }
    
    .btn-icon {
        padding: 8.8px 13.2px;
    }
    
    .btn-icon i {
        margin-right: 6.6px;
    }
    
    .modal-content {
        padding: 22px;
        border-radius: 8.8px;
        max-width: 440px;
    }
    
    .close-btn {
        top: 13.2px;
        right: 13.2px;
        font-size: 1.65rem;
    }
    
    .modal h2 {
        margin-bottom: 17.6px;
    }
    
    .form-group {
        margin-bottom: 17.6px;
    }
    
    .form-group label {
        margin-bottom: 6.6px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 8.8px;
        border-radius: 5.5px;
    }
    
    .form-group textarea {
        min-height: 105.6px;
    }
    
    .color-options {
        gap: 6.6px;
        padding: 6.6px;
        justify-content: center;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .color-option {
        width: 31.9px;
        height: 31.9px;
        flex: 0 0 31.9px;
    }
    
    .toast {
        bottom: 17.6px;
        right: 17.6px;
        padding: 13.2px 22px;
        border-radius: 8.8px;
    }
    
    .toast-content i {
        margin-right: 8.8px;
        font-size: 1.32rem;
    }
    
    .page-content {
        padding: 17.6px;
        max-width: 704px;
        margin: 52.8px auto 0;
    }
    
    .page-content h2 {
        margin-bottom: 17.6px;
    }
    
    .page-content h3 {
        margin: 22px 0 13.2px;
    }
    
    .warning-box {
        padding: 13.2px;
        margin: 17.6px 0;
        border-radius: 0 4.4px 4.4px 0;
    }
    
    .warning-box h3 {
        margin-bottom: 8.8px;
    }
    
    .warning-box h3 i {
        margin-right: 8.8px;
    }
    
    .warning-box ul {
        margin: 8.8px 0 8.8px 17.6px;
    }
    
    .tech-grid, .contact-methods {
        grid-template-columns: repeat(auto-fit, minmax(176px, 1fr));
        gap: 17.6px;
        margin: 26.4px 0;
    }
    
    .tech-item, .contact-card {
        padding: 17.6px;
        border-radius: 8.8px;
    }
    
    .tech-item i {
        font-size: 2.2rem;
        margin-bottom: 8.8px;
    }
    
    .contact-card i {
        font-size: 1.76rem;
        margin-bottom: 13.2px;
    }
    
    .contact-form {
        margin-top: 35.2px;
        padding: 22px;
        border-radius: 8.8px;
    }
    
    .terms-content {
        padding: 8.8px;
        margin-bottom: 13.2px;
        border-radius: 5.5px;
        max-height: calc(70vh - 132px);
    }
    
    .terms-content ul {
        margin: 13.2px 0;
        padding-left: 17.6px;
    }
    
    .terms-content li {
        margin-bottom: 8.8px;
    }
    
    .terms-content li i {
        margin-right: 8.8px;
    }
    
    .terms-checkbox {
        margin-top: 17.6px;
        margin-bottom: 4.4px;
    }
    
    .modal-actions {
        gap: 8.8px;
        margin-top: 13.2px;
        padding-top: 8.8px;
    }
    
    .loading {
        min-height: 264px;
    }
    
    .spinner-container {
        margin: 6.6px;
    }
    
    .loading-spinner i {
        font-size: 2.2rem;
    }
    
    .no-notes, .error {
        padding: 35.2px;
    }
    
    .note-message {
        margin-bottom: 17.6px;
        padding-right: 4.4px;
    }
    
    .note-date {
        margin-top: 4.4px;
    }
    
    .char-counter {
        margin-top: 4.4px;
    }
    
    .note-reaction {
        padding-top: 8.8px;
    }
    
    .reaction-btn {
        gap: 4.4px;
        padding: 4.4px 8.8px;
        border-radius: 16.5px;
        font-size: 0.99rem;
        min-width: 44px;
    }
    
    .reaction-btn i {
        font-size: 1.1rem;
    }
    
    .reaction-count {
        font-size: 0.935rem;
    }
    
    .recaptcha-disclaimer {
        margin-top: 0.44rem;
        padding-top: 0.44rem;
        margin-bottom: -4.4px;
    }
}

@media (max-width: 600px) {
    .tech-grid, .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .notes-container {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
        padding: 17.6px 13.2px;
    }
}

@media (max-width: 400px) {
    .color-options {
        justify-content: flex-start;
    }
}