:root {
  --header-height: 80px;
  --logo-width: 320px;
  --logo-offset: 40px;
  --nav-ink: #111111;
  --nav-panel: #ffffff;
  --logo-color: #ffffff;
  --curve-width: 68px;
  --nav-gap: clamp(20px, 2.25vw, 44px);
  --heading-font: 'Bebas Neue', sans-serif;
  --nav-font: 'Montserrat', sans-serif;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body { margin: 0; background: transparent; }

.smoke-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  min-height: 772px;
  overflow: hidden;
  background-color: #050505;
  background-image: url('assets/clip-path-group.png');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-portrait {
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 0;
  width: min(42vw, 610px);
  height: auto;
  max-height: 96%;
  object-fit: contain;
  object-position: bottom left;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(69vw, 940px);
  margin: 84px 4.8vw 0 0;
  color: #fff;
  text-align: center;
}

.hero-content h1 {
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(56px, 7.3vw, 104px);
  font-weight: 400;
  line-height: .92;
  letter-spacing: .2px;
  text-transform: uppercase;
}

.hero-content p {
  margin: 22px 0 25px;
  font-family: var(--nav-font);
  font-size: clamp(14px, 1.35vw, 22px);
  font-weight: 700;
  line-height: 1.38;
}

.hero-content h1,
.hero-content p { text-align: end; }

.hero-actions { display: flex; justify-content: end; gap: 20px; }

.hero-button {
  display: inline-block;
  padding: 8px 12px;
  color: #111;
  background: #fff;
  font-family: var(--nav-font);
  font-size: clamp(12px, 1.13vw, 18px);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.hero-button-muted { color: #fff; background: #4d4b4b; }

.career-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 96px;
  padding: 0 clamp(36px, 4.7vw, 90px);
  color: #fff;
  background: #000;
  font-family: var(--nav-font);
  font-size: 15px;
  line-height: 1;
  text-transform: uppercase;
}

.career-bar span { font-weight: 400; }
.career-bar strong { font-weight: 700; white-space: nowrap; }

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 540px);
  align-items: center;
  gap: clamp(60px, 8vw, 150px);
  min-height: 951px;
  padding: 70px clamp(52px, 5.4vw, 104px);
  background: linear-gradient(45deg, #fbfbfb 0%, #fbfbfb 55%, #f0f0f0 55%, #fafafa 100%);
}

.about-copy { max-width: 560px; }

.about-copy h2 {
  margin: 0 0 25px;
  color: #080808;
  font-family: var(--heading-font);
  font-size: clamp(32px, 3.5vw, 49px);
  font-weight: 400;
  line-height: .95;
  text-transform: uppercase;
  white-space: nowrap;
}

.about-copy p {
  margin: 0 0 28px;
  color: #111;
  font-family: var(--nav-font);
  font-size: clamp(15px, 1.35vw, 21px);
  font-weight: 700;
  line-height: 1.48;
}

.about-copy > p:not(.about-highlight) { font-weight: 500; }

.about-copy .about-highlight {
  margin: 32px 0 29px;
  padding-left: 12px;
  border-left: 3px solid #777;
  font-size: clamp(26px, 2.25vw, 40px);
  font-weight: 700;
  line-height: 1.03;
  text-transform: uppercase;
}

.about-image { position: relative; margin: 0; padding: 0 11px 26px 0; }
.about-image-backdrop { position: absolute; z-index: 0; right: -10px; bottom: 0; width: 96%; height: 91%; object-fit: fill; }
.about-image > img:last-child { position: relative; z-index: 1; display: block; width: 100%; height: 670px; object-fit: cover; object-position: center; }

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  width: 100%;
  height: var(--header-height);
  background: transparent;
}

.site-logo {
  position: relative;
  z-index: 2;
  width: var(--logo-width);
  padding-left: var(--logo-offset);
  color: var(--logo-color);
  font-family: var(--heading-font);
  font-size: 42px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .5px;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 1px 8px rgb(0 0 0 / 18%);
}

.site-nav {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  height: 100%;
  margin-left: 4px;
  padding: 0 clamp(26px, 4vw, 78px) 0 clamp(64px, 6vw, 116px);
  background: transparent;
  box-shadow: 0 1px 5px rgb(0 0 0 / 5%);
}

.nav-surface {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  fill: var(--nav-panel);
}

.nav-list {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 940px;
  gap: var(--nav-gap);
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
}

.nav-list a {
  position: relative;
  display: block;
  color: var(--nav-ink);
  font-family: var(--nav-font);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-list a::after {
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: currentColor;
  content: '';
  transform: translateX(-50%) scaleX(0);
  transition: transform .3s ease;
}

.nav-list a:hover::after,
.nav-list a:focus-visible::after { transform: translateX(-50%) scaleX(1); }

.menu-button { position: relative; z-index: 1; display: none; }

@media (min-width: 761px) {
  .site-logo {
    align-self: stretch;
    display: grid;
    flex: 1;
    width: auto;
    place-items: center;
    padding-left: 0;
    text-align: center;
  }

  .site-nav {
    flex: 0 1 918px;
    width: 918px;
    margin-left: auto;
  }
}

@media (max-width: 1180px) {
  :root { --logo-width: 290px; --logo-offset: 28px; --nav-gap: 18px; }
  .site-logo { font-size: 42px; }
  .site-nav { padding-left: 68px; padding-right: 28px; }
  .nav-list a { font-size: 12px; }
}

@media (max-width: 760px) {
  :root { --header-height: 68px; --logo-width: auto; --logo-offset: 20px; }
  .site-logo { font-size: 32px; }
  .site-nav { justify-content: flex-end; margin-left: auto; padding: 0 20px; background: transparent; box-shadow: none; }
  .nav-surface { display: none; }
  .menu-button { display: grid; gap: 5px; width: 32px; padding: 6px 0; background: transparent; border: 0; cursor: pointer; }
  .menu-button span { display: block; width: 100%; height: 2px; background: #fff; }
  .nav-list { position: absolute; top: 68px; right: 0; display: none; width: min(290px, 86vw); max-width: none; padding: 20px 24px; background: #fff; box-shadow: 0 4px 12px rgb(0 0 0 / 8%); }
  .nav-list.is-open { display: grid; gap: 20px; }
  .nav-list a { font-size: 13px; }
  .smoke-hero { min-height: 660px; align-items: flex-start; }
  .hero-portrait { width: 650px; max-width: none; left: -165px; opacity: .62; }
  .hero-content { width: 100%; margin: 142px 0 0; padding: 0 18px; }
  .hero-content h1 { font-size: clamp(44px, 12vw, 64px); }
  .hero-content p { font-size: 13px; }
  .hero-content p br { display: none; }
  .hero-actions { gap: 9px; flex-wrap: wrap; }
  .hero-button { font-size: 12px; }
  .career-bar { height: auto; min-height: 96px; flex-wrap: wrap; justify-content: center; gap: 18px 28px; padding: 22px 24px; font-size: 12px; }
  .about-section { grid-template-columns: 1fr; gap: 42px; min-height: auto; padding: 70px 28px; }
  .about-copy { max-width: none; }
  .about-copy h2 { white-space: normal; }
  .about-image { width: min(100%, 540px); justify-self: center; }
  .about-image > img:last-child { height: auto; max-height: 680px; }
}




/*==============================
Achievement Section
===============================*/

.achievement-section{
    height:264px;
    width:100%;
    background-image:url("assets/new.png");
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    display:flex;
    align-items:center;
}

.achievement-container{
    width:100%;
    max-width:1400px;
    margin:auto;

    display:flex;
    justify-content:space-evenly;
    align-items:center;

    padding:0 40px;
}

.achievement-item{
    text-align:center;
}

.achievement-item img{
    width:126px;
    height:126px;
    object-fit:contain;
    display:block;
    margin:0 auto 18px;
}

.achievement-item h3{
    color:#fff;
    font-size:24px;
    line-height:1.25;
    font-weight:400;
    margin:0;

    font-family:'Poppins',sans-serif;
}

/* Tablet */

@media(max-width:991px){

.achievement-section{
    height:auto;
    padding:60px 0;
}

.achievement-container{
    gap:50px;
    flex-wrap:wrap;
}

.achievement-item{
    width:45%;
}

}

/* Mobile */

@media(max-width:576px){

.achievement-container{
    flex-direction:column;
    gap:45px;
}

.achievement-item{
    width:100%;
}

.achievement-item img{
    width:60px;
    height:60px;
}

.achievement-item h3{
    font-size:20px;
}

}





/*====================================================
GOOGLE FONTS
====================================================*/
/* @import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap'); */


/*====================================================
TESTIMONIAL SECTION
====================================================*/

.testimonial-section {
    width: 100%;
    /* White base + very subtle diagonal light-grey pattern */
    background-color: #f4f4f4;
    background-image:
        linear-gradient(135deg, rgba(0, 0, 0, 0.035) 0%, rgba(0, 0, 0, 0) 45%),
        repeating-linear-gradient(135deg,
            rgba(0, 0, 0, 0.015) 0px,
            rgba(0, 0, 0, 0.015) 2px,
            rgba(0, 0, 0, 0) 2px,
            rgba(0, 0, 0, 0) 26px);
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    /* Plenty of top / bottom spacing */
    padding: 104px 0 113px;
    box-sizing: border-box;
}

.testimonial-section .container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 15px;
}

.testimonial-title {
    font-family: "Bebas Neue", sans-serif;
    font-size: 48px;
    font-weight: 400;
    color: #111111;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 58px;
}


/*====================================================
SLIDER WRAPPER
====================================================*/

.testimonial-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}


/*====================================================
LEFT / RIGHT ARROWS
====================================================*/

.arrow {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Filled chevron arrow icon */
.arrow-icon {
    width: 26px;
    height: 26px;
    fill: #8a8a8a;
    transition: fill .3s ease;
}

.arrow:hover .arrow-icon {
    fill: #444;
}

/* Sit ~35px outside the black card on each side */
.arrow.left {
    margin-right: 35px;
}

.arrow.right {
    margin-left: 35px;
}


/*====================================================
BLACK TESTIMONIAL BOX
====================================================*/

.testimonial-box {
    width: 92%;
    max-width: 1144px;
    min-height: 380px;
    background: #000;
    position: relative;
    padding: 55px 65px;
    box-sizing: border-box;
}


/*====================================================
CORNER BORDER LINES
====================================================*/

.corner {
    position: absolute;
    pointer-events: none;
}

/* Top-right bracket: top line begins after the image, right line drops down.
   Sits slightly above / outside the top-right corner of the card. */
.corner.top {
    top: 16px;
    right: -16px;
    width: 60%;
    height: 46%;
    border-top: 4px solid #8a8a8a;
    border-right: 4px solid #8a8a8a;
}

/* Bottom-left bracket: left line starts lower, bottom line stops before the
   right edge. Sits slightly below / outside the bottom-left corner. */
.corner.bottom {
    bottom: -16px;
    left: 16px;
    width: 66%;
    height: 46%;
    border-left: 4px solid #8a8a8a;
    border-bottom: 4px solid #8a8a8a;
}


/*====================================================
CONTENT
====================================================*/

.testimonial-content {
    display: flex;
    align-items: center;
    gap: 50px;
    /* Fade + slight translate animation between slides */
    opacity: 1;
    transform: translateX(0);
    transition: opacity .4s ease, transform .4s ease;
}

/* State applied by JS just before the slide swaps */
.testimonial-content.is-fading {
    opacity: 0;
    transform: translateX(24px);
}


/*====================================================
CIRCULAR IMAGE
====================================================*/

.testimonial-image {
    /* Fixed image column: flex-shrink 0 keeps it reserved and never collapsing,
       while width/height stay authoritative across all breakpoints */
    flex: 0 0 auto;
    width: 190px;
    height: 190px;
    margin: 0;
    border-radius: 50%;
    overflow: hidden;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/*====================================================
TEXT CONTENT
====================================================*/

.testimonial-text {
    flex: 1 1 auto;
}

.testimonial-text h3 {
    font-family: "Montserrat", sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px;
    line-height: 1.2;
}

.testimonial-text h4 {
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px;
    line-height: 1.35;
}

.testimonial-text p {
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #c8c8c8;
    line-height: 1.6;
    margin: 0;
}


/*====================================================
NAVIGATION DOTS
====================================================*/

.testimonial-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 48px;
}

.testimonial-dots span {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #9a9a9a;
    cursor: pointer;
    transition: background .3s ease, transform .3s ease;
}

.testimonial-dots span.active {
    background: #000000;
    transform: scale(1.05);
}


/*====================================================
RESPONSIVE - TABLET
====================================================*/

@media (max-width: 1100px) {
    .testimonial-box {
        width: 90%;
        min-height: 0;
        padding: 45px 45px;
    }

    .corner.top { width: 55%; right: -14px; }
    .corner.bottom { width: 70%; left: 14px; }

    .testimonial-content { gap: 32px; }

    .testimonial-image { width: 150px; height: 150px; }
}


/*====================================================
RESPONSIVE - MOBILE
====================================================*/

@media (max-width: 700px) {
    .testimonial-section { padding: 60px 0 70px; }

    .testimonial-title { font-size: 46px; margin-bottom: 40px; }

    .testimonial-wrapper { flex-wrap: nowrap; }

    .testimonial-box {
        width: 100%;
        padding: 36px 26px;
    }

    /* Stack image above text, centered */
    .testimonial-content {
        flex-direction: column;
        text-align: center;
        gap: 22px;
    }

    .testimonial-image { width: 130px; height: 130px; }

    .testimonial-text h3 { font-size: 22px; }

    .arrow { width: 34px; height: 34px; }
    .arrow-icon { width: 18px; height: 18px; }

    .arrow.left { margin-right: 8px; }
    .arrow.right { margin-left: 8px; }

    /* Keep the frame subtle on small screens */
    .corner.top { width: 60%; height: 120px; }
    .corner.bottom { width: 75%; height: 120px; }
}

@media (max-width: 420px) {
    .testimonial-box { padding: 30px 18px; }
    .testimonial-text p { font-size: 14px; }
}


/*====================================================
WORK WITH DR. SAMIRAN GHOSH SECTION
====================================================*/

.work-with {
    width: 100%;
    /* Dark abstract geometric gradient background */
    background-color: #0a0a0a;
    background-image:
        radial-gradient(circle at 82% 18%, rgba(90, 90, 90, 0.30), rgba(0, 0, 0, 0) 42%),
        radial-gradient(circle at 12% 88%, rgba(70, 70, 70, 0.28), rgba(0, 0, 0, 0) 40%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(0, 0, 0, 0) 40%),
        linear-gradient(160deg, #141414 0%, #000000 65%);
    padding: 68px 0 72px;
    box-sizing: border-box;
}

/* Centered container */
.work-container {
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* Section title */
.work-title {
    font-family: "Bebas Neue", sans-serif;
    font-size: 48px;
    font-weight: 400;
    color: #ffffff;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1;
    margin: 0 0 55px;
}


/*====================================================
2 x 2 CARD GRID
====================================================*/

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 106px;
}


/*====================================================
CARD - grey label bar + overlapping white body
====================================================*/

.work-card {
    position: relative;
}

/* Layer 1 - grey header panel: narrower than the card and left-aligned, so the
   full-width white card extends past it on the right (the layered silhouette) */
.work-card-label {
    position: relative;
    z-index: 1;
    margin: 0;
    width: 85%;
    min-height: 110px;
    box-sizing: border-box;
    background:rgb(115, 115, 115);
    border-radius: 34px 34px 0 0;
    padding: 24px 28px;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-size: 32px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #ffffff;
    line-height: 1.1;
}

/* Layer 2 - white content card sits ON TOP of the grey header, overlapping
   it upward. Its large rounded top corners reveal the grey behind them. */
.work-card-body {
    position: relative;
    z-index: 2;
    margin-top: -40px;
    background: #ffffff;
    border-radius: 34px;
    padding: 31px;
    min-height: 186px;
    box-sizing: border-box;
}

.work-card-body p {
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 23px;
    line-height: 1.35;
    color: #111111;
}


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

/* Tablet - keep two columns, tighter gaps */
@media (max-width: 900px) {
    .work-grid { gap: 32px 28px; }
    .work-card-label { font-size: 20px; padding: 16px 20px; }
    .work-card-body { padding: 24px; }
}

/* Mobile - single column, full-width cards */
@media (max-width: 600px) {
    .work-with { padding: 50px 0 60px; }
    .work-title { font-size: 34px; margin-bottom: 38px; }
    .work-grid { grid-template-columns: 1fr; gap: 30px; }
    .work-card-body p { font-size: 15px; }
}


/*====================================================
FOOTER
====================================================*/

.site-footer {
    display: flex;
    width: 100%;
    height: 474px;               /* exact desktop height */
    overflow: hidden;
}

/* Two equal 50 / 50 columns */
.footer-left,
.footer-right {
    flex: 0 0 50%;
    width: 50%;
    height: 100%;
    box-sizing: border-box;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/*====================================================
LEFT SIDE (white)
====================================================*/

.footer-left {
    background-image: url("images/footer-bg-left.jpg");
    display: flex;
    flex-direction: column;
    justify-content: flex-start;   /* top-aligned, matches reference */
    padding: 56px 56px 0;
}

/* Brand name */
.footer-brand {
    margin: 0 0 38px;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-size: 50px;
    line-height: 1;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #000000;
}

/* "As featured in:" / "Follow Us:" labels */
.footer-heading {
    margin: 0 0 16px;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #000000;
}

/* Featured logos row */
.featured-logos {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 36px;
}

.logo-livemint {
    display: block;
    height: 32px;
    width: auto;
}

.logo-livemint span {
    color: #f26c21;              /* mint = orange */
}

.logo-divider {
    width: 1px;
    height: 26px;
    background: #b0b0b0;
}

.logo-forbes {
    display: block;
    height: 35px;
    width: auto;
}

/* Social icons */
.social-list {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;           /* image already contains the coloured circle */
    transition: transform .2s ease;   /* subtle scale on hover */
}
.social-link img { width: 100%; height: 100%; display: block; border-radius: 50%; }

.social-link svg {
    width: 21px;
    height: 21px;
    fill: #ffffff;
}

.social-link:hover {
    transform: scale(1.1);
}


/*====================================================
RIGHT SIDE (dark)
====================================================*/

.footer-right {
    background-image: url("images/footer-bg-right.png");
    background-color: #1a1a1a;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;   /* title aligns with the brand name on the left */
    padding: 56px 56px 0;
}

.footer-title {
    margin: 0 0 30px;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-size: 50px;
    line-height: 1;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #ffffff;
}

/* Form */
.footer-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 470px;
}

.footer-field {
    width: 100%;
    height: 48px;
    box-sizing: border-box;
    padding: 0 20px;
    border: none;
    outline: none;
    border-radius: 12px;
    background: rgb(217, 217, 217);
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    color: #333333;
}

.footer-field::placeholder {
    color: #555555;
}

/* Custom select */
.footer-select-wrap {
    position: relative;
}

.footer-select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 46px;
    cursor: pointer;
}

.footer-select-arrow {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    pointer-events: none;
    fill: none;
    stroke: #333333;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/*====================================================
FOOTER RESPONSIVE
====================================================*/

/* Tablet - keep two columns, reduce spacing */
@media (max-width: 900px) {
    .footer-left,
    .footer-right { padding: 0 32px; }
    .footer-brand,
    .footer-title { font-size: 30px; }
    .footer-form { max-width: none; }
}

/* Mobile - stack: white section first, dark section second */
@media (max-width: 640px) {
    .site-footer {
        flex-direction: column;
        height: auto;
    }

    .footer-left,
    .footer-right {
        flex: 1 1 auto;
        width: 100%;
        padding: 48px 28px;
    }

    .social-link { width: 40px; height: 40px; }
}

/*====================================================
  MOBILE / TABLET — LEFT SLIDE NAVIGATION
  Only applies at <=900px. Desktop/laptop (>=901px) is untouched.
====================================================*/

/* Overlay (created by script.js). Inert until the menu opens. */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1000;
}
.nav-overlay.is-open { opacity: 1; visibility: visible; }

@media (max-width: 900px) {
  /* Lift the header (and its slide panel) above the overlay so the
     menu links are clickable. Mobile/tablet only — desktop unchanged. */
  .site-header { z-index: 1002; }

  /* Header bar: logo left, hamburger right */
  .site-logo {
    display: block;
    align-self: center;
    flex: 0 0 auto;
    width: auto;
    place-items: initial;
    padding-left: 20px;
    font-size: 32px;
    text-align: left;
  }
  .site-nav {
    flex: 0 0 auto;
    width: auto;
    margin-left: auto;
    padding: 0 20px;
    background: transparent;
    box-shadow: none;
  }
  .nav-surface { display: none; }

  /* Keep the existing hamburger, just make it visible */
  .menu-button {
    display: grid;
    gap: 5px;
    width: 32px;
    padding: 6px 0;
    background: transparent;
    border: 0;
    cursor: pointer;
  }
  .menu-button span { display: block; width: 100%; height: 2px; background: #fff; }

  /* .nav-list becomes the left slide panel */
  .nav-list {
    position: fixed;
    top: 0;
    left: 0;
    right: auto;
    width: 320px;                 /* tablet */
    max-width: 85vw;
    height: 100vh;
    display: block;
    gap: 0;
    margin: 0;
    padding: 96px 0 24px;         /* room for the panel header */
    background: #111111;
    box-shadow: none;
    z-index: 1001;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }
  .nav-list.is-open {
    display: block;
    gap: 0;
    transform: translateX(0);
  }

  /* Panel header (mirrors the desktop logo) */
  .nav-list::before {
    content: "Dr. Samiran Ghosh";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 28px;
    box-sizing: border-box;
    font-family: var(--heading-font);
    font-size: 30px;
    line-height: 1;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #ffffff;
  }

  /* Menu items */
  .nav-list li { width: 100%; }
  .nav-list a {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 18px 28px;
    font-family: var(--nav-font);
    font-weight: 600;
    font-size: 18px;
    color: #ffffff;
    text-align: left;
    white-space: normal;
  }
  .nav-list a:hover,
  .nav-list a:focus-visible { color: #f58220; }
  .nav-list a::after { display: none; }   /* drop the desktop underline */
}

/* Mobile panel a touch narrower */
@media (max-width: 600px) {
  .nav-list { width: 280px; }
}

/* Lock body scroll while the panel is open */
body.nav-open { overflow: hidden; }


/*====================================================
  ACTIVE NAV ITEM (current page)
  Reuses existing hover styling — desktop underline, mobile orange.
====================================================*/
.nav-list a[aria-current="page"]::after { transform: translateX(-50%) scaleX(1); }

@media (max-width: 900px) {
  .nav-list a[aria-current="page"] { color: #f58220; }
}


/*====================================================
  FOOTER LEGAL BAR (all pages, centered)
====================================================*/
.footer-legal {
  background: #050505;
  text-align: center;
  padding: 20px 16px;
  font-family: var(--nav-font);
}
.footer-legal p { margin: 0; font-size: 14px; line-height: 1.7; }
.footer-legal .footer-legal-copy { color: #e6e6e6; }
.footer-legal .footer-legal-credit { color: #9a9a9a; margin-top: 4px; }
.footer-legal a { color: #f58220; text-decoration: none; }
.footer-legal a:hover { text-decoration: underline; }

/* ====================================================
   FORM SUBMISSION FEEDBACK (shared by js/forms.js)
==================================================== */
.form-status {
  margin: 12px 0 0;
  font-family: var(--nav-font, "Montserrat", sans-serif);
  font-size: 14px;
  line-height: 1.45;
  min-height: 1em;
}
.form-status.is-success { color: #1e8f43; }
.form-status.is-error   { color: #d24141; }

/* Honeypot — visually hidden, still reachable by bots. Never display:none. */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* Footer form submit button (added for Gmail form delivery) */
.footer-submit {
  align-self: flex-start;
  margin-top: 4px;
  padding: 12px 30px;
  border: none;
  border-radius: 6px;
  background: #f58220;
  color: #fff;
  font-family: var(--nav-font, "Montserrat", sans-serif);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease, opacity .2s ease;
}
.footer-submit:hover { background: #e0740f; }
.footer-submit:disabled { opacity: .6; cursor: default; }
