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

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

.tracker {
  /* visibility: hidden; */
  position: fixed;
  /* margin-inline-end: auto;  */
  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;
}

/* Contact Form Styling */
#contact-form {
  margin-top: 20px;
}

#contact-form .card {
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

#contact-form .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

#contact-form .card-content {
  padding: 40px;
}

#contact-form h4 {
  margin-bottom: 30px;
  color: #004d40;
  font-weight: 600;
  font-size: 28px;
  text-align: center;
  position: relative;
}

#contact-form h4:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #004d40, #00796b);
  border-radius: 2px;
}

#contact-form .input-field {
  margin-bottom: 20px;
}

#contact-form .input-field input,
#contact-form .input-field textarea {
  border-bottom: 2px solid #e0e0e0;
  transition: border-color 0.3s ease;
}

#contact-form .input-field input:focus,
#contact-form .input-field textarea:focus {
  border-bottom: 2px solid #009688;
  box-shadow: 0 1px 0 0 #009688;
}

#contact-form .input-field label {
  color: #666;
  font-size: 0.9rem;
}

#contact-form .input-field input:focus + label,
#contact-form .input-field textarea:focus + label,
#contact-form .input-field input.valid + label,
#contact-form .input-field textarea.valid + label {
  color: #009688;
}

/* Form validation styling */
#contact-form .input-field input.valid,
#contact-form .input-field textarea.valid {
  border-color: #4caf50;
  box-shadow: 0 0 0 3px rgba(76,175,80,0.1);
}

#contact-form .input-field input.invalid,
#contact-form .input-field textarea.invalid {
  border-color: #f44336;
  box-shadow: 0 0 0 3px rgba(244,67,54,0.1);
}

#contact-form .input-field input.valid + label,
#contact-form .input-field textarea.valid + label {
  color: #4caf50;
}

#contact-form .input-field input.invalid + label,
#contact-form .input-field textarea.invalid + label {
  color: #f44336;
}

/* Loading state for button */
#contact-form .btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

#contact-form .btn i.fa-spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#contact-form .btn {
  margin-top: 30px;
  padding: 0 40px;
  height: 50px;
  line-height: 50px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 25px;
  background: linear-gradient(135deg, #004d40, #00796b);
  border: none;
  box-shadow: 0 4px 15px rgba(0,77,64,0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

#contact-form .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,77,64,0.4);
  background: linear-gradient(135deg, #00796b, #004d40);
}

#contact-form .btn:active {
  transform: translateY(0);
}

#contact-form .btn i {
  margin-left: 10px;
  transition: transform 0.3s ease;
}

#contact-form .btn:hover i {
  transform: translateX(5px);
}

/* Contact Information Styling */
.contact-info {
  margin-bottom: 40px;
}

.contact-info .col {
  margin-bottom: 30px;
  animation: fadeInUp 0.8s ease forwards; /* Animation for cards on page load */
  opacity: 0;
  transform: translateY(30px);
}

.contact-info .center {
  padding: 25px 20px;
  transition: all 0.3s ease;
  border-radius: 15px;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.1);
  height: 200px; /* Fixed height for all cards */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.contact-info .center:hover {
  transform: translateY(-8px);
  border-color: rgba(255,255,255,0.3);
}

.contact-info .center::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
  border-radius: 15px;
  z-index: -1;
}

/* Individual card color schemes - Professional and attractive */
.contact-info .col:nth-child(1) .center {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: 2px solid rgba(255,255,255,0.2);
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
}

.contact-info .col:nth-child(1) .center:hover {
  box-shadow: 0 12px 40px rgba(102, 126, 234, 0.4);
  border-color: rgba(255,255,255,0.4);
}

.contact-info .col:nth-child(2) .center {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  border: 2px solid rgba(255,255,255,0.2);
  box-shadow: 0 8px 32px rgba(240, 147, 251, 0.3);
}

.contact-info .col:nth-child(2) .center:hover {
  box-shadow: 0 12px 40px rgba(240, 147, 251, 0.4);
  border-color: rgba(255,255,255,0.4);
}

.contact-info .col:nth-child(3) .center {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  border: 2px solid rgba(255,255,255,0.2);
  box-shadow: 0 8px 32px rgba(79, 172, 254, 0.3);
}

.contact-info .col:nth-child(3) .center:hover {
  box-shadow: 0 12px 40px rgba(79, 172, 254, 0.4);
  border-color: rgba(255,255,255,0.4);
}

.contact-info .col:nth-child(4) .center {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  border: 2px solid rgba(255,255,255,0.2);
  box-shadow: 0 8px 32px rgba(67, 233, 123, 0.3);
}

.contact-info .col:nth-child(4) .center:hover {
  box-shadow: 0 12px 40px rgba(67, 233, 123, 0.4);
  border-color: rgba(255,255,255,0.4);
}

.contact-info .btn-floating {
  margin-bottom: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  background: rgba(255,255,255,0.9);
  color: #333;
  flex-shrink: 0; /* Prevent icon from shrinking */
}

.contact-info .btn-floating:hover {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  background: #ffffff;
}

.contact-info h5 {
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 18px;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
  letter-spacing: 0.5px;
  text-align: center;
  flex-shrink: 0; /* Prevent title from shrinking */
}

.contact-info p {
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  margin: 0;
  line-height: 1.4;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
  flex-shrink: 0; /* Prevent text from shrinking */
}

/* Contact link styling */
.contact-link {
  text-decoration: none;
  display: block;
  transition: all 0.3s ease;
  border-radius: 15px;
  overflow: hidden;
}

.contact-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.contact-link .center {
  transition: all 0.3s ease;
}

.contact-link:hover .center {
  transform: scale(1.02);
}

.contact-link:hover .btn-floating {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.contact-link:hover h5 {
  color: #ffffff;
  text-shadow: 0 3px 6px rgba(0,0,0,0.3);
}

/* Remove old contact link paragraph styling since we no longer have duplicate text */
.contact-link p {
  display: none;
}

/* Phone number styling (no link) */
.contact-info .center p:not(.contact-link p) {
  margin: 0;
  transition: all 0.3s ease;
}

.contact-info .center:hover p:not(.contact-link p) {
  color: rgba(255,255,255,1);
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Ensure proper text alignment */
.contact-info .center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contact-info .btn-floating {
  margin-bottom: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  background: rgba(255,255,255,0.9);
  color: #333;
}

.contact-info h5 {
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 18px;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
  letter-spacing: 0.5px;
  text-align: center;
}

/* Add subtle pattern overlay */
.contact-info .center::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
  border-radius: 15px;
  z-index: -1;
}

/* Animation for cards on page load */
.contact-info .col {
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}

.contact-info .col:nth-child(1) { animation-delay: 0.1s; }
.contact-info .col:nth-child(2) { animation-delay: 0.2s; }
.contact-info .col:nth-child(3) { animation-delay: 0.3s; }
.contact-info .col:nth-child(4) { animation-delay: 0.4s; }

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

/* Contact Form Styling */

/* Responsive Design */
@media only screen and (max-width: 768px) {
  #contact-form .card-content {
    padding: 25px;
  }
  
  #contact-form h4 {
    font-size: 24px;
  }
  
  #contact-form .btn {
    width: 100%;
    margin-top: 20px;
  }
  
  .contact-info .center {
    padding: 20px 15px;
    height: 180px; /* Slightly smaller height on mobile */
  }
  
  .contact-info .btn-floating {
    margin-bottom: 10px;
  }
  
  .contact-info h5 {
    font-size: 16px;
  }
  
  .contact-info p {
    font-size: 13px;
  }
}

@media only screen and (max-width: 600px) {
  .contact-info .col {
    margin-bottom: 20px;
  }
  
  #contact-form .card-content {
    padding: 20px;
  }
  
  #contact-form h4 {
    font-size: 22px;
  }
  
  #contact-form .input-field input,
  #contact-form .input-field textarea {
    padding: 12px 15px;
    font-size: 14px;
  }
  
  .contact-info .center {
    padding: 18px 12px;
    height: 160px; /* Even smaller height on very small screens */
  }
  
  .contact-info .btn-floating {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 20px;
  }
  
  .contact-info h5 {
    font-size: 15px;
  }
  
  .contact-info p {
    font-size: 12px;
  }
}

@media only screen and (min-width: 1200px) {
  .contact-info .center {
    height: 220px; /* Slightly larger height on large screens */
  }
  
  .contact-info h5 {
    font-size: 20px;
  }
  
  .contact-info p {
    font-size: 15px;
  }
}

/* Additional professional touches */
#contact-form .card {
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.9));
  backdrop-filter: blur(20px);
}

#contact-form .card:hover {
  background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(255,255,255,0.95));
}

/* Animation for form elements */
#contact-form .input-field {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

#contact-form .input-field:nth-child(1) { animation-delay: 0.1s; }
#contact-form .input-field:nth-child(2) { animation-delay: 0.2s; }
#contact-form .input-field:nth-child(3) { animation-delay: 0.3s; }
#contact-form .input-field:nth-child(4) { animation-delay: 0.4s; }

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

/* Success message styling */
.success-message {
  background: linear-gradient(135deg, #4caf50, #45a049);
  color: white;
  padding: 15px 25px;
  border-radius: 25px;
  text-align: center;
  margin-top: 20px;
  box-shadow: 0 4px 15px rgba(76,175,80,0.3);
  animation: slideInDown 0.5s ease;
}

@keyframes slideInDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* 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 */

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

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

.full-height {
  height: 100vh;
}

/* Original */

/* #intro.section {
  background: url(../../assets/img/white-ai-wallpaper.jpg) no-repeat top center/cover;
  position: relative;
} */

#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%;
  padding: 0 30px;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
} */

#intro.section .container *:not(span) {
  font-weight: 300;
  /* font-weight: 400; */
  line-height: 150%;
  /* padding: 0 0px; */
  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 {
  /* 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: 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: 30px;
}

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

/* main a.hoverline */

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

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

/* main .teal-text */

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

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

/* .teal */

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

/* .teal {
  background-color: #00695c !important;
} */

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

/* Simple Education Section Styling */
#education .card {
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.1);
  background: white;
  border: none;
}

#education .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

#education .card-content {
  padding: 25px;
}

#education .card-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #008073;
  margin-bottom: 15px;
  display: block;
}

#education .brown-text {
  color: #8d6e63;
  font-weight: 500;
  margin-bottom: 15px;
  font-size: 1rem;
}

#education p {
  margin-bottom: 10px;
  color: #333;
  line-height: 1.5;
}

#education ul {
  margin: 10px 0 0 20px;
  padding: 0;
}

#education li {
  margin-bottom: 5px;
  color: #555;
  line-height: 1.4;
}

#education .row {
  margin-bottom: 0;
}

#education .col {
  margin-bottom: 30px;
}

/* Contact Form Success/Error Messages */
.success-message {
  background: linear-gradient(135deg, #4caf50, #45a049);
  color: white;
  padding: 15px 25px;
  border-radius: 25px;
  text-align: center;
  margin-top: 20px;
  box-shadow: 0 4px 15px rgba(76,175,80,0.3);
  animation: slideInDown 0.5s ease;
}

.error-message {
  background: linear-gradient(135deg, #f44336, #d32f2f);
  color: white;
  padding: 15px 25px;
  border-radius: 25px;
  text-align: center;
  margin-top: 20px;
  box-shadow: 0 4px 15px rgba(244,67,54,0.3);
  animation: slideInDown 0.5s ease;
}

#form-messages {
  margin-top: 20px;
}

#form-messages i {
  margin-right: 10px;
  font-size: 18px;
}

/* Loading state for submit button */
#submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

#submit-btn .fa-spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes slideInDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Modal Styling */
.modal {
  border-radius: 15px;
  overflow: hidden;
}

.modal-content {
  padding: 40px 30px;
  text-align: center;
}

.modal .modal-footer {
  padding: 20px 0 0 0;
  text-align: center;
}

.modal .modal-footer .btn-flat {
  margin: 0 10px;
  border-radius: 25px;
  padding: 0 30px;
  height: 40px;
  line-height: 40px;
  text-transform: none;
  font-weight: 500;
}

.success-icon, .error-icon {
  margin-bottom: 20px;
}

.success-icon i {
  animation: bounceIn 0.6s ease;
}

.error-icon i {
  animation: shake 0.6s ease;
}

@keyframes bounceIn {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }
  50% {
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Ensure modals are visible and properly styled */
.modal {
  z-index: 1000 !important;
}

.modal-content {
  background: white !important;
  border-radius: 15px !important;
  padding: 40px 30px !important;
  text-align: center !important;
  max-width: 500px !important;
  margin: 0 auto !important;
}

.modal .modal-footer {
  padding: 20px 0 0 0 !important;
  text-align: center !important;
  border-top: none !important;
}

.modal .modal-footer .btn-flat {
  margin: 0 10px !important;
  border-radius: 25px !important;
  padding: 0 30px !important;
  height: 40px !important;
  line-height: 40px !important;
  text-transform: none !important;
  font-weight: 500 !important;
  color: #666 !important;
}

.modal .modal-footer .btn-flat:hover {
  background-color: #f5f5f5 !important;
}

.success-icon, .error-icon {
  margin-bottom: 20px !important;
  display: block !important;
}

.success-icon i {
  animation: bounceIn 0.6s ease !important;
  color: #4caf50 !important;
}

.error-icon i {
  animation: shake 0.6s ease !important;
  color: #f44336 !important;
}

/* Professional Contact Form Styles - Complete Redesign */
.contact-form-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin: 30px 0;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.contact-form-card .card-content {
  padding: 50px 40px;
}

.contact-form-header {
  text-align: center;
  margin-bottom: 50px;
}

.contact-icon-wrapper {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #009688, #00bcd4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  box-shadow: 0 8px 25px rgba(0, 150, 136, 0.3);
}

.contact-icon-wrapper i {
  font-size: 2.5rem;
  color: white;
}

.contact-title {
  color: #263238;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #009688, #00bcd4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-description {
  color: #666;
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.contact-form-main {
  margin-top: 40px;
}

.contact-input-field {
  margin-bottom: 30px;
  position: relative;
}

.contact-input-field input,
.contact-input-field textarea {
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  padding: 15px 15px 15px 50px;
  font-size: 1rem;
  background: #fafafa;
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.contact-input-field textarea {
  min-height: 120px;
  resize: vertical;
  padding-top: 20px;
}

.contact-input-field input:focus,
.contact-input-field textarea:focus {
  border-color: #009688;
  background: white;
  box-shadow: 0 0 20px rgba(0, 150, 136, 0.1);
  outline: none;
}

.contact-input-field label {
  color: #666;
  font-size: 0.9rem;
  font-weight: 500;
  position: absolute;
  top: 15px;
  left: 50px;
  transition: all 0.3s ease;
  pointer-events: none;
  background: white;
  padding: 0 5px;
}

.contact-input-field textarea + label {
  top: 20px;
}

.contact-input-field input:focus + label,
.contact-input-field textarea:focus + label,
.contact-input-field input:not(:placeholder-shown) + label,
.contact-input-field textarea:not(:placeholder-shown) + label {
  top: -10px;
  left: 15px;
  font-size: 0.8rem;
  color: #009688;
  background: white;
}

.contact-input-field .prefix {
  color: #009688;
  font-size: 1.2rem;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.contact-input-field textarea ~ .prefix {
  top: 25px;
  transform: none;
}

.contact-submit {
  background: linear-gradient(135deg, #009688, #00bcd4);
  border: none;
  border-radius: 50px;
  padding: 0 50px;
  height: 55px;
  line-height: 55px;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 25px rgba(0, 150, 136, 0.3);
  transition: all 0.3s ease;
  min-width: 220px;
}

.contact-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 150, 136, 0.4);
}

.contact-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.contact-submit i {
  margin-right: 10px;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .contact-form-card .card-content {
    padding: 40px 30px;
  }
  
  .contact-title {
    font-size: 2.2rem;
  }
  
  .contact-description {
    font-size: 1rem;
  }
}

@media (max-width: 992px) {
  .contact-form-card .card-content {
    padding: 35px 25px;
  }
  
  .contact-form-header {
    margin-bottom: 40px;
  }
  
  .contact-title {
    font-size: 2rem;
  }
  
  .contact-input-field {
    margin-bottom: 25px;
  }
  
  .contact-submit {
    padding: 0 40px;
    height: 50px;
    line-height: 50px;
    font-size: 1rem;
    min-width: 200px;
  }
}

@media (max-width: 768px) {
  .contact-form-card {
    margin: 20px 10px;
  }
  
  .contact-form-card .card-content {
    padding: 30px 20px;
  }
  
  .contact-form-header {
    margin-bottom: 35px;
  }
  
  .contact-icon-wrapper {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
  }
  
  .contact-icon-wrapper i {
    font-size: 2rem;
  }
  
  .contact-title {
    font-size: 1.8rem;
  }
  
  .contact-description {
    font-size: 0.95rem;
  }
  
  .contact-input-field {
    margin-bottom: 20px;
  }
  
  .contact-input-field input,
  .contact-input-field textarea {
    padding: 12px 12px 12px 45px;
    font-size: 0.95rem;
  }
  
  .contact-input-field .prefix {
    font-size: 1.1rem;
    left: 12px;
  }
  
  .contact-input-field label {
    left: 45px;
    font-size: 0.85rem;
  }
  
  .contact-submit {
    padding: 0 35px;
    height: 45px;
    line-height: 45px;
    font-size: 0.95rem;
    min-width: 180px;
  }
}

@media (max-width: 600px) {
  .contact-form-card {
    margin: 15px 5px;
  }
  
  .contact-form-card .card-content {
    padding: 25px 15px;
  }
  
  .contact-form-header {
    margin-bottom: 30px;
  }
  
  .contact-icon-wrapper {
    width: 60px;
    height: 60px;
    margin-bottom: 18px;
  }
  
  .contact-icon-wrapper i {
    font-size: 1.8rem;
  }
  
  .contact-title {
    font-size: 1.6rem;
  }
  
  .contact-description {
    font-size: 0.9rem;
  }
  
  .contact-input-field {
    margin-bottom: 18px;
  }
  
  .contact-input-field input,
  .contact-input-field textarea {
    padding: 10px 10px 10px 40px;
    font-size: 0.9rem;
  }
  
  .contact-input-field .prefix {
    font-size: 1rem;
    left: 10px;
  }
  
  .contact-input-field label {
    left: 40px;
    font-size: 0.85rem;
  }
  
  .contact-submit {
    padding: 0 30px;
    height: 42px;
    line-height: 42px;
    font-size: 0.9rem;
    min-width: 160px;
  }
}

@media (max-width: 480px) {
  .contact-form-card .card-content {
    padding: 20px 12px;
  }
  
  .contact-form-header {
    margin-bottom: 25px;
  }
  
  .contact-icon-wrapper {
    width: 55px;
    height: 55px;
    margin-bottom: 15px;
  }
  
  .contact-icon-wrapper i {
    font-size: 1.6rem;
  }
  
  .contact-title {
    font-size: 1.4rem;
  }
  
  .contact-description {
    font-size: 0.85rem;
  }
  
  .contact-input-field {
    margin-bottom: 15px;
  }
  
  .contact-submit {
    padding: 0 25px;
    height: 40px;
    line-height: 40px;
    font-size: 0.85rem;
    min-width: 140px;
  }
}

/* Large Screen Enhancements */
@media (min-width: 1400px) {
  .contact-form-card .card-content {
    padding: 50px 40px;
  }
  
  .contact-title {
    font-size: 2.5rem;
  }
  
  .contact-description {
    font-size: 1.2rem;
  }
  
  .contact-input-field {
    margin-bottom: 30px;
  }
  
  .contact-input-field input,
  .contact-input-field textarea {
    font-size: 1.1rem;
  }
  
  .contact-submit {
    padding: 0 50px;
    height: 55px;
    line-height: 55px;
    font-size: 1.2rem;
    min-width: 220px;
  }
}

/* Success/Error Messages */
.success-message, .error-message {
  padding: 15px;
  border-radius: 8px;
  margin: 20px 0;
  font-weight: 500;
}

.success-message {
  background-color: #e8f5e8;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

.error-message {
  background-color: #ffebee;
  color: #c62828;
  border: 1px solid #ffcdd2;
}

.success-message i, .error-message i {
  margin-right: 10px;
}

/* Modal Enhancements */
.modal {
  z-index: 1000;
  border-radius: 15px;
  overflow: hidden;
}

.modal-content {
  background: white;
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.modal .modal-footer {
  padding: 20px 0 0 0;
  text-align: center;
  border-top: none;
}

.modal .modal-footer .btn-flat {
  margin: 0 10px;
  border-radius: 25px;
  padding: 0 30px;
  height: 40px;
  line-height: 40px;
  text-transform: none;
  font-weight: 500;
  color: #666;
}

.modal .modal-footer .btn-flat:hover {
  background-color: #f5f5f5;
}

.success-icon, .error-icon {
  margin-bottom: 20px;
  display: block;
}

.success-icon i {
  animation: bounceIn 0.6s ease;
  color: #4caf50;
}

.error-icon i {
  animation: shake 0.6s ease;
  color: #f44336;
}

@keyframes bounceIn {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.05); }
  70% { transform: scale(0.9); }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Profile Picture Fix */
.profile-pic {
  width: 120px !important;
  height: 120px !important;
  object-fit: cover !important;
  border: 3px solid #009688 !important;
  box-shadow: 0 4px 15px rgba(0, 150, 136, 0.3) !important;
}

/* Contact Form Styling */
#contact-form {
  margin-top: 20px;
}

#contact-form .input-field {
  margin-bottom: 20px;
}

#contact-form .input-field input,
#contact-form .input-field textarea {
  border-bottom: 2px solid #e0e0e0;
  transition: border-color 0.3s ease;
}

#contact-form .input-field input:focus,
#contact-form .input-field textarea:focus {
  border-bottom: 2px solid #009688;
  box-shadow: 0 1px 0 0 #009688;
}

#contact-form .input-field label {
  color: #666;
  font-size: 0.9rem;
}

#contact-form .input-field input:focus + label,
#contact-form .input-field textarea:focus + label,
#contact-form .input-field input.valid + label,
#contact-form .input-field textarea.valid + label {
  color: #009688;
}

#contact-form .prefix {
  color: #009688;
  font-size: 1.2rem;
  margin-top: 10px;
}

#submit-btn {
  margin-top: 20px;
  padding: 0 30px;
  height: 45px;
  line-height: 45px;
  border-radius: 25px;
  font-weight: 500;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 150, 136, 0.3);
  transition: all 0.3s ease;
}

#submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 150, 136, 0.4);
}

#submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}