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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
        sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    color: #333;
}

/* Add white background to top area to prevent content from showing through */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: white;
    z-index: 999;
}

/* Mobile Interim Message */
.mobile-interim-message {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 10000;
    box-sizing: border-box;
}

.interim-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem;
    box-sizing: border-box;
}

.interim-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: nowrap;
}

/* Simple responsive breakpoint */
@media (max-width: 480px) {
    .interim-title {
        flex-direction: row;
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .interim-name {
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
    }
}

.interim-emoji {
    display: inline-block;
    vertical-align: middle;
}

.interim-emoji .wave-emoji {
    display: block;
    animation: wave 1s ease-in-out infinite;
    transition: all 0.3s ease;
}

.interim-emoji .wave-emoji:hover {
    animation: none;
    transform: scale(1.1) rotate(5deg);
}

.interim-hello {
    color: #333;
}

.interim-name {
    color: #333;
}

.interim-underline {
    width: 80px;
    height: 5px;
    background: #ff6b35;
    border-radius: 3px;
    margin-bottom: 2rem;
}

.interim-message {
    font-size: 1rem;
    line-height: 1.5;
    color: #666;
    max-width: 400px;
    font-weight: 400;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.interim-social {
    text-align: center;
    margin-top: 1rem;
}

.interim-social-text {
    display: block;
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 1rem;
    font-weight: 500;
}

.interim-social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.interim-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 50%;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.interim-social-link:hover {
    background: #ff6b35;
    color: white;
    border-color: #ff6b35;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* Hide main site content on mobile */
@media (max-width: 768px) {
    .mobile-interim-message {
        display: block;
    }
    
    /* Hide all main content on mobile */
    .navbar,
    .hero,
    .image-carousel-section,
    .about-section,
    .projects-section,
    .testimonials-section,
    .contact-section,
    footer {
        display: none !important;
    }
    
    /* Prevent scrolling and hide body content */
    body {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
        height: 100% !important;
    }
    
    /* Ensure interim message covers everything */
    .mobile-interim-message {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: white;
        z-index: 10000;
        overflow: hidden;
    }
}

/* Deepslice Pizza specific styling - Orange theme */
.deepslice-pizza .project-hero-content::after {
    background: linear-gradient(90deg, #ff6b35, #f7931e);
}

.deepslice-pizza .project-content-sidebar h3::before {
    background: linear-gradient(180deg, #ff6b35, #f7931e);
}

.deepslice-pizza .sidebar-meta .meta-item:hover {
    background: rgba(255, 107, 53, 0.05);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.1);
}

.deepslice-pizza .sidebar-meta .meta-label {
    border-left: 3px solid #ff6b35;
}

/* Deepslice main content area - Orange theme */
.deepslice-pizza .project-content h2::after,
.deepslice-pizza .project-content-full h2::after {
    background: linear-gradient(90deg, #ff6b35, #f7931e);
}

.deepslice-pizza .project-content h3,
.deepslice-pizza .project-content-full h3 {
    border-left: 4px solid #ff6b35;
}

.deepslice-pizza .sprint-heading {
    border-left: 4px solid #ff6b35;
}

/* Screenshots Grid Styling */
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
    position: relative;
}

.screenshot-item {
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.screenshot-label {
    display: block;
    text-align: center;
    margin-top: 1rem;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

/* Staggered Grid Layout */
.screenshots-grid .screenshot-item:nth-child(1) {
    transform: rotate(-2deg);
}

.screenshots-grid .screenshot-item:nth-child(2) {
    transform: rotate(1deg);
}

.screenshots-grid .screenshot-item:nth-child(3) {
    transform: rotate(-1deg);
}

.screenshots-grid .screenshot-item:nth-child(4) {
    transform: rotate(2deg);
}

.screenshots-grid .screenshot-item:hover {
    transform: rotate(0deg) translateY(-8px);
    z-index: 10;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .screenshots-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .screenshots-grid .screenshot-item {
        transform: none;
    }
    
    .screenshots-grid .screenshot-item:hover {
        transform: translateY(-4px);
    }
}

/* Full Width Image Placeholder */
.full-width-image-placeholder {
    width: 100%;
    margin: 0;
    margin-left: -20px;
    margin-right: -20px;
    border: 2px solid #e74c3c;
    border-radius: 8px;
}

.placeholder-container {
    width: 100%;
    height: 600px;
    background: transparent;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1.2rem;
    font-weight: 500;
    box-shadow: none;
    overflow: hidden;
    position: relative;
    transform: translateZ(0);
}

.placeholder-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease;
    transform-origin: center;
    will-change: transform;
}

.placeholder-container img:hover {
    transform: scale(1.05);
}

/* Image Group Container */
.image-group-container {
    width: 100%;
    margin: 24px 0;
}

/* Fourth Image Container */
.fourth-image-container {
    width: 100%;
    margin: 24px 0;
    border: 2px solid #e74c3c;
    border-radius: 8px;
    overflow: hidden;
    height: 600px;
}

.fourth-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease;
    transform-origin: center;
    will-change: transform;
}

.fourth-image-container img:hover {
    transform: scale(1.05);
}

/* Split Image Placeholder */
.split-image-placeholder {
    width: 100%;
    margin: 0 0 24px 0;
    display: flex;
    gap: 24px;
}

.split-left {
    flex: 0 0 calc(40% - 12px);
    height: 520px;
    background: transparent;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1.2rem;
    font-weight: 500;
    box-shadow: none;
}

.split-right {
    flex: 0 0 calc(60% - 12px);
    height: 520px;
    background: white;
    border-radius: 15px;
    display: block;
    color: #666;
    font-size: 1.2rem;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
}

.split-right img {
    width: 120%;
    height: 120%;
    object-fit: cover;
    border-radius: 15px;
    display: block;
    margin: -10%;
    transition: transform 0.3s ease;
    transform-origin: center;
}

.split-right img:hover {
    transform: scale(1.05);
}

/* Vertical Split for Homepage */
.vertical-split {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.vertical-top,
.vertical-bottom {
    flex: 1;
    background: white;
    border-radius: 12px;
    display: block;
    color: #666;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.vertical-top img,
.vertical-bottom img {
    width: 120%;
    height: 120%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    margin: -10%;
    transition: transform 0.3s ease;
    transform-origin: center;
}

.vertical-top img:hover,
.vertical-bottom img:hover {
    transform: scale(1.05);
}

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

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    background: none;
    color: #ff6b35;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 18px;
}

.btn:hover {
    color: #000;
    transform: translateX(4px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: #f8f8f8;
    border-radius: 20px;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.04);
    z-index: 9999;
    padding: 28px 24px;
    width: 1200px;
    max-width: calc(100% - 40px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Navbar content is now handled by .navbar .container */

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-logo:hover {
    color: inherit;
    transform: translateY(-1px);
}

.logo-icon {
    width: 24px;
    height: 24px;
    background: url('Images/Afeeza Logo.png') no-repeat center;
    background-size: contain;
    border-radius: 4px;
    position: relative;
}

/* Remove the CSS-generated logo icon pseudo-elements since we're using an actual image */
.logo-icon::before,
.logo-icon::after {
    display: none;
}

.nav-menu-toggle {
    cursor: pointer;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hamburger span {
    width: 20px;
    height: 2px;
    background: #333;
    border-radius: 1px;
    transition: all 0.3s ease;
}

/* Mobile Menu Styles */
.mobile-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    padding: 24px;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 16px;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.mobile-menu-link:hover {
    color: #666;
}

.mobile-menu-contact {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu-email {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}

.mobile-menu-email:hover {
    color: #666;
}

.mobile-menu-email i {
    color: #666;
    font-size: 18px;
}

.mobile-menu-social {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-menu-social-text {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.mobile-menu-social-links {
    display: flex;
    gap: 16px;
}

.mobile-menu-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f8f8f8;
    border-radius: 8px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-menu-social-link:hover {
    background: #e0e0e0;
    color: #333;
    transform: translateY(-2px);
}

.mobile-menu-social-link i {
    font-size: 18px;
}

/* Hamburger animation when active */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Responsive mobile menu */
@media (max-width: 768px) {
    .mobile-menu {
        right: -12px;
        min-width: 260px;
        padding: 20px;
    }
    
    .navbar {
        width: calc(100% - 32px);
        padding: 20px 16px;
    }
}

@media (max-width: 480px) {
    .mobile-menu {
        right: -8px;
        min-width: 240px;
        padding: 16px;
    }
    
    .mobile-menu-links {
        gap: 12px;
        margin-bottom: 20px;
        padding-bottom: 20px;
    }
    
    .mobile-menu-contact {
        margin-bottom: 20px;
        padding-bottom: 20px;
    }
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: white;
    padding-top: 120px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-left {
    text-align: left;
}

.hi-emoji {
    font-size: 5rem;
    margin-right: 1rem;
    display: inline;
    vertical-align: baseline;
    color: #ffb6c1;
}

.hero-title {
    font-size: 5.5rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
    line-height: 1.1;
    color: #1a1a1a;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    position: relative;
}





.highlight {
    color: #333;
    position: relative;
}

.hero-subtitle {
    font-size: 24px;
    color: #666;
    line-height: 1.4;
    max-width: 500px;
}

.hero-right {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-left: 0;
}

.hero-photo {
    width: 350px;
    height: 386px;
    background: #f8f9fa;
    border-radius: 20px;
    box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: rotate(5deg);
    position: relative;
    overflow: hidden;
}

.hero-photo::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 25px;
    right: 25px;
    width: 300px;
    height: 300px;
    background: #e0e0e0;
    border-radius: 10px;
}

/* Image Carousel Section */
.image-carousel-section {
    background: white;
    padding-top: -40px;
    padding-bottom: 60px;
    overflow: hidden;
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.carousel-container::before,
.carousel-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.carousel-container::before {
    left: 0;
    background: linear-gradient(to right, white 0%, transparent 100%);
}

.carousel-container::after {
    right: 0;
    background: linear-gradient(to left, white 0%, transparent 100%);
}

.carousel-track {
    display: flex;
    gap: 24px;
    animation: scroll 60s linear infinite;
    width: max-content;
}

.carousel-item {
    flex-shrink: 0;
    width: 350px;
    height: 320px;
}

.grey-box {
    width: 100%;
    height: 100%;
    background: #e0e0e0;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.carousel-image:hover {
    transform: scale(1.02);
}

.carousel-item a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    padding: 4px;
}

.carousel-item a:hover {
    cursor: pointer;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes wave {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-20deg);
    }
    75% {
        transform: rotate(5deg);
    }
}

@keyframes wiggle {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-8deg);
    }
    75% {
        transform: rotate(8deg);
    }
}

@keyframes wiggle-left {
    0%, 100% {
        transform: rotate(-15deg);
    }
    25% {
        transform: rotate(-25deg);
    }
    75% {
        transform: rotate(-5deg);
    }
}

@keyframes wiggle-right {
    0%, 100% {
        transform: rotate(10deg);
    }
    25% {
        transform: rotate(0deg);
    }
    75% {
        transform: rotate(20deg);
    }
}

.wave-emoji {
    animation: wave 1s ease-in-out infinite;
    transition: all 0.3s ease;
}

.wave-emoji:hover {
    animation: none;
    transform: scale(1.1) rotate(5deg);
}

.floating-badge {
    transition: all 0.3s ease;
}

.floating-badge:hover {
    animation: wiggle 0.5s ease-in-out infinite;
}

.floating-badge.tilted-left:hover {
    animation: wiggle-left 0.5s ease-in-out infinite;
}

.floating-badge.tilted-right:hover {
    animation: wiggle-right 0.5s ease-in-out infinite;
}

.floating-badge:hover,
.floating-badge.tilted-left:hover,
.floating-badge.tilted-right:hover {
    animation-duration: 0.5s;
    animation-iteration-count: 6;
    animation-fill-mode: forwards;
    animation-delay: 0s;
}

.floating-badge {
    animation: none;
}

.floating-badge:hover {
    animation: wiggle 0.5s ease-in-out 6 forwards;
}

.floating-badge.tilted-left:hover {
    animation: wiggle-left 0.5s ease-in-out 6 forwards;
}

.floating-badge.tilted-right:hover {
    animation: wiggle-right 0.5s ease-in-out 6 forwards;
}

.floating-badge:hover,
.floating-badge.tilted-left:hover,
.floating-badge.tilted-right:hover {
    animation-fill-mode: forwards;
}



/* Social Links Section */
.social-links-section {
    background: white;
    padding: 40px 0;
}

.social-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 4rem;
}

.social-text {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

.social-icons {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.social-links-section .social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #000 !important;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 12px 16px;
    border-radius: 20px;
    white-space: nowrap;
    margin: 0 0.5rem;
    background: transparent;
    width: auto;
    height: auto;
    border-radius: 20px;
}

.social-links-section .social-link:hover {
    color: #000;
    background: rgba(0, 0, 0, 0.05);
    transform: none;
}

.social-links-section .social-link i {
    font-size: 1.2rem;
}

/* About Section */
.about {
    background: white;
}

.about .section-title {
    font-size: 48px;
    text-align: left;
    margin-bottom: 16px;
    border: none;
    border-radius: 10px;
    padding: 0;
    background: none;
    display: inline-block;
}

.about-content {
    display: flex !important;
    gap: 1rem !important;
    align-items: stretch;
    margin-bottom: 4rem;
    border: none;
    border-radius: 0;
    padding: 2rem 0;
    background: none;
    overflow: visible;
    position: relative;
    min-height: auto;
}

.about-content > div {
    flex: 0 1 auto;
}

.about-content[style*="margin-top"] {
    margin-top: 0 !important;
}

/* Increase gap for the second about section */
.about-content:nth-of-type(2) {
    gap: 0.5rem !important;
}

/* Make the right column narrower in the second about section */
.about-content:nth-of-type(2) .about-right {
    flex: none !important;
    max-width: none !important;
    border: 2px solid #6f42c1;
    border-radius: 15px;
    padding: 2rem;
    background: rgba(111, 66, 193, 0.02);
    width: 600px;
    position: relative;
    left: -60px;
}

/* Force remove margin from second about section */
.about-content:nth-of-type(2) {
    margin-top: 0 !important;
}

/* Target the specific inline style */
div[style*="margin-top: 2rem"] {
    margin-top: 0 !important;
}

/* Force override any margin-top */
.about-content {
    margin-top: 0 !important;
}

/* Target the container specifically */
.container .about-content:nth-child(2) {
    margin-top: 0 !important;
}

.about-content .about-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    border: 2px solid #28a745;
    border-radius: 15px;
    padding: 2rem;
    background: rgba(40, 167, 69, 0.02);
    width: 400px;
}

.about-content .about-right {
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    border-radius: 0;
    padding: 2rem;
    background: none;
    justify-content: flex-end;
}

.about-right {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 0;
    margin-top: 0;
}

.about-left {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.about-left .section-title {
    margin-left: 0;
    margin-right: 0;
    align-self: flex-start;
    border: none;
    border-radius: 0;
    padding: 0;
    background: none;
}

.about-me-heading {
    border: none;
    border-radius: 0;
    padding: 0;
    background: none;
    display: inline-block;
    margin: 0 0 1.5rem 0;
    line-height: 1;
    text-align: left;
    width: fit-content;
}

.my-story-heading {
    border: none;
    border-radius: 0;
    padding: 0;
    background: none;
    display: inline-block;
    margin: 0 0 1.5rem 0;
    line-height: 1;
}

.about-left .about-description {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 1.5rem;
    align-self: flex-start;
    width: 100%;
}

.about-left .btn {
    margin-left: 0;
    margin-right: 0;
    align-self: flex-start;
}

.about-description {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 0;
}

.about-availability {
    font-size: 1.1rem;
    color: #666;
    font-weight: 400;
}

.about-right {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 0;
}

.about-photo {
    width: 300px;
    height: 300px;
    background: #f8f9fa;
    border-radius: 20px;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
}

.about-photo::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 24px;
    height: 24px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.about-story h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #333;
}

.about-story p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 16px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.stats-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
    margin-top: 1rem;
    position: relative;
    z-index: 1;
    max-width: 100%;
    box-sizing: border-box;
    border: none;
    border-radius: 0;
    padding: 0;
    background: none;
}

.stat-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 28px;
    font-weight: bold;
    color: #ff6b35;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.stat-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    color: #007bff;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
}

/* Skillset Section */
.skillset {
    background: white;
}

.skillset .section-title {
    font-size: 48px;
    text-align: left;
    margin-bottom: 2rem;
}

.skills-carousel {
    position: relative;
    margin-top: 3rem;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
}

.skills-track {
    display: flex;
    transition: transform 0.3s ease;
    gap: 2rem;
}

.carousel-arrow {
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.carousel-arrow:hover {
    background: #e0e0e0;
    transform: scale(1.05);
}

.carousel-prev {
    margin-right: 8px;
}

.carousel-next {
    margin-left: 8px;
}

.carousel-arrow i {
    font-size: 18px;
    color: #333;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skill-card {
    background: white;
    width: 300px;
    height: 240px;
    padding: 16px 24px;
    border-radius: 12px;
    text-align: left;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.03);
}

.skill-card:hover {
    transform: translateY(-8px);
}

.skill-icon {
    color: #666;
    margin-bottom: 8px;
    font-size: 2rem;
}

.skill-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.skill-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 8px;
}

/* Projects Section */
.projects {
    background: white;
    position: relative;
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.projects .section-title {
    font-size: 48px;
    text-align: left;
    margin-bottom: 0;
}

.browse-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 18px;
}

.browse-link:hover {
    color: #000;
    transform: translateX(4px);
}

.projects-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.project-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.03);
    display: flex;
    min-height: 550px;
    position: relative;
    margin-bottom: 2rem;
    transform: translateY(0);
    will-change: transform;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    outline: none;
}

.project-card:hover {
    transform: translateY(-8px) scale(1.02) !important;
    border-color: rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
}

.project-card:focus {
    outline: none;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.project-card:active {
    outline: none;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transform: translateY(-4px) scale(1.01);
}

.project-card:visited {
    text-decoration: none;
    color: inherit;
    outline: none;
}

.project-card .project-link {
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-card:hover .project-link {
    color: #333;
}

.project-card:hover .project-link i {
    transform: translateX(4px);
}

/* Ensure hover effects work on stacked cards */
.project-card.sticky:hover,
.project-card.stack-1:hover,
.project-card.stack-2:hover,
.project-card.stack-3:hover,
.project-card.stack-4:hover {
    transform: translateY(-8px) scale(1.02) !important;
    border-color: rgba(0, 0, 0, 0.1);
}

/* Enhanced stack effect with better visual hierarchy */
.project-card.sticky {
    position: sticky;
    top: 120px;
    z-index: 5;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 0;
}

.project-card.stack-1 {
    position: sticky;
    top: 140px;
    z-index: 6;
    transform: translateY(0);
    opacity: 0.95;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.project-card.stack-2 {
    position: sticky;
    top: 160px;
    z-index: 7;
    transform: translateY(0);
    opacity: 0.9;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}

.project-card.stack-3 {
    position: sticky;
    top: 180px;
    z-index: 8;
    transform: translateY(0);
    opacity: 0.85;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.04);
}

.project-card.stack-4 {
    position: sticky;
    top: 200px;
    z-index: 9;
    transform: translateY(0);
    opacity: 0.8;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

/* Ensure cards don't get pushed down when others become sticky */
.project-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

/* When a card becomes sticky, it should not affect the layout of others */
.projects-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

/* Ensure stacked cards are always visible */
.project-card.sticky,
.project-card.stack-1,
.project-card.stack-2,
.project-card.stack-3,
.project-card.stack-4 {
    position: sticky;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.03);
    display: flex;
    min-height: 550px;
}

/* Responsive adjustments for sticky stack */
@media (max-width: 768px) {
    .project-card.sticky {
        top: 100px;
    }
    
    .project-card.stack-1 {
        top: 120px;
        z-index: 6;
    }
    
    .project-card.stack-2 {
        top: 140px;
        z-index: 7;
    }
    
    .project-card.stack-3 {
        top: 160px;
        z-index: 8;
    }
    
    .project-card.stack-4 {
        top: 180px;
        z-index: 9;
    }
}

@media (max-width: 480px) {
    .project-card.sticky {
        top: 80px;
    }
    
    .project-card.stack-1 {
        top: 100px;
        z-index: 6;
    }
    
    .project-card.stack-2 {
        top: 120px;
        z-index: 7;
    }
    
    .project-card.stack-3 {
        top: 140px;
        z-index: 8;
    }
    
    .project-card.stack-4 {
        top: 160px;
        z-index: 9;
    }
}

.project-left {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-right {
    flex: 1;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.project-right:hover {
    transform: scale(1.02);
}

.project-right img {
    cursor: pointer;
    transition: all 0.3s ease;
}

.project-right:hover img {
    transform: scale(1.05);
}

.project-image-placeholder {
    width: 200%;
    height: calc(100% - 16px);
    background: #e0e0e0;
    border-radius: 20px;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.03);
}

.project-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.project-date {
    font-size: 18px;
    color: #666;
    margin-bottom: 128px;
}

.project-description {
    color: #333;
    line-height: 1.6;
    margin-bottom: 16px;
    font-size: 18px;
}

.project-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    transition: all 0.3s ease;
    position: relative;
}

.project-link:hover {
    color: #007bff;
    transform: translateX(4px);
}

.project-link i {
    transition: transform 0.3s ease;
}

.project-link:hover i {
    transform: translateX(6px);
}

/* Testimonials Section */
.testimonials {
    background: #f8f9fa;
    position: relative;
}

.testimonials-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
}

.testimonials-left {
    position: sticky;
    top: 10rem;
    max-width: 70%;
    height: fit-content;
    z-index: 10;
    align-self: start;
}

.testimonials-headline {
    font-size: 64px;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.testimonials-subheading {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

.testimonials-right {
    max-width: 600px;
}

.testimonials-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.testimonial-item {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.testimonial-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    min-height: 120px;
}

.testimonial-header:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.testimonial-author-preview {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #e0e0e0;
    flex-shrink: 0;
}

.testimonial-author-info {
    flex: 1;
}

.testimonial-author-preview .author-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 0.25rem 0;
}

.testimonial-author-preview .author-title {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    margin: 0;
}

.testimonial-toggle {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.testimonial-toggle i {
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
}

.testimonial-item.active .testimonial-toggle {
    transform: rotate(45deg);
}

.testimonial-item.active .testimonial-toggle i {
    opacity: 0;
}

.testimonial-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: rgba(0, 123, 255, 0.02);
}

.testimonial-item.active .testimonial-content {
    max-height: 500px;
}

.testimonial-quote {
    font-size: 1rem;
    color: #333;
    line-height: 1.7;
    margin: 0;
    padding: 24px;
    font-style: italic;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Contact Section */
.contact {
    background: white;
}

.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-email {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #666;
    font-size: 1.1rem;
}

.contact-email a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-email a:hover {
    color: #0056b3;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #007bff;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.contact-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-cta-container {
    width: 100%;
    margin: 1rem 0;
}

.footer-cta-box {
    background: #555;
    padding: 2rem;
    border-radius: 12px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 160px;
}

.footer-cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
}

.footer-cta-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.footer-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: white;
    padding: 0.75rem 1.5rem;
    border: 2px solid white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-contact-btn:hover {
    background: white;
    color: #333;
    transform: translateY(-2px);
}

.footer-email {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: #ccc;
}

.footer-email a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-email a:hover {
    color: white;
}

.footer-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
}

.footer-link {
    color: #ccc;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 6px;
}

.footer-link:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.footer-social-text {
    font-size: 0.9rem;
    color: #ccc;
}

.social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer .social-links .social-link {
    color: black !important;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.footer .social-links .social-link:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #ccc;
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-left {
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin: 0 auto;
    }
    
    .hero {
        padding-top: 60px;
    }
    
    .hero-photo {
        width: 300px;
        height: 375px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-social {
        display: none;
    }
    
    .about-description {
        font-size: 1.1rem;
    }
    
    .about-story h3 {
        font-size: 1.5rem;
    }
    
    .about-story p {
        font-size: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .skill-card {
        padding: 2rem;
    }
    
    .skill-title {
        font-size: 1.3rem;
    }
    
    .skill-description {
        font-size: 0.95rem;
    }
    
    .projects-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .project-title {
        font-size: 1.2rem;
    }
    
    .project-content {
        padding: 1.25rem;
    }
    
    .testimonials-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .testimonials-left {
        position: static;
        text-align: center;
    }
    
    .testimonials-headline {
        font-size: 2rem;
    }
    
    .testimonial-item {
        margin-bottom: 0.5rem;
    }
    
    .testimonial-header {
        padding: 2rem;
        min-height: 100px;
    }
    
    .testimonial-author-photo {
        width: 50px;
        height: 50px;
    }
    
    .testimonial-quote {
        font-size: 0.95rem;
        padding: 1.25rem;
    }
    
    .testimonial-author-preview .author-name {
        font-size: 1rem;
    }
    
    .testimonials-subheading {
        font-size: 1rem;
    }
    
    .contact-info {
        gap: 1.5rem;
    }
    
    .contact-email {
        font-size: 1rem;
    }
    
    .contact-btn {
        font-size: 1rem;
        padding: 10px 20px;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .footer-nav {
        gap: 1.5rem;
    }
    
    .social-links {
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .skill-card {
        padding: 1.5rem;
    }
    
    .skill-title {
        font-size: 1.2rem;
    }
    
    .project-image {
        height: 180px;
    }
    
    .project-content {
        padding: 1rem;
    }
    
    .testimonial-item {
        margin-bottom: 0.25rem;
    }
    
    .testimonial-header {
        padding: 1.5rem;
        min-height: 80px;
    }
    
    .testimonial-author-photo {
        width: 40px;
        height: 40px;
    }
    
    .testimonial-quote {
        font-size: 0.9rem;
        padding: 1rem;
    }
    
    .contact-email {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .social-links {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
} 

/* Project Hero Section (dashboard-design-studio.html specific styles) */
.project-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 0;
    position: relative;
    margin-top: 0;
    padding-top: 0px;
    min-height: auto;
    margin-top: 0;
    z-index: 1;
    border-radius: 0 0 20px 20px;
    overflow: hidden;
}

.project-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(0,0,0,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.project-hero-content {
    position: relative;
    z-index: 2;
    margin-top: 120px;
}

.project-hero-content::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #e74c3c, #c0392b);
    border-radius: 2px;
    z-index: 3;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    margin-top: 2rem;
    gap: 64px;
    column-gap: 64px;
    row-gap: 0;
    grid-gap: 64px;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 36px 0 36px 36px;
    margin: 0;
}

.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    padding: 36px 36px 36px 0;
    margin: 0;
}

.project-hero-image {
    width: 100%;
    height: 450px;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border-radius: 20px;
    box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    left: 0;
    display: block;
    max-width: 100%;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .project-hero {
        min-height: 60vh;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .project-hero-image {
        height: 300px;
        width: 80%;
    }
    
    .hero-layout {
        gap: 32px;
        column-gap: 32px;
    }
}

@media (max-width: 768px) {
    .project-hero {
        min-height: 50vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .project-hero-image {
        height: 250px;
        width: 90%;
    }
    
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 24px;
        column-gap: 24px;
    }
}

.project-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 1rem;
}

.meta-item i {
    color: #007bff;
}

.project-overview {
    padding: 0 2rem 0 2rem;
    margin: 2rem 0;
}

.project-overview:first-child {
    margin: 0 0 2rem 0;
    padding: 0 2rem 0 2rem;
}

.project-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: #333;
    padding: 0;
    margin-top: 0;
    position: relative;
    z-index: 2;
}

.project-content h2,
.project-content-full h2 {
    font-size: 48px;
    font-weight: 800;
    margin: 0 0 1.5rem 0;
    color: #1a1a1a;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    line-height: 1.1;
    position: relative;
}

.project-content h2::after,
.project-content-full h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #e74c3c, #c0392b);
    border-radius: 2px;
}

.project-overview:first-child h2 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.project-content h3,
.project-content-full h3 {
    font-size: 32px;
    font-weight: 700;
    margin: 1.5rem 0 0.8rem;
    color: #2c3e50;
    letter-spacing: -0.01em;
    line-height: 1.2;
    position: relative;
    padding: 12px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #e74c3c;
    display: block;
    width: 100%;
}

.project-content p,
.project-content-full p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.project-content ul,
.project-content-full ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.project-content li,
.project-content-full li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* Design Sprint Two-Column Layout with Badges */
.design-sprint-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin: 2rem 0;
}

.sprint-heading {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    padding: 12px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #e74c3c;
    display: flex;
    align-items: center;
    height: fit-content;
}

.sprint-content {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    padding: 12px 0;
}

.sprint-badge {
    background: #f8f9fa;
    color: #495057;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    border: 1px solid #dee2e6;
    margin-bottom: 12px;
    display: block;
    width: fit-content;
}

.stats-grid {
    display: grid;
    grid-template-columns: 280px 280px;
    gap: 2rem;
    margin: 2rem 0;
    position: relative;
    left: 48px;
    justify-content: center;
}

.project-overview .stats-grid {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    left: 0;
    position: static;
    justify-content: start;
}

.project-overview h3 + .stats-grid {
    margin-left: 0 !important;
    padding-left: 0 !important;
    width: 100% !important;
    position: static !important;
    left: 0 !important;
    justify-content: start !important;
}

.stat-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e9ecef;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
    width: 280px;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.stat-number {
    font-size: 43px;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 0.75rem;
    line-height: 1;
    display: block;
}

.stat-label {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.4;
    font-weight: 500;
    word-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 2rem;
    margin-top: 0;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
}

.back-button:hover {
    transform: translateX(-4px);
}

.project-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border-radius: 15px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1.2rem;
}

/* Project Meta Section */
.project-meta-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.meta-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meta-value {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
}

/* Project Content Wrapper */
.project-content-wrapper {
    background: white;
    margin-top: -12px;
    border-radius: 20px 20px 0 0;
    position: relative;
    z-index: 1;
}

/* Two-column layout for project content */
.project-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    column-gap: 24px;
    padding: 3rem 0;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
    position: relative;
    z-index: 1;
}

.project-content-full {
    display: grid;
    grid-template-columns: 1fr 300px;
    column-gap: 24px;
    padding: 3rem 0;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Left Panel Navigation */
.project-nav-sidebar {
    position: sticky;
    top: 120px;
    width: 250px;
    height: fit-content;
    flex-shrink: 0;
}

.project-nav {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.project-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.project-nav-item {
    margin-bottom: 0.5rem;
}

.project-nav-item:last-child {
    margin-bottom: 0;
}

.project-nav-link {
    display: block;
    padding: 0.75rem 1rem;
    color: #495057;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-nav-link:hover {
    background: #e9ecef;
    color: #212529;
}

.project-nav-link.active {
    background: #007bff;
    color: white;
}

.project-content-main {
    line-height: 1.8;
    color: #333;
}

.project-content-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
    max-height: calc(100vh - 160px);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 2rem;
    border: 2px solid #e9ecef;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    align-self: start;
}

.project-content-sidebar::-webkit-scrollbar {
    display: none;
}



.project-content-sidebar h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    margin-top: 0;
    letter-spacing: -0.01em;
    position: relative;
    padding-left: 16px;
}

.project-content-sidebar h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 3px;
    height: 20px;
    background: linear-gradient(180deg, #e74c3c, #c0392b);
    border-radius: 2px;
}

.sidebar-meta {
    margin-bottom: 0;
    padding-bottom: 0;
}

.sidebar-meta .meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1rem;
    padding: 8px 6px;
    align-items: flex-start;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.sidebar-meta .meta-item:hover {
    background: rgba(231, 76, 60, 0.05);
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.1);
}

.sidebar-meta .meta-item:last-child {
    border-bottom: none;
    margin-bottom: 0px;
}

.sidebar-meta .meta-label {
    font-size: 14px;
    font-weight: 700;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 0.5rem;
    text-align: left;
    background: #f8f9fa;
    padding: 6px 12px;
    border-radius: 6px;
    display: block;
    width: 100%;
    border-left: 3px solid #e74c3c;
}

.sidebar-meta .meta-value {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    line-height: 1.8;
    text-align: left;
}

.project-content-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-content-sidebar li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.875rem;
    color: #333;
    line-height: 1.4;
    font-weight: 500;
}

.project-content-sidebar li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.sidebar-meta .meta-item:last-child {
    border-bottom: none;
}

.project-content-sidebar li.sub-item {
    padding-left: 1rem;
    font-size: 0.75rem;
    color: #999;
    border-bottom: none;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    font-weight: 400;
}

/* Grey placeholder for images */
.content-image-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border-radius: 15px;
    margin: 2rem 0;
    box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
    .project-hero {
        padding: 25px 0 40px !important;
    }
    
    .project-hero-content {
        margin-top: 100px;
    }
    
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .project-hero-image {
        height: 210px;
    }
    
    .project-overview {
        padding: 2rem;
        margin: 1rem 0;
    }
    
    .project-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Metrics Summary Section */
.metrics-summary {
    background: white;
    padding: 36px 0;
    margin-top: 0;
    position: relative;
    z-index: 1;
}

.metrics-summary .container {
    max-width: none;
    padding: 0;
    margin: 0;
}



.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 0 2rem;
    margin: 0 auto;
    max-width: 1200px;
    justify-content: center;
}

.metric-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.metric-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.metric-number {
    font-size: 2rem;
    font-weight: bold;
    color: #000 !important;
    margin-bottom: 0.5rem;
}

.metric-content {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #333;
    font-weight: 500;
    word-wrap: break-word;
    hyphens: auto;
}

/* Dashboard Design Studio specific metrics layout */
.dashboard-design-studio .metrics-grid {
    grid-template-columns: repeat(6, 1fr);
    max-width: 100vw;
    width: 100%;
    padding: 0 1rem;
}

/* Dashboard Design Studio specific stats layout */
.dashboard-design-studio .stats-grid {
    grid-template-columns: repeat(3, 1fr);
}

/* Case Study Section */
.case-study {
    background: white;
    padding: 4rem 0;
    margin-top: 0;
}

.case-study-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Left Navigation */
.case-study-nav {
    position: sticky;
    top: 120px;
    height: fit-content;
    max-height: calc(100vh - 160px);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 2rem;
    border: 2px solid #e9ecef;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.case-study-nav::-webkit-scrollbar {
    display: none;
}



.nav-item {
    padding: 1rem 1.5rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    color: #666;
    border-left: 3px solid transparent;
}

.nav-item:hover {
    background: rgba(52, 152, 219, 0.1);
    color: #2c3e50;
    border-left-color: #3498db;
}

.nav-item.active {
    background: rgba(52, 152, 219, 0.15);
    color: #2c3e50;
    border-left-color: #3498db;
    font-weight: 600;
}

/* Right Content */
.case-study-content {
    line-height: 1.8;
    color: #333;
}

.case-study-content h2 {
    font-size: 48px;
    font-weight: 800;
    margin: 0 0 1.5rem 0;
    color: #1a1a1a;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    line-height: 1.1;
    position: relative;
}

.case-study-content h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #20824F, #1a6b3f);
    border-radius: 2px;
}

.case-study-content h3 {
    font-size: 32px;
    font-weight: 700;
    margin: 2rem 0 1rem 0;
    color: #2c3e50;
    letter-spacing: -0.01em;
    line-height: 1.2;
    position: relative;
    padding: 12px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #20824F;
    display: block;
    width: 100%;
}

.case-study-content h4 {
    font-size: 24px;
    font-weight: 600;
    margin: 1.5rem 0 0.8rem 0;
    color: #2c3e50;
    letter-spacing: -0.01em;
    line-height: 1.2;
    position: relative;
    padding-left: 16px;
}

/* .case-study-content h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, #20824F, #1a6b3f);
    border-radius: 2px;
} */

.case-study-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #333;
}

.case-study-section {
    margin-bottom: 3rem;
}

.case-study-subsection {
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.case-study-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border-radius: 15px;
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1.2rem;
}

/* Related Projects Section */
.related-projects {
    background: white;
    padding: 4rem 0;
    margin-top: 0;
}

.related-projects-container {
    max-width: none;
    padding: 0 2rem;
    margin: 0;
}

.related-projects h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 3rem;
    color: #000000;
    letter-spacing: -0.02em;
    line-height: 1.1;
    position: relative;
    text-align: center;
}

.related-projects h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: #ff6b35;
    border-radius: 3px;
}

.related-projects-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

/* Responsive design for related projects */
@media (max-width: 1200px) {
    .related-projects-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .related-projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .related-projects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.related-project-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    border: 2px solid #e9ecef;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 320px;
}

.related-project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.related-project-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
    line-height: 1.2;
}

.related-project-card p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
    flex-grow: 1;
}

/* Case Study Section Styles */
.case-study-section-wrapper {
    padding: 80px 0;
    background: #fafafa;
}

.case-study-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: start;
}

.case-study-nav-card {
    position: sticky;
    top: 140px;
    background: white;
    border-radius: 20px;
    padding: 32px 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: fit-content;
    border: 2px solid #e9ecef;
}

.nav-card-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 32px;
    color: #1a1a1a;
    position: relative;
}

.nav-card-header h3::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #20824F, #1a6b3f);
    border-radius: 2px;
}

.nav-card-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 12px;
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background: #f8f9fa;
}

.nav-link:hover {
    background: #e9ecef;
    color: #1a1a1a;
    border-color: #dee2e6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nav-link.active {
    background: linear-gradient(135deg, #20824F, #1a6b3f);
    color: white;
    border-color: #20824F;
    box-shadow: 0 4px 12px rgba(32, 130, 79, 0.3);
}

.nav-number {
    font-size: 0.9rem;
    font-weight: 700;
    opacity: 0.8;
    min-width: 24px;
}

.nav-title {
    font-size: 1rem;
    font-weight: 600;
}

.case-study-content-main {
    background: white;
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.case-study-section {
    margin-bottom: 80px;
    padding-top: 40px;
}

.case-study-section:first-child {
    padding-top: 0;
}

.case-study-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1a1a1a;
}

.case-study-section h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 32px 0 16px 0;
    color: #1a1a1a;
}

.case-study-section h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 24px 0 12px 0;
    color: #1a1a1a;
}

.case-study-section h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 20px 0 8px 0;
    color: #1a1a1a;
}

.case-study-section p {
    margin-bottom: 16px;
    line-height: 1.7;
    color: #4a4a4a;
}

.case-study-section ul,
.case-study-section ol {
    margin: 16px 0;
    padding-left: 24px;
}

.case-study-section li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: #4a4a4a;
}

.case-study-section blockquote {
    background: #f8f9fa;
    border-left: 4px solid #007bff;
    padding: 20px 24px;
    margin: 24px 0;
    font-style: italic;
    color: #666;
    border-radius: 0 8px 8px 0;
}

.persona-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 24px 0;
}

.persona-card {
    background: #f8f9fa;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.persona-card h5 {
    margin-bottom: 12px;
    color: #1a1a1a;
}

.journey-maps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 24px 0;
}

.journey-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #20824F;
}

.journey-item h5 {
    margin-bottom: 12px;
    color: #1a1a1a;
}

.feature-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 24px 0;
}

.feature-category {
    background: #f8f9fa;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.feature-category h5 {
    margin-bottom: 12px;
    color: #1a1a1a;
}

.design-improvements {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 24px 0;
}

.improvement-item {
    background: #f8f9fa;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.improvement-item h5 {
    margin-bottom: 12px;
    color: #1a1a1a;
}

.improvement-item ul {
    margin-top: 12px;
}

.ui-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 24px 0;
}

.ui-before,
.ui-after {
    text-align: center;
}

.ui-before h5,
.ui-after h5 {
    margin-bottom: 16px;
    color: #1a1a1a;
}

.deliverables-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 24px 0;
}

.deliverable-item {
    background: #f8f9fa;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.deliverable-item h5 {
    margin-bottom: 12px;
    color: #1a1a1a;
}

.learning-insights {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin: 32px 0;
}

.learning-item {
    background: #f8f9fa;
    padding: 32px;
    border-radius: 16px;
    border-left: 4px solid #007bff;
}

.learning-item h4 {
    margin-bottom: 16px;
    color: #1a1a1a;
}

.learning-item p {
    margin-bottom: 12px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .case-study-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .case-study-nav-card {
        position: static;
        order: -1;
    }
    
    .nav-card-links {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 8px;
    }
    
    .nav-link {
        flex-shrink: 0;
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    .case-study-section-wrapper {
        padding: 40px 0;
    }
    
    .case-study-container {
        padding: 0 16px;
    }
    
    .case-study-content-main {
        padding: 32px 24px;
    }
    
    .case-study-section h2 {
        font-size: 1.8rem;
    }
    
    .case-study-section h3 {
        font-size: 1.5rem;
    }
    
    .persona-cards,
    .feature-categories,
    .design-improvements,
    .ui-comparison {
        grid-template-columns: 1fr;
    }
    
    .deliverables-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .case-study-content-main {
        padding: 24px 16px;
    }
    
    .case-study-section h2 {
        font-size: 1.6rem;
    }
    
    .case-study-section h3 {
        font-size: 1.3rem;
    }
    
    .nav-card-links {
        gap: 4px;
    }
    
    .nav-link {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
} 

.project-right a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.project-right a:hover {
    text-decoration: none;
}

.project-right a:focus {
    outline: none;
}

/* Prevent unwanted borders and outlines on project cards */
.project-card:focus-visible {
    outline: none;
}

.project-card:focus-within {
    outline: none;
}

/* Ensure no border changes on click */
.project-card:active,
.project-card:focus,
.project-card:focus-visible {
    border: 1px solid rgba(0, 0, 0, 0.05);
    outline: none;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.03);
}

/* Contact Page Styles */
.contact-section {
    padding: 80px 0;
    background: #fafafa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-left {
    padding-right: 2rem;
}

.contact-info h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.contact-info > p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-methods {
    margin-bottom: 2.5rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-method-icon i {
    color: white;
    font-size: 1.2rem;
}

.contact-method-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.contact-method-content a,
.contact-method-content span {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-method-content a:hover {
    color: #5a6fd8;
}

.contact-social h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.contact-social .social-links {
    display: flex;
    gap: 1rem;
}

.contact-social .social-link {
    width: 48px;
    height: 48px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-social .social-link:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
}

.contact-right {
    padding-left: 1rem;
}

.contact-form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-form-container h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fafafa;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #9ca3af;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    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;
    gap: 0.5rem;
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.contact-submit-btn:active {
    transform: translateY(0);
}

.contact-submit-btn i {
    font-size: 1rem;
}

/* Responsive Design for Contact Page */
@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-left,
    .contact-right {
        padding: 0;
    }
    
    .contact-info h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-content {
        gap: 2rem;
    }
    
    .contact-info h2 {
        font-size: 1.5rem;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
    
    .contact-method {
        padding: 1.25rem;
    }
    
    .contact-method-icon {
        width: 40px;
        height: 40px;
    }
    
    .contact-method-icon i {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 40px 0;
    }
    
    .contact-info h2 {
        font-size: 1.4rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .contact-method {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .contact-method-icon {
        align-self: center;
    }
    
    .contact-social .social-links {
        justify-content: center;
    }
}

/* About Me Section */
.about-me-section {
    display: flex;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: center;
    border: none;
    border-radius: 0;
    padding: 0;
    background: none;
}

/* My Story Section */
.my-story-section {
    display: flex;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: center;
    border: none;
    border-radius: 0;
    padding: 0;
    background: none;
}

.about-me-left {
    flex: 1;
    max-width: 500px;
}

.about-me-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-me-right .about-photo {
    transform: rotate(8deg);
}

.about-me-left .about-photo {
    width: 400px;
    height: 500px;
}

.about-me-left .btn {
    margin-top: 1rem;
}

.my-story-left {
    flex: 0 0 400px;
}

.my-story-right {
    flex: 1;
    max-width: 600px;
}

/* Metrics Container */
.metrics-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.metric-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.metric-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.metric-number {
    font-size: 2rem;
    font-weight: bold;
    color: #000 !important;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

.my-story-left .about-photo {
    width: 400px;
    height: 500px;
}