/* Basic Reset & Body Styles */
:root {
    /* --- Core Color Palette --- */
    --milk-white: #FCFCFC; /* A soft, creamy off-white for light mode backgrounds */
    --pitch-black: #000000; /* Absolute black for AMOLED dark mode */
    --dark-grey-for-amoled-elements: #0A0A0A; /* Very dark grey for cards/panels on AMOLED */

    /* Purple Hues for Gradients and Accents */
    --purple-light-1: #A29BFE; /* Soft Lavender / Periwinkle */
    --purple-light-1-rgb: 162, 155, 254; /* RGB for rgba() usage */
    --purple-light-2: #8E7BFD; /* Vibrant Mid-Purple */
    --purple-light-2-rgb: 142, 123, 253; /* RGB for rgba() usage */
    --purple-light-3: #6B4FFC; /* Rich, Intense Purple */
    --purple-light-3-rgb: 107, 79, 252; /* RGB for rgba() usage */
    --purple-light-4: #4B28B3; /* Very Deep Purple (for hover/darkest gradient parts) */
    --purple-light-4-rgb: 75, 40, 179; /* RGB for rgba() usage */

    /* Additional specific purple hues for dark mode to ensure pop on black */
    --purple-dark-1: #B0A8F7; /* Lighter lavender for contrast on black */
    --purple-dark-1-rgb: 176, 168, 247; /* RGB for rgba() usage */
    --purple-dark-2: #7A67E8; /* Lighter mid purple for contrast on black */
    --purple-dark-2-rgb: 122, 103, 232; /* RGB for rgba() usage */
    --purple-dark-3: #5937D3; /* Lighter rich purple for contrast on black */
    --purple-dark-3-rgb: 89, 55, 211; /* RGB for rgba() usage */

    /* --- Dynamic Variables (Default: LIGHT MODE) --- */
    --primary-text-color: #222222; /* Dark grey for main text on light background */
    --secondary-text-color: #555555; /* Slightly lighter dark grey for secondary text */
    --background-color: var(--milk-white); /* Milk white background (will be overridden by full page gradient) */
    --transparent-bg: rgba(252, 252, 252, 0.8); /* Transparent milk white for sections */
    --accent-color: var(--purple-light-3); /* Rich purple for primary accents */
    --link-hover-color: var(--purple-light-4); /* Deeper purple for link hover */
    --button-gradient-start: var(--purple-light-1); /* Light purple for buttons */
    --button-gradient-end: var(--purple-light-3); /* Rich purple for buttons */
    --border-and-shadow-color: rgba(0, 0, 0, 0.1); /* Subtle dark for light mode shadows/borders */

    /* New: Translucent primary text-color for labels/titles */
    --translucent-label-color: rgba(34, 34, 34, 0.7); /* 70% opaque dark grey for light mode h2 */

    /* New: Background for the frosted glass effect on h2 titles */
    --glass-bg-color: rgba(255, 255, 255, 0); /* Changed to fully transparent white */

    /* UPDATED: Hero text gradient colors for a pink-purple gradient */
    --hero-text-gradient-start: #FF6B6B; /* Vibrant Red-Pink */
    --hero-text-gradient-end: #8E7BFD; /* Vibrant Mid-Purple (existing) */

    /* Terminal-specific colors - AMOLED Pitch Black and Green */
    --terminal-bg-color: rgba(0, 0, 0, 0.95); /* AMOLED Pitch Black with slight transparency */
    --terminal-text-color: #39FF14; /* Very Vibrant Green */
    --terminal-highlight-color: #7FFF00; /* Chartreuse Green for highlight */
    --terminal-keyword-color: #FF6B6B; /* Vibrant Red-Pink for keywords */
    --terminal-header-bg: rgba(10, 10, 10, 0.904); /* Very dark transparent header */
    --terminal-button-red: #ff5f56;
    --terminal-button-yellow: #ffbd2e;
    --terminal-button-green: #27c93f;

    /* Typing Animation Variables (for terminal) */
    --line-typing-duration: 2s; /* How long each line takes to type (increased for longer lines) */
    --line-stagger-delay: 0.8s; /* Delay before the next line starts typing (adjusted) */

    /* Hero Typing Animation Variables */
    --hero-typing-duration: 1.5s; /* Duration for each hero line */
    --hero-stagger-delay: 1.0s; /* Delay between hero lines */

    /* New: Full-page gradient colors */
    --gradient-color-white-gray: #F8F8F8; /* Soft White / Light Gray */
    --gradient-color-pastel-blue: #C5E6F5; /* Pastel Blue */
    --gradient-color-light-pink: #FFDDE1; /* Light Pink / Rose */
    --gradient-color-faint-purple: #E6D9F2; /* Very Faint Purple / Lavender */


    /* Smooth transition for theme properties */
    transition:
        --primary-text-color 0.3s ease,
        --secondary-text-color 0.3s ease,
        --background-color 0.3s ease,
        --transparent-bg 0.3s ease,
        --accent-color 0.3s ease,
        --link-hover-color 0.3s ease,
        --button-gradient-start 0.3s ease,
        --button-gradient-end 0.3s ease,
        --border-and-shadow-color 0.3s ease,
        --translucent-label-color 0.3s ease,
        --glass-bg-color 0.3s ease,
        --hero-text-gradient-start 0.3s ease,
        --hero-text-gradient-end 0.3s ease,
        --terminal-bg-color 0.3s ease,
        --terminal-text-color 0.3s ease,
        --terminal-highlight-color 0.3s ease,
        --terminal-keyword-color 0.3s ease,
        --terminal-header-bg 0.3s ease,
        --gradient-color-white-gray 0.3s ease,
        --gradient-color-pastel-blue 0.3s ease,
        --gradient-color-light-pink 0.3s ease,
        --gradient-color-faint-purple 0.3s ease;
}

/* --- Dark Mode Overrides applied via [data-theme="dark"] on <html> --- */
html[data-theme="dark"] {
    --primary-text-color: #FAFAFA; /* Bright white for main text on black */
    --secondary-text-color: #E0E0E0; /* Slightly darker white for secondary text */
    --background-color: var(--pitch-black); /* PITCH BLACK AMOLED background (will be overridden) */
    --transparent-bg: rgba(0, 0, 0, 0.8); /* Transparent pitch black for sections */
    --accent-color: var(--purple-dark-1); /* Lighter purple to pop on black background */
    --link-hover-color: var(--purple-dark-2); /* Mid purple for link hover */
    --button-gradient-start: var(--purple-dark-1); /* Lighter purple for buttons */
    --button-gradient-end: var(--purple-dark-3); /* Mid purple for buttons */
    --border-and-shadow-color: rgba(255, 255, 255, 0.1); /* Subtle light for dark mode shadows/borders */

    /* New: Translucent primary text-color for labels/titles in dark mode */
    --translucent-label-color: rgba(250, 250, 250, 0.7); /* 70% opaque bright white for dark mode h2 */

    /* New: Background for the frosted glass effect on h2 titles in dark mode */
    --glass-bg-color: rgba(0, 0, 0, 0); /* Changed to fully transparent black */

    /* UPDATED: Hero text gradient colors for dark mode */
    --hero-text-gradient-start: #FF99DD; /* Lighter, more vivid pink for dark theme */
    --hero-text-gradient-end: #B0A8F7; /* Lighter lavender (existing) for dark theme */

    /* Terminal-specific colors for dark mode - AMOLED Pitch Black and Green */
    --terminal-bg-color: rgba(0, 0, 0, 0.98); /* Even closer to full AMOLED Pitch Black */
    --terminal-text-color: #00FF33; /* Even more vibrant green */
    --terminal-highlight-color: #98FB98; /* PaleGreen for highlight */
    --terminal-keyword-color: #FF8C00; /* DarkOrange for keywords */
    --terminal-header-bg: rgba(5, 5, 5, 0.9); /* Almost solid black transparent header */

    /* New: Full-page gradient colors for dark mode */
    --gradient-color-white-gray: #1A1A1A; /* Very dark gray, almost black */
    --gradient-color-pastel-blue: #2F4F70; /* Muted darker blue */
    --gradient-color-light-pink: #6F4F4F; /* Muted darker pink/reddish */
    --gradient-color-faint-purple: #4A3C5C; /* Muted darker purple */

    /* Removed particle colors as they are now handled by JS directly */


    /* Adjust specific dark mode shadows/borders */
    .navbar {
        box-shadow: 0 2px 10px rgba(255, 255, 255, 0.2); /* Lighter shadow for visibility on black */
    }
    footer {
        box-shadow: 0 -2px 10px rgba(255, 255, 255, 0.2); /* Lighter shadow for visibility on black */
    }
    .profile-photo {
        box-shadow: 0 0 20px rgba(176, 168, 247, 0.4); /* Lighter accent color for photo shadow */
    }
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* Enables smooth scrolling when clicking navigation links */
}

body {
    font-family: 'Montserrat', sans-serif; /* Modern, clean sans-serif font */
    line-height: 1.6;
    color: var(--primary-text-color); /* Uses dynamic text-color */
    background-attachment: fixed; /* Keep background fixed during scroll */
    overflow-x: hidden; /* Prevents horizontal scrollbars */
    min-height: 100vh; /* Ensure body takes at least full viewport height */
    margin: 0; /* Remove default body margin */

    /* --- Layered Background for Blockchain Effect --- */
    background-image:
        /* Node-like glows (large, soft, positioned to give overall spread) */
        radial-gradient(circle at 10% 20%, rgba(var(--purple-light-1-rgb), 0.15) 0%, transparent 60%),
        radial-gradient(circle at 90% 80%, rgba(var(--purple-light-3-rgb), 0.15) 0%, transparent 60%),
        radial-gradient(circle at 40% 60%, rgba(var(--purple-light-2-rgb), 0.15) 0%, transparent 60%),
        radial-gradient(circle at 60% 30%, rgba(255, 171, 171, 0.15) 0%, transparent 60%), /* light pink glow */
        radial-gradient(circle at 25% 75%, rgba(197, 230, 245, 0.15) 0%, transparent 60%), /* pastel blue glow */

        /* Interconnected lines (subtle, repeating diagonal) */
        repeating-linear-gradient(45deg,
            rgba(var(--purple-light-1-rgb), 0.03),
            rgba(var(--purple-light-1-rgb), 0.03) 1px,
            transparent 1px,
            transparent 25px /* Spacing between lines */
        ),
        repeating-linear-gradient(135deg,
            rgba(var(--purple-light-2-rgb), 0.03),
            rgba(var(--purple-light-2-rgb), 0.03) 1px,
            transparent 1px,
            transparent 25px /* Spacing between lines */
        ),
        /* Main page gradient - this will be the base color layer */
        linear-gradient(to top right,
            var(--gradient-color-white-gray),
            var(--gradient-color-pastel-blue) 30%,
            var(--gradient-color-faint-purple) 60%,
            var(--gradient-color-light-pink) 100%
        );

    background-size:
        600px 600px, /* Size of each radial gradient 'node' */
        600px 600px,
        600px 600px,
        600px 600px,
        600px 600px,
        100% 100%, /* Repeating linear gradients cover the whole area */
        100% 100%,
        cover; /* Main gradient covers the whole area */

    background-position:
        0 0, /* Radial gradients are offset to spread across the background */
        0 0,
        0 0,
        0 0,
        0 0,
        0 0, /* Linear gradients start from top-left */
        0 0,
        0 0; /* Main gradient starts from top-left */
}

/* particles.js container */
#particles-js {
    position: absolute; /* Positioned absolutely within hero section */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Behind text */
}


.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px; /* Adds padding on smaller screens */
}

/* --- Navbar --- */
.navbar {
    position: fixed; /* Stays at the top when scrolling */
    width: 100%;
    background-color: transparent; /* No background-color, purely blur */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--primary-text-color); /* Uses dynamic text-color */
    padding: 1rem 0;
    z-index: 1000; /* Ensures navbar is always on top */
    box-shadow: 0 2px 10px var(--border-and-shadow-color); /* Uses dynamic shadow-color */
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Styling for the image logo in the navbar */
.navbar .logo img {
    height: 70px; /* Set height for the logo */
    vertical-align: middle; /* Aligns image nicely with nav text if present */
    display: block; /* Ensures consistent rendering */
}

.navbar ul {
    list-style: none; /* Removes default bullet points */
    display: flex;
}

.navbar ul li {
    margin-left: 25px; /* Spacing between navigation items */
}

.navbar ul li a {
    color: var(--primary-text-color); /* Uses dynamic text-color */
    text-decoration: none;
    font-weight: 400;
    font-size: 1.05rem;
    padding: 5px 0;
    position: relative; /* Needed for the underline effect */
    transition: color 0.3s ease;
}

.navbar ul li a::after {
    content: '';
    position: absolute;
    width: 0; /* Starts with no width */
    height: 2px;
    background: var(--accent-color); /* Uses dynamic accent-color */
    left: 0;
    bottom: 0;
    transition: width 0.3s ease; /* Smooth animation for underline */
}

.navbar ul li a:hover::after {
    width: 100%; /* Expands to full width on hover */
}

.navbar ul li a:hover {
    color: var(--accent-color); /* Uses dynamic accent-color */
}

/* --- Hero Section --- */
.hero-section {
    height: 100vh; /* Takes up the full viewport height */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: transparent; /* Make it transparent to show body gradient */
    color: var(--primary-text-color); /* Uses dynamic text-color */
    position: relative; /* Ensure hero section is relative for absolute particles positioning */
    overflow: hidden;
    /* Initialize counter for hero typing animation */
    counter-reset: hero-line-counter;
}

/* Ensure text and button are above particles */
.hero-section .container > *,
.hero-section h1,
.hero-section p,
.hero-section .btn {
    position: relative;
    z-index: 1; /* Ensure content is above particles */
}

/* Removed hero-section::before as its purpose is now handled by the body background */


.hero-section .container {
    position: relative;
    z-index: 2; /* Ensures text is above any potential background overlays within hero section itself */
}

/* Apply typing animation to hero lines */
.hero-section .hero-line {
    background-image: linear-gradient(to right, var(--hero-text-gradient-start), var(--hero-text-gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent; /* Make text transparent to show background gradient */

    /* Typing animation properties */
    clip-path: inset(0 100% 0 0); /* Starts fully clipped (hidden to the right) */
    animation: typing-reveal var(--hero-typing-duration) linear forwards; /* Use linear for smooth reveal */
    counter-increment: hero-line-counter; /* Increment counter for each line */
    animation-delay: calc(var(--hero-stagger-delay) * var(--hero-line-counter)); /* Stagger delay */
}


.hero-section h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-section p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.btn {
    display: inline-block;
    background: linear-gradient(to right, var(--button-gradient-start), var(--button-gradient-end));
    color: #FFFFFF; /* White text always looks good on purple gradient */
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    transition: background 0.3s ease, transform 0.3s ease; /* Transition for gradient too */
    animation: zoomIn 1s ease-out 0.6s backwards; /* Animation with delay */
}

.btn:hover {
    background: linear-gradient(to right, var(--button-gradient-end), var(--button-gradient-start)); /* Reverse gradient on hover */
    transform: translateY(-3px); /* Subtle lift effect on hover */
}

/* --- Section Styling (General) --- */
section {
    padding: 80px 0;
    text-align: center;
    background-color: transparent; /* Make section backgrounds transparent to show body gradient */
    position: relative;
    transition: background-color 0.3s ease; /* Smooth transition for theme change */
}

/* These sections should be transparent to show the body gradient */
section:nth-of-type(even) {
    background-color: transparent;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.about-section, .contact-section {
    background: transparent; /* Ensure they remain transparent */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    overflow: hidden;
    position: relative;
    z-index: 0;
}

/* Removed the ::before pseudo-element for about/contact sections as it's no longer needed */


section h2 {
    font-size: 2.8rem;
    margin-bottom: 30px;
    color: var(--translucent-label-color);
    position: relative;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding: 10px 25px;
    background-color: var(--glass-bg-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* --- About Section - New Two-Column Layout --- */
.about-section .container {
    text-align: center;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    max-width: 950px;
    margin: 0 auto;
}

.about-image {
    flex: 0 0 auto;
    width: 100%;
    max-width: 280px;
    text-align: center;
}

.about-text {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    text-align: left;
}

/* Ensure the existing profile-photo styles apply correctly */
.profile-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 5px solid var(--accent-color);
    box-shadow: 0 0 20px var(--border-and-shadow-color);
    display: block;
}

/* --- Terminal Window Styles --- */
.terminal-window {
    background-color: var(--terminal-bg-color); /* Transparent blurred background */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    animation: fadeInUp 1.5s ease-out; /* Adjusted duration for smoother effect, still on load */
}

.terminal-header {
    background-color: var(--terminal-header-bg);
    padding: 10px 15px;
    display: flex;
    align-items: center;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.terminal-buttons {
    display: flex;
    gap: 8px;
    position: absolute;
    left: 15px;
}

.terminal-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.terminal-button.red { background-color: var(--terminal-button-red); }
.terminal-button.yellow { background-color: var(--terminal-button-yellow); }
.terminal-button.green { background-color: var(--terminal-button-green); }

.terminal-button:hover {
    opacity: 1;
}

.terminal-title {
    flex-grow: 1;
    text-align: center;
    color: var(--terminal-text-color);
    font-family: 'Roboto Mono', monospace;
    font-size: 0.9rem;
    font-weight: 500;
}

.terminal-body {
    padding: 25px;
    background-color: transparent;
    font-family: 'Roboto Mono', monospace;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--terminal-text-color);
    text-align: left;
    min-height: 250px;
    counter-reset: terminal-line-counter; /* Initialize counter for staggered animation */
}

/* Initial state for terminal lines - hidden */
.terminal-line {
    margin-bottom: 10px;
    clip-path: inset(0 100% 0 0); /* Starts fully clipped (hidden to the right) */
    /* Animation removed from here; will be added by JavaScript via .animate-typing class */
}

.terminal-line:last-child {
    margin-bottom: 0;
}

.terminal-list {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
    margin-bottom: 15px;
}

.terminal-list .terminal-line {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

.terminal-list .terminal-line::before {
    content: '- '; /* Terminal-style bullet */
    position: absolute;
    left: 0;
    color: var(--terminal-highlight-color); /* Highlight bullet */
}

/* Class added by JavaScript to trigger animation */
.terminal-line.animate-typing {
    animation: typing-reveal var(--line-typing-duration) linear forwards;
    animation-delay: calc(var(--line-stagger-delay) * var(--terminal-line-counter));
}

.terminal-body strong,
.terminal-body .highlight {
    color: var(--terminal-highlight-color);
    font-weight: 700;
}

.terminal-body .code-keyword {
    color: var(--terminal-keyword-color);
    font-weight: 700;
}

/* Typing cursor animation */
.final-prompt .cursor {
    display: inline-block;
    background-color: var(--terminal-text-color);
    width: 8px;
    height: 1em;
    margin-left: 4px;
    vertical-align: middle;
    animation: blink-caret 0.75s step-end infinite;
    /* Start blinking after the final prompt's text has finished typing, only if animated */
}

/* Adjust cursor animation delay for animated lines */
.terminal-line.animate-typing.final-prompt .cursor {
    animation-delay: calc(var(--line-stagger-delay) * var(--terminal-line-counter) + var(--line-typing-duration));
}


/* Keyframes for the new clip-path typing effect */
@keyframes typing-reveal {
    from {
        clip-path: inset(0 100% 0 0); /* Hidden from the right */
    }
    to {
        clip-path: inset(0 0% 0 0); /* Fully revealed */
    }
}

/* Keyframes for cursor blinking (already defined) */
@keyframes blink-caret {
    from, to { background-color: transparent }
    50% { background-color: var(--terminal-text-color); }
}


/* --- Contact Section --- */
.contact-info p {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--secondary-text-color);
}

/* No longer needed for specific text links, but kept in case you put text links elsewhere */
.contact-info a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--link-hover-color);
    text-decoration: underline;
}

.social-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.social-links a {
    display: inline-block;
    font-size: 2rem;
    color: var(--accent-color);
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-5px);
    color: var(--link-hover-color);
}

/* --- Footer --- */
footer {
    background-color: transparent; /* Make footer transparent to show body gradient */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--secondary-text-color);
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
    box-shadow: 0 -2px 10px var(--border-and-shadow-color);
}

/* --- Animations --- */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* --- Responsive Design (Media Queries) --- */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    .navbar .logo {
        margin-bottom: 15px;
    }
    .navbar ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    .navbar ul li {
        margin: 0 10px 10px;
    }

    .hero-section h1 {
        font-size: 2.8rem;
    }
    .hero-section p {
        font-size: 1.2rem;
    }

    section {
        padding: 60px 0;
    }
    section h2 {
        font-size: 2.2rem;
        padding: 8px 20px; /* Adjust padding for smaller screens */
    }

    /* Adjust responsiveness for two-column layout */
    .about-content {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    .about-image {
        max-width: 250px;
    }
    .about-text {
        min-width: unset;
        padding: 0 15px;
    }

    .about-section p,
    .about-section ul {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .navbar ul li {
        margin: 0 8px 8px;
    }
    .navbar ul li a {
        font-size: 0.9rem;
    }
    .hero-section h1 {
        font-size: 2.2rem;
    }
    .hero-section p {
        font-size: 1rem;
    }
    .btn {
        padding: 10px 20px;
        font-size: 1rem;
    }
    section h2 {
        font-size: 1.8rem;
        padding: 6px 15px;
    }

    .social-links a {
        font-size: 1.5rem;
    }
}

/* Ensure navbar layout doesn't break */
.navbar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Align nav + toggle on same line */
.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* No theme toggle styles as it's removed from HTML */
