/* =========================================================
   Chandu Majeti — Portfolio site
   Font: Lexend Deca (Google Fonts)
   Palette:
     Lime background : #C9FF33
     Deep green bg    : #004B23
     Card dark 1      : #07351C
     Card dark 2      : #006F34
     Accent text      : #CCFF33
     Tag / highlight  : #FCA311
   ========================================================= */

:root {
  --lime: #C9FF33;
  --deep-green: #004B23;
  --card-dark-1: #07351C;
  --card-dark-2: #006F34;
  --accent: #CCFF33;
  --tag-orange: #FCA311;
  --white: #FFFFFF;

  --container-width: 1140px;
  --gutter: 40px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lexend Deca', Arial, Helvetica, sans-serif;
  color: var(--deep-green);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* =========================================================
   Buttons (shared)
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Lexend Deca', sans-serif;
  font-weight: 500;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 6px;
  white-space: nowrap;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.btn:hover {
  opacity: 0.9;
}

.btn:active {
  transform: translateY(1px);
}

.btn--work {
  background-color: #07351C;
  color: #CCFF33;
  border: 1px solid #07351C;
}

.btn--cv {
  background-color: transparent;
  color: #07351C;
  border: 1.5px solid #07351C;
}

.link-linkedin {
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  font-size: 16px;
  color: #07351C;
  padding: 14px 4px;
  border-bottom: 1px solid transparent;
}

.link-linkedin:hover {
  border-bottom-color: #07351C;
}

.btn--case-study {
  background-color: none;
  color: #CCFF33;
  border: 1px solid #CCFF33;
  font-weight: 500;
  font-size: 15px;
  padding: 13px 24px;
}

.btn--case-study svg {
  transition: transform 0.2s ease;
}

.btn--case-study:hover svg {
  transform: translateX(4px);
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  background-color: var(--lime);
  padding: 40px 0 0px;
}

.hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero__text {
  flex: 1 1 560px;
  max-width: 620px;
}

.eyebrow {
  font-size: 36px;
  font-weight: 500;
  color: var(--deep-green);
  margin-bottom: 6px;
  line-height: 1.2;
}

.role {
  font-size: 20px;
  font-weight: 500;
  color: var(--deep-green);
  margin-bottom: 6px;
}

.contact-line {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 40px;
}

.contact-line a {
  color: var(--deep-green);
}

.contact-line a:hover {
  text-decoration: underline;
}

.contact-line .dot {
  margin: 0 14px;
  opacity: 0.6;
}

.headline {
  font-size: 46px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--deep-green);
  margin-bottom: 60px;
  max-width: 560px;
}

.hero__buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero__image {
  flex: 0 0 auto;
  width: 320px;
  max-width: 38%;

}

.hero__image img {
    
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* =========================================================
   WORK / CASE STUDY CARDS
   ========================================================= */

.work {
  background-color: var(--deep-green);
  padding: 0px 0;
}

.card {
  padding: 36px 0;
}

.card--dark1 { background-color: var(--card-dark-1); }
.card--dark2 { background-color: var(--card-dark-2); }

.card__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.card__text {
  flex: 1 1 380px;
  max-width: 420px;
  color: var(--white);
}

.card__title {
  font-size: 36px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 6px;
  line-height: 1.2;
}

.card__subtitle {
  font-size: 20px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 20px;
}

.card__desc {
  font-size: 16px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 32px;
  line-height: 1.6;
}

.card__tag {
  font-size: 14px;
  font-weight: 400;
  color: var(--tag-orange);
  margin-top: 16px;
}

.card__image {
  flex: 1 1 500px;
  max-width: 460px;
  border-radius: 10px;
  overflow: hidden;
}

.card__image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.card__image--dental {
  max-width: 420px;
}

/* Reverse order isn't needed — text always left, image always right,
   matching the reference layout. On small screens they stack. */

/* =========================================================
   CONTACT / CTA
   ========================================================= */

.contact {
  background-color: var(--lime);
  padding: 100px 0 70px;
}

.contact__inner {
  text-align: left;
}

.contact__cta {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--deep-green);
  max-width: 900px;
  margin-bottom: 48px;
}

.contact__details {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}

.contact__link {
  font-size: 20px;
  font-weight: 500;
  color: var(--deep-green);
}

.contact__link:hover {
  text-decoration: underline;
}

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

.footer {
  background-color: var(--lime);
  padding: 0 0 32px;
}

.footer p {
  font-size: 12px;
  font-weight: 500;
  color: var(--deep-green);
}

/* =========================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ========================================================= */

@media (max-width: 1024px) {
  :root {
    --gutter: 32px;
  }

  .headline {
    font-size: 40px;
  }

  .contact__cta {
    font-size: 38px;
  }

  .card__inner {
    gap: 32px;
  }

  .card__image {
    max-width: 46%;
  }
}

/* =========================================================
   RESPONSIVE — TABLET / SMALL LAPTOP (≤ 900px)
   Stack hero and cards
   ========================================================= */

@media (max-width: 900px) {
  .hero {
    padding: 0px 0 0px!important;
  }

  .hero__inner {
    flex-direction: column-reverse;
    text-align: left;
  }

  .hero__image {
    width: 420px!important;
    max-width: 80%;
    margin: 0 auto 0px!important;
  }

  .hero__text {
    max-width: 100%;
  }

  .headline {
    max-width: 100%;
  }

  .card {
    padding: 44px 0;
  }

  .card__inner {
    flex-direction: column;
    text-align: left;
    gap: 28px;
  }

  .card__text {
    max-width: 100%;
  }

  .card__image {
    max-width: 100%;
    width: 100%;
  }

  .card__image--dental {
    max-width: 340px;
    margin: 0 auto;
  }
}

/* =========================================================
   RESPONSIVE — MOBILE (≤ 600px)
   ========================================================= */

@media (max-width: 600px) {
  :root {
    --gutter: 20px;
  }
   .hero__image {
    width: 200px!important;
    max-width: 60%;
    margin: 0 auto 0px!important;
    border-bottom:1px dashed #000!important;
  }
  .hero__text {
  flex: 1 1 380px!important;
  max-width: 620px;
}
.headline {
  font-size: 38px!important;
  font-weight: 700;
  line-height: 1.2;
  color: var(--deep-green);
  margin-bottom: 30px!important;
  max-width: 560px;
}
.card__text {
  flex: 1 1 260px!important;
  max-width: 420px;
  color: var(--white);
}
.card__image {
  flex: 1 1 300px!important;
  max-width: 460px;
  border-radius: 10px;
  overflow: hidden;
}

  .eyebrow {
    font-size: 28px;
  }

  .role {
    font-size: 15px!important;
  }

  .contact-line {
    font-size: 14px;
  }

  .contact-line .dot {
    margin: 0 8px;
  }

  .headline {
    font-size: 30px;
    margin-bottom: 28px;
  }

  .hero__buttons {
    gap: 12px;
  }

  .btn {
    padding: 12px 20px;
    font-size: 15px;
  }

  .hero__image {
    width: 170px;
  }

  .card__title {
    font-size: 28px;
  }

  .card__subtitle {
    font-size: 18px;
  }

  .card__desc {
    font-size: 15px;
  }

  .contact {
    padding: 64px 0 48px;
  }

  .contact__cta {
    font-size: 34px!important;
    margin-bottom: 32px;
  }

  .contact__details {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .footer {
    text-align: left;
  }
}

/* =========================================================
   Accessibility
   ========================================================= */

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--deep-green);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
