/* ==========================================================================
   Matt Halpert PhD — Main Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   Google Fonts
   -------------------------------------------------------------------------- */
@import url("https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;500&family=Montserrat:wght@400;600&display=swap");

/* --------------------------------------------------------------------------
   ATC Arquette (commercial font, Montserrat fallback)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "ATC Arquette";
  src:
    url("../fonts/ATCArquette-Regular.woff2") format("woff2"),
    url("../fonts/ATCArquette-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ATC Arquette";
  src:
    url("../fonts/ATCArquette-Semibold.woff2") format("woff2"),
    url("../fonts/ATCArquette-Semibold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
  --navy: #1a2a6b;
  --light-gray: #f2f2f2;
  --footer-gray: #bcbec9;
  --white: #ffffff;
  --black: #000000;
  --header-height: 110px;

  --ui-font: "ATC Arquette", "Montserrat", sans-serif;
  --serif-font: "EB Garamond", Georgia, serif;

  --max-w: 1440px;
  --pad: 112px;
  --nav-pad: 58px;
}

/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  font-size: 16px;
}

body {
  font-family: var(--ui-font);
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

ul {
  list-style: none;
}

/* --------------------------------------------------------------------------
   Utility: Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ui-font);
  font-weight: 600;
  /* font-size: 14px; */
  border-radius: 5px;
  cursor: pointer;
  transition:
    opacity 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
  border: none;
  white-space: nowrap;
  padding: 0 20px;
  height: 39px;
  text-transform: capitalize;
  /* letter-spacing: 0.02em; */
}

.btn:hover {
  opacity: 0.88;
}

.btn-light {
  background: var(--light-gray);
  color: var(--navy);
}

.btn-light:hover {
  background: #e6e6e6;
  opacity: 1;
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  opacity: 0.88;
}

.btn-navy-tall,
.btn-light-tall {
  height: 39px;
  padding: 0 28px;
  border-radius: 5px;
  font-family: var(--ui-font);
  font-weight: 600;
  /* font-size: 14px; */
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.2s ease,
    background-color 0.2s ease;
  text-transform: capitalize;
  /* letter-spacing: 0.02em; */
}

.btn-navy-tall {
  background: var(--navy);
  color: var(--white);
}

.btn-navy-tall:hover {
  opacity: 0.88;
}

.btn-light-tall {
  background: var(--light-gray);
  color: var(--navy);
}

.btn-light-tall:hover {
  background: #e6e6e6;
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Header / Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  width: 100%;
  height: var(--header-height);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
  transform: translateY(0);
  transition:
    transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.2s ease,
    background-color 0.2s ease;
  will-change: transform;
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.site-nav {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 100%;
  padding: 0 var(--nav-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: inline-flex;
  /* align-items: baseline; */
  gap: 4px;
  cursor: pointer;
  text-decoration: none;
  color: var(--black);
}

.logo-name {
  font-family: var(--serif-font);
  font-weight: 400;
  font-size: 48px;
  line-height: 1;
  color: var(--black);
}

.logo-phd {
  font-family: var(--serif-font);
  font-weight: 400;
  font-size: 24px;
  line-height: 1;
  color: var(--black);
  vertical-align: super;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links li a {
  font-family: var(--ui-font);
  font-weight: 600;
  font-size: 16px;
  color: var(--black);
  text-transform: capitalize;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
  position: relative;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--navy);
  transition: width 0.25s ease;
}

.nav-links li a:hover {
  color: var(--navy);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 100%;
}

.nav-links li a.active {
  color: var(--navy);
}

/* --------------------------------------------------------------------------
   Hero Section (shared)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  width: 100%;
  height: 742px;
  margin-top: var(--header-height);
  overflow: hidden;
  display: flex;
  align-items: center;
  background-image: url("../images/hero-main.jpg");
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}

.hero.contact-hero {
  position: relative;
  width: 100%;
  height: 742px;
  margin-top: var(--header-height);
  overflow: hidden;
  display: flex;
  align-items: center;
  background-image: url("../images/contact-img.jpg");
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 18, 60, 0.82) 0%,
    rgba(10, 18, 60, 0.6) 38%,
    rgba(10, 18, 60, 0.1) 72%,
    rgba(10, 18, 60, 0) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--pad) 72px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

.hero-subtitle {
  font-family: var(--ui-font);
  font-weight: 600;
  font-size: 20px;
  color: var(--white);
  /* max-width: 204px; */
  border-bottom: 2px solid var(--white);
  padding-bottom: 8px;
  text-transform: capitalize;
  letter-spacing: 0.03em;
}

.hero-title {
  font-family: var(--serif-font);
  font-weight: 400;
  font-size: 52px;
  line-height: 1.15;
  color: var(--white);
  max-width: 585px;
}

.hero-desc {
  font-family: var(--ui-font);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.55;
  color: var(--white);
  max-width: 568px;
}

/* Contact page hero — slightly lighter overlay */
.contact-hero .hero-overlay {
  background: linear-gradient(
    90deg,
    rgba(10, 18, 60, 0.7) 0%,
    rgba(10, 18, 60, 0.48) 42%,
    rgba(10, 18, 60, 0.08) 75%,
    rgba(10, 18, 60, 0) 100%
  );
}

/* --------------------------------------------------------------------------
   About Section
   -------------------------------------------------------------------------- */
.about {
  background: var(--white);
  padding: 96px var(--pad);
  max-width: var(--max-w);
  margin: 0 auto;
}

.about-header {
  font-family: var(--serif-font);
  font-weight: 400;
  font-size: 42px;
  color: var(--navy);
  line-height: 1.2;
  /* max-width: 700px; */
  margin-bottom: 48px;
}

.about-bio {
  margin-bottom: 56px;
}

.about-bio p {
  font-family: var(--ui-font);
  font-weight: 400;
  font-size: 22px;
  color: var(--navy);
  line-height: 1.45;
  margin-bottom: 24px;
}

.about-bio p:last-child {
  margin-bottom: 0;
}

/* About Grid: photo col + credentials box */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 64px;
}

.photo-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-photo {
  width: 100%;
  border-radius: 5px;
  object-fit: cover;
  display: block;
}

/* Social Buttons */
.social-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin-bottom: 18px;
  gap: 18px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 45px;
  padding: 0 12px;
  background: var(--navy);
  color: var(--white);
  border-radius: 5px;
  font-family: var(--ui-font);
  font-weight: 600;
  font-size: 14px;
  transition: opacity 0.2s ease;
  text-decoration: none;
}

.social-btn:hover {
  opacity: 0.88;
}

.social-btn img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

/* Credentials Box */
.credentials-box {
  background: var(--navy);
  border-radius: 5px;
    padding: 25px 36px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.credential-item {
  /* border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding-bottom: 36px; */
}

.credential-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.credential-title {
  font-family: var(--serif-font);
  font-weight: 500;
  font-size: 24px;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 8px;
}

.credential-subtitle {
  font-family: var(--ui-font);
  font-weight: 400;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.35;
}

/* Research Panels */
.research-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 64px;
}

.panel {
  background: var(--light-gray);
  border-radius: 5px;
  padding: 36px 40px;
}

.panel-header {
  font-family: var(--serif-font);
  font-weight: 500;
  font-size: 28px;
  color: var(--navy);
  margin-bottom: 10px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--navy);
}

.panel-item {
  padding: 20px 0;
  border-bottom: 1px solid rgba(26, 42, 107, 0.15);
}

.panel-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.panel-item-title {
  font-family: var(--serif-font);
  font-weight: 500;
  font-size: 24px;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 8px;
}

.panel-item-meta {
  font-family: var(--ui-font);
  font-weight: 400;
  font-size: 14px;
  color: rgba(26, 42, 107, 0.72);
  line-height: 1.5;
}

/* Video Section */
.video-section {
  margin-top: 0;
  width: 100%;
  aspect-ratio: 16 / 9; 
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  background: #000000;
}

.video-section iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}


/* --------------------------------------------------------------------------
   IDCT Section
   -------------------------------------------------------------------------- */
.idct {
  background: var(--light-gray);
  padding: 96px 0;
}

.idct-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.idct-illustrations {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 72px;
}

.idct-illustration {
  flex: 1;
  max-width: 560px;
  border-radius: 5px;
  overflow: hidden;
}

.idct-illustration img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 5px;
}

.idct-text-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  margin-bottom: 56px;
}

.idct-block-title {
  font-family: var(--serif-font);
  font-weight: 400;
  font-size: 52px;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 28px;
}

.idct-block-text {
  font-family: var(--ui-font);
  font-weight: 400;
  font-size: 20px;
  color: var(--navy);
  line-height: 1.55;
}

.idct-block-text p {
  margin-bottom: 20px;
}

.idct-block-text p:last-child {
  margin-bottom: 0;
}

.idct-cta {
  display: flex;
  justify-content: center;
}

.idct-cta .btn-navy {
  width: 305px;
  height: 39px;
}

/* --------------------------------------------------------------------------
   CTA / Cancer Insight Section
   -------------------------------------------------------------------------- */
.cta-section {
  position: relative;
  width: 100%;
  min-height: 540px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 60, 0.1);
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 80px var(--pad);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.cta-title {
  font-family: var(--serif-font);
  font-weight: 400;
  font-size: 52px;
  color: var(--white);
  line-height: 1.15;
  /* max-width: 680px; */
}

.cta-desc {
  font-family: var(--ui-font);
  font-weight: 400;
  font-size: 20px;
  color: var(--white);
  line-height: 1.55;
  max-width: 600px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  margin-top: 8px;
}

/* --------------------------------------------------------------------------
   Speaking Section
   -------------------------------------------------------------------------- */
.speaking {
  padding: 96px var(--pad);
  max-width: var(--max-w);
  margin: 0 auto;
}

.speaking-layout {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 72px;
  align-items: start;
  margin-bottom: 64px;
}

.speaking-text-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.speaking-title {
  font-family: var(--serif-font);
  font-weight: 400;
  font-size: 52px;
  color: var(--navy);
  line-height: 1.15;
}

.speaking-desc {
  font-family: var(--ui-font);
  font-weight: 400;
  font-size: 20px;
  color: var(--navy);
  line-height: 1.55;
}

.speaking-desc p {
  margin-bottom: 18px;
}

.speaking-desc p:last-child {
  margin-bottom: 0;
}

.speaking-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.speaking-photo {
  width: 100%;
  height: auto;
  border-radius: 5px;
  /* border: 4px solid var(--navy); */
  object-fit: cover;
  display: block;
}

/* Topics Panel */
.topics-panel {
  background: var(--light-gray);
  border-radius: 5px;
  padding: 44px 48px;
}


.topics-panel .panel-title {
  font-family: var(--serif-font);
  font-weight: 500;
  font-size: 28px;
  color: var(--navy);
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--navy);
}

.topic-item {
  padding: 24px 0;
  border-bottom: 1px solid rgba(26, 42, 107, 0.15);

}


.topic-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.topic-title {
  font-family: var(--serif-font);
  font-weight: 500;
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.25;
}

.topic-desc {
  font-family: var(--ui-font);
  font-weight: 400;
  font-size: 20px;
  color: rgba(26, 42, 107, 0.82);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--footer-gray);
  padding: 64px var(--nav-pad);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 0 var(--pad);
}

.footer-logo {
  display: inline-flex;
  /* align-items: baseline; */
  gap: 4px;
  margin-bottom: 8px;
}

.footer-logo .logo-name {
  font-family: var(--serif-font);
  font-size: 48px;
  color: var(--navy);
}

.footer-logo .logo-phd {
  font-family: var(--serif-font);
  font-size: 24px;
  color: var(--navy);
  vertical-align: super;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1280px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid rgba(26, 42, 107, 0.25);
  cursor: pointer;
  transition: color 0.2s ease;
}

.footer-link-item:first-child {
  border-top: 1px solid rgba(26, 42, 107, 0.25);
}

.footer-link-item:hover .footer-link-name {
  color: var(--navy);
  opacity: 0.75;
}

.footer-link-name {
  font-family: var(--ui-font);
  font-weight: 600;
  font-size: 16px;
  color: var(--navy);
  transition: opacity 0.2s ease;
  text-transform: capitalize;
}

.footer-link-arrow {
  color: var(--navy);
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.footer-link-item:hover .footer-link-arrow {
  transform: translateX(4px);
}

.footer-bottom {
  font-family: var(--ui-font);
  font-weight: 400;
  font-size: 13px;
  color: var(--navy);
  opacity: 0.65;
  margin-top: 16px;
}

/* --------------------------------------------------------------------------
   Contact Form Section
   -------------------------------------------------------------------------- */
.contact-form-section {
  padding: 96px var(--pad);
  max-width: var(--max-w);
  margin: 0 auto;
}

.form-section-title {
  font-family: var(--serif-font);
  font-weight: 400;
  font-size: 42px;
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.2;
}

.form-section-desc {
  font-family: var(--ui-font);
  font-weight: 400;
  font-size: 20px;
  color: var(--navy);
  line-height: 1.55;
  max-width: 720px;
  margin-bottom: 56px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 1129px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.form-group label {
  font-family: var(--serif-font);
  font-weight: 500;
  font-size: 24px;
  color: var(--navy);
  line-height: 1.2;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--ui-font);
  font-weight: 400;
  font-size: 16px;
  color: var(--black);
  background: var(--light-gray);
  border: 1px solid var(--navy);
  border-radius: 10px;
  height: 64px;
  padding: 0 20px;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.form-group textarea {
  height: 343px;
  padding: 18px 20px;
  resize: vertical;
  line-height: 1.6;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath d='M1 1l7 7 7-7' stroke='%231a2a6b' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
  cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26, 42, 107, 0.12);
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}

.error-msg {
  font-family: var(--ui-font);
  font-weight: 400;
  font-size: 13px;
  color: #c0392b;
  display: none;
  margin-top: 2px;
}

.form-group.error .error-msg {
  display: block;
}

.form-submit-btn {
  width: 202px;
  height: 39px;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Thank You Page Hero
   -------------------------------------------------------------------------- */
.thankyou-hero {
  position: relative;
  width: 100%;
  height: 811px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.thankyou-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  text-align: center;
  padding: 0 var(--pad);
}

.thankyou-title {
  font-family: var(--serif-font);
  font-weight: 400;
  font-size: 52px;
  color: var(--white);
  line-height: 1.15;
  max-width: 680px;
}

.thankyou-desc {
  font-family: var(--ui-font);
  font-weight: 400;
  font-size: 20px;
  color: var(--white);
  line-height: 1.55;
  max-width: 500px;
}

.thankyou-content .btn-navy {
  background: var(--navy);
  color: var(--white);
  height: 39px;
  padding: 0 28px;
  margin-top: 8px;
}

/* --------------------------------------------------------------------------
   Misc / Accessibility
   -------------------------------------------------------------------------- */
:focus-visible {
  outline: 3px solid rgba(26, 42, 107, 0.5);
  outline-offset: 3px;
}

::placeholder {
  color: rgba(0, 0, 0, 0.35);
}

/* Smooth section anchor offset for fixed header */
[id] {
  scroll-margin-top: var(--header-height);
}



/* ==========================================================================
   Responsive Design (Tablets & Mobile)
   ========================================================================== */

/* 1. Tablet & Small Desktop (Below 1024px) */
@media (max-width: 1024px) {
  :root {
    --pad: 40px;
    --nav-pad: 30px;
    --header-height: 90px;
  }

  .hero {
    height: 600px;
  }

  .hero-title, .idct-block-title, .cta-title, .speaking-title, .thankyou-title {
    font-size: 42px;
  }

  .about-grid, .research-panels, .idct-text-grid, .speaking-layout {
    grid-template-columns: 1fr; /* Stack columns */
    gap: 40px;
  }

  .footer-links {
    gap: 40px;
  }
}


@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
  }

  .menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--navy);
    transition: all 0.3s ease;
  }

  .nav-links {
    display: flex;
    position: fixed;
    top: 0;
    right: -100%; 
    width: 100%;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
  }

  .nav-links.is-active {
    right: 0;
  }

  .menu-toggle.is-active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }


  :root {
    --pad: 24px;
    --nav-pad: 20px;
    --header-height: 80px;
  }

  /* Header / Logo */
  .logo-name { font-size: 32px; }
  .logo-phd { font-size: 16px; }
  
 

  /* Hero Section */
  .hero {
    height: 1000px;
    align-items: flex-start;
    padding: 60px 0;
    background-position: bottom center; 
    background-image: url(../images/hero-main-mob.jpg);
  }

  .hero-content {
    padding: 0 var(--pad) 40px;
  }

  .hero-title {
    font-size: 30px;
  }

  /* About & Socials */
  .about {
    padding: 64px var(--pad);
  }

  .social-buttons {
    grid-template-columns: 1fr; /* Stack social buttons */
    gap: 12px;
  }

  .about-header {
    font-size: 32px;
  }

  /* Research & Topics Panels */
  .panel, .topics-panel, .credentials-box {
    padding: 24px;
  }

  .panel-header, .topics-panel .panel-title {
    font-size: 24px;
  }

  /* IDCT Section */
  .idct-illustrations {
    flex-direction: column;
    gap: 20px;
  }

  .idct-block-title {
    font-size: 32px;
  }

  /* CTA Section */
  .cta-section {
    min-height: auto;
    padding: 60px 0;
  }

  .cta-title {
    font-size: 32px;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cta-buttons .btn {
    width: 100%;
  }

  /* Footer */
  .footer-links {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-logo .logo-name { font-size: 36px; }

  /* Contact Form */
  .form-section-title {
    font-size: 32px;
  }

  .form-group label {
    font-size: 20px;
  }

  .form-group input, .form-group select, .form-group textarea {
    height: 56px;
  }

  .form-submit-btn {
    width: 100%;
  }

  /* Thank You Page */
  .thankyou-hero {
    height: 100vh;
  }
  
  .thankyou-title {
    font-size: 36px;
  }
  .speaking-buttons .btn{
    width:100%;
  }
}