* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Prevent layout shift by always reserving space for scrollbar */
html {
    overflow-y: scroll; /* Fallback for older browsers */
    scrollbar-gutter: stable; /* Modern approach for browsers that support it */
    /* Allow mobile scroll bounce/elastic scrolling */
    overscroll-behavior: auto;
    touch-action: manipulation;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    animation: fadeIn 0.6s ease-out;
    /* Allow mobile scroll bounce/elastic scrolling */
    overscroll-behavior: auto;
    touch-action: manipulation;
    /* Ensure proper height without viewport issues */
    min-height: 100dvh;
    min-height: 100vh; /* Fallback */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 36px;
}

/* Navigation */
.navbar {
    background-color: #fff;
    border-bottom: 1px solid #e5e5e5;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    animation: slideDown 0.6s ease-out;
    /* Prevent layout shift and scrolling issues */
    will-change: transform;
    transform: translateZ(0); /* Force hardware acceleration */
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar .container {
    padding: 0 36px;
}

.nav-links {
    display: flex;
    gap: 36px;
    flex-wrap: wrap;
    padding: 22px 0;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link.active {
    color: #333;
    font-weight: 600;
}

.nav-link:hover {
    color: #007acc;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -22px;
    left: 0;
    right: 0;
    height: 2px;
    background: #007acc;
}

/* Main Content Layout */
.main-content {
    display: grid;
    grid-template-columns: 288px 1fr;
    gap: 72px;
    margin: 54px 0;
    align-items: start;
    animation: slideUp 0.8s ease-out 0.2s both;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 108px;
}

.profile-section {
    text-align: left;
    margin-bottom: 2px;
    padding: 0;
}

.profile-info {
    display: contents;
}

.profile-section a {
    display: inline-block;
    text-decoration: none;
}

.profile-image {
    width: 144px;
    height: 144px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 22px;
    border: 4px solid #fff;
    box-shadow: 0 4px 11px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}



.name {
    font-size: 23px;
    font-weight: 700;
    color: #333;
    margin-bottom: 7px;
    letter-spacing: -0.02em;
}

.title {
    font-size: 14px;
    color: #666;
    margin-bottom: 0;
    font-weight: 500;
}

.divider {
    width: 100%;
    height: 1px;
    background-color: #e0e0e0;
    margin: 16px 0 12px 0;
    animation: expandWidth 0.8s ease-out 0.4s both;
}

.divider-mobile {
    display: none;
    width: 100%;
    height: 1px;
    background-color: #e0e0e0;
    margin: 16px 0 20px 0;
    animation: expandWidth 0.8s ease-out 0.4s both;
}

@keyframes expandWidth {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 100%;
        opacity: 1;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin-top: 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 6px 0;
    border-radius: 4px;
    animation: fadeInUp 0.6s ease-out both;
    text-decoration: none;
}

.contact-item:visited {
    color: #666;
}

.contact-item:nth-child(1) { animation-delay: 0.6s; }
.contact-item:nth-child(2) { animation-delay: 0.7s; }
.contact-item:nth-child(3) { animation-delay: 0.8s; }

.contact-item:hover {
    color: #007acc;
    background: rgba(0, 122, 204, 0.05);
    padding-left: 8px;
    margin-left: -8px;
    transform: translateX(2px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* SVG Icons */
.icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: inherit;
    transition: transform 0.2s ease;
}

.contact-item:hover .icon {
    transform: scale(1.1);
}

/* Fix email icon alignment - desktop only */
@media (min-width: 768px) {
    .contact-item:nth-child(1) .icon {
        transform: translateY(3px);
    }

    .contact-item:nth-child(1):hover .icon {
        transform: translateY(3px) scale(1.1);
    }
}

/* Content Area */
.content {
    min-width: 0;
    max-width: 720px;
}

/* Content Section Switching */
.content-section {
    display: none;
    animation: fadeInContent 0.5s ease-out;
}

.content-section.active {
    display: block;
}

.content-section.active > *:first-child {
    margin-top: 0;
}

@keyframes fadeInContent {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-section {
    margin-top: 0px;
    margin-bottom: 0px; /* Removed to eliminate gap with Featured Projects */
}

/* Featured Projects on About Page */
.featured-projects {
    margin-top: 54px;
}

.featured-projects h2 {
    font-size: 29px;
    font-weight: 700;
    color: #333;
    margin-bottom: 1px;
    word-wrap: break-word;
    letter-spacing: -0.02em;
}

.featured-projects p {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 18px;
    word-wrap: break-word;
}

.projects-link {
    color: #007acc;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.projects-link:hover {
    color: #005999;
    text-decoration: underline;
}

.project-list {
    margin: 0;
}

.project-item {
    margin-bottom: 14px;
}

.featured-project-link {
    color: #007acc;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 16px;
    display: inline-block;
}

.featured-project-link:hover {
    color: #005999;
    text-decoration: underline;
}

.about-section h2 {
    font-size: 29px;
    font-weight: 700;
    color: #333;
    margin-top: 6px;
    margin-bottom: 6px;
    word-wrap: break-word;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.about-section p {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 16px;
    word-wrap: break-word;
}

.blog-section h2, .projects-section h2 {
    font-size: 29px;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px; /* Reduced from 14px for tighter spacing */
    word-wrap: break-word;
    letter-spacing: -0.02em;
}

.blog-section p, .projects-section p {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 18px;
    word-wrap: break-word;
}

.link {
    color: #007acc;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.link:hover {
    color: #005999;
    text-decoration: underline;
    transform: translateY(-1px);
}

.blog-link {
    color: #007acc;
    text-decoration: none;
    font-size: 16px;
    display: inline-block;
    margin-bottom: 14px;
    transition: all 0.3s ease;
    word-wrap: break-word;
    font-weight: 500;
    position: relative;
}

.blog-link:hover {
    color: #005999;
    text-decoration: underline;
}

/* Projects Section Styles */
.project-card {
    padding: 16px 0; /* Reduced from 24px for tighter spacing */
    margin-bottom: 0;
    border-bottom: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}

.project-card.project-highlight {
    background: transparent;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.14);
    outline: none;
    outline-offset: 0;
    border-radius: 0;
}

.project-card:last-child {
    border-bottom: none;
}



.project-header {
    margin-bottom: 16px;
}

.project-title {
    margin: 0 0 12px 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.project-link {
    color: #007acc;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.project-link:hover {
    color: #005999;
    text-decoration: underline;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.tech-tag {
    background: #f0f8ff;
    color: #007acc;
    padding: 4px 10px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid #e0f2ff;
    transition: all 0.2s ease;
}



.project-description {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
    margin: 0;
    word-wrap: break-word;
}



.experience-item, .education-item {
    margin-bottom: 32px;
    padding: 20px 0;
    border-bottom: 1px solid #e5e5e5;
}

.experience-item:last-child, .education-item:last-child {
    border-bottom: none;
}

.experience-item h3, .education-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.company, .school {
    font-size: 16px;
    color: #007acc;
    font-weight: 500;
    margin-bottom: 4px;
}

.duration {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
    font-style: italic;
}

.experience-item p:last-child, .education-item p:last-child {
    margin-bottom: 0;
}





/* Responsive Design */

/* Large tablets and small desktops */
@media (max-width: 1024px) {
    .container {
        padding: 0 27px;
    }
    
    .navbar .container {
        padding: 0 27px;
    }
    
    .main-content {
        gap: 54px;
        grid-template-columns: 210px 1fr;
    }
    
    .about-section h2 {
        font-size: 25px;
    }
    
    .blog-section h2, .projects-section h2 {
        font-size: 25px;
    }
    
    .project-card {
        padding: 14px 0; /* Reduced for tighter mobile spacing */
    }
    
    .project-title {
        font-size: 18px;
    }
    

    
    .featured-projects h2 {
        font-size: 25px;
    }
    
    .featured-project-link {
        font-size: 15px;
    }
    

}



/* Mobile layout - Icons only, horizontal */
@media (max-width: 767px) {
    /* Enable mobile elastic scrolling while maintaining touch optimization */
    html, body {
        overscroll-behavior: auto !important;
        touch-action: manipulation !important;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Alternative navbar positioning for mobile to prevent glitches */
    .navbar {
        position: -webkit-sticky !important;
        position: sticky !important;
        transform: translate3d(0, 0, 0); /* Force GPU acceleration */
        backface-visibility: hidden; /* Prevent flickering */
        will-change: transform;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .navbar .container {
        padding: 0 20px;
    }
    
    .main-content {
        grid-template-columns: 1fr;
        gap: 16px;
        margin: 8px 0 32px 0;
    }
    
    .sidebar {
        position: static;
        order: 1;
    }
    
    .content {
        order: 2;
        max-width: none;
    }
    
    .nav-links {
        gap: 24px;
        justify-content: center;
        padding: 16px 0;
        flex-direction: row;
    }
    
    .nav-link.active::after {
        display: none;
    }
    
    .profile-section {
        display: flex;
        align-items: flex-start;
        gap: 16px;
        text-align: left;
        margin-bottom: 40px;
    }
    
    .profile-section a {
        flex-shrink: 0;
    }
    
    .profile-info {
        display: flex;
        flex-direction: column;
        gap: 4px;
        min-width: 0;
    }
    
    .profile-image {
        margin-bottom: 0;
        width: 120px;
        height: 120px;
        transition: none;
    }
    
    .profile-image:hover {
        transform: none;
        box-shadow: 0 4px 11px rgba(0, 0, 0, 0.1);
    }
    
    .name {
        margin-bottom: 2px;
        font-size: 24px;
    }
    
    .title {
        margin-bottom: 4px;
        font-size: 14px;
    }
    
    .contact-info {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        padding: 0;
        margin-top: 0;
    }
    
    .contact-item {
        padding: 4px;
        transition: none;
    }
    
    .contact-item:hover {
        color: #007acc;
        background: none;
        padding-left: 4px;
        margin-left: 0;
        transform: none;
    }
    
    .contact-item:hover .icon {
        transform: none;
    }
    
    .contact-item span:not(.icon) {
        display: none;
    }
    
    .contact-item .icon {
        width: 16px;
        height: 16px;
        transition: none;
    }
    
    .divider {
        display: none;
    }
    
    .divider-mobile {
        display: block;
        margin: -30px 0 20px 0;
    }
    
    .about-section h2 {
        font-size: 24px;
    }
    
    .blog-section h2, .projects-section h2 {
        font-size: 24px;
    }
    
    .about-section p, .blog-section p, .projects-section p {
        font-size: 15px;
    }
    
    .project-card {
        padding: 12px 0; /* Reduced for tighter mobile spacing */
    }
    
    .project-title {
        font-size: 17px;
    }
    
    .project-description {
        font-size: 14px;
    }
    

    
    .featured-projects {
        margin-top: 32px; /* Reduced from 54px for mobile */
    }
    
    .featured-projects h2 {
        font-size: 24px;
    }
    
    .featured-projects p {
        font-size: 15px;
    }
    
    .featured-project-link {
        font-size: 14px;
    }
    
    .project-item {
        margin-bottom: 8px; /* Reduced gap between featured projects on mobile */
    }
    
    .link:hover {
        transform: none;
    }
    
    .blog-link:hover {
        transform: none;
    }
}

/* Small tablets and large phones */
@media (max-width: 640px) {
    .container {
        padding: 0 18px;
    }
    
    .navbar .container {
        padding: 0 18px;
    }
    
    .nav-links {
        gap: 20px;
        flex-direction: row;
        justify-content: center;
        padding: 14px 0;
    }
    
    .profile-image {
        width: 108px;
        height: 108px;
    }
    
    .name {
        font-size: 22px;
    }
    
    .title {
        font-size: 13px;
    }
    
    .about-section h2 {
        font-size: 22px;
    }
    
    .blog-section h2, .projects-section h2 {
        font-size: 22px;
    }
    
    .about-section p, .blog-section p, .projects-section p {
        font-size: 14px;
    }
    
    .project-card {
        padding: 10px 0; /* Reduced for tighter mobile spacing */
    }
    
    .project-title {
        font-size: 16px;
    }
    
    .project-description {
        font-size: 13px;
    }
    

    
    .featured-projects {
        margin-top: 28px; /* Further reduced for small tablets/large phones */
    }
    
    .featured-projects h2 {
        font-size: 22px;
    }
    
    .featured-projects p {
        font-size: 14px;
    }
    
    .featured-project-link {
        font-size: 13px;
    }
    
    .project-item {
        margin-bottom: 8px; /* Reduced gap between featured projects on mobile */
    }
    
    .contact-info {
        gap: 12px;
    }
    
    .contact-item {
        transition: none;
    }
    
    .contact-item:hover {
        color: #007acc;
        background: none;
        padding-left: 4px;
        margin-left: 0;
        transform: none;
    }
    
    .contact-item:hover .icon {
        transform: none;
    }
    
    .contact-item .icon {
        width: 18px;
        height: 18px;
        transition: none;
    }
    
    .profile-image {
        transition: none;
    }
    
    .profile-image:hover {
        transform: none;
        box-shadow: 0 4px 11px rgba(0, 0, 0, 0.1);
    }
    
    .link:hover {
        transform: none;
    }
    
    .blog-link:hover {
        transform: none;
    }
    
    .divider {
        display: none;
    }
    
    .divider-mobile {
        display: block;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .navbar .container {
        padding: 0 16px;
    }
    
    .nav-links {
        gap: 18px;
        flex-direction: row;
        justify-content: center;
        padding: 12px 0;
    }
    
    .main-content {
        gap: 1px;
        margin: 16px 0;
    }
    
    .profile-section {
        gap: 12px;
    }
    
    .profile-info {
        gap: 3px;
    }
    
    .contact-info {
        gap: 8px;
    }
    
    .profile-image {
        width: 90px;
        height: 90px;
        transition: none;
    }
    
    .profile-image:hover {
        transform: none;
        box-shadow: 0 4px 11px rgba(0, 0, 0, 0.1);
    }
    
    .name {
        font-size: 20px;
        margin-bottom: 2px;
    }
    
    .title {
        font-size: 13px;
        margin-bottom: 3px;
    }
    
    .blog-section h2, .projects-section h2 {
        font-size: 20px;
    }
    
    .about-section p, .blog-section p, .projects-section p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .blog-link {
        font-size: 14px;
    }
    
    .project-card {
        padding: 8px 0; /* Reduced for tighter mobile spacing */
    }
    
    .project-title {
        font-size: 15px;
    }
    
    .project-description {
        font-size: 13px;
        line-height: 1.5;
    }
    

    
    .featured-projects {
        margin-top: 24px; /* Even more reduced for mobile phones */
    }
    
    .featured-projects h2 {
        font-size: 20px;
    }
    
    .featured-projects p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .featured-project-link {
        font-size: 13px;
    }
    
    .project-item {
        margin-bottom: 6px; /* Even tighter spacing on smaller mobile phones */
    }
    
    .contact-item {
        padding: 4px;
        transition: none;
    }
    
    .contact-item:hover {
        color: #007acc;
        background: none;
        padding-left: 4px;
        margin-left: 0;
        transform: none;
    }
    
    .contact-item:hover .icon {
        transform: none;
    }
    
    .contact-item .icon {
        width: 18px;
        height: 18px;
        transition: none;
    }
    
    .link:hover {
        transform: none;
    }
    
    .blog-link:hover {
        transform: none;
    }
    

    

    
    .divider {
        display: none;
    }
    
    .divider-mobile {
        display: block;
    }
}

/* Very small phones */
@media (max-width: 360px) {
    .container {
        padding: 0 14px;
    }
    
    .navbar .container {
        padding: 0 14px;
    }
    
    .nav-links {
        gap: 16px;
        padding: 10px 0;
    }
    
    .profile-section {
        gap: 10px;
    }
    
    .profile-info {
        gap: 2px;
    }
    
    .profile-image {
        width: 80px;
        height: 80px;
        transition: none;
    }
    
    .profile-image:hover {
        transform: none;
        box-shadow: 0 4px 11px rgba(0, 0, 0, 0.1);
    }
    
    .name {
        font-size: 18px;
        margin-bottom: 1px;
    }
    
    .title {
        margin-bottom: 2px;
    }
    
    .about-section h2 {
        font-size: 18px;
    }
    
    .blog-section h2, .projects-section h2 {
        font-size: 18px;
    }
    
    .about-section p, .blog-section p, .projects-section p {
        font-size: 13px;
    }
    
    .blog-link {
        font-size: 13px;
    }
    
    .project-card {
        padding: 6px 0; /* Reduced for tighter mobile spacing */
    }
    
    .project-title {
        font-size: 14px;
    }
    
    .project-description {
        font-size: 12px;
    }
    

    
    .featured-projects {
        margin-top: 0px; /* Minimal margin for very small phones */
    }
    
    .featured-projects h2 {
        font-size: 18px;
    }
    
    .featured-projects p {
        font-size: 13px;
    }
    
    .featured-project-link {
        font-size: 12px;
    }
    
    .project-item {
        margin-bottom: 4px; /* Minimal spacing on very small phones */
    }
    
    .contact-info {
        gap: 6px;
    }
    
    .contact-item {
        padding: 3px;
        transition: none;
    }
    
    .contact-item:hover {
        color: #007acc;
        background: none;
        padding-left: 3px;
        margin-left: 0;
        transform: none;
    }
    
    .contact-item:hover .icon {
        transform: none;
    }
    
    .contact-item .icon {
        width: 16px;
        height: 16px;
        transition: none;
    }
    
    .link:hover {
        transform: none;
    }
    
    .blog-link:hover {
        transform: none;
    }
    
    .nav-link {
        font-size: 14px;
    }
    
    .divider {
        display: none;
    }
    
    .divider-mobile {
        display: block;
    }
}

/* Large screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1260px;
        padding: 0 54px;
    }
    
    .navbar .container {
        padding: 0 54px;
    }
    
    .main-content {
        grid-template-columns: 230px 1fr;
        gap: 90px;
    }
    
    .profile-image {
        width: 162px;
        height: 162px;
    }
    
    .name {
        font-size: 25px;
    }
    
    .about-section h2 {
        font-size: 32px;
    }
    
    .blog-section h2, .projects-section h2 {
        font-size: 32px;
    }
    
    .about-section p, .blog-section p, .projects-section p {
        font-size: 17px;
    }
    
    .project-card {
        padding: 28px 0;
    }
    
    .project-title {
        font-size: 22px;
    }
    
    .project-description {
        font-size: 16px;
    }
    

    
    .featured-projects h2 {
        font-size: 32px;
    }
    
    .featured-projects p {
        font-size: 17px;
    }
    
    .featured-project-link {
        font-size: 17px;
    }
    

    
    .divider {
        display: block;
    }
    
    .divider-mobile {
        display: none;
    }
}

/* Embedded/iframe specific styles (for LinkedIn preview, etc.) */
.embedded .navbar {
    position: static !important;
    animation: none !important;
    transform: none !important;
}

.embedded .sidebar {
    position: static !important;
}

.embedded body {
    animation: none !important;
    overscroll-behavior: auto !important;
    touch-action: manipulation !important;
}

.embedded .main-content {
    animation: none !important;
}

/* Reduce animations in embedded context for smoother performance */
.embedded * {
    animation-duration: 0s !important;
    transition-duration: 0.1s !important;
}

/* Ensure proper scrolling in embedded mobile context */
@media (max-width: 767px) {
    .embedded .navbar {
        position: static !important;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    
    .embedded .main-content {
        margin-top: 0;
    }
}

/* Fallback for browsers/contexts where sticky positioning causes issues */
@supports not (position: sticky) {
    .navbar {
        position: static;
    }
}

/* Additional fix for iOS Safari and other webkit browsers */
@media screen and (-webkit-min-device-pixel-ratio: 1) {
    .navbar {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

/* Fixes for problematic mobile browsers (iOS Safari, LinkedIn, Instagram, etc.) */
.problematic-mobile .navbar {
    position: -webkit-sticky !important;
    position: sticky !important;
    -webkit-transform: translate3d(0, 0, 0) !important;
    transform: translate3d(0, 0, 0) !important;
    backface-visibility: hidden !important;
    will-change: transform !important;
}

.problematic-mobile body {
    overscroll-behavior: auto !important;
    touch-action: manipulation !important;
    -webkit-overflow-scrolling: touch !important;
}

/* For very problematic cases, fall back to static positioning */
@media (max-width: 767px) {
    .problematic-mobile.embedded .navbar {
        position: static !important;
        transform: none !important;
    }
}

/* Fix for minimal scroll height - the root cause of navbar glitches! */
.minimal-scroll .navbar {
    position: static !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transform: none !important;
    animation: none !important;
}

/* On mobile with minimal scroll, ensure proper spacing */
@media (max-width: 767px) {
    .minimal-scroll .main-content {
        margin-top: 8px;
    }
    
    /* Add minimum height to create more scrollable space if needed */
    .minimal-scroll .content {
        min-height: calc(100vh - 200px);
    }
}

/* Footer - Hidden on desktop, visible only on mobile */
.footer {
    display: none; /* Hidden by default on desktop */
    margin-top: 72px;
    padding: 36px 0;
    border-top: 1px solid #e5e5e5;
    text-align: center;
}

.footer p {
    font-size: 14px;
    color: #666;
    margin: 0;
    font-weight: 400;
}

/* Footer responsive adjustments - Show on mobile */
@media (max-width: 767px) {
    .footer {
        display: block; /* Show footer on mobile */
        margin-top: 48px;
        padding: 24px 0;
    }
    
    .footer p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .footer {
        display: block; /* Show footer on mobile phones */
        margin-top: 36px;
        padding: 20px 0;
    }
    
    .footer p {
        font-size: 12px;
    }
} 