/* === Global Responsiveness (from previous patch) === */
/* html, body {
  height: auto !important;
  overflow-y: auto !important;
  overflow-x: hidden;
} */

html {
  scroll-behavior: smooth; /* optional */
  box-sizing: border-box;  /* easier to manage widths */
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  min-height: 100%;       /* lets content grow naturally */
  overflow-x: hidden;     /* prevent horizontal scroll */
  margin: 0;              /* remove default margin */
  padding: 0;
  position: relative;     /* only needed if you have absolute children */
}

.section.full-height {
  min-height: 100vh;
  height: auto !important;
}

@media (min-width: 992px) {
  main {
    padding-left: 200px;
  }
}

@media (min-width: 1366px) {
  .container {
    max-width: 1250px;
    margin: 0 auto;
  }
}

/* Prevent image overflow and layout breaking */
.profile-pic img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

@import url(https://fonts.googleapis.com/css?family=Poiret+One);
.social {
  margin: 0 auto;
  width: auto;
  text-align: inherit;
  /* padding: 10px; */
}

.icon-btn {
  margin-left: auto;
  width: 50px;
  height: 50px;
  border: 0;
  color: #FFFFFF;
  cursor: pointer;
  font-size: 30px;
  line-height: 70px;
  border-radius: 45px;
  display: inline-block;
  margin: 4px;
}

.github {
  color: black;
}

.linkedin {
  color: #0077b5;
}

.angellist {
  color: grey;
}

.icon-btn:hover {
  transform: scale(1.10);
  color: #FFFFFF;
}

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

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

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

/* Buttons - Read Me, Contact Us */

.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;
  -webkit-border-radius: 5px;
}

/* .readme:hover{
  color: white;
  background-color: #00796b;
} */

.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;
  -webkit-border-radius: 5px;
}

.contactme:hover{
  color: #00796b;
  background-color: white;
}
/* main body */

/* body-color */

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

/* body {
  color: black;
  font-size: 18px;
} */

/* main a -- links */

/* a {
  color: #009688;
} */

a {
  color: #004d40;
}

/* main blockqoute */

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

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;
}

/* main nav */

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

/* nav {
  background: rgb(149, 126, 212);
  box-shadow: none;
  height: 0;
} */

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

/* main */

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(48, 122, 207);
  display: block;
  line-height: 100%;
  padding: 10px 0 12px;
} */

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 {
  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: 10px;
  padding-top: 0;
  position: relative;
}

.full-height {
  height: 100vh;
}

@media (min-width: 1000px) {

   #projects .card-image img {
    width: 90%;         /* fill the card width */
    height: 150px;        /* maintain aspect ratio */
    object-fit: cover;   /* cover the container without distortion */
  }
}

/* On large screens, keep text left-aligned and comfortably wide */
@media (min-width: 1200px) {

   #experience .container {
    max-width: 1400px;
  }

  #experience .horizontal-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
  }

  .logo-container {
    flex: 0 0 140px;
  }

  .logo-container img {
    max-width: 120px;
    height: auto;
  }
  
}


/* Medium to large screens (992px–1199px) */
@media (max-width: 1199px) {
  .experience-details .card-title {
    font-size: 1.25rem;
  }

  .experience-details .role {
    font-size: 0.95rem;
  }

  #experience .container {
    padding: 0 20px;
  }
}

/* Tablets (≤992px) */
@media (max-width: 992px) {
  main {
    padding-left: 0;
    padding-top: 64px;
  }

  #experience .horizontal-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo-container {
    margin-bottom: 1rem;
  }

  .experience-details {
    width: 100%;
  }

  .experience-details .card-title {
    font-size: 1.15rem;
  }

  .experience-details ul li {
    font-size: 0.95rem;
  }

   #projects .card-image img {
    height: 150px;       /* slightly smaller image height */
    width: 90%;         /* full card width */
    object-fit: cover;
  }
}

.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 {
  /* The alpha value allows the text and background color
   of the button to still show through. */
  background-color: rgba(33, 150, 243, 0.2);
}

.card {
  margin-bottom: 60px;
}

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

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

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

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

.card .card-content p {
  padding: 5px 10px
}

.card h5 {
  font-size: 2.0rem;
  margin-bottom: 0.5rem;
  margin-top: 0;
}

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

#experience {
  padding: 10px 0;
}

#experience .card-action {
  background-color: #fafafa;
  border-top: 1px solid #eee;
  padding: 14px 22px;
  color: #444;
}

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

#experience .card .col.s12.m2 a img {
  max-height: 70px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

#experience .card .col.s12.m2 a img:hover {
  transform: scale(1.05);
}

.card-action {
  padding: 8px 16px !important;       /* smaller padding */
  text-align: left !important;        /* align text to the left */
  font-size: 0.9rem !important;       /* smaller text */
  background: #f5f5f5;                /* subtle gray background (optional) */
  border-top: 1px solid #ddd;         /* thin divider line */
}

.card-action a {
  color: #00796b !important;          /* teal color for links */
  margin-right: 12px;                 /* space between links */
  font-weight: 500;
  transition: color 0.3s ease;
}

.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;
  -moz-transition: 0.25s all;
  -webkit-transition: 0.25s all;
}

a.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,150,136,0.4);
}

/* main a.hoverline */

/* a.hoverline:hover {
  border-bottom: 3px solid #24305e !important;
} */

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

#skills .responsive-img {
  max-width: 60px;      /* control the size of each icon */
  height: auto;
  margin-bottom: 6px;   /* small gap between image and text */
  transition: transform 0.3s ease;
}

/* Add hover effect */
#skills .responsive-img:hover {
  transform: scale(1.1); /* slight zoom on hover */
}

/* Center align skill labels and keep clean spacing */
#skills .col {
  text-align: center;
  font-size: 0.95rem;
  color: #444;
  font-weight: 500;
  margin-bottom: 15px;
}

#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;
}

/* === Skill Section Category Title === */
.skill-category-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #004d40; /* Deep teal tone for DevOps feel */
  margin-bottom: 20px;
  border-left: 4px solid #00bfa5; /* Accent line */
  padding-left: 12px;
  letter-spacing: 0.3px;
  text-transform: none; /* Normal case (not uppercase) */
  font-family: "Poppins", "Inter", sans-serif;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.skill-category-title:hover {
  color: #00796b;
  border-color: #26a69a;
}

/* === Card Styling === */
#skills .card {
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: none;
  margin-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#skills .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

/* === Skill Icons Layout === */
#skills .card-content img {
  max-height: 60px;
  margin-bottom: 8px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

#skills .card-content img:hover {
  transform: scale(1.08);
  opacity: 0.9;
}

/* === Skill Labels === */
#skills .col {
  font-weight: 500;
  font-size: 0.9rem;
  color: #37474f;
  text-align: center;
}

#skills .col:hover {
  color: #00796b;
}


/* Style for About section */
#about .skills-box {
  margin-top: 25px;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Section title inside Technical Skills */
#about .skills-box h5 {
  color: #004d40;
  font-weight: 600;
  margin-bottom: 15px;
}

/* Skill list styling */

#about .skills-list li {
  font-size: 1.05rem;       /* increased font size */
  color: #333;
  margin-bottom: 10px;
  line-height: 1.6;
  background: #ffffff;
  padding: 8px 14px;
  border-left: 4px solid #009688;
  border-radius: 6px;
  transition: all 0.3s ease;
}

/* Subtle hover effect */
#about .skills-list li:hover {
  background: #e0f2f1;
  transform: translateX(5px);
}

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

#experience .card-content {
  padding: 24px 28px;
}

#experience .card-content .row {
  border-bottom: 1px solid #eee;
  padding-bottom: 12px;
  margin-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;
}

/* main .teal-text */

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

/* .teal-text {
  color: #0b5e86 !important;
} */

/* .teal */

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

/* .teal {
  background-color: #00695c !important;
} */
.card-title {
  font-size: 1.1rem !important;
  line-height: 1.3 !important;
  margin: 0 !important;
}

.role {
  font-size: 1.2rem !important;
  font-weight: 600 !important;
  margin-top: 6px !important;
  margin-bottom: 10px !important;
}

 #about {
    background: #f9fafb;
    padding: 15px 0;
    font-family: "Inter", "Poppins", sans-serif;
    color: #333;
  }

  /* #about .page-title {
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    font-weight: 700;
  } */

  .about-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
  }

  .highlight a{
    color: #009688 !important;
    font-weight: 600;
  }

  .skills-box {
    background: #fff;
    border-left: 4px solid #009688;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 20px 25px;
    margin-top: 25px;
    border-radius: 10px;
  }

  .skills-box h5 {
    margin-bottom: 15px;
    font-weight: 600;
    color: #009688;
  }

  .skills-list li {
    padding: 6px 0;
    font-size: 0.98rem;
  }

  .skills-list li b {
    color: #222;
  }

  .intro, .outro {
    font-weight: 500;
    font-family: 'Roboto';
  }

  .caption {
    color: #fff;
    margin-top: 5vh;
    font-family: "Poppins", "Inter", sans-serif;
    padding: 0 10px;
  }

  .caption h2 {
    font-size: 2.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
  }

  .name-accent {
    color: #00bfa5;
    font-weight: 700;
  }

  .role-line {
    font-size: 1.5rem;
    font-weight: 400;
    color: #b2dfdb;
    margin-bottom: 20px;
  }

  .typing {
    color: #00bfa5;
    font-weight: 600;
  }

  .tagline {
    font-size: 1.1rem;
    color: #e0f2f1;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.7;
  }

  /* #about {
    background: #f8f9fa;
    padding: 60px 0;
    font-family: "Poppins", "Inter", sans-serif;
  } */

  .about-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px 40px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
  }

  .about-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
  }

  .highlight a{
    color: #009688 !important;
    font-weight: 600;
  }

  .skills-box {
    margin-top: 25px;
    padding: 20px 25px;
    background: #f9fafa;
    border-left: 4px solid #009688;
    border-radius: 8px;
  }

  .skills-box h5 {
    margin-bottom: 10px;
    font-weight: 600;
    color: #009688;
  }

  .skills-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .skills-list li {
    padding: 6px 0;
    font-size: 0.96rem;
  }

  .opportunity-box {
    text-align: center;
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
  }

  .opportunity-box p {
    font-size: 1.05rem;
    color: #004d40;
    margin-bottom: 15px;
  }

  .btn {
    border-radius: 30px;
    font-weight: 600;
    padding: 10px 25px;
    text-transform: none;
  }

.page-title {
  font-size: 1.6rem;
    font-weight: 600;
    text-align: left;
    color: #ffffff;
    background-color: #008073;
    padding: 5px 10px;
    margin-bottom: 14px;
    border-left: 6px solid #00bfa5;
    border-radius: 8px;
    letter-spacing: 0.5px;
    text-transform: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    font-family: "Poppins", "Inter", sans-serif;
    animation: fadeIn 0.6s ease;
}

  @media (max-width: 768px) {
    .about-card {
      padding: 25px;
    }
    .about-card p {
      font-size: 1rem;
    }
  }

      /* ==== Global Card Styling ==== */
    .card {
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
      margin-bottom: 20px;
    }

    .card-content ul {
      padding-left: 20px;
      line-height: 1.6;
    }

    .card-content li {
      margin-bottom: 6px;
    }

    .company-logo {
      max-width: 90px;
      border-radius: 8px;
    }

    .company-header {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 4px;
    }

    @media (min-width: 600px) {
      .company-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
      }
    }

    .card-action {
      font-size: 0.9rem;
      color: #616161;
      text-align: right;
    }

    /* ==== Mobile Layout Fixes ==== */
    @media (max-width: 600px) {
      .row.valign-wrapper {
        flex-direction: column;
        text-align: center;
      }

      .company-header {
        align-items: center;
      }

      .company-header .card-title,
      .company-header .role {
        text-align: center;
      }

      .card-content ul {
        text-align: left;
      }

      .company-logo {
        margin-bottom: 10px;
      }

      #experience {
        padding: 10px 0;
      }

  h2 {
    font-size: 22px;
    line-height: 1.4;
    margin-bottom: 20px;
  }

  #experience span.card-title {
    text-align: center;
    display: block;
  }

  #experience .card {
    margin-bottom: 1.5rem;
  }

  .experience-details .card-title {
    font-size: 1.1rem;
  }

  .experience-details .role {
    font-size: 0.9rem;
  }

  .experience-details ul li {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .logo-container img {
    max-width: 80px;
  }

  #projects .card-image img {
    height: 150px;       /* more compact for mobile screens */
    width: 90%;         /* full width */
    object-fit: cover;
  }

    }

    /* ==== Project Card Enhancements ==== */
    .card.medium {
      border-radius: 12px;
      overflow: hidden;
      transition: transform 0.3s ease;
    }

    .card.medium:hover {
      transform: translateY(-4px);
    }

    .card-image img {
      border-bottom: 2px solid #009688;
      object-fit: cover;
    }

    .card-title {
      font-weight: 600;
      font-size: 1.05rem;
    }

  /* Optional subtle fade-in animation */
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* Responsive */
  @media (max-width: 768px) {
    .caption h2 {
      font-size: 2rem;
    }
    .role-line {
      font-size: 1.2rem;
    }
    .tagline {
      font-size: 1rem;
    }
  }


@media (max-width: 600px) {
  .company-header {
    flex-wrap: wrap !important;
  }
  .company-header .role {
    margin-top: 4px;
  }
}

#experience .container {
  max-width: 1600px;   /* scales beautifully on large desktops */
  margin: 0 auto;
  padding: 0 24px;
}

#experience .card {
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
  background: #fff;
}

#experience .card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

@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: 20px;
  }
  .card .role {
    position: relative;
    right: initial;
    top: initial;
  }

}


@media (max-width: 600px) {
  h2 {
    font-size: 22px;
    line-height: 200%;
    margin: 30px 0 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;
  }
}

@media (max-width: 768px) {
  .buttons {
    margin-bottom: 20px !important;
  }
}

.btn-gradient {
  background: linear-gradient(90deg, #009688, #00796b);
  color: #fff !important;
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.card-action .btn-gradient {
  color: #fff !important;
} 

.btn-gradient:active {
  transform: scale(0.98);
}

/* Ensure button is centered inside card-action */
.card-action.center-align {
  display: flex;
  justify-content: center;
  align-items: center;
}


/* === Docs Card Styling === */
.docs-card .card-image {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px; /* Adds breathing space */
  background-color: #fafafa; /* Optional, keeps it neat */
}

.docs-card .card-image img {
  width: 80%;            /* Shrinks image size */
  height: auto;          /* Keeps aspect ratio */
  max-height: 120px;     /* Keeps it small and uniform */
  object-fit: contain;   /* Ensures full image is visible */
  transition: transform 0.3s ease;
}

.docs-card .docs-title {
  color: #004d40;               /* Deep teal for professional tone */
  font-size: 1.25rem;           /* Balanced heading size */
  font-weight: 600;             /* Medium boldness */
  margin-bottom: 6px;          /* Adds space below title */
  letter-spacing: 0.3px;        /* Slight letter spacing for clarity */
}

.docs-card .docs-description {
  color: #555;                  /* Softer gray for readability */
  font-size: 0.95rem;           /* Comfortable reading size */
  line-height: 1.5;             /* Good line spacing */
  margin-top: 5px;              /* Small buffer for visual balance */
}

.docs-card .card-image img:hover {
  transform: scale(1.05); /* Subtle hover zoom effect */
}

/* === Responsive Adjustments === */
@media (max-width: 992px) {
  .docs-card .card-image img {
    width: 70%;
    max-height: 100px;
  }
}

@media (max-width: 600px) {
  .docs-card .card-image img {
    width: 60%;
    max-height: 80px;
  }
}


/* Fix unwanted link positioning */
#contact a:not(.btn-floating) {
  position: relative;
  top: 0;
  left: 0;
  bottom: 0;
}


/* Education details styling */
.education-details {
  display: flex;
  flex-wrap: wrap;              /* makes it responsive */
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: #444;
  margin-top: 8px;
}

.education-details .college {
  color: #795548;               /* brown text */
  font-weight: 500;
}

.education-details .separator {
  color: #ccc;
  font-weight: 400;
}

.education-details .degree {
  color: #333;
  font-weight: 500;
}

/* Mobile responsive adjustments */
@media (max-width: 600px) {
  .education-details {
    flex-direction: column;     /* stack vertically on small screens */
    align-items: flex-start;
    gap: 4px;
  }
  .education-details .separator {
    display: none;
  }
}

/* === Project Cards Unified Style (Match Docs Look) === */
#projects .card {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#projects .col.s12.m6.l4 {
  padding: 0 10px; /* reduce spacing so layout fits better at 100% zoom */
}


#projects .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* === Image section smaller & centered === */
#projects .card-image {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fafafa;
  padding: 15px;
}

#projects .card-image img {
  height: 150px;
  width: 90%;
  object-fit: cover;
  border-radius: 6px 6px 0 0;
  transition: transform 0.3s ease-in-out;
}

/* Add hover zoom effect for better visual engagement */
#projects .card-image:hover img {
  transform: scale(1.05);
}

/* === Card Content (title & description) === */
#projects .card-content {
  text-align: center;
  padding: 15px 10px;
}

#projects .card-title {
  color: #004d40;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
  display: block;
}

#projects .card-content p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-top: 6px;
}

/* === Card Reveal cleanup === */
#projects .card-reveal {
  background-color: #fff;
  padding: 15px;
  border-top: 1px solid #eee;
}

#projects .card-reveal ul {
  margin: 0;
  padding-left: 20px;
  text-align: left;
}

#projects .card-reveal li {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.5;
  margin-bottom: 5px;
}

/* === Action buttons === */
#projects .card-action {
  text-align: center;
  padding-bottom: 10px;
}

#projects .btn-floating {
  background: #009688 !important;
  margin: 5px;
  transition: background 0.3s ease;
}

#projects .btn-floating:hover {
  background: #00796b !important;
}

/* Tablets (max-width: 992px) */
@media (max-width: 992px) {
  #projects .card-image img {
    height: 150px;   /* slightly smaller image height */
    width: 90%;     /* still full card width */
  }
}

/* Mobile (max-width: 600px) */
@media (max-width: 600px) {
  #projects .card-image img {
    height: 150px;   /* more compact for mobile screens */
    width: 90%;     /* full width */
  }
}

@media (max-width: 1386px) {

  /* === Experience / Card Adjustments === */
  #experience .container {
    width: 95%;                     /* narrower container for cleaner layout */
    margin: 0 auto;
  }

  .horizontal-content {
    flex-wrap: wrap;                /* allows better stacking on medium screens */
  }

  .logo-container {
    flex: 0 0 100px;                /* slightly smaller logo */
    margin-bottom: 12px;
  }

  .experience-details .card-title {
    font-size: 1.15rem;             /* slightly smaller title */
  }

  .experience-details .role {
    font-size: 0.95rem;
  }

  .card ul li {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-left: 15px;
  }
}


.card a {
    color: black !important;   /* forces black color */
    margin-right: 20px;
    transition: color 0.3s ease;
    text-transform: uppercase;
}

/* Container for all contact links */
.contact-links {
    display: flex;
    justify-content: center;   /* centers all items horizontally */
    flex-wrap: wrap;           /* allows wrapping on smaller screens */
    gap: 20px;                 /* spacing between each contact item */
    margin-top: 20px;
}

/* Each contact item */
.contact-links a.contact-item {
    display: flex;
    align-items: center;       /* vertically aligns icon + text */
    gap: 8px;                  /* space between icon and text */
    color: inherit;            /* keeps text default color */
    font-weight: 500;
    text-transform: lowercase; /* small letters for text */
    text-decoration: none;      /* remove underline */
    transition: color 0.3s ease;
}

/* Icon only styling */
.contact-links a.contact-item i {
    color: rgb(0, 150, 136);   /* teal color for icon */
    font-size: 1.2rem;         /* adjust icon size */
    transition: color 0.3s ease;
}

/* Optional hover effect */
.contact-links a.contact-item:hover i {
    color: #00796b;            /* darker teal on hover */
}

/* Text span styling */
.contact-links a.contact-item span {
    color: inherit;            /* text keeps body color */
}

.exp-section-head {
    margin-top: 10px;
    font-size: 15px;
    font-family: 'Roboto';
}

.project-section-head {
  margin-top: 10px;
  font-size: 14px;
  font-family: 'Roboto';
  font-weight: bold;
} 

.project-exp-heading {
  font-weight: 800;
  font-size: 16px;
  display: table-cell;
  font-family: 'Roboto';
  color: #555;
}

.exp-heading {
  padding: 0px 10px;
  font-size: 16px;
  font-weight: bold;
  margin: 15px 0px;
}

.company-div {
  border: none;
  height: 3px;
  background-color: #00796b;
  margin: 20px 0;
}

.technologies {
  font-size: 15px;
  font-weight: bold;
  margin-left: 12px;
}


/* Responsive tweaks for small screens */
@media (max-width: 600px) {
    .contact-links {
        flex-direction: column;   /* stack vertically */
        align-items: center;      /* center items */
        gap: 12px;                /* smaller spacing for mobile */
    }
}

/* Education card styling */
.education-card {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 25px 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.education-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

/* University Name */
.university-name {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 8px;
    margin-bottom: 1.5rem;
}

.university-name a {
    color: #004d40;         /* professional teal */
    text-decoration: none;
    transition: color 0.3s ease;
}

.university-name a:hover {
    color: #00796b;
}

/* Education details */
.education-details {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 1rem;
    color: #333;
    align-items: center;
    margin-bottom: 8px;
}

.education-details .separator {
    color: #aaa;
}

/* Duration styling */
.education-duration {
    font-size: 0.95rem;
    color: #666;
    font-style: italic;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
    .education-details {
        flex-direction: column;
        align-items: flex-start;
    }

    .education-duration {
        margin-top: 4px;
    }
}

/* ===================== Intro Section ===================== */
#intro.section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5px 0px;          /* ample top-bottom padding */
  background-size: cover;
  background-position: center;
  overflow: hidden;
  color: #004d40;
  box-sizing: border-box;
  z-index: 1;
}

#intro.section .container {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

#intro.section .card {
  width: 100%;
  box-sizing: border-box;
  padding: 20px;
  border-radius: 10px;
  background-color: #fff;
  color: #444;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

#intro.section .caption h4 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: #004d40;
  margin-bottom: 15px;
}

#intro.section .caption .name-accent {
  color: #009688;
}

#intro.section .tagline {
  font-size: clamp(1rem, 3vw, 1.2rem);
  line-height: 1.5;
  font-weight: 500;
  color: #444;
  margin-top: 10px;
  text-align: left;
  max-width: 100%;
}

#intro.section .buttons {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#intro.section .buttons a {
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

#intro.section .buttons .readme {
  background: linear-gradient(90deg, #009688, #00796b);
  color: #fff;
}

#intro.section .buttons .contactme {
  background: #fff;
  color: #009688;
  border: 2px solid #009688;
}

/* ===================== Responsive ===================== */
@media (max-width: 992px) {
  #intro.section {
    padding: 5px 0px;
  }

  #intro.section .card {
    padding: 10px;
  }

  #intro.section .tagline {
    font-size: 1rem;
  }

  #intro.section .buttons {
    flex-direction: column;
  }

  #intro.section .buttons a {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 600px) {
  #intro.section {
    padding: 5px 0px;
  }

  #intro.section .caption h4 {
    font-size: 1.5rem;
  }

  #intro.section .tagline {
    font-size: 0.95rem;
  }
}