/* --- Variables --- */
:root {
    --page-bg: #0C1E32; /* Slightly lighter base background for the page */
    --dark-navy: #0A192F; /* This will now be the background for common content sections */
    --light-navy: #112240; /* Background for cards (e.g., skill cards, about me cards) */
    --light-slate: #CCD6F6; /* Brighter white/light gray text */
    --slate: #8892B0; /* Standard gray text */
    --green-accent: #64FFDA; /* Primary accent color (e.g., hover states) */
    --gradient-start: #8A2BE2; /* Start color for purple-pink gradients */
    --gradient-end: #FF1493;   /* End color for purple-pink gradients */
    --purple-text: #8A2BE2; /* Specific purple for "My Journey" title */
    --blue-text: #00BFFF; /* DeepSkyBlue for "Current Status" title */

    /* Skill Icon Background Colors (matched to new screenshot) */
    --skill-blue-bg: #2196F3; /* Programming Languages - Blue */
    --skill-green-bg: #4CAF50; /* Frameworks & Libraries - Green */
    --skill-orange-bg: #FF9800; /* AI & ML - Orange */
    --skill-red-pink-bg: #F44336; /* Soft Skills - Red/Pink */

    /* Darker color for footer background */
    --darker-footer-bg: #081525; /* A slightly darker navy/black for the footer */
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--page-bg); /* Use the new lighter base background */
    color: var(--light-slate);
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll from radial gradients */
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Radial Gradient Background Effect (fixed to body) --- */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Increased alpha values for more visible gradients */
    background: radial-gradient(circle at top left, rgba(138, 43, 226, 0.4) 0%, transparent 40%),
                radial-gradient(circle at bottom right, rgba(255, 20, 147, 0.4) 0%, transparent 40%);
    z-index: -1; /* Puts it behind content */
    pointer-events: none; /* Allows clicks to pass through */
}


/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-navy);
}

::-webkit-scrollbar-thumb {
    background: var(--light-navy);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--slate);
}

/* --- Header / Navbar --- */
.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(10, 25, 47, 0.9); /* Dark navy with transparency */
    backdrop-filter: blur(8px); /* Frosted glass effect */
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 65px; /* Final reduced header height */
}

/* Logo styling */
.logo {
    font-size: 1.1rem; /* Base font size for logo */
    font-weight: 800; /* Increased logo boldness as requested */
}
.logo a {
    color: inherit; /* Inherit color, then apply gradient to span */
}
.gradient-text-logo {
    background-image: linear-gradient(to right, #64FFDA, #8A2BE2, #FF1493); /* Gradient colors from screenshot */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; /* Fallback */
    transition: all 0.3s ease; /* Smooth transition for hover */
}
.logo a:hover .gradient-text-logo {
    transform: translateY(-2px); /* Slight hover effect */
}


.nav-menu {
    display: flex;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-link {
    font-size: 0.95rem; /* Reduced font size for nav links as requested */
    font-weight: 500;
    color: var(--light-slate); /* Default color for nav links */
    transition: color 0.3s ease, transform 0.3s ease;
}

/* Active Nav Link Styling */
.nav-link.active {
    color: var(--green-accent); /* Highlight active link with green */
    font-weight: 600; /* Make it a bit bolder when active */
}

.nav-link:hover {
    color: var(--green-accent);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none; /* Hidden on desktop */
    font-size: 2rem;
    cursor: pointer;
    color: var(--light-slate);
}

/* Mobile Navigation Menu */
.mobile-nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, var(--dark-navy), var(--light-navy));
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%); /* Start off-screen */
    transition: transform 0.3s ease-in-out;
}

.mobile-nav-menu.active {
    transform: translateX(0); /* Slide in */
}

.mobile-nav-menu .close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 2.5rem;
    cursor: pointer;
    color: var(--light-slate);
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
}

.mobile-nav-links li {
    margin-bottom: 25px;
}

.mobile-nav-link {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--light-slate);
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--green-accent);
}


/* --- Common Section Styles (Applied to About, Skills, Projects, Contact) --- */
.common-section {
    background-color: var(--dark-navy); /* Distinct darker background for sections */
    padding: 120px 0 80px; /* Increased padding for visual separation */
    min-height: 100vh;
    display: flex;
    flex-direction: column; /* Stack title and content vertically */
    align-items: center; /* Center content horizontally */
    justify-content: center;
}

.section-title {
    font-size: 2.5rem; /* Slightly reduced font size for section titles */
    font-weight: 700;
    color: var(--light-slate);
    margin-bottom: 60px; /* Increased margin below title for spacing */
    display: inline-block;
    padding-bottom: 15px; /* Space for the custom underline */
    border-bottom: none; /* Remove default border */
    position: relative; /* For the ::after pseudo-element */
    text-align: center; /* For small screens */
    width: 100%; /* For small screens */
}
/* Custom gradient underline for ALL section titles */
.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px; /* Width of the underline */
    height: 4px; /* Thickness of the underline */
    background-image: linear-gradient(to right, #64FFDA, #8A2BE2, #FF1493); /* Gradient colors */
    border-radius: 2px;
}


/* --- Hero Section --- */
.hero-section {
    background-color: transparent; /* Changed to transparent to reveal global background */
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 80px; /* Account for header */
    position: relative;
    text-align: left; /* Default text alignment */
}

.hero-content {
    display: flex;
    flex-direction: row; /* Text on left, image on right */
    align-items: center; /* Vertically align items in the middle */
    justify-content: space-between; /* Space out text and image */
    gap: 80px; /* Space between the text and image columns */
    max-width: 1200px; /* Constrain content width */
    width: 100%;
}

.hero-text {
    flex: 1; /* Allow text to grow */
    max-width: 650px; /* Limit width of text column */
}

/* Adjusted font-size for Ayushi Kumari to fit on one line */
.hero-text h2 {
    font-size: 3.5rem; /* Slightly smaller to fit on one line */
    font-weight: 700;
    margin-bottom: 15px;
    white-space: nowrap; /* Keep it on one line if possible */
}

/* For the new list of roles - FONT SIZE REDUCED */
.hero-roles {
    font-size: 1.5rem; /* REDUCED FONT SIZE */
    font-weight: 500;
    color: var(--green-accent); /* Make these green */
    min-height: 3.5rem; /* Ensure consistent height for typing multiple lines */
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--slate);
    max-width: 600px;
    margin-bottom: 35px;
}

.gradient-text {
    background-image: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; /* Fallback */
}

/* Typing Effect for roles */
.typing-text {
    display: inline-block;
    overflow: hidden; /* Ensures the text is hidden until typed */
    white-space: nowrap;
}

.cursor {
    display: inline-block;
    animation: blink 0.75s step-end infinite;
    border-right: 4px solid rgba(255, 255, 255, 0.75); /* Blinking cursor */
}

@keyframes blink {
    from, to { border-right-color: transparent; }
    50% { border-right-color: rgba(255, 255, 255, 0.75); }
}

.hero-buttons {
    display: flex;
    flex-direction: row; /* Buttons side-by-side */
    gap: 20px;
    margin-bottom: 0; /* No margin below buttons for this layout */
}

.btn {
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 180px; /* Ensure buttons have consistent width */
}

.btn i {
    margin-left: 10px;
}

.btn-primary {
    background-image: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    color: white;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--green-accent);
    border: 2px solid var(--green-accent);
}

.btn-outline:hover {
    background-color: var(--green-accent);
    color: var(--dark-navy);
    transform: translateY(-3px);
}

.hero-image {
    width: 350px; /* Larger image on right */
    height: 350px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0; /* Prevent image from shrinking */
}

.profile-pic {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    /* Custom border gradient effect */
    padding: 4px; /* Padding for the gradient border */
    background-image: linear-gradient(var(--dark-navy), var(--dark-navy)),
                      linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    background-origin: border-box;
    background-clip: content-box, border-box;
    mask-composite: exclude;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
}

/* Scroll to explore arrow styling */
.scroll-down-arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.1rem;
    color: var(--slate);
    animation: bounce 1s infinite alternate;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    z-index: 900; /* Ensure it's above other content but below header */
}

.scroll-down-arrow i {
    font-size: 1.8rem;
    margin-top: 10px;
}

@keyframes bounce {
    0% { transform: translateY(0); }
    100% { transform: translateY(-10px); }
}


/* --- About Section --- */
.about-section .container {
    display: flex;
    flex-direction: column; /* Stack title and grid */
    align-items: center; /* Center title horizontally */
}

.about-content-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr; /* Adjusted right column width slightly */
    gap: 30px;
    margin-top: 30px;
    width: 100%;
    max-width: 1000px; /* Maintain overall max-width */
}

.about-card {
    background-color: var(--light-navy);
    padding: 25px; /* Reduced padding for overall smaller feel */
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: left; /* Ensure left alignment inside cards */
}

.about-card .card-title {
    font-size: 1.6rem; /* Slightly reduced font size */
    font-weight: 600;
    margin-bottom: 20px; /* Reduced margin */
    color: var(--light-slate); /* Default to light slate */
}

/* Specific colors for card titles from screenshot */
.card-title.purple-text {
    color: var(--purple-text); /* My Journey title */
}
.card-title.blue-text {
    color: var(--blue-text); /* Current Status title */
}


.about-card.journey-card p {
    font-size: 1rem; /* Slightly reduced font size */
    color: var(--slate);
    margin-bottom: 10px; /* Reduced margin */
    line-height: 1.7;
}

.about-right-column {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Reduced space between status and languages cards */
}

.status-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.05rem; /* Slightly reduced font size */
    color: var(--light-slate);
}

/* Icon for Current Status with Gradient Background */
.status-icon {
    font-size: 1.6rem; /* Slightly reduced icon size */
    color: white; /* Icon color should be white on gradient background */
    background-image: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    padding: 10px; /* Reduced padding */
    border-radius: 8px; /* Slightly rounded corners for the icon container */
    display: flex; /* To center the icon inside its background */
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Prevent it from shrinking */
}

/* Languages Card with Gradient Background */
.about-card.languages-card {
    background-image: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    padding: 25px; /* Keep padding consistent with other cards */
    color: var(--light-slate); /* Ensure text is readable on gradient background */
}

.languages-card .card-title {
    color: var(--light-slate); /* Title is white on gradient background */
    /* No special gradient text for title here as the background is already gradient */
}

.language-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.05rem; /* Slightly reduced font size */
    color: var(--light-slate);
    margin-bottom: 10px; /* Reduced space between language entries */
}
.language-item:last-child {
    margin-bottom: 0;
}

.language-tag {
    background-color: rgba(10, 25, 47, 0.5); /* Darker, slightly transparent background for tags on gradient */
    color: var(--light-slate); /* Light text for tags */
    padding: 5px 12px; /* Reduced padding */
    border-radius: 18px; /* Adjusted border-radius */
    font-size: 0.8rem; /* Slightly reduced font size */
    font-weight: 500;
}


/* --- Skills Section --- */
.skills-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center; /* Center the title */
}

.skills-grid {
    display: grid;
    /* Two columns on larger screens, each taking available space */
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); /* Adjusted for 2 columns, wider cards */
    gap: 30px;
    max-width: 1000px; /* Max width for the 2-column grid */
    margin: 50px auto 0;
}

.skill-card {
    background-color: var(--light-navy);
    padding: 25px; /* Keep padding consistent */
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align contents to the left within the card */
    text-align: left; /* Ensure text is left-aligned */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 220px; /* Fixed height for rectangular shape as in screenshot */
    justify-content: space-between; /* Push tags to bottom */
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.skill-header {
    display: flex; /* Makes icon and h3 inline */
    align-items: center; /* Vertically centers them */
    margin-bottom: 20px; /* Space below the header */
}

.skill-icon-wrapper {
    width: 50px; /* Size of the icon container */
    height: 50px;
    border-radius: 8px; /* Slightly reduced border-radius */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px; /* Space between icon and title */
    flex-shrink: 0; /* Prevent it from shrinking */
}

.skill-icon {
    font-size: 2.2rem; /* Size of the Font Awesome icon inside */
    color: white; /* ICON COLOR IS WHITE */
}

/* Specific icon background colors (no gradients needed based on last screenshot) */
.skill-blue-gradient { background-color: var(--skill-blue-bg); }
.skill-green-solid { background-color: var(--skill-green-bg); }
.skill-orange-red-gradient { background-color: var(--skill-orange-bg); }
.skill-red-pink-gradient { background-color: var(--skill-red-pink-bg); }

.skill-card h3 {
    font-size: 1.25rem; /* Reduced font size to fit on one line with icon */
    font-weight: 600;
    color: var(--light-slate);
    margin-bottom: 0; /* No margin as it's part of flex container */
    white-space: nowrap; /* Keep on one line */
    overflow: hidden; /* Hide overflow if it still breaks */
    text-overflow: ellipsis; /* Add ellipsis if text is too long */
    flex-grow: 1; /* Allow title to take up remaining space */
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px; /* Reduced gap between tags */
    justify-content: flex-start; /* Align tags to the left */
}

.skill-tags span {
    background-color: var(--dark-navy);
    color: var(--slate);
    padding: 6px 14px; /* Reduced padding */
    border-radius: 20px; /* Reduced border-radius */
    font-size: 0.85rem; /* Reduced font size */
    font-weight: 500;
}


/* --- Projects Section --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 50px auto 0;
}

.project-card {
    background-color: var(--light-navy);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* UPDATED: Styles for the video container */
.project-video-wrapper {
    width: 100%;
    height: 200px;
    background-color: #334; /* Darker gray fallback */
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden; /* Ensures video corners are rounded */
}

.project-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This makes the video fill the frame without stretching */
}

.project-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--light-slate);
    margin-bottom: 15px;
}

.project-card p {
    font-size: 1rem;
    color: var(--slate);
    line-height: 1.7;
    flex-grow: 1; /* This makes the description take available space and pushes links to the bottom */
}

/* NEW: Styles for project links */
.project-links {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end; /* Aligns the icon to the right */
}

.project-link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: var(--dark-navy);
    color: var(--slate);
    border-radius: 8px;
    font-size: 1.6rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.project-link-icon:hover {
    transform: translateY(-3px);
    color: var(--dark-navy);
    background-color: var(--green-accent);
}

/* --- Contact Section --- */
.contact-intro {
    font-size: 1.15rem;
    color: var(--slate);
    margin-bottom: 50px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px auto;
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-top: 50px;
}

.contact-link-card {
    background-color: var(--light-navy);
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--green-accent);
    font-size: 1.1rem;
    font-weight: 500;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    width: 180px; /* Fixed width for consistency */
}

.contact-link-card i {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.contact-link-card span {
    color: var(--light-slate);
}

.contact-link-card:hover {
    transform: translateY(-5px);
    background-color: var(--dark-navy);
    color: var(--green-accent);
}
.contact-link-card:hover span {
    color: var(--green-accent);
}

/* --- Footer --- */
.footer {
    background-color: var(--darker-footer-bg); /* Use the darker variable */
    backdrop-filter: blur(8px); /* Keep backdrop filter for consistency */
    border-top: 1px solid var(--light-navy); /* Main border for top section */
    padding: 40px 20px;
    font-size: 0.95rem;
    color: var(--slate);
    text-align: center;
    padding-bottom: 80px; /* Add extra padding to clear the fixed bottom bar */
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.footer-top-text {
    max-width: 800px;
    margin-bottom: 20px; /* Space between top text and the separating line */
}

.footer-top-text p {
    margin-bottom: 10px;
    color: var(--light-slate);
    font-size: 1.05rem;
}

.heart-emoji, .robot-emoji, .coffee-emoji {
    font-size: 1.1rem;
}

.footer-bottom-row {
    display: flex;
    justify-content: space-between; /* Pushes items to ends */
    align-items: center; /* Vertically centers them within the row */
    width: 100%;
    padding-top: 25px; /* Space from the separating line */
    border-top: 1px solid var(--light-navy); /* The separating line for footer bottom */
    margin-top: 25px; /* Space between middle text and the line */
}

.footer-bottom-row p {
    color: var(--light-slate);
    margin-bottom: 0; /* Remove default paragraph margin */
}

.github-link {
    display: flex;
    align-items: center;
    color: var(--light-slate);
    transition: color 0.3s ease;
}

.github-link i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.github-link:hover {
    color: var(--green-accent);
}


/* --- Fixed Bottom Social Links (globally visible) --- */
.fixed-bottom-social-links {
    position: fixed; /* Changed to fixed */
    bottom: 30px; /* Position at the bottom of the viewport */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    gap: 25px; /* Space between icons */
    background-color: var(--light-navy); /* Dark background for the bar */
    border-radius: 999px; /* Pill shape */
    padding: 15px 35px; /* Adjust padding for pill shape */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 900; /* Ensure it's above other content but below header */
}

.fixed-bottom-social-links a {
    font-size: 1.8rem; /* Slightly larger icons as in screenshot */
    color: var(--light-slate); /* White/light gray icons */
    transition: color 0.3s ease, transform 0.3s ease;
}

.fixed-bottom-social-links a:hover {
    color: var(--green-accent); /* Hover effect */
    transform: translateY(-3px);
}


/* --- Responsive Design --- */
@media (max-width: 1200px) {
    .skills-grid {
        max-width: 100%; /* Allow grid to take full container width */
    }
}

@media (max-width: 992px) {
    .nav-links {
        display: none; /* Hide desktop nav */
    }
    .menu-toggle {
        display: block; /* Show mobile toggle */
    }
    /* Hero section adjustments for tablets */
    .hero-text h2 {
        font-size: 3rem; /* Further reduce for tablets */
    }
    .hero-roles {
        font-size: 1.6rem;
    }
    .hero-buttons {
        flex-direction: column; /* Stack buttons on smaller screens */
        align-items: center;
    }
    .hero-image {
        width: 280px;
        height: 280px;
    }
    .scroll-down-arrow {
        bottom: 15px; /* Adjust position */
    }

    .common-section {
        padding: 90px 0 50px;
    }
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }
    /* About section for tablets */
    .about-content-grid {
        grid-template-columns: 1fr; /* Stack columns on tablets */
    }
    .about-right-column {
        flex-direction: row; /* Make status and languages side-by-side */
        flex-wrap: wrap; /* Allow wrapping if content is too wide */
        justify-content: center;
        gap: 20px; /* Adjust gap when side-by-side */
    }
    .status-card, .languages-card {
        flex: 1 1 45%; /* Allow cards to grow but roughly 2 per row */
        max-width: 380px; /* Constrain max width for better appearance */
        padding: 20px; /* Adjusted padding for tablet */
    }

    /* Skills section for tablets - switch to 2 columns */
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* 2 columns on tablets */
        max-width: 700px; /* Adjust max width for 2-column layout */
    }
    .skill-card {
        height: 200px; /* Slightly reduced height on tablets */
        padding: 20px; /* Reduced padding */
    }
    .skill-icon-wrapper {
        width: 45px;
        height: 45px;
    }
    .skill-icon {
        font-size: 2rem;
    }
    .skill-card h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .navbar-content {
        height: 65px; /* Keep header height consistent on mobile */
    }
    /* Logo remains small on mobile as per requirement */
    .hero-text h2 {
        font-size: 2.5rem; /* Further reduce for mobile */
        white-space: normal; /* Allow Ayushi Kumari to wrap on very small screens */
    }
    .hero-roles {
        font-size: 1.4rem;
        min-height: 3rem; /* Adjusted for smaller font */
    }
    .hero-description {
        font-size: 1rem;
    }
    .btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
    .hero-image {
        width: 200px;
        height: 200px;
    }
    .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    /* About section for mobile */
    .about-right-column {
        flex-direction: column; /* Stack status and languages again on smaller mobiles */
    }
    .status-card, .languages-card {
        width: 100%; /* Take full width when stacked */
        margin: 0; /* Remove side margin */
    }
    /* Skills section for mobile - single column */
    .skills-grid {
        grid-template-columns: 1fr; /* Single column layout on mobiles */
        max-width: 380px; /* Constrain width */
    }
    .skill-card {
        height: auto; /* Allow height to auto-adjust for content */
        min-height: 180px; /* Keep a minimum height */
    }
    .skill-card h3 {
        font-size: 1.3rem; /* Slightly larger on mobile single column */
        white-space: normal; /* Allow skill titles to wrap on small mobile */
    }
    .project-card h3 {
        font-size: 1.6rem;
    }
    .project-card p {
        font-size: 0.9rem;
    }
    .footer-bottom-row {
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Center items when stacked */
        gap: 10px; /* Space between stacked items */
        padding-top: 20px;
        margin-top: 20px;
    }
    .fixed-bottom-social-links {
        padding: 10px 15px; /* Even smaller padding on small mobile */
        gap: 10px; /* Smaller gap */
        font-size: 1.4rem; /* Smaller icons */
    }
    /* Re-enable scroll arrow for smaller mobile as bottom bar might get too small */
    .scroll-down-arrow {
        display: flex; /* Show scroll arrow on small screens */
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    .logo {
        font-size: 1.0rem;
    }
    .mobile-nav-link {
        font-size: 2rem;
    }
    .close-btn {
        font-size: 2rem;
    }
    .hero-text h2 {
        font-size: 2.2rem;
    }
    .hero-roles {
        font-size: 1.1rem;
        min-height: 2.2rem;
    }
    .hero-buttons {
        width: 100%;
    }
    .btn {
        width: 90%;
    }
    .hero-image {
        width: 180px;
        height: 180px;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .skills-grid, .projects-grid, .contact-links {
        grid-template-columns: 1fr;
    }
    .skill-card, .project-card, .contact-link-card, .about-card {
        max-width: 320px;
        margin: 0 auto;
        width: 100%;
    }
    .contact-link-card {
        padding: 20px;
    }
    .footer-content {
        gap: 15px;
    }
}