/* Global body reset */
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: mukta;
  background-color: black;
  overflow-y: scroll;
  /* Ensure scrollability */
  scroll-behavior: smooth;
}


/* Page load animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-content {
  animation: fadeIn 0.8s ease-out;
}


.floating-navbar {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  float: none;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  background-color: #030d0bcc;
  border: 1px solid #033d4d;
  border-radius: 10px;
  flex-flow: row;
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  padding: 8px 12px 8px 12px;
  box-shadow: 0 8px 12px -8px #00000057;
  z-index: 1000;

  opacity: 1;
  transition:
    opacity 1.5s cubic-bezier(0.3, 0, 0.58, 1),
    /* Smooth fade with ease-in-out cubic bezier */
    box-shadow 1.5s cubic-bezier(0.3, 0, 0.58, 1),
    /* Soft shadow transition */
    filter 1.5s ease-out;
  /* Transition blur for smoother fade-out */
}

.floating-navbar.hidden {
  opacity: 0;
  /* Faded out */
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.5);
  /* Softer shadow when fading out */
}

.nav-item {

  color: white;
  white-space: nowrap;
  background-color: #0000;
  border: 1px solid #0000;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  vertical-align: middle;
  height: 32px;
  margin-left: 0;
  margin-right: 12px;
  padding: 2px 6px 2px 8px;
  font-family: Mukta;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.05px;
  text-decoration: none;
  transition: all .5s ease-in-out;
  display: flex;
}

.nav-item:hover {
  border: 1px solid rgba(0, 150, 200, 0.15);
  ;
  background-color: rgba(0, 150, 200, 0.15);
  color: #fff;
  border-radius: 8px;
  font-weight: 400;
  text-decoration: none;
}

.nav-item:active {

  border-color: #0096c8;
  color: white;
}

.nav-logo img {
  height: 40px;
  width: auto;
  margin-right: 15px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.line {
  background-color: #ffffff26;
  /* width: 100%; */
  min-height: 1px;
  margin-right: 16px;
  flex-grow: 1;
}

.line.no-padd {
  margin-right: 0;
}



/* Active state - highlight the nav item */
.nav-item.active {
  color: #00c8a0;
  background-color: rgba(0, 200, 160, 0.05);
}




/* Styling for the HERO section card */
.hero-section {
  z-index: 1;
  grid-column-gap: 96px;
  grid-row-gap: 96px;
  border: 1px solid #033d4d;
  background-color: #030d0b;
  background-image: url(../assets/noise-noise.png), url(../assets/newmast.png);
  background-position: 0 0, 50%;
  background-repeat: repeat, repeat;
  background-size: 960px, cover;
  background-attachment: scroll, scroll;
  border-radius: 50px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 620px;
  max-width: 100vw;
  height: 85vh;
  /* margin-bottom: 32px; */
  margin: 32px;
  display: flex;
  position: relative;
  vertical-align: center;
}

.hero-content {
  color: #ffffff;
  text-align: center;
  z-index: 2;
}

.hero {
  font-size: 5em;
  line-height: 1.5;
  font-weight: 400;
  margin: 0px;
  font-family: mukta;
  text-align: center;
  padding: 0 4em;
}

.hero-text-span {
  background-image: linear-gradient(119deg, #0096c8, #00c8a0);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
}

/* Hero Sections Ticks */
.ticks {

  position: absolute;
  /* Positioning relative to .hero-section */
  top: 100px;
  /* 50px from the top of the page */
  left: 50%;
  /* Center horizontally */
  transform: translateX(-50%);
  /* Adjust horizontal alignment */

  justify-content: space-between;
  align-items: stretch;
  width: 100%;
  max-width: 684px;
  height: 16px;
  display: flex;
}

.ticks-dark {
  background-color: white;
  width: 1px;
  height: 100%;
}

.ticks-light {
  background-color: #ffffff0d;
  width: 1px;
  height: 100%;
}

.ticks-shade {
  background-color: #ffffff26;
  width: 1px;
  height: 100%;
}

/* Hero Introduction Styles */
.intro-content {
  margin-top: 12em;
  margin-bottom: 12em;
  color: #ffffff;
  padding: 0 32em;
  text-align: left;
}

.greeting {
  font-size: 3em;
  line-height: 1.5;
  font-weight: 500;
  margin: 0px;
  font-family: Mukta;
}

.small-headings {
  font-size: 2.5em;
  line-height: 1.5;
  font-weight: 400;
  margin: 0px;
  font-family: Mukta;
}

.intro {
  margin-top: 0px;
  font-size: 1.125em;
  font-family: mukta;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: .5px;
}

.intro-text-span {
  color: #00bfff;
}

/* Work Section Styles */
.work-section-a,
.work-section-b,
.work-section-c {
  display: flex;
  flex-direction: row;
  gap: 3em;
  justify-content: space-between;
  align-items: center;
  padding: 80px;
  height: 80vh;
  background-position: 0 0, 50%;
  background-repeat: repeat, repeat;
  background-size: 960px, cover;
  border-radius: 50px;
  box-sizing: border-box;
  margin: 32px 32px 10em 32px;
}

.work-section-a {
  border: 1px solid #182903;
  background-color: #030d0b;
  background-image: url(../assets/noise-noise.png), url(../assets/green.png);
}

.work-section-b {
  border: 1px solid #073559;
  background-color: #030d0b;
  background-image: url(../assets/noise-noise.png), url(../assets/blue.png);
}

.work-section-c {
  border: 1px solid #303030;
  background-color: #030d0b;
  background-image: url(../assets/noise-noise.png), url(../assets/black.png);
}

/* Work Section Card Left part styles */
.hero-left {
  flex: 5.5;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

/* Work Section Card Right part styles */
.hero-right {
  flex: 4.5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 20px;
  color: #ffffff;
  font-family: mukta;
}

.project-name {
  font-size: 2.5em;
  font-weight: 500;
  color: #e5e5e5;
  margin: 0px;
}

.project-description {
  font-size: 1.125em;
  color: #ffffffb2;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
}

/* Individual tag */
.tag {
  background-color: rgba(256, 256, 256, 0.1);
  color: #ffffffb2;
  font-size: 1em;
  padding: 0.4em 1.25em;
  border-radius: 20px;
  font-weight: 500;
}

/* Hovering on work Card Styles*/
.work-card {
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.hero-image {
  transition: transform 6s cubic-bezier(0.22, 0.61, 0.36, 1);
  ;
}

.work-card:hover .hero-image {
  transform: scale(1.05);
}

/* Footer Section*/
.footer {
  padding: 20px;
  font-family: mukta;
  color: White;
  width: 100%;
  max-width: calc(100% - 64px);
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  position: relative;
}

.footer-section {
  display: flex !important;
  flex-direction: row !important;
  margin-bottom: 6em;
}

.body-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
  max-width: 600px;
}

.footer-column {
  flex: 1 1 calc(33.33% - 20px);
  text-align: left;
}

.footer-grid {
  display: flex;
  flex-direction: column;
}

.footer-heading {
  font-size: 1.5em;
  font-weight: 500;
  margin-bottom: 10px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1.15em;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-link {
  text-decoration: none;
  color: #00c8a0;
  position: relative;
  display: inline-block;
  margin: 0;
  transition: color 0.3s ease-in-out;
}

.footer-link:hover {
  color: #00e8c8;
}

.footer-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background-color: #00c8a0;
  transition: width 0.8s ease-in-out;
}

.footer-link:hover::after {
  width: 100%;
}

.footer-copyright {
  position: absolute;
  bottom: 20px;
  text-align: center;
  color: #ffffff;
  font-size: 16px;
}

/* About Section */
.intro-about-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.intro-heading-underline {
  border-bottom: 1px solid #5d5d5d; 
  /* text-decoration: underline; */

}

.intro-about-content {
  margin-bottom: 6em;
  color: #ffffff;
  padding: 0 32em;
  text-align: left;
  flex: 1;
  margin-top: 2em;
}

.intro-about {
  margin-top: .5em;
  margin-bottom: 1.5em;
  font-size: 1.125em;
  font-family: mukta;
  font-weight: 300;
  line-height: 1.75;
  letter-spacing: .5px;
}

.intro-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  margin-top: 6em;
}

.intro-image {
  max-width: 25%;
  height: auto;
  border-radius: 5%;
}
/* Image Grid Styling */
.image-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 16px;
  padding: 20px 0;
  margin: 64px;
}

.grid-item {
  width: 100%;
  height: 260px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease-in-out;
}

.grid-item {
  filter: grayscale(100%);
  transition: transform 0.2s ease;
}

.grid-item:hover {
  filter: grayscale(0);
}

/* Contact Section */
.intro-contact-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 8em 0px;
  padding: 2em 0;
  font-family: mukta;
}

.intro-contact-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1em;
}

.contact {
  font-size: 0.8em;
  font-weight: 300;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.8px;
}

.contact-description {
  padding: 0 32em;
  font-size: 1.125em;
  font-weight: 300;
  color: #ffffff;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.6;
  font-family: "Mukta", sans-serif;
}


.contact-links {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 2.5em;
}

.contact-links li {
  margin-bottom: 10px;
}

.contact-link {
  text-decoration: none;
  color: #00c8a0;
  position: relative;
  display: inline-block;
  margin: 0;
  transition: color 0.3s ease-in-out;
}

.contact-link:hover {
  color: #00e8c8;
}

.contact-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background-color: #00c8a0;
  transition: width 0.6s ease-in-out;
}

.contact-link:hover::after {
  width: 100%;
}


/* Reclaiming Digital Balance */
.overview {
  font-size: 1.25em;
}

.calloutheader {
  grid-column-gap: 16px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0;
  display: flex;
}

.rdb-space-balance {
  margin-bottom: 0.5em !important;
}

.rdb-overview-space {
  margin-bottom: 2em !important;
}

.rdb-list-space {
  margin: 0px !important;
}

.background-card-image {
  display: flex;
  flex-direction: column;
  align-items: left !important;
  margin: 4em 30em !important;
  background-image: url('../assets/noise-noise.png'), url('../assets/newmast.png');
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
  background-position: center, center;
  background-clip: content-box;
  border-radius: 30px;
  border: 1px solid #033d4d;
}

.background-card-space {
  padding: 0 2em !important;
}

/* Survey Grid Section Styles */
.survey-grid-section {
  display: flex;
  justify-content: center;
  margin-top: 2em;
  margin-bottom: 2em;
}

.grid-container {
  margin-top: 2.5em;
  font-family: mukta;
}

.survey-grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2em;
  max-width: 800px;
  width: 100%;
  text-align: center;
}

.survey-grid-item {
  padding: 2em;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 30px;
  border: 1px solid #033d4d;
  height: 110px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.survey-stat-number {
  font-size: 3em;
  font-weight: 500;
  color: #fff;
  margin: 0;
}

.survey-stat-description {
  font-size: 1.125em;
  font-weight: 400;
  color: #fff;
  margin-top: 0.5em;
  font-family: Mukta, sans-serif;
  position: absolute;
  bottom: 20px;
}

.smalltext-bullets {
  margin-top: .5em;
  margin-bottom: .5em;
  font-size: 1.125em;
  font-family: mukta;
  font-weight: 300;
  line-height: 1.75;
  letter-spacing: .5px;
  list-style-type: decimal;
}

.smallcard-bullets {
  margin-top: .5em;
  margin-bottom: .5em;
  font-size: 1.125em;
  font-family: mukta;
  font-weight: 300;
  line-height: 1.75;
  letter-spacing: .5px;
}

.bullet-size {
  list-style-type: none;
  padding-left: 20px;
}

.bullet-size li {
  position: relative;
  padding-left: 1em;
}

.bullet-size li::before {
  content: "•";
  font-size: 1em;
  color: white;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.image-section {
  margin: 64px 32px;
  display: flex;
  justify-content: center;
}

.image-fit {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: cover;
  border-radius: 50px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* Usability Section */
.grid-row {
  display: grid;
  grid-template-columns: 0.5fr 0.25fr 1fr;
  align-items: center;
  justify-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: white;
}

.feature-column {
  font-size: 1.125em;
  color: white;
  text-align: left;
  width: 100%;
}

.arrow-column {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  position: relative;
  width: 75%;
}

.horizontal-line {
  width: 100%;
  height: 0.5px;
  background-color: #ffffff57;
}

.list-column {
  text-align: left;
  width: 100%;
}

.list-column ul {
  padding-left: 20px;
  list-style-type: disc;
  color: white;
  list-style-type: none;
}

.list-column li {
  font-size: 1.125em;
  color: white;
}

/* Next Study*/
.next-study {
  font-family: mukta;
  font-size: 1.125em;
}

.next-study-button {
  color: #00c8a0;
  position: relative;
  display: inline-block;
  margin: 0.5em auto;
  transition: color 0.3s ease-in-out;
  font-family: mukta;
  font-size: 1.125em;
  text-decoration: none;

}

.next-study-button:hover {
  color: #00e8c8;
}

.next-study-button:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background-color: #00c8a0;
  transition: width 0.6s ease-in-out;
}

.next-study-button:hover::after {
  width: 100%;
}

.intro-inspiration {
  margin-top: .5em;
  margin-bottom: .75em;
  font-size: 1.125em;
  font-family: mukta;
  font-weight: 300;
  line-height: 1.75;
  letter-spacing: .5px;
}


/* ========================================
   PAGE SUMMARY FLOATING BUTTON
   ======================================== */

.summary-float-btn {
  display: block;
  position: fixed;
  bottom: 24px;
  right: 32px;
  z-index: 1001;
  background-color: rgba(3, 13, 11, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(3, 61, 77, 0.6);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    transform 0.2s ease,
    opacity 0.3s ease;
}

.summary-float-btn:hover {
  background-color: rgba(0, 150, 200, 0.12);
  border-color: rgba(0, 150, 200, 0.4);
}

.summary-float-btn:active {
  transform: scale(0.94);
}

.summary-float-btn.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
}

.summary-float-btn .material-symbols-outlined {
  font-size: 24px;
  color: #ffffff;
  font-variation-settings:
    'FILL' 0,
    'wght' 300,
    'GRAD' 0,
    'opsz' 24;
}

/* ========================================
   SUMMARY MODAL OVERLAY
   ======================================== */

.summary-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1002;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.summary-modal.active {
  opacity: 1;
  pointer-events: auto;
}

/* Prevent body scroll when modal is open */
body.summary-open {
  overflow: hidden;
}

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

.summary-modal-content {
  background: #030d0b;
  background-image: url(../assets/noise-noise.png);
  background-size: 960px;
  background-repeat: repeat;
  border: 1px solid #033d4d;
  border-radius: 30px;
  max-width: 800px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s ease;
}

.summary-modal.active .summary-modal-content {
  transform: translateY(0) scale(1);
}

/* ========================================
   MODAL HEADER
   ======================================== */

.summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  border-bottom: 1px solid #033d4d;
  position: sticky;
  top: 0;
  background: #030d0b;
  border-radius: 30px 30px 0 0;
  z-index: 1;
}

.summary-header h3 {
  font-family: 'Mukta', sans-serif;
  font-size: 28px;
  font-weight: 500;
  margin: 0;
  color: #ffffff;
}

.summary-header-controls {
  display: flex;
  align-items: center;
  gap: 32px;
}

/* Language Toggle in Summary */
.summary-language-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
}

.summary-lang-btn {
  background: none;
  border: none;
  color: #888;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  padding: 4px 10px;
  transition: color 0.3s ease, background-color 0.3s ease;
  font-family: 'Mukta', sans-serif;
  border-radius: 6px;
}

.summary-lang-btn:hover {
  color: #00bcd4;
}

.summary-lang-btn.active {
  color: #00c8a0;
  font-weight: 600;
  background-color: rgba(0, 200, 160, 0.1);
}

.summary-lang-separator {
  color: #555;
  font-size: 16px;
  user-select: none;
}

/* Close Button */
.summary-close-btn {
  background: none;
  border: 1px solid transparent;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.2s ease;
  color: #ffffff;
}

.summary-close-btn:hover {
  background: rgba(0, 150, 200, 0.15);
  border-color: rgba(0, 150, 200, 0.3);
}

.summary-close-btn .material-symbols-outlined {
  font-size: 24px;
  font-variation-settings:
    'FILL' 0,
    'wght' 300,
    'GRAD' 0,
    'opsz' 24;
}


/* ========================================
   MODAL BODY
   ======================================== */

.summary-body {
  padding: 28px;
  font-family: 'Mukta', sans-serif;
}

.summary-section {
  margin-bottom: 24px;
}

.summary-section:last-child {
  margin-bottom: 0;
}

.summary-body h4 {
  font-family: 'Mukta', sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #ffffff;
  margin: 0 0 12px 0;
}

.summary-body p {
  font-size: 16px;
  line-height: 1.75;
  color: #ffffffb2;
  margin: 0 0 12px 0;
  font-weight: 300;
  letter-spacing: 0.5px;
}

.summary-body p:last-child {
  margin-bottom: 0;
}

.summary-body ul {
  margin: 0;
  padding-left: 24px;
  list-style-type: none;
  text-align: left;
}

.summary-body li {
  font-size: 16px;
  line-height: 1.75;
  color: #ffffffb2;
  margin-bottom: 12px;
  font-weight: 300;
  letter-spacing: 0.5px;
  position: relative;
  padding-left: 1em;
  text-align: left;
}

.summary-body li:last-child {
  margin-bottom: 0;
}

.summary-body li::before {
  content: "•";
  font-size: 1em;
  color: #00c8a0;
  position: absolute;
  left: 0;
  top: 0;
}

.summary-body strong {
  color: #ffffff;
  font-weight: 500;
}

.summary-link {
  color: #00c8a0;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 400;
}

.summary-link:hover {
  color: #00e8c8;
  text-decoration: underline;
}

/* Project Cards */
.project-card {
  background: rgba(0, 150, 200, 0.05);
  border: 1px solid #033d4d;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
}

.project-card:last-child {
  margin-bottom: 0;
}

.project-card h4 {
  font-family: 'Mukta', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #00c8a0;
  margin: 0 0 12px 0;
}

.project-card p {
  margin: 0 0 10px 0;
}

.project-card p:last-child {
  margin-bottom: 0;
}

/* Connect Links */
.connect-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.connect-link {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(0, 200, 160, 0.1);
  border: 1px solid rgba(0, 200, 160, 0.3);
  border-radius: 8px;
  color: #00c8a0;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
}

.connect-link:hover {
  background: rgba(0, 200, 160, 0.15);
  border-color: rgba(0, 200, 160, 0.5);
  color: #00e8c8;
  transform: translateY(-2px);
}


.summary-modal-content {
  overflow-y: auto;
  scrollbar-gutter: stable overlay;
}



/* Summary Tooltip */
.summary-tooltip {
    position: fixed;
    bottom: 90px;
    right: 32px;
    background-color: rgba(3, 13, 11, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid #033d4d;
    border-radius: 12px;
    padding: 12px 16px;
    max-width: 200px;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.summary-tooltip.visible {
    opacity: 1;
    transform: translateY(0);
}

.summary-tooltip h4 {
    font-family: 'Mukta', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #00c8a0;
    margin: 0 0 4px 0;
}

.summary-tooltip p {
    font-family: 'Mukta', sans-serif;
    font-size: 12px;
    color: #ffffffb2;
    margin: 0;
    line-height: 1.4;
}




/* Media query for screens between 1000px and 1500px */
@media (min-width: 1000px) and (max-width: 1500px) {

    .nav-item::after {
    bottom: auto;
    left: auto;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
  }

  .hero-section {
    grid-column-gap: 64px;
    grid-row-gap: 64px;
    border-radius: 40px;
    min-width: 560px;
    height: 75vh;
    margin: 24px;
  }

  .hero {
    font-size: 4em;
    padding: 0 3em;
  }

  .intro-content {
    margin-top: 8em;
    margin-bottom: 8em;
    padding: 0 22em;
    text-align: left;
  }

  .greeting {
    font-size: 2.125em;
  }

  .small-headings {
    font-size: 2em;
  }

  .intro {
    font-size: 1.125em;
  }

  .work-section-a,
  .work-section-b,
  .work-section-c {
    padding: 60px;
    height: 70vh;
    gap: 2em;
    margin: 24px 24px 8em 24px;
    border-radius: 40px;
  }

  .hero-left {
    flex: 6;
  }

  .hero-right {
    flex: 4;
    padding: 16px;
  }

  .project-name {
    font-size: 2.125em;
  }

  .project-description {
    font-size: 1.125em;
  }

  .intro-about-content {
    margin-bottom: 6em;
    padding: 0 22em;
    text-align: left;
  }

  .rdb-overview-space {
    margin-bottom: 2em !important;
  }

  .intro-about {
    font-size: 1.125em;
  }

  .image-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 16px;
    margin: 48px;
    padding: 16px 0;
  }

  .intro-image {
    max-width: 35%;
    height: auto;
    border-radius: 5%;
  }

  .contact-description {
    padding: 0 22em;
  }

  .contact-links {
    font-size: 2.125em;
  }

  .overview {
    font-size: 1.25em;
  }


  .background-card-image {
    margin: 4em 22em !important;
  }

  .background-card-space {
    margin-top: 2em !important;
  }

  .survey-grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5em;
    max-width: 700px;
  }

  .survey-grid-item {
    padding: 1.5em;
    height: 110px;
    width: 80%;
  }

  .survey-stat-number {
    font-size: 2.5em;
  }

  .survey-stat-description {
    font-size: 1.125em;
  }

   .footer-section {
        margin-bottom: 100px;
    }
}

/* Media query for screens between 600px and 999px */
@media (min-width: 600px) and (max-width: 999px) {

    .nav-item::after {
    bottom: auto;
    left: auto;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
  }


  .ticks {
    max-width: 500px; 
  }

  .hero-section {
    grid-column-gap: 48px;
    grid-row-gap: 48px;
    border-radius: 30px;
    min-width: 480px;
    height: 70vh;
    margin: 16px;
  }

  .hero {
    font-size: 3em;
    padding: 0 2em;
  }

  .intro-content {
    margin-top: 4em;
    margin-bottom: 4em;
    padding: 0 6em;
    text-align: left;
  }

  .greeting {
    font-size: 2em;
  }

  .small-headings {
    font-size: 1.75em;
  }

  .intro {
    font-size: 1.125em;
  }

  .work-section-a,
  .work-section-b,
  .work-section-c {
    flex-direction: column;
    padding: 20px;
    height: auto;
    gap: 1.5em;
    margin: 16px 16px 6em 16px;
    border-radius: 30px;
  }

  .hero-left {
    flex: 6.5;
  }

  .hero-right {
    flex: 3.5;
    padding: 12px;
  }

  .project-name {
    font-size: 1.75em;
  }

  .project-description {
    font-size: 1.125em;
  }

  .intro-about-content {
    margin-bottom: 4em;
    padding: 0 6em;
    text-align: left;
  }

  .rdb-overview-space {
    margin-bottom: 2em !important;
  }

  .intro-about {
    font-size: 1.125em;
  }

  .image-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 12px;
    margin: 32px;
    padding: 16px 0;
  }

  .intro-image {
    max-width: 35%;
    height: auto;
    border-radius: 5%;
  }

  .contact-description {
    padding: 0 6em;
  }

  .contact-links {
    font-size: 2em;
  }

  .overview {
    font-size: 1.125em;
  }

  .background-card-image {
    margin: 4em 4em !important;
  }

  .background-card-space {
    margin-top: 2em !important;
  }

  .survey-grid-container {
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5em;
    max-width: 500px;
  }

  .survey-grid-item {
    padding: 1.25em;
    height: 110px;
    width: 80%;

  }

  .survey-stat-number {
    font-size: 2.5em;
  }

  .survey-stat-description {
    font-size: 1.125em;
  }

  .image-fit {
    border-radius: 25px;
}

  .footer-section {
        margin-bottom: 100px;
    }

  .language-toggle {
    margin-left: 10px;
  }

   .summary-float-btn {
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
  }
  
  .summary-float-btn .material-symbols-outlined {
    font-size: 22px;
  }
  
  .summary-modal {
    padding: 16px;
  }
  
  .summary-modal-content {
    max-height: 90vh;
    border-radius: 25px;
  }
  
  .summary-header {
    padding: 20px;
    border-radius: 25px 25px 0 0;
  }
  
  .summary-header h3 {
    font-size: 24px;
  }
  
  .summary-lang-btn {
    font-size: 14px;
    padding: 3px 8px;
  }
  
  .summary-lang-separator {
    font-size: 14px;
  }
  
  .summary-body {
    padding: 20px;
  }
  
  .summary-body h4 {
    font-size: 18px;
  }
  
  .summary-body p,
  .summary-body li {
    font-size: 15px;
  }
}

/* Media query for screens below 600px */
@media (max-width: 599px) {

    .nav-item::after {
    bottom: auto;
    left: auto;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
  }


  .ticks {
    /* max-width: 400px;  */
    display: none;
  }

  .hero-section {
    grid-column-gap: 32px;
    grid-row-gap: 32px;
    border-radius: 20px;
    min-width: 320px;
    height: 40vh;
    margin: 8px;
  }

  .hero {
    font-size: 2em;
    padding: 0 1em;
  }

  .intro-content {
    margin-top: 4em;
    margin-bottom: 4em;
    padding: 0 2em;
    text-align: left;
  }

  .greeting {
    font-size: 1.75em;
  }

  .small-headings {
    font-size: 1.5em;
  }

  .intro {
    font-size: 1em;
  }

  .work-section-a,
  .work-section-b,
  .work-section-c {
    flex-direction: column;
    padding: 20px;
    height: auto;
    gap: 1em;
    margin: 8px 8px 4em 8px;
    border-radius: 20px;
  }

  .hero-left {
    flex: 1;
    height: auto;
  }

  .hero-right {
    flex: 1;
    padding: 8px;
  }

  .project-name {
    font-size: 1.5em;
  }

  .project-description {
    font-size: 1.125em;
  }

  .project-tags {
    justify-content: center;
  }

  .body-container {
    flex-direction: column;
  }

  .nav-container {
    display: flex;
    justify-content: space-between;
  }

  .floating-navbar {
    width: 100%;
    max-width: 590px;
  }

  .nav-item {
    padding: 2px 4px; 
    font-size: 16px;
  }

  .line {
    display: none;
  }

  .intro-about-content {
    margin-bottom: 3em;
    padding: 0 1em;
    text-align: left;
  }

  .rdb-overview-space {
    margin-bottom: 2em !important;
  }

  .intro-about {
    font-size: 1em;
  }

  .image-grid {
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 12px;
    margin: 32px;
    padding: 16px 0;
  }

  .grid-item {
    height: 350px;
    /* Slightly smaller height */
  }

  .intro-image {
    max-width: 50%;
    height: auto;
    border-radius: 5%;
  }

  .contact-description {
    padding: 0 2em;
  }

  .contact-links {
    font-size: 1.7 5em;
  }

  .overview {
    font-size: 1.125em;
  }

  .background-card-image {
    margin: 2em 1em !important;
    border-radius: 16px;
  }

  .background-card-space {
    margin-top: 2em !important;
  }

  .survey-grid-container {
    grid-template-columns: 1fr;
    gap: 1em;
    max-width: 100%;
  }

  .survey-grid-item {
    padding: 1em;
    height: 105px;
    width: 80%;

  }

  .survey-stat-number {
    font-size: 2.5em;
  }

  .survey-stat-description {
    font-size: 1.125em;
  }

  .image-fit {
    border-radius: 8px;
}

  /* Footer Section */
  .footer-section {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: auto !important;
    padding: 20px 20px !important;
    margin-bottom: 0 !important;
  }
  
  .footer {
    padding: 20px 10px;
    height: auto;
    max-width: 100%;
  }
  
  /* Stack footer columns vertically */
  .body-container {
    flex-direction: column;
    gap: 40px;
    width: 100%;
    max-width: 100%;
  }
  
  /* Make each column full width */
  .footer-column {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    text-align: left;
  }
  
  /* Adjust heading sizes */
  .footer-heading {
    font-size: 1.25em;
    margin-bottom: 15px;
  }
  
  /* Adjust link sizes */
  .footer-links {
    font-size: 1em;
  }
  
  .footer-links li {
    margin-bottom: 12px;
  }
  
  /* Footer copyright - make it relative to stack properly */
  .footer-copyright {
    position: relative !important;
    bottom: auto !important;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #ffffff26;
    text-align: center;
  }
  
  .footer-copyright p {
    font-size: 14px;
    line-height: 1.6;
  }

    .summary-float-btn {
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
  }
  
  .summary-float-btn .material-symbols-outlined {
    font-size: 22px;
  }
  
  .summary-modal {
    padding: 12px;
  }
  
  .summary-modal-content {
    max-height: 90vh;
    border-radius: 20px;
  }

   .summary-header {
    padding: 16px;
    border-radius: 20px 20px 0 0;
  }
  
  .summary-header h3 {
    font-size: 20px;
  }

  .summary-lang-btn {
    font-size: 14px;
    padding: 3px 8px;
  }
  
  .summary-lang-separator {
    font-size: 14px;
  }
  
  .summary-close-btn .material-symbols-outlined {
    font-size: 22px;
  }
  
  .summary-body {
    padding: 16px;
  }
  
  .summary-section {
    margin-bottom: 20px;
  }
  
  .summary-body h4 {
    font-size: 16px;
    margin-bottom: 10px;
  }
  
  .summary-body p,
  .summary-body li {
    font-size: 14px;
    line-height: 1.6;
  }
  
  .summary-body li {
    margin-bottom: 10px;
  }
  
  .summary-tooltip {
        bottom: 75px;
        right: 20px;
        max-width: 180px;
    }

}







/* .small-card-headings {
  font-size: 1em;
  font-weight: 300;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 24px;
  letter-spacing: 0.8px;
} */

/* .work-container {
  margin: 3em 32px 5em 32px;
  font-family: mukta;
  padding-bottom: 10em;
}

.work-heading {
  font-size: 3rem;
  font-weight: bold;
  margin: 0px;
  color: white;
}

.work-description {
  font-size: 1.2rem;
  color: #ffffffb2;
  margin-top: -16px !important;
  margin-bottom: 32px;
} */


/* Grid Container */
/* Grid Container */


/* .row-highlight {
  border: 1px solid #033d4d;
  border-radius: 100px;
  padding: 8px;
  color: white;
} */


/* Language Toggle Styles - Add to your index.css */

.language-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 12px;
}

.lang-btn {
  background: none;
  border: none;
  color: #888;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  padding: 2px 8px;
  transition: color 0.3s ease;
  font-family: 'Mukta', sans-serif;
  border-radius: 6px;
}

.lang-btn:hover {
  color: #00bcd4;
}

.lang-btn.active {
  color: #00c8a0;
  font-weight: 600;
  background-color: rgba(0, 200, 160, 0.1);
}

.lang-separator {
  color: #555;
  font-size: 16px;
  user-select: none;
}

/* Responsive adjustments */
@media (max-width: 599px) {
  .language-toggle {
    margin-left: 8px;
  }
  
  .lang-btn {
    padding: 2px 6px;
    font-size: 14px;
  }
  
  .lang-separator {
    font-size: 14px;
  }
}









/* Hamburger Button */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
}

/* Mobile Navigation */
@media (max-width: 599px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #030d0bcc;
    border: 1px solid #033d4d;
    border-radius: 12px;
    padding: 12px;
    width: 90%;
    max-width: 320px;

    display: none;
    flex-direction: column;
    gap: 8px;
    backdrop-filter: blur(8px);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-item {
    justify-content: center;
    margin-right: 0;
  }

  .language-toggle {
    justify-content: center;
    margin-top: 8px;
  }
}





/* Mobile: Hamburger Menu Button */
.mobile-menu-toggle {
  display: none; /* Hidden on desktop */
  position: fixed;
  top: 28px;
  left: 28px;
  z-index: 1001;
  background-color: rgba(3, 13, 11, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(3, 61, 77, 0.6);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  padding: 0;
   transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    transform 0.2s ease;
}

.mobile-menu-toggle:hover {
  background-color: rgba(0, 150, 200, 0.12);
  border-color: rgba(0, 150, 200, 0.4);
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #fff;
  transition:
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.2s ease,
    background-color 0.2s ease;
  border-radius: 2px;
}

/* Hamburger Animation when open */
.mobile-menu-toggle.active .hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu-toggle:active {
  transform: scale(0.94);
}



/* Mobile Navigation Overlay */
@media (max-width: 599px) {
  
  /* Show hamburger button */
  .mobile-menu-toggle {
    display: block;
  }
  
  /* Hide default floating navbar on mobile */
  .floating-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 50%;
    height: 100vh;
    max-width: 50%;
    background-color: rgba(3, 13, 11, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 0;
    padding: 100px 20px 20px;
    box-shadow: none;
    transform: translateX(-100%);
    opacity: 0;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
  }
  
  /* Show navbar when active */
  .floating-navbar.mobile-active {
    transform: translateX(0);
    opacity: 1;
    transition-delay: 0.05s;
  }
  
  /* Stack navigation items vertically */
  .nav-container {
    flex-direction: column;
    /* align-items: flex-start; */
    gap: 0;
    width: 100%;
  }
  
  /* Make nav items full width and larger */
  .nav-item {
    width: 80%;
    height: auto;
    padding: 16px 20px;
    margin: 0;
    font-size: 20px;
    border-radius: 12px;
    border: 1px solid transparent;
    margin-bottom: 8px;
    text-align: left;
  }
  
  .nav-item:hover {
    background-color: rgba(0, 150, 200, 0.15);
    border-color: rgba(0, 150, 200, 0.3);
    padding: 16px 20px;
  }
  
  /* Remove the divider line */
  .line {
    display: none;
  }
  
  /* Language toggle - keep at bottom */
  .language-toggle {
    width: 100%;
    justify-content: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ffffff26;
    margin-left: 0;
  }
  
  .lang-btn {
    font-size: 18px;
    padding: 8px 16px;
  }
  
  /* Prevent body scroll when menu is open */
  body.menu-open {
    overflow: hidden;
  }
}


