:root {
    --primary-color: #00ff00; /* Green */
    --secondary-color: #00ffff; /* Cyan */
    --background-color: #0a0a1e; /* Dark Blue/Purple */
    --text-color: #ffffff;
    --accent-color: #ff00ff; /* Magenta */
    --font-pixel: 'Press Start 2P', cursive;
    --font-text: 'VT323', monospace;
    --scanline-opacity: 0.1;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-text);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
    font-size: 18px; /* Base font size for VT323 */
}

/* Animated Background & Scanlines */
#background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: linear-gradient(
        -45deg,
        #0a0a1e,
        #1a1a3e,
        #0a0a1e,
        #2a0a3e
    );
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

body::after { /* Scanlines */
    content: " ";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 4px, 6px 100%;
    z-index: -1;
    pointer-events: none;
    opacity: var(--scanline-opacity);
    animation: scanlines 0.1s linear infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes scanlines {
    0% { background-position: 0 0; }
    100% { background-position: 0 100%; }
}

/* Header & Nav */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgba(10, 10, 30, 0.85); /* Slightly more opaque */
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--primary-color);
    z-index: 100;
    padding: 10px 0;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-family: var(--font-pixel);
    color: var(--primary-color);
    font-size: 1.2em; /* Adjusted size slightly */
    animation: blink 1.5s infinite step-end;
    white-space: nowrap; /* Prevent wrapping */
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center; /* Align items vertically */
}

nav ul li {
    margin-left: 20px; /* Slightly reduced margin */
}

nav ul li a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 1em;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    padding: 5px 8px; /* Add padding for better click area */
    border-radius: 3px; /* Slight rounding */
}

nav ul li a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 5px var(--primary-color);
    background-color: rgba(0, 255, 0, 0.1); /* Subtle hover background */
}

/* General Nav Button Styling (Applied to Resume Button) */
.nav-button {
     background-color: var(--primary-color);
     color: var(--background-color);
     font-family: var(--font-pixel);
     font-size: 0.8em; /* Slightly smaller pixel font */
     padding: 8px 15px; /* Specific padding */
     border: 1px solid var(--primary-color);
     text-align: center;
     transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.nav-button:hover {
    background-color: var(--secondary-color);
    color: var(--background-color); /* Keep contrast */
    border-color: var(--secondary-color);
    box-shadow: 0 0 10px var(--secondary-color);
    text-shadow: none; /* Override general link hover */
}

/* Specific Resume Button Style */
a.resume-button {
    /* Inherits .nav-button styles */
}


/* Main Content */
main {
    padding-top: 80px; /* Adjust based on header height */
}

.section-container {
    max-width: 1000px;
    margin: 70px auto; /* Increased margin */
    padding: 45px; /* Increased padding */
    background-color: rgba(0, 0, 0, 0.6); /* Slightly darker */
    border: 1px solid var(--secondary-color);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.25);
    position: relative; /* For pseudo-elements */
}

.section-container::before { /* Glitchy border effect */
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid var(--primary-color);
    z-index: -1;
    opacity: 0.5;
    filter: blur(2px);
    animation: border-glitch 2.5s infinite alternate steps(5, end); /* More glitchy */
}

@keyframes border-glitch {
    0% { clip-path: inset(80% 50% 10% 10%); }
    20% { clip-path: inset(10% 80% 70% 5%); }
    40% { clip-path: inset(50% 10% 20% 80%); }
    60% { clip-path: inset(25% 75% 55% 15%); }
    80% { clip-path: inset(70% 5% 15% 60%); }
    100% { clip-path: inset(10% 60% 80% 20%); }
}

h1, h2, h3, h4 {
    font-family: var(--font-pixel);
    color: var(--primary-color);
    margin-bottom: 25px; /* Increased spacing */
    text-shadow: 1px 1px 0 var(--accent-color), 2px 2px 0 var(--secondary-color); /* Retro shadow */
}

h1 {
    font-size: 2.2em;
    text-align: center;
}

h2 {
    font-size: 1.7em;
    border-bottom: 2px dashed var(--secondary-color);
    padding-bottom: 15px;
    margin-bottom: 35px;
}

/* Hero Section */
#hero {
    text-align: center;
}

.subtitle {
    font-size: 1.3em;
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

.certifications {
    margin: 25px 0;
}

.certifications span {
    display: inline-block;
    margin: 5px 10px;
    padding: 8px 12px;
    background-color: rgba(0, 255, 255, 0.1);
    border: 1px solid var(--secondary-color);
    border-radius: 4px;
    box-shadow: inset 0 0 5px rgba(0, 255, 255, 0.2);
}

/* Styling for the new summary text in Hero section */
#hero .summary-text {
    margin-top: 25px;    /* Space above the summary */
    margin-bottom: 30px; /* Space below the summary, before the button */
    max-width: 700px;    /* Limit width for better readability on wider screens */
    margin-left: auto;   /* Center the text block if max-width is applied */
    margin-right: auto;  /* Center the text block if max-width is applied */
    line-height: 1.7;    /* Slightly increased line spacing */
    font-size: 1.05em;   /* Slightly larger text if desired */
    color: var(--text-color); /* Ensure standard text color */
    text-align: center;   /* Keep center alignment consistent with hero */
}


.cta-button {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 30px; /* Larger button */
    background-color: var(--primary-color);
    color: var(--background-color);
    text-decoration: none;
    font-family: var(--font-pixel);
    font-size: 1em;
    border: 1px solid var(--primary-color);
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    text-shadow: none; /* Remove potential inherited shadow */
}

.cta-button:hover {
    background-color: var(--secondary-color);
    color: var(--background-color);
    box-shadow: 0 0 15px var(--secondary-color);
    transform: scale(1.05); /* Slight zoom effect */
}

/* Experience Section */
.experience-item {
    margin-bottom: 40px;
}

.company-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.company-logo {
    height: 45px; /* Slightly larger logo */
    margin-right: 15px;
    background-color: #fff; /* Add background if logo is transparent */
    padding: 5px;
    border-radius: 4px;
    border: 1px solid var(--secondary-color);
}

.experience-item > span {
    display: block;
    margin-bottom: 15px;
    font-style: italic;
    color: var(--secondary-color);
}

.client-section {
    margin-top: 20px;
    padding-left: 25px; /* Increased padding */
    border-left: 3px dashed var(--primary-color); /* Thicker dash */
}

.client {
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
}

.client-logo {
    height: 35px; /* Slightly larger */
    margin-right: 15px;
    margin-top: 5px; /* Align with text better */
    background-color: #fff;
    padding: 4px;
    border-radius: 3px;
    flex-shrink: 0;
    border: 1px solid var(--primary-color);
}

.client h4 {
    margin-bottom: 10px; /* Space between client heading and details */
}

.client p {
    margin-bottom: 8px;
}

.tech-stack {
    font-size: 0.9em;
    color: var(--accent-color);
    font-style: italic;
    word-spacing: 2px; /* Better readability */
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Slightly larger cards */
    gap: 30px; /* Increased gap */
}

/* Added Loading Placeholder Style */
.loading-placeholder {
    color: var(--secondary-color);
    text-align: center;
    font-size: 1.1em;
    grid-column: 1 / -1; /* Span full width if grid is empty */
    padding: 40px 0;
}

.project-card {
    background-color: rgba(26, 26, 62, 0.8); /* More opaque */
    border: 1px solid var(--secondary-color);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    overflow: hidden; /* Contain image hover effect */
    position: relative;
    border-radius: 5px; /* Subtle rounding */
}

.project-card:hover {
    transform: translateY(-8px); /* Increased lift */
    box-shadow: 0 12px 25px rgba(0, 255, 255, 0.35);
}

.project-card img {
    width: 100%;
    height: 200px; /* Increased image height */
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
    border: 1px solid var(--primary-color);
    transition: transform 0.4s ease, filter 0.3s ease; /* Added filter transition */
    border-radius: 3px;
}

.project-card:hover img {
   transform: scale(1.08); /* Increased zoom */
   filter: brightness(1.1); /* Slight brightness on hover */
}

.project-card h4 {
    font-family: var(--font-text);
    font-size: 1.4em; /* Larger title */
    color: var(--secondary-color);
    margin-bottom: 10px;
    text-shadow: none; /* Override global h4 shadow if needed */
}

.project-card p {
    font-size: 1em; /* Slightly larger text */
    margin-bottom: 10px;
}


/* Project Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8); /* Darker overlay */
    backdrop-filter: blur(8px); /* Stronger blur */
}

.modal-content {
    background-color: var(--background-color);
    margin: 8% auto; /* Adjust vertical position */
    padding: 35px;
    border: 3px solid var(--primary-color); /* Thicker border */
    width: 85%;
    max-width: 750px; /* Slightly wider */
    position: relative;
    box-shadow: 0 0 35px var(--primary-color);
    animation: modalFadeIn 0.4s ease-out; /* Faster animation */
    border-radius: 5px;
}

@keyframes modalFadeIn {
    from {opacity: 0; transform: translateY(-20px) scale(0.95); } /* Changed animation slightly */
    to {opacity: 1; transform: translateY(0) scale(1);}
}

.close-button {
    color: var(--accent-color);
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.2s ease;
}

.close-button:hover,
.close-button:focus {
    color: var(--text-color); /* White on hover */
    transform: rotate(90deg); /* Fun rotate effect */
}

#modal-title {
    margin-top: 0;
    margin-bottom: 25px;
    color: var(--primary-color);
    font-size: 2em; /* Larger modal title */
}

.modal-image {
    width: 100%;
    max-height: 350px;
    object-fit: contain;
    margin-bottom: 25px;
    border: 2px solid var(--secondary-color);
    background-color: rgba(255,255,255,0.1);
    border-radius: 4px;
}

#modal-description {
    margin-bottom: 20px;
    font-size: 1.1em;
    line-height: 1.7; /* Better readability for longer text */
}

#modal-tech-stack {
    margin-bottom: 25px;
    font-size: 1em; /* Match modal desc */
}

#modal-links a {
    display: inline-block;
    margin-right: 15px;
    margin-top: 15px;
    padding: 10px 18px;
    background-color: var(--secondary-color);
    color: var(--background-color);
    text-decoration: none;
    border: 1px solid var(--secondary-color);
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    font-family: var(--font-pixel);
    font-size: 0.85em;
    border-radius: 3px;
}

#modal-links a:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
    transform: translateY(-2px); /* Lift effect */
}

/* Skills Section */
.skills-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px; /* Slightly increased gap */
}

.skills-list li {
    background-color: rgba(0, 255, 0, 0.15); /* Slightly more visible */
    border: 1px solid var(--primary-color);
    padding: 10px 18px; /* Larger padding */
    border-radius: 4px;
    font-size: 1em; /* Consistent font size */
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
    cursor: default; /* Indicate they aren't clickable */
}

.skills-list li:hover {
    background-color: rgba(0, 255, 0, 0.25);
    box-shadow: 0 0 8px var(--primary-color);
    transform: scale(1.03); /* Slight zoom on hover */
}

/* --- Education Section Styling --- */

#education .education-list {
    margin-top: 20px; /* Add some space below the heading */
}

#education .education-item {
    margin-bottom: 25px; /* Space between education entries */
    padding-left: 15px; /* Optional indent */
    border-left: 3px solid var(--secondary-color); /* Accent line */
}

#education .education-item p {
    margin: 0 0 5px 0; /* Small spacing between lines within an entry */
    line-height: 1.5;
}

#education .degree {
    font-size: 1.15em;
    color: var(--text-color); /* White or main text color */
    font-weight: bold; /* Make degree stand out */
}

#education .institution {
    font-size: 1.05em;
    color: var(--secondary-color); /* Use secondary color for institution */
}

#education .location-year {
    font-size: 0.95em;
    color: var(--accent-color); /* Use accent color for location/year */
    font-style: italic;
}

/* --- End of Education Section Styling --- */

/* Socials Section NEW */
#socials {
    text-align: center; /* Center the links container */
}
#socials h2 {
    text-align: left; /* Keep section header aligned left */
}
.social-links {
    display: flex; /* Use flexbox for alignment */
    justify-content: center; /* Center items horizontally */
    gap: 30px; /* Space between icons */
    margin-top: 20px;
}

.social-links a {
    display: inline-flex; /* Use inline-flex for alignment */
    align-items: center;
    justify-content: center;
    width: 50px; /* Size of the 'icon' area */
    height: 50px;
    border-radius: 50%; /* Make it circular */
    border: 2px solid var(--secondary-color);
    background-color: rgba(0, 255, 255, 0.1);
    color: var(--secondary-color);
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
    font-size: 1.5em; /* Size of the text/icon inside */
    font-family: var(--font-pixel); /* Use pixel font for text icons */
}

.social-links a span {
    display: block; /* Ensure span takes up space */
}


.social-links a:hover {
    background-color: var(--secondary-color);
    border-color: var(--primary-color);
    color: var(--background-color); /* Text color change on hover */
    transform: scale(1.1) rotate(5deg); /* Scale and slight rotate */
    box-shadow: 0 0 15px var(--secondary-color);
}

/* Contact Section */
#contact {
    text-align: center;
}
#contact h2 {
    text-align: left; /* Keep section header aligned left */
}

.contact-link {
    color: var(--secondary-color);
    text-decoration: none;
    border-bottom: 2px dashed var(--secondary-color);
    transition: color 0.3s ease, border-bottom-color 0.3s ease;
    padding-bottom: 2px; /* Space for the underline */
}

.contact-link:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.terminal-prompt {
    font-family: var(--font-pixel);
    color: var(--primary-color);
    margin-top: 25px;
    font-size: 1.3em;
    animation: blink 1s infinite step-end;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px; /* Increased padding */
    margin-top: 80px; /* Increased margin */
    border-top: 2px solid var(--primary-color);
    color: var(--secondary-color);
    font-size: 0.95em;
}
footer p:last-child {
    margin-top: 5px;
    font-family: var(--font-pixel);
    font-size: 0.8em;
    color: var(--primary-color);
    opacity: 0.7;
}

/* Cursor Trail - Needs JS Uncommented */
/*
.cursor-trail {
    position: fixed;
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1002;
    transition: transform 0.1s ease-out, opacity 0.2s ease-out;
    transform: translate(-50%, -50%);
    opacity: 0.7;
    box-shadow: 0 0 12px var(--primary-color), 0 0 5px var(--primary-color) inset;
}
*/

/* new updates*/

/* Add styling for the location in Hero section */
#hero .location {
    font-size: 1.1em; /* Adjust size as needed */
    color: var(--secondary-color);
    margin-top: 5px; /* Space above */
    margin-bottom: 15px; /* Space below */
    text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
}

/* Modify Socials Section to use Images */
#socials {
    text-align: center; 
}
#socials h2 {
    text-align: left; 
}
.social-links {
    display: flex; 
    justify-content: center; 
    gap: 35px; /* Increase gap slightly */
    margin-top: 25px; /* Increase top margin */
}

.social-links a {
    display: inline-block; /* Use inline-block */
    padding: 8px; /* Add some padding around the icon */
    border-radius: 50%; 
    border: 2px solid var(--secondary-color);
    background-color: rgba(0, 255, 255, 0.1);
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
    line-height: 0; /* Prevent extra space below image */
}

.social-links a:hover {
    background-color: var(--secondary-color);
    border-color: var(--primary-color);
    transform: scale(1.15) rotate(5deg); /* Increase scale slightly */
    box-shadow: 0 0 15px var(--secondary-color);
}

/* Style for the social icon images themselves */
.social-icon {
    width: 32px;  /* Adjust size as needed */
    height: 32px; /* Adjust size as needed */
    display: block; /* Ensure it behaves like a block */
    /* If your logos are black and need to be white: */
    /* filter: invert(100%) brightness(2); */ 
    /* Or if they are white SVG and need color */
     /* fill: var(--secondary-color); /* If it's an SVG */
}

.social-links a:hover .social-icon {
     /* filter: none; */ /* Optional: Remove filter on hover if you inverted */
      /* fill: var(--background-color); /* Change SVG color on hover */
}
/* end of update section*/


/* --- Alignment and Link Fixes for Experience Section --- */

/* Improve vertical alignment in the main company header */
.company-header {
    display: flex;
    align-items: center; /* This should vertically center */
    margin-bottom: 10px; /* Keep existing margin */
}

/* Ensure the h3 inside the header doesn't have extra margin causing misalignment */
.company-header h3 {
    margin-bottom: 0; /* Remove bottom margin if it exists */
    margin-top: 0; /* Remove top margin if it exists */
    /* You might adjust line-height if needed, but flex align-items should work */
    /* line-height: 1.2; */
}

/* --- Revised Client Section Layout (Replace previous .client related styles) --- */

.client {
    /* .client is now just a container, doesn't need flex directly */
    margin-bottom: 30px; /* Space between client blocks */
}

.client-header {
    display: flex;        /* Align logo and title horizontally */
    align-items: center;  /* Vertically center logo and title */
    margin-bottom: 10px;  /* Space between header and details */
}

.logo-link {
    display: inline-block; /* Keep as block/inline-block */
    line-height: 0;      /* Prevent extra space */
    margin-right: 15px;  /* Space between logo and title */
    flex-shrink: 0;      /* Prevent logo link from shrinking */
}

/* Ensure logo styles are applied correctly */
.client-logo {
    height: 35px;
    background-color: #fff;
    padding: 4px;
    border-radius: 3px;
    border: 1px solid var(--primary-color);
    display: block; /* Necessary inside link */
}

.client-title {
    font-family: var(--font-text); /* Using text font for readability */
    font-weight: bold;          /* Make the title stand out */
    font-size: 1.25em;          /* Adjust size as needed */
    color: var(--text-color);   /* White title */
    margin: 0;                  /* Remove default margins */
    line-height: 1.3;           /* Adjust line height if needed */
    text-shadow: none;          /* Remove pixelated shadow if desired */
}

.client-details {
    /* Indent the details to align roughly under the client title */
     padding-left: 55px; /* Approx: Logo(35) + Padding(4*2=8) + Border(1*2=2) + Margin(15) ~= 60. Adjust this value visually! */
     /* margin-left: 55px; */ /* Alternatively use margin */
}

.client-description {
     margin-bottom: 10px; /* Space between description and tech stack */
     line-height: 1.6;
}

.tech-stack {
    /* Styles remain the same */
    font-size: 0.9em;
    color: var(--accent-color);
    font-style: italic;
    word-spacing: 2px;
}

/* Keep optional hover/focus for logo link */
.logo-link:hover img {
    box-shadow: 0 0 8px var(--secondary-color);
    opacity: 0.9;
}
.logo-link:focus {
    outline: 2px dashed var(--secondary-color);
    outline-offset: 3px;
}

/* --- End of Experience Section Fixes --- */


/* Responsive Design */
@media (max-width: 992px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Adjust card size for tablets */
    }
}


@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    header {
        padding: 5px 0; /* Reduce padding */
    }

    nav {
        flex-direction: column;
        align-items: center;
    }

    .logo {
        margin-bottom: 8px;
    }

    nav ul {
        padding: 0;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 5px;
    }

    nav ul li {
        margin: 5px 8px; /* Adjust spacing */
    }
    /* Ensure resume button wraps correctly */
     nav ul li a.resume-button {
        margin-top: 5px; /* Add margin if needed on wrap */
    }

    main {
        padding-top: 130px; /* Adjust more for wrapped nav */
    }

    .section-container {
        margin: 50px auto;
        padding: 30px;
    }

    h1 {
        font-size: 1.8em;
    }

    h2 {
        font-size: 1.5em;
    }
    
    .projects-grid {
        grid-template-columns: 1fr; /* Stack projects */
        gap: 25px;
    }

     .project-card img {
        height: 180px; /* Adjust height for stacked view */
    }

    .modal-content {
        width: 90%;
        margin: 15% auto;
        padding: 25px;
    }

     #modal-title {
        font-size: 1.6em;
    }

    .client {
       flex-direction: column;
       align-items: flex-start;
    }

    .client-logo {
        margin-bottom: 10px;
    }

    .social-links {
        gap: 20px; /* Reduce gap */
    }

    .social-links a {
        width: 45px;
        height: 45px;
        font-size: 1.3em;
    }

    .skills-list li {
        padding: 8px 12px; /* Smaller skill tags */
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 15px;
    }
    nav ul li {
        margin-left: 10px; /* Further adjust nav spacing */
    }
    main {
        padding-top: 140px; /* Might need even more */
    }
     .section-container {
        margin: 40px 15px; /* Reduce side margin */
        padding: 20px;
    }
     h1 {
        font-size: 1.6em;
    }
    h2 {
        font-size: 1.3em;
    }
    .cta-button {
        padding: 12px 25px;
        font-size: 0.9em;
    }
    #modal-links a {
        padding: 8px 15px;
        font-size: 0.8em;
    }

    .social-links {
        gap: 15px;
    }
    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 1.2em;
    }
}