@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Serif:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@400;500;600&family=Open+Sans:wght@400;600&display=swap');

button {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: none;
    font-size: 24px;
}

:root {
    --primary-green: #037B3F;
    --text-main: #18181b;
    --text-dark: #1b1c1c;
    --text-gray: #7a7f7b;
    --text-light-gray: #71717a;
    --bg-white: #FAFCFB;
    --bg-gray: #fafafa;
    --bg-image-box: #f0eded;
    --border-light: rgba(228, 228, 231, 0.5);

    --font-heading: 'IBM Plex Serif', serif;
    --font-open-sans: 'Open Sans', sans-serif;

    --container-width: 1000px;
}

h2 {
    font-size: 44px;
    line-height: 58px;
    letter-spacing: -1.5px;
    font-family: var(--font-heading);
    font-weight: 400;
    color: var(--text-dark);
}

h3 {
    font-size: 32px;
    line-height: 48px;
    letter-spacing: -1.5px;
    font-family: var(--font-heading);
    font-weight: 400;
    color: var(--text-dark);
}

h4 {
    font-size: 28px;
    line-height: 31px;
    /* letter-spacing: -1.5px; */
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-dark);
}

p {
    font-size: 18px;
    line-height: 1.6;
    letter-spacing: -0.5px;
    color: var(--text-gray);
    font-family: var(--font-open-sans);
    font-weight: 400;
}

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

html {
    /* scroll-behavior: smooth; */
    scroll-padding-top: 40px;
}

body {
    font-family: var(--font-open-sans);
    color: var(--text-gray);
    background-color: var(--bg-white);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    position: relative;
    align-items: flex-start;
    display: flex;
    flex-direction: row;

    /* Grid */
    background-image:
        linear-gradient(to right, rgba(0, 0, 0, 0.01) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.01) 1px, transparent 1px);
    background-size: 40px 40px;
    /* Changes how big the grid squares are */

    /* The Scrolling Behavior */
    background-attachment: scroll;
    /* This makes the grid move exactly as the user scrolls */
    background-position: top center;
}

.divider {
    border-top: 1px solid var(--border-light);
    /* Thickness and color */
    margin: 20px 0;
    /* Vertical spacing */
    width: 100%;
    /* Full width */
}

/* Background Grid Effect */

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -2;

    background-image:
        linear-gradient(to right, rgba(0, 0, 0, 0.01) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.01) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center top;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;

    background-image:
        linear-gradient(to right, rgba(3, 123, 63, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(3, 123, 63, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center top;

    -webkit-mask-image: radial-gradient(200px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            black 0%,
            transparent 100%);
    mask-image: radial-gradient(200px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            black 0%,
            transparent 100%);
}

.pointer-glow {
    position: absolute;
    /* We use the exact variables your JavaScript is already generating! */
    top: var(--mouse-y);
    left: var(--mouse-x);

    /* This shifts the circle so the exact center sits on the tip of the cursor */
    transform: translate(-50%, -50%);

    /* Adjust these values to make the glow larger or smaller */
    width: 400px;
    height: 400px;

    /* A soft radial gradient using your primary green */
    background: radial-gradient(circle, rgba(3, 123, 63, 0.06) 0%, transparent 65%);
    border-radius: 50%;

    /* CRITICAL: Ensures the glow doesn't block you from clicking buttons */
    pointer-events: none;

    /* Sits right behind your text, blending beautifully with your grid layers */
    z-index: -1;
}

/* Background Grid Effect ends */

/* Selection Color Starts */

::selection {
    background-color: #B3D7C5;
    /* Your theme's light green */
    color: #1b1c1c;
    /* Keeps the text dark and highly readable */
}

/* For full browser compatibility (Firefox) */
::-moz-selection {
    background-color: #B3D7C5;
    color: #1b1c1c;
}

/* Selection Color Ends */

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

/* Inline text links */
p a {
    color: var(--primary-green);
    text-decoration: underline;
    text-decoration-color: rgba(3, 123, 63, 0.4);
    text-underline-offset: 4px;
    font-weight: 500;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

p a:hover {
    color: #02592d;
    text-decoration-color: #02592d;
}

ul {
    list-style: none;
}

main {
    width: 100%;
}

/* Header */
.header {
    width: 240px;
    height: 100vh;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 100;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border-light);
    flex-shrink: 0;
    background-color: #fff;
}

.header-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.logo {
    font-family: "Alex Brush", cursive;
    /* font-family: "Corinthia", cursive; */
    /* font-family: "Bonheur Royale"; */
    font-size: 38px;
    line-height: 30px;
    color: var(--text-main);
    /* letter-spacing: -1.2px; */

}

.nav-pill {
    margin-top: 64px;
    width: 100%;
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.nav-links a {
    font-size: 16px;
    padding: 6px 0px;
    color: var(--text-light-gray);
    font-weight: 500;
    transition: all 0.2s;
    font-family: var(--font-open-sans);
}

.sidebar-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
}

.sidebar-footer .download-resume {
    width: 100%;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 16px;
    align-items: center;
}

.social-links a {
    color: var(--text-light-gray);
    font-size: 24px;
    transition: color 0.2s ease;
}

.social-links a:hover {
    color: var(--primary-green);
}

.content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* overflow-x: hidden removed to unlock CSS sticky positioning */
    width: 100%;
}

.cs-section {
    padding: 100px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background-color: #ffffff;
    position: relative;
    z-index: 1;
}

.cs-divider-wrapper {
    width: 100%;
    background-color: #ffffff;
    display: flex;
}

.cs-divider-wrapper .divider {
    margin: 0;
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-green);
}

.nav-links a.active {
    color: var(--primary-green);
    font-weight: 600;
}

.btn {
    padding: 8px 12px;
    border-radius: 12px;
    font-family: var(--font-open-sans);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--bg-white);
    border: 1px solid var(--primary-green);
    box-shadow: 0px 12px 32px rgba(27, 28, 28, 0.04);
}

.btn-primary:hover {
    opacity: 0.8;
}

.btn-outline {
    background-color: var(--bg-white);
    color: var(--primary-green);
    border: 1px solid var(--primary-green);
    box-shadow: 0px 12px 32px rgba(27, 28, 28, 0.04);
}

.btn-outline:hover {
    background-color: #f0fdf4;
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    min-height: 80vh;
    padding-top: 80px;
    padding-bottom: 224px;
    flex-direction: column;
    align-items: center;
    gap: 64px;
}

.hero-container {
    width: var(--container-width);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 36px;
}

.availability-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 17px;
    background-color: var(--bg-white);
    border: 1px solid rgba(190, 201, 192, 0.3);
    border-radius: 9999px;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
    background-color: #fff;
}

.availability-pill .dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-green);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.availability-pill .dot::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--primary-green);
    border-radius: 50%;
    opacity: 0.8;
    animation: ping 1s cubic-bezier(0, 0, .2, 1) infinite;
}

@keyframes ping {

    75%,
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.availability-pill .text {
    font-family: var(--font-open-sans);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-gray);
    letter-spacing: 1.2px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 48px;
    color: var(--text-dark);
    line-height: 66px;
    letter-spacing: -1.5px;
    font-weight: 400;
}

.hero-title strong {
    font-weight: 600;
}

.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* Value Props Card */
.value-props {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    /* Optional negative margin to overlap the hero background */
    padding-bottom: 40px;
    z-index: 10;
    background-color: #fff;
    border-top: 1px solid var(--border-light);
}

.value-props-container {
    width: var(--container-width);
    background: #fff;
    margin-top: -118px;
    border-radius: 32px;
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 88px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-light);
}

.my-effect-breakdown {
    flex: 1;
    min-width: 280px;
    background-color: #F0F4FA;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    min-height: 480px;
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.prop-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.prop-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--text-dark);
}

.prop-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
}

.prop-desc {
    font-family: var(--font-open-sans);
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* Trusted By */

.trusted-by-container {
    width: 100%;
    background-color: #fff;
    /* padding: 40px 0; */
    padding-top: 80px;
    padding-bottom: 120px;
    display: flex;
    justify-content: center;
}

.trusted-by {
    /* margin: 64px auto; */
    width: var(--container-width);
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.trusted-title {
    font-family: var(--font-open-sans);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-gray);
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
}

.trusted-logos {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    opacity: 0.8;
}

.trusted-logos img {
    height: auto;
    filter: grayscale(100%);
}

.logo-humain {
    width: 146px;
}

.logo-telus {
    width: 123px;
}

.logo-railtel {
    width: 90px;
}

.logo-ey {
    width: 37px;
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* =========================================
   Case Studies - Sticky Stacking Cards
   ========================================= */
.case-studies {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background-color: #fff;
    width: 100%;
    /* padding: 80px 0 120px; */
}

.case-study-container {
    width: var(--container-width);
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Each card is sticky — stacks at the top as you scroll */
.case-study {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;

    position: sticky;
    top: 24px;
    /* Distance from viewport top when stuck */
    margin-bottom: 32px;
    /* Breathing room between cards before stacking */

    background-color: var(--bg-white);
    padding: 48px;
    border: 1px solid var(--border-light);
    border-radius: 24px;
    box-shadow: 0 -12px 40px rgba(33, 35, 41, 0.04);
    will-change: transform, opacity, filter;
    transform-origin: top center;
}

.cs-header {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.cs-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cs-meta {
    font-family: var(--font-open-sans);
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-green);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* .cs-title {
    font-family: var(--font-heading);
    font-size: 36px;
    color: var(--text-dark);
    font-weight: 400;
    line-height: normal;
} */

.cs-desc {
    font-family: var(--font-open-sans);
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cs-link {
    margin-top: 16px;
    font-family: var(--font-open-sans);
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-green);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.3s ease;
    justify-content: right;
}

.cs-link:hover {
    opacity: 0.8;
}

.cs-link img {
    width: 10px;
    height: 10px;
}

/* Simplified image container for the new card style */
.cs-image {
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
}

.cs-image img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    object-fit: cover;
    object-position: center;
}

.cs-images {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    margin-top: 16px;
    border: 1px solid var(--border-light);
}

.cs-images img {
    width: 100%;
    display: block;
    border-radius: 16px;
}

/* Footer */
.footer {
    background-color: #fff;
    border-top: 1px solid var(--border-light);
    padding: 48px 0;
    display: flex;
    justify-content: center;
    width: 100%;
}

.footer-container {
    width: var(--container-width);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    max-width: 100%;
}

.footer-name {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--text-main);
}

.footer-copy {
    font-family: var(--font-open-sans);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: center;
    min-width: 0;
    max-width: 100%;
}

.made-with {
    display: flex;
    gap: 4px;
    align-items: center;
}

.made-with img {
    width: 18px;
    height: 18px;
}

.made-with p {
    font-family: var(--font-open-sans);
    font-size: 18px;
    color: var(--text-gray);
    font-weight: 500;
}

/* .footer-links a {
    font-family: var(--font-open-sans);
    font-size: 12px;
    color: var(--text-gray);
    letter-spacing: 2.4px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-green);
} */

.about-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background-color: #fff;
    width: 100%;
    align-items: center;
    /* padding: 40px 0px; */
    padding-top: 120px;
    padding-bottom: 40px;

}

.about-content {
    display: flex;
    flex-direction: row;
    /* text left, image right */
    gap: 24px;
    width: var(--container-width);
    align-items: flex-start;
}

.contact-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background-color: #fff;
    width: 100%;
    align-items: center;
    padding: 96px 0px;
}

.contact-content {
    display: flex;
    gap: 64px;
    width: var(--container-width);
    padding: 64px;
    border-radius: 24px;
    background-image: url('../assets/connect-image-1.avif');
    background-size: cover;
    background-position: center;
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.contact-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon svg {
    fill: #fff !important;
}

.contact-title {
    font-family: var(--font-heading);
    font-size: 40px;
    line-height: 1.25;
    color: #fff;
    /* font-weight: 600; */
    letter-spacing: -1.5px;
}

.contact-cards {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
}

.contact-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 16px 24px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    gap: 16px;
    flex-wrap: wrap;
    min-width: 0;
}

.contact-card .btn-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
    background-color: transparent;
}

.contact-card .btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.contact-card .social-links a {
    color: #fff;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    max-width: 100%;
}

.contact-info i {
    color: #fff !important;
    flex-shrink: 0;
}

.contact-label {
    font-family: var(--font-open-sans);
    font-size: 16px;
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.truncate-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    opacity: 1;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.icon-copy {
    color: var(--text-light-gray);
    cursor: pointer;
    transition: color 0.2s;
    font-size: 14px;
}

.icon-copy:hover {
    color: var(--primary-green);
}

.contact-actions {
    display: flex;
    gap: 12px;
}

.btn-small {
    padding: 6px 12px;
    height: auto;
    font-size: 14px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}


.about-text {
    /* padding: 24px;
    border-radius: 16px;
    background-color: #fff; */
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.about-image {
    position: sticky;
    top: 32px;
    align-self: flex-start;
    width: 336px;
    height: 440px;
    border-radius: 16px;

    /* 3D tilt: ensure children render in 3D space */
    transform-style: preserve-3d;
    transition: transform 0.25s ease;
    will-change: transform;
    /* cursor: crosshair; */
}

/* White pointer glow follows the cursor via --gx / --gy CSS vars */
.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: radial-gradient(240px circle at var(--gx, 50%) var(--gy, 50%),
            rgba(255, 255, 255, 0.32),
            transparent 70%);
    mix-blend-mode: overlay;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.about-image:hover::after {
    opacity: 1;
}

.about-image img {
    display: block;
    width: 336px;
    height: 440px;
    object-fit: cover;
    border-radius: 16px;

    /* Default: greyscale */
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.about-image:hover img {
    /* On hover: full colour */
    filter: grayscale(0%);
}


.skills-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    justify-items: center;
    align-items: center;
}

.skill-tooltip-container {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.skill-tooltip-container .tooltip-text {
    visibility: hidden;
    background-color: var(--text-dark);
    color: var(--bg-white);
    text-align: center;
    padding: 6px 12px;
    border-radius: 8px;
    font-family: var(--font-open-sans);
    font-size: 13px;
    font-weight: 600;
    position: absolute;
    z-index: 10;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) scale(0.95);
    opacity: 0;
    white-space: nowrap;
    transition: opacity 0.2s cubic-bezier(.4, 0, .2, 1), transform 0.2s cubic-bezier(.4, 0, .2, 1), visibility 0.2s;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
    pointer-events: none;
}

.skill-tooltip-container .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--text-dark) transparent transparent transparent;
}

.skill-tooltip-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

.skill-tooltip-container:hover .skill-logo {
    transform: translateY(-4px);
}

.skill-logo {
    border-radius: 12px;
    width: 64px;
    height: 64px;
    /* box-shadow: 0 0px 12px rgba(0, 0, 0, 0.1);
    background-color: #fbfbfb; */
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}

.skills-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    /* background-color: rgba(3, 123, 63, 0.06);
    padding: 24px;
    border-radius: 16px; */
}

.core-expertise {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.chip-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    /* Fill the full available width so chips can spread */
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--border-light);
    font-family: var(--font-open-sans);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-gray);
    text-transform: uppercase;
    background-color: rgba(3, 123, 63, 0.06);
    white-space: nowrap;
}

/* Hamburger: hidden by default, shown only on mobile via media query */
.hamburger-btn {
    display: none;
}

.mobile-menu {
    display: none;
}

/* ==============================================
   LARGE SCREEN — QHD / 2K (≥ 1800px)
   Widens the layout and scales up typography
   ============================================== */
@media (min-width: 1800px) {
    :root {
        --container-width: 1080px;
    }

    /* Prevent any element from causing horizontal scroll */
    body {
        overflow-x: hidden;
    }

    .header {
        width: 280px;
        padding: 44px 36px;
    }

    .logo {
        font-size: 42px;
        line-height: 34px;
    }

    .nav-links a {
        font-size: 17px;
    }

    h2 {
        font-size: 50px;
        line-height: 64px;
    }

    h3 {
        font-size: 32px;
        line-height: 48px;
    }

    h4 {
        font-size: 30px;
    }

    p {
        font-size: 18px;
    }

    .hero-title {
        font-size: 56px;
        line-height: 72px;
    }

    .hero {
        padding-top: 130px;
        padding-bottom: 260px;
    }

    /* .btn {
        font-size: 17px;
        padding: 10px 18px;
    } */

    .prop-title {
        font-size: 24px;
    }

    .prop-desc {
        font-size: 17px;
    }

    /* .cs-title {
        font-size: 40px;
    } */

    /* .cs-desc {
        font-size: 19px;
    } */

    .contact-title {
        font-size: 42px;
    }

    .skill-logo {
        width: 68px;
        height: 68px;
    }

    .about-image {
        width: 336px;
        height: 440px;
    }
}

/* ==============================================
   ULTRA-WIDE — 4K (≥ 2400px)
   ============================================== */
@media (min-width: 2400px) {
    :root {
        --container-width: 1200px;
    }

    .header {
        width: 320px;
    }

    .hero-title {
        font-size: 56px;
        line-height: 72px;
    }

    h2 {
        font-size: 48px;
        line-height: 64px;
    }

    h3 {
        font-size: 32px;
        line-height: 48px;
    }

    p {
        font-size: 20px;
    }
}


/* ==============================================
   RESPONSIVE STYLES
   ============================================== */

/* --- 1400px: Switch from sidebar to top nav --- */
@media (max-width: 1400px) {

    body {
        flex-direction: column;
        align-items: stretch;
    }

    .header {
        width: 100%;
        height: auto;
        position: sticky;
        top: 0;
        padding: 16px 40px;
        border-right: none;
        border-bottom: 1px solid var(--border-light);
        z-index: 100;
        background-color: #fff;
        flex-direction: row;
        align-items: center;
    }

    /* 3-column: logo left, nav center, button right */
    .header-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        height: auto;
        gap: 0;
    }

    .nav-pill {
        margin-top: 0;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
    }

    .nav-links {
        flex-direction: row;
        gap: 4px;
        align-items: center;
    }

    .nav-links a {
        padding: 6px 12px;
    }

    .sidebar-footer {
        margin-top: 0;
        width: auto;
        flex-direction: row;
        gap: 16px;
        flex-shrink: 0;
    }

    .sidebar-footer .download-resume {
        width: auto;
    }

    :root {
        --container-width: min(1000px, calc(100% - 80px));
    }

    /* Hide hamburger on wide screens */
    .hamburger-btn {
        display: none;
    }

    .mobile-menu {
        display: none;
    }
}

/* --- 1024px: Tablet adjustments --- */
@media (max-width: 1024px) {
    :root {
        --container-width: calc(100% - 64px);
    }

    .header {
        padding: 14px 32px;
    }

    .value-props-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
        margin-top: -80px;
    }

    .contact-content {
        flex-direction: column;
        gap: 40px;
        padding: 40px;
    }

    .footer-container {
        flex-direction: column;
        gap: 16px;
        align-items: center;
        text-align: center;
    }

    .footer-left {
        align-items: center;
    }

    .footer-copy {
        justify-content: center;
    }

    .hero-title {
        font-size: 40px;
        line-height: 52px;
    }

    .trusted-logos {
        flex-wrap: wrap;
        gap: 32px;
        justify-content: center;
    }

    .skills-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* --- 768px: Mobile — hamburger menu + stacked layout --- */
@media (max-width: 768px) {
    :root {
        --container-width: calc(100% - 40px);
    }

    /* Hide the inline nav and resume button, show hamburger */
    .nav-pill {
        display: none;
    }

    .sidebar-footer {
        display: none;
    }

    .hamburger-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
        color: var(--text-dark);
        font-size: 24px;
        margin-left: auto;
        flex-shrink: 0;
    }

    .header {
        padding: 12px 20px;
        position: sticky;
        top: 0;
        z-index: 200;
    }

    .header-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        height: auto;
        gap: 0;
        position: static;
    }

    /* Mobile slide-down menu panel */
    .mobile-menu {
        display: none;
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        background-color: #fff;
        border-bottom: 1px solid var(--border-light);
        padding: 24px 20px 32px;
        z-index: 199;
        flex-direction: column;
        gap: 8px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    }

    .mobile-menu.open {
        display: flex;
    }

    .mobile-menu a {
        font-size: 16px;
        padding: 10px 12px;
        color: var(--text-light-gray);
        font-weight: 500;
        font-family: var(--font-open-sans);
        border-radius: 8px;
        display: block;
        transition: all 0.2s;
    }

    .mobile-menu a:hover,
    .mobile-menu a.active {
        color: var(--primary-green);
        background-color: rgba(3, 123, 63, 0.04);
    }

    .mobile-menu .mobile-resume {
        margin-top: 12px;
        width: 100%;
        text-align: center;
    }

    /* Hero */
    .hero {
        padding-top: 40px;
        padding-bottom: 140px;
        gap: 32px;
    }

    .hero-title {
        font-size: 36px;
        line-height: 48px;
    }

    .hero-actions {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
    }

    .hero-actions .btn {
        flex: 1 1 auto;
        justify-content: center;
    }

    /* Value props: 1 column */
    .value-props-container {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-top: -60px;
    }

    /* Typography */
    h2 {
        font-size: 32px;
        line-height: 44px;
    }

    h3 {
        font-size: 26px;
        line-height: 36px;
    }

    h4 {
        font-size: 22px;
    }

    /* Trusted logos */
    .trusted-logos {
        gap: 32px;
    }

    .logo-humain {
        width: 100px;
    }

    .logo-telus {
        width: 90px;
    }

    .logo-railtel {
        width: 70px;
    }

    .logo-ey {
        width: 28px;
    }

    /* Case studies */
    .cs-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    /* .cs-title {
        font-size: 26px;
    } */

    /* About: image BELOW text */
    .about-content {
        flex-direction: column;
        align-items: center;
    }

    .about-image {
        position: relative;
        top: 0;
        width: 100%;
        max-width: 336px;
        height: 440px;
        align-self: center;
        /* padding: 16px; */
    }

    .about-container {
        padding-top: 60px;
        padding-bottom: 40px;
    }

    /* Contact */
    .contact-content {
        padding: 28px;
        gap: 32px;
    }

    .contact-title {
        font-size: 28px;
    }

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

    /* Skills */
    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .skill-logo {
        width: 52px;
        height: 52px;
    }

    .footer {
        padding: 32px 0;
    }

    .made-with {
        flex-wrap: wrap;
        justify-content: center;
    }

    .logo {
        font-size: 28px;
        line-height: 24px;
        color: var(--text-main);
    }
}

/* --- 480px: Small mobile --- */
@media (max-width: 480px) {
    :root {
        --container-width: calc(100% - 32px);
    }

    .header {
        padding: 12px 20px
    }

    .logo {
        font-size: 30px;
    }

    .hero-title {
        font-size: 32px;
        line-height: 44px;
    }

    h2 {
        font-size: 26px;
        line-height: 36px;
    }

    h3 {
        font-size: 24px;
        line-height: 30px;
    }

    .value-props-container {
        padding: 24px;
        border-radius: 20px;
    }

    .case-study {
        padding: 28px;
        border-radius: 16px;
    }

    .contact-content {
        padding: 20px;
    }

    .contact-card {
        padding: 16px;
    }

    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .logo {
        font-size: 28px;
        line-height: 24px;
        color: var(--text-main);
    }

    .btn {
        font-size: 14px;
        padding: 4px 8px;
        border-radius: 8px;
    }

    .case-study {
        padding: 20px;
        border-radius: 12px;
    }

    .cs-image {
        border-radius: 12px;
    }

    .about-image img {
        width: 100%;
    }

    .cs-hero-image-wrapper {
        border-radius: 8px;
    }

    .cs-section {
        padding: 60px 0;
    }

    .my-effect-breakdown {
        padding: 28px;
        border-radius: 20px;
    }

    .effort-chart-container {
        flex-wrap: wrap;
        height: auto;
        justify-content: center;
        gap: 32px 16px;
    }

    .effort-col {
        flex: 0 0 calc(50% - 8px);
        height: 320px;
    }

    .cs-images {
        border-radius: 8px;
    }

}

/* =========================================
   Case Study Inner Page Styles
   ========================================= */

.nav-back {
    font-family: var(--font-open-sans);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    /* margin-bottom: 24px; */
    transition: color 0.2s;
}

.nav-back:hover {
    color: var(--primary-green);
}

.cs-hero {
    width: 100%;
    padding-top: 120px;
    padding-bottom: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    /* Subtle green glow matching the main hero background */
    background: radial-gradient(circle at top center, rgba(3, 123, 63, 0.08) 0%, transparent 60%);
}

.cs-hero-container {
    width: var(--container-width);
    display: flex;
    flex-direction: column;
    gap: 24px;
    z-index: 2;
}

.cs-hero-title {
    font-family: var(--font-heading);
    font-size: 48px;
    color: var(--text-dark);
    font-weight: 400;
    letter-spacing: -1.5px;
    line-height: 1.2;
}

.cs-hero-desc {
    font-family: var(--font-open-sans);
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.6;
    /* max-width: 800px; */
}

.chip-solid {
    padding: 6px 16px;
    border-radius: 999px;
    font-family: var(--font-open-sans);
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background-color: var(--primary-green);
    white-space: nowrap;
    border: 1px solid var(--primary-green);
}

.cs-hero-image-wrapper {
    width: var(--container-width);
    margin-top: 64px;
    border-radius: 16px;
    overflow: hidden;
    /* box-shadow: 0px 24px 64px rgba(0, 0, 0, 0.08); */
    /* background-color: #fff; */
    /* padding: 16px; */
    z-index: 2;
    border: 1px solid var(--border-light);
}

.cs-hero-image-wrapper img {
    width: 100%;
    border-radius: 16px;
    display: block;
}



.cs-section-container {
    width: var(--container-width);
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.cs-section-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    /* max-width: 800px; */
}

.cs-section-number {
    color: #5E6A5F;
    font-family: "IBM Plex Serif";
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
}

.cs-section-desc {
    font-family: var(--font-open-sans);
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.6;
}

.cs-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
    gap: 16px;
}

.cs-card {
    --card-bg: #fff;
    background-color: var(--card-bg);
    padding: 32px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 24px;
    border: 1px solid var(--border-light);
    min-width: 300px;
    /* min-height: 255px; */
}

.cs-card i {
    font-size: 32px;
    color: var(--text-dark);
}

.cs-card-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cs-card h4 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 31px;
}

.cs-card p,
.cs-card ul {
    font-family: var(--font-open-sans);
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.6;
}

.cs-card ul {
    list-style-type: disc;
    margin-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Effort Chart Components */
.effort-chart-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    height: auto;
    margin-top: 40px;
    width: 100%;
}

.effort-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    height: 320px;
    min-width: 78px;
}

.effort-badge {
    padding: 6px 12px;
    border: 1.5px solid var(--text-dark);
    border-radius: 9999px;
    font-family: var(--font-open-sans);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    background-color: #fff;
    margin-bottom: 12px;
}

.effort-bar {
    width: 100%;
    max-width: 72px;
    border-radius: 12px;
    border: 1.5px solid var(--text-dark);
    background: repeating-linear-gradient(45deg,
            #fff,
            #fff 14px,
            rgba(27, 28, 28, 0.4) 14px,
            rgba(27, 28, 28, 0.4) 15px);
    margin-bottom: 16px;
}

.effort-label {
    font-family: var(--font-open-sans);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
}

@media (max-width: 768px) {
    .cs-hero {
        padding-top: 60px;
        padding-bottom: 40px;
    }

    .cs-hero-title {
        font-size: 36px;
    }

    .cs-cards-grid {
        grid-template-columns: 1fr;
    }

    .cs-section {
        padding: 60px 0;
    }
}

@media (max-width: 900px) {
    .timeline {
        flex-direction: column !important;
        gap: 0 !important;
    }

    .timeline-line {
        display: none !important;
    }

    .timeline-step {
        padding-bottom: 40px !important;
        padding-left: 32px !important;
    }

    .timeline-step:last-child {
        padding-bottom: 0 !important;
    }

    .timeline-dot {
        position: absolute !important;
        left: 0 !important;
        top: 2px !important;
    }

    .timeline-step:not(:last-child)::after {
        content: '';
        position: absolute;
        left: 7.5px;
        top: 22px;
        bottom: -2px;
        width: 1px;
        background-color: var(--text-dark);
    }
}

/* =========================================
   Copy to Clipboard & Toast Logic
   ========================================= */

.copyable {
    cursor: pointer;
    transition: opacity 0.2s;
}

.copyable:active {
    opacity: 0.7;
}