:root {
    --primary-color: #00d2ff;
    --secondary-color: #3a7bd5;
    --bg-color: #000000;
    --text-color: #e2e8f0;
    --text-muted: #94a3b8;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --cursor-x: 50%;
    --cursor-y: 50%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    backdrop-filter: none;
    z-index: 1100;
}

.nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    align-items: flex-end;
}

.nav-links li {
    overflow: hidden;
}

.nav-links a {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: row-reverse;
    gap: 0.75rem;
    width: 54px;
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    background: transparent;
    border: none;
    box-shadow: none;
    text-align: right;
    transform-origin: right center;
    transition: width 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.nav-links a:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 4px;
}

.nav-links li:hover a,
.nav-links li:focus-within a {
    width: 160px;
    background: linear-gradient(120deg, rgba(0, 210, 255, 0.15), rgba(58, 123, 213, 0.15));
}

.nav-icon {
    display: inline-flex;
    width: 24px;
    height: 24px;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
}

.nav-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.nav-label {
    white-space: nowrap;
    overflow: hidden;
    max-width: 0;
    opacity: 0;
    letter-spacing: 0.02em;
    text-align: right;
    transition: max-width 0.3s ease, opacity 0.2s ease;
}

.nav-links li:hover .nav-label,
.nav-links li:focus-within .nav-label {
    max-width: 100px;
    opacity: 1;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    padding-top: 80px; /* For navbar */

    position: relative;
    overflow: hidden;

}

.hero-content {
    max-width: 600px;
    opacity: 0;
    animation: slideRight 1s ease forwards;
    position: relative;
    z-index: 1;
}

.greeting {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.name {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--white), var(--primary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.role {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.highlight {
    color: var(--secondary-color);
}

.description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 1.5rem;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn.primary {
    background: linear-gradient(45deg, #48ff00, #95ff046b);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
}

.btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.5);
}

.btn.secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn.secondary:hover {
    background: rgba(0, 210, 255, 0.1);
    transform: translateY(-3px);
}

/* Hero Image */
.hero-image {
    position: relative;
    width: 550px;
    height: 550px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: zoomIn 1s ease forwards 0.5s;
    z-index: 1;
}

.image-blob {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: blob-bounce 8s infinite ease-in-out;
    z-index: -1;
    opacity: 0.2;
}

.profile-img {
    width: 90%;
    height: auto;
    z-index: 1;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
    transition: transform 0.5s ease;
    /* Masking to make the image fit nicely if it's square, 
       but user said they will add a bg-less png, so standard img is fine. 
       Adding a slight hover effect. */
}

.hero-image:hover .profile-img {
    transform: scale(1.05) rotate(2deg);
}

.about-section {
    padding: 120px 10% 80px;
    position: relative;
    z-index: 1;
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 3rem;
    text-align: center;
}

.section-heading.align-left {
    margin-left: 0;
    text-align: left;
}

.section-heading .eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.section-heading h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 0.8rem;
}

.section-heading p {
    color: var(--text-muted);
    line-height: 1.6;
}

.about-heading {
    position: relative;
}

.about-heading::after {
    content: "";
    position: absolute;
    inset: auto 35% -32px 35%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 210, 255, 0.35), transparent);
}

.about-overview {
    padding-bottom: 40px;
}

.about-overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
    gap: 2rem;
    align-items: stretch;
}

.glow-card,
.tilt-card,
.skill-shell,
.focus-card,
.journey-callout {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 2.25rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.6s ease, box-shadow 0.6s ease, border-color 0.6s ease;
    box-shadow: 0 25px 80px rgba(15, 23, 42, 0.45);
}

.glow-card::before,
.tilt-card::before,
.skill-shell::before,
.focus-card::before,
.journey-callout::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(0, 210, 255, 0.18), transparent 55%);
    opacity: 0.8;
    transition: opacity 0.6s ease, transform 1.2s ease;
    pointer-events: none;
    transform: translate3d(-10px, -10px, 0);
}

.tilt-card:hover,
.glow-card:hover,
.skill-shell:hover,
.focus-card:hover,
.journey-callout:hover {
    transform: translateY(-12px) scale(1.01);
    border-color: rgba(0, 210, 255, 0.45);
    box-shadow: 0 30px 90px rgba(0, 210, 255, 0.2);
}

.tilt-card:hover::before,
.glow-card:hover::before,
.skill-shell:hover::before,
.focus-card:hover::before,
.journey-callout:hover::before {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.card-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.about-bio p {
    color: var(--text-muted);
    line-height: 1.6;
}

.bio-points {
    margin: 1.5rem 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.bio-points li {
    position: relative;
    padding-left: 1.4rem;
}

.bio-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 8px rgba(0, 210, 255, 0.5);
}

.experience-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.65rem 1.5rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 210, 255, 0.3);
    color: var(--text-color);
    background: rgba(0, 210, 255, 0.08);
    font-size: 0.95rem;
}

.experience-pill strong {
    font-size: 1.5rem;
    color: var(--primary-color);
}

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

.metric-card {
    min-height: 180px;
}

.metric-label {
    display: inline-flex;
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}

.journey-section {
    padding-top: 60px;
}

.journey-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 2rem;
    align-items: start;
}

.journey-callout {
    min-height: 100%;
}

.callout-metrics {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.callout-metrics strong {
    font-size: 2rem;
    color: var(--primary-color);
    display: block;
}

.callout-metrics span {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.journey-timeline {
    list-style: none;
    margin: 0;
    padding: 2rem;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 18, 32, 0.75);
    position: relative;
    overflow: hidden;
}

.journey-timeline::before {
    content: "";
    position: absolute;
    left: 2.4rem;
    top: 1.5rem;
    bottom: 1.5rem;
    width: 2px;
    background: linear-gradient(180deg, rgba(0, 210, 255, 0), rgba(0, 210, 255, 0.6), rgba(0, 210, 255, 0));
    animation: pulseLine 6s ease-in-out infinite;
}

.journey-node {
    position: relative;
    padding-left: 3.5rem;
    margin-bottom: 2rem;
}

.journey-node:last-child {
    margin-bottom: 0;
}

.journey-node::before {
    content: "";
    position: absolute;
    left: 2rem;
    top: 0.2rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-color), rgba(0, 210, 255, 0.15));
    box-shadow: 0 0 18px rgba(0, 210, 255, 0.8);
}

.journey-year {
    font-weight: 600;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.4rem;
}

.journey-node p {
    color: var(--text-muted);
    line-height: 1.5;
}

.focus-lab {
    padding-top: 60px;
}

.focus-lab-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 1.8rem;
    align-items: stretch;
}

.motion-ticker {
    margin: 0 auto 2rem;
    background: linear-gradient(120deg, rgba(0, 210, 255, 0.15), rgba(58, 123, 213, 0.15));
    position: relative;
    overflow: hidden;
}

.motion-ticker::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.05);
    mix-blend-mode: overlay;
    animation: shimmer 5s linear infinite;
    pointer-events: none;
    border-radius: inherit;
}

.focus-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.focus-card {
    min-height: 160px;
}

.focus-photo {
    position: relative;
    overflow: hidden;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.focus-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    filter: saturate(1.1) contrast(1.05);
    transition: transform 1s ease;
}

.focus-photo:hover img {
    transform: scale(1.04);
}

.focus-photo figcaption {
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    padding: 0.75rem 1rem;
    border-radius: 16px;
    background: rgba(3, 8, 18, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--text-color);
    backdrop-filter: blur(6px);
}

.photo-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(0, 210, 255, 0.25), transparent 55%);
    pointer-events: none;
    mix-blend-mode: screen;
}

.skill-lab {
    padding-top: 60px;
}

.skill-shell {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    background: rgba(4, 12, 24, 0.9);
}

.skill-shell::before {
    background: radial-gradient(circle at 20% 20%, rgba(0, 210, 255, 0.25), transparent 65%);
}

.skill-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.8rem;
}

.skill-panel {
    padding: 1.8rem;
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(0, 210, 255, 0.2);
    box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.45);
}

.skill-tab {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-color);
    border-radius: 999px;
    padding: 0.65rem 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.skill-tab.active,
.skill-tab:focus-visible {
    outline: none;
    border-color: rgba(0, 210, 255, 0.7);
    background: rgba(0, 210, 255, 0.15);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.25);
}

.skill-panel-header h4 {
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
}

.skill-chip-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1rem;
}

.skill-chip-list li {
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
}

.enquiry-section {
    padding: 110px 10% 140px;
    position: relative;
    text-align: center;
}

.enquiry-section::before,
.enquiry-section::after {
    content: "";
    position: absolute;
    inset: 15% auto auto 50%;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.18), transparent 65%);
    filter: blur(60px);
    z-index: 0;
    opacity: 0.8;
    transform: translate(-50%, 0);
}

.enquiry-section::after {
    inset: auto 50% -120px auto;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(58, 123, 213, 0.2), transparent 60%);
    opacity: 0.6;
}

.enquiry-section .section-heading {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.enquiry-cta {
    margin: 3rem auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2.5rem 3rem;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(2, 6, 23, 0.85);
    box-shadow: 0 25px 80px rgba(5, 10, 25, 0.65);
    position: relative;
    z-index: 1;
}

.enquiry-highlights {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    text-align: left;
    color: var(--text-muted);
}

.enquiry-highlights li {
    position: relative;
    padding-left: 2.5rem;
    font-size: 1rem;
}

.enquiry-highlights li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 18px;
    height: 18px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: translateY(-50%) rotate(8deg);
    box-shadow: 0 10px 25px rgba(0, 210, 255, 0.45);
}

.enquiry-section .btn {
    flex-shrink: 0;
    white-space: nowrap;
    box-shadow: 0 20px 50px rgba(0, 210, 255, 0.35);
    min-width: 280px;
    font-size: 1rem;
}

.fact-ticker {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.2rem;
    border-radius: 16px;
    background: rgba(0, 210, 255, 0.08);
    border: 1px solid rgba(0, 210, 255, 0.25);
    margin-bottom: 1.5rem;
}

.ticker-label {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.ticker-text {
    font-weight: 600;
    color: var(--white);
    transition: opacity 0.35s ease;
}

.ticker-text.is-changing {
    opacity: 0.2;
}


.hero-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
}

.cursor-gradient {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    opacity: 0.85;
    background: radial-gradient(circle at var(--cursor-x) var(--cursor-y), rgba(72, 255, 0, 0.18), transparent 45%);
    transition: opacity 0.3s ease, background-position 0.15s ease;
    mix-blend-mode: screen;
}

.cursor-gradient.is-hidden {
    opacity: 0;
}

.matrix-grid {
    position: absolute;
    inset: -50%;
    background: none; /* Remove grid lines background */
}

.orb {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.4;
    mix-blend-mode: screen;
    animation: orb-float 14s ease-in-out infinite;
}

.orb-one {
    top: -80px;
    left: -40px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.8), rgba(58, 123, 213, 0));
}

.orb-two {
    bottom: -120px;
    right: -20px;
    background: radial-gradient(circle, rgba(58, 123, 213, 0.8), rgba(15, 23, 42, 0));
    animation-duration: 18s;
}

.binary-stream {
    position: absolute;
    font-size: 0.95rem;
    letter-spacing: 0.3rem;
    color: rgba(226, 232, 240, 0.2);
    text-transform: uppercase;
    font-weight: 600;
    animation: binary-scroll 10s ease-in-out infinite;
    font-family: 'Courier New', monospace;
}

.binary-left {
    left: 2%;
    top: 15%;
}

.binary-right {
    right: 6%;
    bottom: 20%;
    animation-delay: 3s;
}

.code-particles {
    position: absolute;
    inset: 0;
}

.code-particles span {
    position: absolute;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 600;
    font-size: clamp(0.8rem, 1.2vw, 1.3rem);
    animation: particle-float 14s linear infinite;
    font-family: 'Poppins', 'Courier New', monospace;
}

.code-particles span:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-duration: 12s;
}

.code-particles span:nth-child(2) {
    top: 40%;
    left: 5%;
    animation-delay: 2s;
}

.code-particles span:nth-child(3) {
    top: 65%;
    left: 18%;
    animation-duration: 16s;
}

.code-particles span:nth-child(4) {
    top: 25%;
    right: 20%;
    animation-delay: 4s;
}

.code-particles span:nth-child(5) {
    top: 55%;
    right: 10%;
    animation-duration: 18s;
}

.code-particles span:nth-child(6) {
    top: 75%;
    right: 25%;
    animation-delay: 1.5s;
}

.code-particles span:nth-child(7) {
    top: 10%;
    right: 40%;
    animation-duration: 20s;
}

/* Animations */
@keyframes slideRight {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes zoomIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes blob-bounce {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

@keyframes grid-pan {
    0% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    100% {
        transform: translate3d(140px, -140px, 0) rotate(0deg);
    }
}

@keyframes orb-float {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(40px, -20px, 0) scale(1.1);
    }
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes binary-scroll {
    0% {
        transform: translateY(0) rotate(12deg);
        opacity: 0.25;
    }
    100% {
        transform: translateY(-40px) rotate(12deg);
        opacity: 0.65;
    }
}

@keyframes particle-float {
    0% {
        transform: translate3d(0, 0, 0) scale(0.8);
        opacity: 0;
    }
    15% {
        opacity: 0.6;
    }
    100% {
        transform: translate3d(60px, -90px, 0) scale(1.2);
        opacity: 0;
    }
}

@keyframes pulseLine {
    0% {
        opacity: 0.1;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 0.1;
    }
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 120px;
        padding-left: 10%;
        padding-right: 10%;
    }

    .hero-content {
        margin-bottom: 3rem;
    }

    .cta-buttons {
        justify-content: center;
    }

    .hero-image {
        width: 350px;
        height: 350px;
    }

    .about-section {
        padding: 90px 8% 60px;
    }

    .about-overview-grid,
    .journey-grid,
    .focus-lab-grid {
        grid-template-columns: 1fr;
    }

    .callout-metrics {
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .navbar {
        top: auto;
        bottom: 1.5rem;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 24px;
        padding: 0.55rem 0.9rem;
    }

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

    .nav-links li:hover a,
    .nav-links li:focus-within a {
        width: 120px;
    }

    .nav-links a {
        width: 46px;
    }
    
    .name {
        font-size: 2.5rem;
    }
    
    .role {
        font-size: 1.2rem;
    }

    .skill-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .skill-shell,
    .tilt-card,
    .glow-card,
    .focus-card,
    .journey-callout {
        padding: 1.5rem;
    }

    .enquiry-cta {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .enquiry-highlights {
        text-align: center;
        padding-left: 0;
    }

    .enquiry-highlights li {
        padding-left: 0;
    }

    .enquiry-highlights li::before {
        position: static;
        margin: 0 auto 0.5rem;
        display: block;
        transform: none;
    }

    .journey-node {
        padding-left: 2.5rem;
    }

    .journey-timeline {
        padding: 1.5rem;
    }

    .focus-photo figcaption {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
    }

    .modal-container {
        margin: 1rem;
        padding: 1.25rem;
    }

    .modal-header h2 {
        font-size: 1.25rem;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.modal-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: rgba(10, 18, 32, 0.95);
    border: 1px solid rgba(0, 210, 255, 0.2);
    border-radius: 24px;
    padding: 1.75rem 2rem;
    box-shadow: 0 30px 100px rgba(0, 210, 255, 0.15), 0 0 60px rgba(0, 0, 0, 0.5);
    /* Removed default transform/opacity for JS controlled animation */
    opacity: 0;
    transform-origin: center center;
    will-change: transform, opacity, border-radius;
}

.modal-overlay.is-active .modal-container {
    opacity: 1;
}

.modal-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(0, 210, 255, 0.12), transparent 50%);
    border-radius: inherit;
    pointer-events: none;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(255, 77, 77, 0.2);
    border-color: rgba(255, 77, 77, 0.5);
    color: #ff6b6b;
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 1.25rem;
}

.modal-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.7rem;
    color: var(--primary-color);
    margin-bottom: 0.35rem;
}

.modal-header h2 {
    font-size: 1.4rem;
    margin-bottom: 0.35rem;
    background: linear-gradient(to right, var(--white), var(--primary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-subtitle {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.4;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.65rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-color);
    font-size: 0.9rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(0, 210, 255, 0.5);
    background: rgba(0, 210, 255, 0.05);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.1);
}

.form-group textarea {
    resize: none;
    min-height: 70px;
}

.modal-submit {
    margin-top: 0.25rem;
    width: 100%;
    padding: 0.75rem;
    font-size: 0.95rem;
}

.modal-trigger {
    border: none;
    cursor: pointer;
}

/* Modal animation for form elements */
.modal-overlay.is-active .form-group {
    animation: formSlideUp 0.5s ease forwards;
    opacity: 0;
}

.modal-overlay.is-active .form-group:nth-child(1) { animation-delay: 0.1s; }
.modal-overlay.is-active .form-group:nth-child(2) { animation-delay: 0.15s; }
.modal-overlay.is-active .form-group:nth-child(3) { animation-delay: 0.2s; }
.modal-overlay.is-active .form-group:nth-child(4) { animation-delay: 0.25s; }
.modal-overlay.is-active .modal-submit { 
    animation: formSlideUp 0.5s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

@keyframes formSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}