/* --------------------------------------------------------- */
/* 👤 PROFILE PICTURE                                        */
/* --------------------------------------------------------- */
.profile-pic {
  position: relative;
  max-width:130px;
  max-height:130px;
  width: auto;
  height: auto;
  overflow: hidden;
  margin: -31px; 
  margin-left:-7px;
  border: 6px solid rgba(0, 77, 64, 0.4); 
  border-radius: 50% !important;
}

.profile-pic img {
  width: 100%;
  height: auto;
}

.tracker {
  position: fixed;
  bottom: 0; 
  right: 0;
}

/* --------------------------------------------------------- */
/* 🌐 SOCIAL ICON BUTTONS (UPDATED FOR FONT AWESOME)         */
/* --------------------------------------------------------- */

@import url(https://fonts.googleapis.com/css?family=Poiret+One);

.social {
  margin: 0 auto;
  width: auto;
  text-align: inherit;
}

.icon-btn {
  margin-left: auto;
  width: 50px;
  height: 50px;
  border: 0;
  cursor: pointer;
  font-size: 26px;          /* Adjusted FA size */
  line-height: 50px;
  border-radius: 50%;
  display: inline-block;
  margin: 4px;
  text-align: center;
  transition: 0.2s ease-in-out;
}

/* Icon Colors */
.icon-btn .fa-github { color: black; }
.icon-btn .fa-linkedin { color: #0077b5; }
.icon-btn .fa-angellist { color: grey; }

/* Hover Effects */
.icon-btn:hover {
  transform: scale(1.10);
  color: #fff !important;
}

.icon-btn.github:hover {
  background-color: black;
}

.icon-btn.linkedin:hover {
  background-color: #0077b5;
}

.icon-btn.angellist:hover {
  background-color: grey;
}

/* --------------------------------------------------------- */
/* 📌 BUTTONS (Read Me, Contact Me)                          */
/* --------------------------------------------------------- */

.readme {
  position: relative;
  padding: 11px 35px;
  background: #fff;
  color: #00796b;
  border: 2px solid #fff;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  border-radius: 5px;
}

.contactme {
  position: relative;
  padding: 11px 35px;
  background: none;
  color: #fff;
  border: 2px solid #fff;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  margin-top: 1.5em;
  border-radius: 5px;
}

.contactme:hover{
  color: #00796b;
  background-color: white;
}

/* --------------------------------------------------------- */
/* MAIN BODY                                                 */
/* --------------------------------------------------------- */

body {
  color: #333;
  font-size: 18px;
}

a {
  color: #004d40;
}

/* blockquote */
blockquote {
  border-left: 5px solid #795548;
  color: #795548;
  font-size: 125%;
  font-weight: 400;
  margin: 20px 0;
  padding-left: 1.5rem;
}

blockquote * {
  font-size: inherit;
  line-height: inherit;
}

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

/* NAV */
nav {
  background: white;
  box-shadow: none;
  height: 0;
}

nav i {
  padding: 0 15px;
  position: relative;
  top: 5px;
}

/* MAIN */
main {
  background: url(../../assets/img/bg.png) repeat;
  padding-left: 190px;
}

dl {
  margin-top: 0.5rem;
}

dd {
  display: inline-block;
  font-weight: 500;
  margin-left: 0;
}

dt {
  display: inline-block;
  margin-left: 0.5rem;
}

ul.side-nav {
  width: 190px;
}

ul.side-nav li {
  padding: 0;
}

ul.side-nav.fixed a {
  box-sizing: content-box;
  color: rgb(16, 202, 56);
  display: block;
  line-height: 100%;
  padding: 10px 0 12px;
}

ul.table-of-contents li.logo a.active, 
ul.table-of-contents li.logo a:hover {
  border: none;
  font-weight: 200;
}

ul.side-nav.fixed li.logo {
  background-color: #fafafa;
  border-bottom: 1px solid #ddd;
  box-sizing: content-box;
  min-height: 90px;
  padding: 30px 30px 40px;
}

ul.side-nav.fixed li.logo a {
  font-weight: 200;
  line-height: 100%;
}

ul.table-of-contents li:not(.logo) a.active, 
ul.table-of-contents li:not(.logo) a:hover {
  background-color: #fafafa;
  border-left: 3px solid;
}

ul.side-nav.fixed.table-of-contents li:not(.logo) a span, 
ul#slide-out li:not(.logo) a span {
  color: #333 !important;
}

li.logo span {
  display: block;
  font-size: 14px;
}

.brand-logo h1 {
  font-size: inherit;
  line-height: inherit;
  margin: inherit;
  font-weight: inherit;
}

.container {
  width: 95%;
}

h3 {
  font-weight: 200;
  margin-bottom: 60px;
  margin-top: 0;
  padding: 30px 40px;
  text-transform: uppercase;
}

.section {
  padding-bottom: 30px;
  padding-top: 0;
  position: relative;
}

.full-height {
  height: 100vh;
}

/* --------------------------------------------------------- */
/* INTRO SECTION                                             */
/* --------------------------------------------------------- */

#intro.section {
  background: #a7ffeb repeat;
  position: relative;
}

#intro.section .container {
  color: white;
  font-weight: 200;
  left: 0;
  position: absolute;
  top: 0;
}

#intro.section .container *:not(span) {
  font-weight: 300;
  line-height: 150%;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

#intro.section .underline {
  border-bottom: 5px solid #24305e;
}

#intro.section .teal {
  padding: 0 10px;
}

.overlay {
  background-color: rgba(0,0,0,0.4);
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.waves-effect.waves-blue .waves-ripple {
  background-color: rgba(33,150,243,0.2);
}

/* --------------------------------------------------------- */
/* CARDS                                                     */
/* --------------------------------------------------------- */

.card {
  margin-bottom: 60px;
}

.card .role {
  font-size: 1.25rem;
  position: absolute;
  right: 38px;
  top: 35px;
}

.card li a {
  margin-right: 0;
  color: #333;
  border-bottom: 2px solid #ffab40;
}

.card li a:hover {
  color: #333;
  font-weight: 500;
}

.card .card-content {
  padding-bottom: 5px;
}

.card .card-content p {
  padding: 5px 0 0;
}

.card h5 {
  font-size: 1.5rem;
  margin-bottom: -0.5rem;
  margin-top: 2rem;
}

.card h6 {
  font-weight: 300;
  letter-spacing: 1px;
  margin-top: 2rem;
  text-transform: uppercase;
}

#experience .card-action {
  background-color: rgba(0,0,0,0.02);
  border: none;
}

#experience .card .col.s12.m2 a {
  display: block;
}

#experience .card .col.s12.m2 a img {
  max-height: 60px;
}

.card-action span {
  font-size: 85%;
  color: #666;
}

.card ul {
  margin-bottom: 0;
}

.card ul li {
  line-height: 200%;
  list-style-type: disc;
  margin-left: 24px;
}

.card ul li li {
  color: #666;
  font-size: 13px;
}

.card .card-title {
  font-size: 24px;
}

.card .card-content .card-title {
  line-height: 2.5rem;
}

.card i.right {
  margin-left: 10px;
}

a.hoverline {
  border-bottom: 3px solid transparent !important;
  padding: 3px 3px 0 3px;
  transition: 0.25s all;
}

a.hoverline:hover {
  border-bottom: 3px solid #004d40 !important;
}

#skills .card.large {
  height: 360px;
}

#skills h4 {
  border-bottom: 1px solid #ddd;
  margin-bottom: 30px;
  padding-bottom: 20px;
}

#skills .col img.responsive-img {
  margin: 0 auto;
  max-height: 100px;
  padding-bottom: 10px;
  text-align: center;
  vertical-align: middle;
  display: table-cell;
}

.card.large .card-content p {
  color: inherit;
  margin: 0;
  padding: 30px 0;
}

#experience .card-content .row {
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

.card.large .card-image {
  height: 230px;
}

.card.large .card-content {
  height: auto;
}

.card.medium .card-image {
  height: 240px;
}

.card-action a.btn-floating {
  margin-bottom: 0;
}

#contact a:not(.btn-floating) {
  bottom: 6px;
  left: 20px;
  position: relative;
}

#experience .col.s12.m2 {
  text-align: center;
}

.fa-external-link:before {
  left: 3px;
  position: relative;
  top: 2px;
}

small {
  display: none;
}

.grey-text {
  color: #666 !important;
}

.teal-text {
  color: #008073 !important;
}

.teal {
  background-color: #008073 !important;
}

/* --------------------------------------------------------- */
/* MEDIA QUERIES                                             */
/* --------------------------------------------------------- */

@media (min-width: 1200px) {
  #experience .container {
    width: 860px;
  }
}

@media (max-width: 1360px) {
  .card ul li {
    font-size: 14px;
    line-height: 200%;
    margin-left: 20px;
  }
}

@media (max-width: 1160px) {
  .card ul li {
    line-height: 150%;
  }
}

@media (max-width: 992px) {
  main {
    padding-left: 0px;
    padding-top: 64px;
  }
  ul.side-nav a {
    line-height: 100%;
    padding: 0;
    width: 100%;
  }
  nav {
    background: #fff;
    height: 64px;
    position: absolute;
  }
  nav a.button-collapse, nav a.button-collapse i {
    color: #009688;
    height: 56px;
    line-height: 56px;
  }
  h3 {
    padding: 20px 30px;
    margin-bottom: 40px;
  }
  .container {
    margin: 0 auto;
  }
  nav.hide-on-large.only.trigger {
    display: block;
    position: fixed;
    top: 0;
    z-index: 2;
  }
  .name-title {
    display: block;
    height: 100%;
    padding-top: 15px;
    text-align: center;
    width: 100%;
    position: absolute;
  }
  .name-title>span, .name-title>a {
    position: relative;
    line-height: 20px;
  }
  .name-title a {
    font-size: 22px;
    display: block;
  }
  .name-title span {
    display: block;
    font-size: 14px;
  }
  h3, .container {
    position: relative;
    top: 64px;
  }
  section#intro {
    margin-bottom: -64px;
  }
  .card .role {
    position: relative;
    right: initial;
    top: initial;
  }
}

@media (max-width: 600px) {
  h2 {
    font-size: 22px;
    line-height: 200%;
    margin: 30px 0 0;
  }
  #intro.section .container *:not(span) {
    padding: 0;
  }
  .card .card-content .card-title {
    font-size: 20px;
    line-height: 24px;
  }
  #experience span.card-title {
    text-align: center;
    display: block;
  }
  #experience span.card-title a {
    margin: 0;
  }
  i.mdi-navigation-close.right {
    position: relative;
    bottom: 15px;
  }
  #contact a:not(.btn-floating) {
    text-align: center;
    display: block;
    left: initial;
    bottom: initial;
  }
  #contact a.btn-floating.btn-large {
    display: block;
    text-align: center;
    margin: 0 auto;
  }
  #intro.section {
    background-position-x: 30%;
  }
}

/* --------------------------------------------------------- */
/* 🎓 EDUCATION SECTION (NO SCROLL, BIGGER FONT)             */
/* --------------------------------------------------------- */

#education.section {
  height: 100vh;                 
  overflow: hidden !important;    
  padding-top: 0;
  padding-bottom: 0;
}

#education h3 {
  font-size: 24px;                
  margin-bottom: 18px;
  padding: 18px 20px;
}

/* Fit everything into viewport */
#education .container {
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

#education .row {
  margin: 0 !important;
  padding: 0 !important;
}

/* Card sizing */
#education .card {
  transform: scale(0.84);
  transform-origin: top center;
  margin-bottom: -5px;
  border-radius: 12px;
}

#education .card .card-image img {
  height: 140px !important;
  object-fit: cover;
}

#education .card .card-title {
  font-size: 16px !important;
  font-weight: 600;
  padding: 8px !important;
  letter-spacing: 0.5px;
}

#education .card .card-content {
  padding: 10px !important;
  font-size: 15px;
  font-weight: 500;
}

#education .card .card-content p {
  margin: 0;
}

/* --------------------------------------------------------- */
/* 📩 CONTACT SECTION — SAME AS EDUCATION                     */
/* --------------------------------------------------------- */

#contact.section {
  height: 100vh;                   
  overflow: hidden !important;
  padding-top: 0;
  padding-bottom: 0;
}

#contact h3 {
  font-size: 24px;
  margin-bottom: 18px;
  padding: 18px 20px;
  text-transform: uppercase;
}

#contact .container {
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

#contact .row {
  margin: 0 !important;
  padding: 0 !important;
}

#contact .card {
  border-radius: 0 !important; /* Rectangle cards only */
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-bottom: 30px; /* spacing between cards */
}

#contact .card-content .collection {
  margin: 0;
  padding: 0;
}

#contact .card-content .collection-item {
  font-size: 14px;
  padding: 10px 10px;
  border-bottom: 1px solid #ddd;
  display: flex;
  align-items: center;
}

#contact .card-content .collection-item::before {
  content: "🏆"; /* default icon for all achievements */
  margin-right: 10px;
}

#contact .row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

#contact .col {
  flex: 1;
  min-width: 300px;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 992px) {
  #contact .row {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  #contact .card-content .collection-item {
    font-size: 12px;

    .next-btn-container {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 50px;
}

.next-btn {
  background-color: #004d40;
  color: white;
  padding: 12px 28px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s ease;
}

.next-btn:hover {
  background-color: #00695c;
}
  }
}

/* style.css */
.batchmate-name {
    margin: 0;
    padding: 2px 0;
    font-size: 0.75rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

