@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Poppins:wght@400;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&display=swap");

/* Enhanced Contact Section Styles */
.contact-glass {
  background: rgba(255,255,255,0.25);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 2rem;
  border: 1px solid rgba(255,255,255,0.18);
  padding: 2.5rem 2rem;
}

.contact .content form {
  background: rgba(229,236,251,0.7);
  border-radius: 1.2rem;
  box-shadow: 0 4px 16px rgba(48, 68, 247, 0.10);
  padding: 2rem 2rem 1rem 2rem;
}

.form-group .field input,
.form-group .message textarea {
  background: rgba(255,255,255,0.7);
  border: 1.5px solid #2506ad;
  box-shadow: 0 2px 8px rgba(48, 68, 247, 0.08);
  transition: border 0.3s, box-shadow 0.3s;
}
.form-group .field input:focus,
.form-group .message textarea:focus {
  border: 2px solid #421cec;
  box-shadow: 0 0 0 2px #e5ecfb;
}

.button-area button {
  background: linear-gradient(90deg, #ff8d28 0%, #8b5cf6 100%);
  box-shadow: 0px 5px 10px rgba(247, 127, 3, 0.25);
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: background 0.3s, box-shadow 0.3s;
}
.button-area button:hover {
  background: linear-gradient(90deg, #8b5cf6 0%, #ff8d28 100%);
  box-shadow: 0px 8px 20px rgba(247, 127, 3, 0.35);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  text-transform: capitalize;
}

*:focus {
  outline: none;
}

*:focus-visible {
  outline: 2px solid #421cec;
  outline-offset: 3px;
  border-radius: 3px;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}
html::-webkit-scrollbar {
  width: 0.8rem;
}
html::-webkit-scrollbar-track {
  background: rgb(235, 202, 245);
}
html::-webkit-scrollbar-thumb {
  background: #420177;
}

body {
  background: #f7f7f7;
  font-family: "Poppins", sans-serif;
}

*::selection {
  background: #2b3dda;
  color: #fff;
}

/* ===== SCROLL ANIMATION ENHANCEMENTS ===== */
.animate-in {
  animation: fadeInUp 0.8s ease-out;
}

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

/* Enhanced hover animations for interactive elements */
.btn, .bar, .box, .highlight-item, .info-item {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* scroll-behavior and scroll-padding-top are set in the html reset above */

/* Enhanced section transitions */
section {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease-out;
}

/* Preload animation states */
.sr-hidden {
  opacity: 0;
  transform: translateY(20px);
}

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

/* ===== ADDITIONAL ANIMATION CLASSES ===== */
.fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

.slide-in-left {
  animation: slideInLeft 0.8s ease-out forwards;
}

.slide-in-right {
  animation: slideInRight 0.8s ease-out forwards;
}

.slide-in-bottom {
  animation: slideInBottom 0.8s ease-out forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInBottom {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced skill bars animation */
.skills .container .bar {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.skills .container .bar.animate {
  opacity: 1 !important;
  transform: translateY(0);
}

/* Ensure all skill bars are fully visible when animated */
.skills .container .bar.animate * {
  opacity: 1 !important;
}

/* Force visibility for skill icons */
.skills .container .bar .info img {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Staggered animation for multiple elements */
.animate-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.animate-stagger.animate > *:nth-child(1) { transition-delay: 0.1s; }
.animate-stagger.animate > *:nth-child(2) { transition-delay: 0.2s; }
.animate-stagger.animate > *:nth-child(3) { transition-delay: 0.3s; }
.animate-stagger.animate > *:nth-child(4) { transition-delay: 0.4s; }
.animate-stagger.animate > *:nth-child(5) { transition-delay: 0.5s; }
.animate-stagger.animate > *:nth-child(6) { transition-delay: 0.6s; }

.animate-stagger.animate > * {
  opacity: 1;
  transform: translateY(0);
}

/* pre loader start */
.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  background: #e6eff1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}
.loader-container.fade-out {
  top: -120%;
}
/* pre loader end */

/* navbar starts */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.7rem 10%;
  height: 6.5rem;
  background-color: #fff;
  box-shadow: 0 1px 4px rgba(146, 161, 176, 0.3);
}
section {
  min-height: 100vh;
  padding: 2rem 9%;
}
.heading {
  font-size: 3.5rem;
  color: rgb(32, 32, 32);
  font-weight: 800;
  text-align: center;
  margin-bottom: 3rem;
  padding-top: 1rem;
}
.heading span {
  color: var(--c-accent);
}
.heading i {
  margin-right: 1rem;
  color: var(--c-accent);
}
header .logo {
  font-size: 1.9rem;
  font-weight: 800;
  text-decoration: none;
  color: #0e2431;
}
header .logo i {
  font-size: 2.2rem;
}
header .logo:hover {
  color: #fc8c05;
}
header .navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
}
header .navbar li {
  margin-left: 2.5rem;
}
header .navbar ul li a {
  font-size: 1.57rem;
  color: #0e2431;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.04rem;
  transition: 0.2s;
}
header .navbar ul li a.active,
header .navbar ul li a:hover {
  color: #011aff;
  border-bottom: 0.2rem solid #011aff;
  padding: 0.5rem 0;
}
/* navbar ends */

/* hamburger icon starts*/
#menu {
  font-size: 3rem;
  cursor: pointer;
  color: rgb(24, 2, 63);
  display: none;
}
@media (max-width: 768px) {
  #menu {
    display: block;
  }
  header .navbar {
    position: fixed;
    top: 6.5rem;
    right: -120%;
    width: 75%;
    height: 100%;
    text-align: left;
    align-items: flex-start;
    background-color: #0e0f31;
    z-index: 999;
  }
  header .navbar ul {
    flex-flow: column;
    padding: 1rem;
  }
  header .navbar ul li {
    text-align: center;
    width: 100%;
    margin: 1rem 0;
    border-radius: 0.5rem;
    width: 26rem;
  }
  header .navbar ul li a {
    display: block;
    padding: 1rem;
    text-align: left;
    color: #fff;
    font-size: 2rem;
  }
  header .navbar ul li a.active,
  header .navbar ul li a:hover {
    padding: 1rem;
    color: #fff;
    border-radius: 0.5rem;
    border-bottom: 0.5rem solid #011aff;
  }
  .fa-times {
    transform: rotate(180deg);
  }
  header .navbar.nav-toggle {
    right: 0;
  }
}
/* hamburger icon ends */

/* hero section starts*/
.home {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  min-height: 100vh;
  align-items: center;
  padding: 8rem 2rem 2rem 2rem;
}
.home #particles-js {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}
.home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}
.home .content {
  flex: 1 1 40rem;
  padding-top: 1rem;
  z-index: 1;
  position: relative;
}
.home .image {
  flex: 1 1 40rem;
  z-index: 1;
  position: relative;
}
.home .image img {
  width: 100%;
  max-width: 360px;
  height: auto;            /* override the HTML height="400" attr so aspect-ratio wins */
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: 0 auto;
  display: block;
  border-radius: 50%;
  /* brand gradient ring — readable in both light & dark */
  border: 4px solid transparent;
  background:
    var(--c-bg, #f8fafc) padding-box,
    var(--g-brand-diag, linear-gradient(135deg, #ff8d28 0%, #8b5cf6 100%)) border-box;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.home .image img:hover {
  box-shadow: 0 12px 32px rgba(139, 92, 246, 0.28);
}
.home .content h2 {
  font-size: 5rem;
  font-weight: 800;
  color: #002057;
}
.home .content h2 span {
  font-size: 5rem;
  font-weight: 800;
  background: linear-gradient(90deg, #ff8d28 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.home .content p {
  font-size: 2.5rem;
  color: #000;
  font-weight: 600;
  padding: 1rem 0;
  margin-bottom: 2.5rem;
}
.home .content p span {
  font-size: 2.5rem;
  color: var(--c-accent);
  font-weight: 600;
  padding: 1rem 0;
}
/* Enhanced Main Button */
.home .btn {
  margin-top: 3.5rem;
  position: relative;
  line-height: 0;
  padding: 1.6rem 3rem;
  border-radius: 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  color: #fff;
  background: linear-gradient(135deg, #ff8d28 0%, #8b5cf6 100%);
  box-shadow: 0 8px 25px rgba(247, 127, 3, 0.3);
  font-family: "Nunito", sans-serif;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.home .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.home .btn:hover::before {
  left: 100%;
}

.home .btn span {
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: 0.1rem;
  position: relative;
  z-index: 1;
}
.home .btn i {
  margin-left: 0.3rem;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}
.home .btn:hover {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(247, 127, 3, 0.4);
}
.home .btn:hover i {
  transform: translateX(8px);
}
/* Enhanced Social Icons */
.socials {
  position: relative;
  margin-top: 4rem;
}
.socials .social-icons {
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}
.socials .social-icons li {
  display: inline-block;
  margin-bottom: 14px;
}

/* Beautiful Enhanced Social Icons */
.social-icons a {
  font-size: 2rem;
  display: inline-block;
  line-height: 44px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 44px;
  height: 44px;
  text-align: center;
  margin-right: 8px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.social-icons a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.social-icons a:hover::before {
  left: 100%;
}

.social-icons a:active,
.social-icons a:focus,
.social-icons a:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.social-icons a.github {
  background: linear-gradient(135deg, #333 0%, #24292e 100%);
  color: #fff;
}
.social-icons a.github:hover {
  background: linear-gradient(135deg, #24292e 0%, #000 100%);
  box-shadow: 0 8px 25px rgba(36, 41, 46, 0.4);
}

.social-icons a.twitter {
  background: linear-gradient(135deg, #1da1f2 0%, #0d8bd9 100%);
  color: #fff;
}
.social-icons a.twitter:hover {
  background: linear-gradient(135deg, #0d8bd9 0%, #0a6bb3 100%);
  box-shadow: 0 8px 25px rgba(29, 161, 242, 0.4);
}

.social-icons a.linkedin {
  background: linear-gradient(135deg, #0077b5 0%, #005582 100%);
  color: #fff;
}
.social-icons a.linkedin:hover {
  background: linear-gradient(135deg, #005582 0%, #004066 100%);
  box-shadow: 0 8px 25px rgba(0, 119, 181, 0.4);
}

.social-icons a.dev {
  background: linear-gradient(135deg, #000 0%, #333 100%);
  color: #fff;
}
.social-icons a.dev:hover {
  background: linear-gradient(135deg, #333 0%, #555 100%);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.social-icons a.instagram {
  background: linear-gradient(135deg, #e4405f 0%, #c13584 50%, #833ab4 100%);
  color: #fff;
}
.social-icons a.instagram:hover {
  background: linear-gradient(135deg, #c13584 0%, #833ab4 50%, #5b2c87 100%);
  box-shadow: 0 8px 25px rgba(196, 53, 132, 0.4);
}

.social-icons a.medium {
  background: linear-gradient(135deg, #000 0%, #333 100%);
  color: #fff;
}
.social-icons a.medium:hover {
  background: linear-gradient(135deg, #333 0%, #555 100%);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}
/* social icons end */

/* hero media queries starts*/
@media (max-width: 1024px) {
  .home {
    flex-direction: column-reverse;
    text-align: center;
    padding: 8rem 2rem 3rem 2rem;
    min-height: auto;
    gap: 2rem;
  }
  .home .image img {
    width: 45%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .home {
    padding: 8rem 2rem 2rem 2rem;
  }
  .home .content {
    flex: 1 1 auto;
    padding-top: 1rem;
  }
  .home .image {
    flex: 1 1 auto;
    margin-bottom: 2rem;
  }
  .home .image img {
    width: 50%;
    margin: 0 auto;
  }
  .home .content h2 {
    font-size: 3.5rem;
  }
  .home .content h2 span {
    font-size: 3.5rem;
  }
  .home .content p {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  .home .content p span {
    font-size: 2rem;
  }
}

@media (max-width: 450px) {
  .home {
    padding: 8rem 1rem 1rem 1rem;
  }
  .home .btn {
    margin: 2rem 0;
    padding: 1.4rem 2.5rem;
  }
  .home .btn span {
    font-size: 1.5rem;
  }
  .socials {
    margin-top: 2rem;
  }
  .home .image img {
    width: 60%;
    margin: 0 auto;
    margin-top: 1rem;
  }
  .home .content h2 {
    font-size: 3rem;
  }
  .home .content h2 span {
    font-size: 3rem;
  }
  .home .content p {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }
  .home .content p span {
    font-size: 1.8rem;
  }
}

@media (max-width: 360px) {
  .home {
    padding: 7rem 0.5rem 1rem 0.5rem;
  }
  .home .image img {
    width: 65%;
    margin-top: 1.5rem;
  }
  .home .content h2 {
    font-size: 2.5rem;
  }
  .home .content h2 span {
    font-size: 2.5rem;
  }
  .home .content p {
    font-size: 1.6rem;
  }
  .home .content p span {
    font-size: 1.6rem;
  }
}
/* hero media queries ends*/
/* hero section end */

/* about section starts */
.about {
  background: rgb(255, 255, 255);
}
.about .row {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 4rem;
}
.about .row .image {
  text-align: center;
  flex: 1 1 35rem;
}
.about .row .image img {
  margin: 4rem;
  width: 30rem;
  height: auto;
  border-radius: 5%;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.6);
  mix-blend-mode: luminosity;
  transition: 0.3s;
  cursor: pointer;
}
.about .row .image img:hover {
  mix-blend-mode: normal;
}
.about .row .content {
  flex: 1 1 45rem;
  padding: 3rem;
}
.about .row .content h3 {
  color: rgb(27, 27, 27);
  font-size: 2.5rem;
}
.about .row .content .tag {
  font-size: 1.4rem;
  color: #020133;
  font-weight: 600;
  margin-top: 1rem;
}
.about .row .content p {
  font-size: 1.5rem;
  margin-top: 1.5rem;
  font-family: "Nunito";
  font-weight: 600;
  text-transform: none;
}
.about .row .content .box-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-family: "Nunito";
  font-weight: 600;
}
.about .row .content .box-container .box p {
  text-transform: none;
}
.about .row .content .box-container .box p span {
  color: #011aff;
}

/* Enhanced About Section Styles */
.expertise-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
  padding: 2rem 0;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, #f8f9ff 0%, #e6f0ff 100%);
  border-radius: 1rem;
  border: 1px solid #e1e8f0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.highlight-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(37, 6, 173, 0.15);
  border-color: #2506ad;
}

.highlight-item i {
  font-size: 3rem;
  color: #2506ad;
  min-width: 3rem;
  margin-top: 0.5rem;
}

.highlight-item h4 {
  font-size: 1.6rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.highlight-item p {
  font-size: 1.3rem;
  color: #5a6c7d;
  line-height: 1.4;
  margin: 0;
}

.cert-description {
  color: #5a6c7d;
  font-size: 1.4rem;
  margin-bottom: 2rem;
  font-style: italic;
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0 3rem;
  justify-items: center;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, #fff5f5 0%, #f0f8ff 100%);
  border-radius: 1rem;
  border: 1px solid #e8f4f8;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.info-item i {
  font-size: 2.5rem;
  color: var(--c-accent);
  min-width: 2.5rem;
}

.info-item h4 {
  font-size: 1.5rem;
  color: #2c3e50;
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.info-item p {
  font-size: 1.3rem;
  color: #5a6c7d;
  margin: 0;
}

/* Enhanced Resume Button */
.resumebtn {
  margin-top: 4rem;
}
.resumebtn .btn {
  padding: 1.7rem 3rem;
  border-radius: 1.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  color: #fff;
  background: linear-gradient(135deg, #ff8d28 0%, #8b5cf6 100%);
  box-shadow: 0 8px 25px rgba(247, 127, 3, 0.3);
  font-family: "Nunito", sans-serif;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.resumebtn .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.resumebtn .btn:hover::before {
  left: 100%;
}

.resumebtn .btn span {
  font-weight: 600;
  font-size: 1.8rem;
  letter-spacing: 0.1rem;
  position: relative;
  z-index: 1;
}
.resumebtn .btn i {
  margin-left: 0.3rem;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}
.resumebtn .btn:hover {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(247, 127, 3, 0.4);
}
.resumebtn .btn:hover i {
  transform: translateX(8px);
}
/* about media queries starts*/
@media screen and (max-width: 600px) {
  .about .row .image {
    margin-top: 2rem;
  }
  .about .row .image img {
    margin: 0 auto;
    width: 80%;
    mix-blend-mode: normal;
  }
  .about .row {
    padding: 0.5rem;
    margin-bottom: 7rem;
  }
  .about .row .content {
    padding: 1rem;
  }
  .about .row .content .box-container {
    gap: 0;
  }
  
  /* Enhanced About Section Mobile Styles */
  .expertise-highlights {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
  }
  
  .highlight-item {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 1.5rem;
  }
  
  .highlight-item i {
    font-size: 2.5rem;
    margin: 0;
  }
  
  .about .certifications-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .contact-info {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  
  .info-item {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}
/* about media queries ends*/
/* about section ends */

/* skills section starts */
.skills {
  min-height: 90vh;
  background: linear-gradient(to bottom, #57059e, #4a00e0);
  padding: 5rem 0;
  margin-bottom: 2rem;
}
.skills h2 {
  color: #fff;
}
.skills .heading span {
  color: rgb(255, 230, 0);
}
.skills .container {
  background: rgba(0, 0, 22, 0.4);
  color: #fff;
  border-radius: 1rem;
  padding: 2rem;
  width: 90%;
  margin: auto;
  margin-top: 2rem;
}
.skills .container .row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  justify-items: center;
  align-items: stretch;
}
.skills .container .bar {
  margin-bottom: 0;
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  background: rgba(0, 0, 22, 0.9);
  transition: 0.3s ease;
  width: 100%;
  max-width: 200px;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.skills .container .bar:hover {
  box-shadow: 0 8px 20px rgba(0, 2, 68, 0.8) !important;
  background-color: rgba(0, 0, 0, 0.9) !important;
  transform: translateY(-5px);
}
.skills .container .bar .info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  width: 100%;
}
.skills .container .bar .info img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  opacity: 1 !important;
  filter: none !important;
  transition: all 0.3s ease;
}

.skills .container .bar .info img:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}
.skills .container .bar .info i {
  font-size: 4rem;
}
.skills .container .bar .info span {
  font-size: 1.4rem;
  font-weight: 500;
  font-family: "Poppins";
  margin: 0;
  line-height: 1.2;
  word-wrap: break-word;
}
/* skills media queries starts*/
@media screen and (max-width: 1200px) {
  .skills .container .row {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
  }
}

@media screen and (max-width: 900px) {
  .skills .container .row {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
  .skills .container {
    width: 95%;
  }
}

@media screen and (max-width: 768px) {
  .skills {
    padding: 3rem 0;
    margin-bottom: 1rem;
  }
  .skills .container {
    padding: 2rem 1.5rem;
    margin: 1.5rem auto;
  }
  .skills .container .row {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
  }
  .skills .container .bar {
    padding: 1.5rem 1rem;
    min-height: 110px;
  }
  .skills .container .bar .info img {
    width: 42px;
    height: 42px;
  }
  .skills .container .bar .info span {
    font-size: 1.2rem;
    line-height: 1.3;
  }
}

@media screen and (max-width: 600px) {
  .skills .container {
    padding: 1.5rem 1rem;
    margin: 1rem auto;
    width: 98%;
  }
  .skills .container .row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .skills .container .bar {
    padding: 1.5rem 0.8rem;
    min-height: 100px;
    max-width: none;
  }
  .skills .container .bar .info {
    gap: 0.8rem;
  }
  .skills .container .bar .info img {
    width: 38px;
    height: 38px;
  }
  .skills .container .bar .info span {
    font-size: 1.1rem;
    line-height: 1.2;
  }
}

@media screen and (max-width: 480px) {
  .skills .container .row {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }
  .skills .container .bar {
    padding: 1.2rem 0.6rem;
    min-height: 95px;
  }
  .skills .container .bar .info img {
    width: 36px;
    height: 36px;
  }
  .skills .container .bar .info span {
    font-size: 1rem;
    line-height: 1.1;
  }
}

@media screen and (max-width: 360px) {
  .skills .container {
    padding: 1rem 0.5rem;
  }
  .skills .container .row {
    gap: 0.6rem;
  }
  .skills .container .bar {
    padding: 1rem 0.5rem;
    min-height: 85px;
  }
  .skills .container .bar .info {
    gap: 0.6rem;
  }
  .skills .container .bar .info img {
    width: 32px;
    height: 32px;
  }
  .skills .container .bar .info span {
    font-size: 0.9rem;
  }
}
/* skills media queries ends*/
/* skills section ends */

/* education section starts */
.education {
  background: #e5ecfb;
  min-height: 80vh;
}
.education .qoute {
  font-size: 1.5rem;
  text-align: center;
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  margin-top: 0.5rem;
}
.education .box-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.education .box-container .box {
  display: flex;
  flex-direction: row;
  width: 80%;
  border-radius: 0.5rem;
  box-shadow: 0.2rem 0.5rem 1rem rgba(0, 0, 0, 0.2);
  text-align: center;
  position: relative;
  margin-top: 2rem;
  overflow: hidden;
  transition: 0.3s;
  background: rgb(252, 252, 252);
}
.education .box-container .box:hover {
  transform: scale(1.03);
  box-shadow: 1rem 0.5rem 1.2rem rgba(0, 0, 0, 0.3);
}
.education .box-container .box .image {
  flex: 1 1 20rem;
  width: 100%;
}
.education .box-container .box img {
  object-fit: cover;
  position: relative;
  width: 100%;
  height: 100%;
}
.education .box-container .box .content {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  flex-wrap: wrap;
  flex: 1 1 70rem;
}
.education .box-container .box .content h3 {
  font-size: 2.5rem;
  color: #012970;
  padding: 0.5rem 0;
  font-weight: 600;
  text-align: left;
  margin-left: 1rem;
}
.education .box-container .box .content p {
  font-size: 1.5rem;
  margin-left: 1rem;
  text-align: left;
}
.education h4 {
  font-size: 2rem;
  color: rgb(34, 109, 0);
  text-align: left;
  margin: 1rem;
  font-family: "Nunito", sans-serif;
  font-weight: 700;
}

/* education media queries starts*/
@media screen and (max-width: 600px) {
  .education .box-container .box {
    flex-direction: column;
    width: 100%;
  }
  .education .box-container .box .image {
    width: 100%;
    height: 25rem;
  }
  .education .box-container .box img {
    width: 100%;
  }
  .education .box-container .box .content {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    flex-wrap: wrap;
    flex: 0;
  }
  .education .btns {
    margin-top: 2rem;
    margin-left: 1rem;
    margin-right: 1rem;
    flex-wrap: wrap;
  }
}
/* education media queries ends*/
/* education section ends */

/* work section starts */
.work {
  /* background: #010124; */
  background: linear-gradient(to bottom, #000031, #00002c);
}
.work h2 {
  color: #fff;
  padding: 1rem;
}
.work .heading span {
  color: rgb(255, 230, 0);
}
.work .box-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 2rem;
}
.work .box-container .box {
  flex: 1 1 30rem;
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  height: 30rem;
}
.work .box-container .box img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.work .box-container .box .content {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 85%;
  left: 0;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
}
.work .box-container .box .content .tag {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: 4.5rem;
  width: 100%;
  padding-left: 1rem;
  background: #ffd900;
}
.work .box-container .box .content .tag h3 {
  font-size: 2rem;
}
.work .box-container .box:hover .content {
  top: 25%;
}
.work .desc {
  margin: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.work .desc p {
  font-size: 1.5rem;
}
.work .desc .btns {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 2rem;
}
.work .desc .btns .btn {
  line-height: 0;
  display: inline;
  padding: 1.5rem 2.5rem;
  border-radius: 0.5rem;
  font-size: 1.5rem;
  color: #fff;
  background: rgb(12, 12, 12);
  margin-right: 2rem;
}
.work .desc .btns .btn:hover {
  background: #310ae0f5;
}
.work .viewall {
  display: flex;
  justify-content: center;
}
.work .viewall .btn {
  position: relative;
  line-height: 0;
  padding: 1.6rem 3rem;
  border-radius: 0.5em;
  transition: 0.5s;
  color: rgb(255, 255, 255);
  font-weight: 700;
  border: 2px solid #fff;
  box-shadow: 0px 5px 10px rgba(65, 84, 241, 0.4);
  text-align: center;
}
.work .viewall .btn span {
  font-weight: 600;
  font-size: 1.7rem;
  font-family: "Nunito", sans-serif;
}
.work .viewall .btn i {
  margin-left: 0.3rem;
  font-size: 1.5rem;
  transition: 0.3s;
}
.work .viewall .btn:hover {
  background: #fff;
  color: #000;
}
.work .viewall .btn:hover i {
  transform: translateX(5px);
}
/* work section ends */

/* experience section starts */
.experience .timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}
.experience .timeline::after {
  content: "";
  position: absolute;
  width: 6px;
  background: #020133;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
  z-index: -2;
}
.experience .container {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}
/*circles on timeline*/
.experience .container::after {
  content: "\f0b1";
  position: absolute;
  width: 25px;
  height: 25px;
  right: -17px;
  background-color: rgb(255, 255, 255);
  border: 4px solid #ff9f55;
  top: 15px;
  border-radius: 50%;
  z-index: 100;
  font-size: 1.89rem;
  text-align: center;
  font-weight: 600;
  color: #02094b;
  font-family: "Font Awesome\ 5 Free";
}
.experience .left {
  left: 0;
}
.experience .right {
  left: 50%;
}
/* arrows pointing right */
.experience .left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 30px;
  border: medium solid #f68c09;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent #f68c09;
}
/* arrows pointing left  */
.experience .right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid #f68c09;
  border-width: 10px 10px 10px 0;
  border-color: transparent #f68c09 transparent transparent;
}
.experience .right::after {
  left: -16px;
}
.experience .content {
  background-color: #f68c09;
  position: relative;
  border-radius: 6px;
}
.experience .content .tag {
  font-size: 1.3rem;
  padding-top: 1.5rem;
  padding-left: 1.5rem;
}
.experience .content .desc {
  margin-left: 1.5rem;
  padding-bottom: 1rem;
}
.experience .content .desc h3 {
  font-size: 1.5rem;
  font-weight: 600;
}
.experience .content .desc p {
  font-size: 1.2rem;
}
/* Enhanced More/View All Button */
.morebtn {
  display: flex;
  justify-content: center;
}
.morebtn .btn {
  position: relative;
  line-height: 0;
  padding: 1.6rem 3rem;
  border-radius: 1.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  color: #fff;
  background: linear-gradient(135deg, #ff8d28 0%, #8b5cf6 100%);
  box-shadow: 0 8px 25px rgba(247, 127, 3, 0.3);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.morebtn .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.morebtn .btn:hover::before {
  left: 100%;
}

.morebtn .btn span {
  font-weight: 600;
  font-size: 1.7rem;
  font-family: "Nunito", sans-serif;
  position: relative;
  z-index: 1;
}
.morebtn .btn i {
  margin-left: 0.3rem;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}
.morebtn .btn:hover {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(247, 127, 3, 0.4);
}
.morebtn .btn:hover i {
  transform: translateX(8px);
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {
  .experience {
    min-height: 80vh;
  }
  .experience .timeline {
    margin-top: 2rem;
  }
  .experience .timeline::after {
    left: 31px;
  }
  .experience .container {
    width: 100%;
    padding-left: 8rem;
    padding-right: 2rem;
  }
  .experience .container::after {
    font-size: 2.2rem;
  }
  .experience .container::before {
    left: 61px;
    border: medium solid #f68c09;
    border-width: 10px 10px 10px 0;
    border-color: transparent #f68c09 transparent transparent;
  }
  .experience .left::after {
    left: 15px;
  }
  .experience .right::after {
    left: 15px;
  }
  .experience .right {
    left: 0%;
  }
  .morebtn {
    margin-top: 3rem;
  }
}
/* experience media queries ends */
/* experience section ends */

/* contact section starts */
.contact {
  background: #e5ecfb;
  min-height: 60vh;
}
.contact .container {
  max-width: 1050px;
  width: 100%;
  background: #fff;
  border-radius: 1.5rem;
  margin: 2rem 5rem;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}
.contact .container .content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.5rem 2rem;
}
.contact .content .image-box {
  max-width: 60%;
  margin-left: 4rem;
}
.contact .content .image-box img {
  width: 100%;
  height: 40rem;
  position: relative;
}
.contact .content form {
  width: 45%;
  margin-right: 3.5rem;
}
form .form-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.form-group .field {
  height: 50px;
  display: flex;
  position: relative;
  margin: 1rem;
  width: 100%;
}
form i {
  position: absolute;
  top: 50%;
  left: 18px;
  color: rgb(51, 51, 51);
  font-size: 17px;
  pointer-events: none;
  transform: translateY(-50%);
}
form .field input,
form .message textarea {
  width: 100%;
  height: 100%;
  outline: none;
  padding: 0 16px 0 48px;
  font-size: 16px;
  font-family: "Poppins", sans-serif;
  border-radius: 5px;
  border: 1px solid rgb(51, 51, 51);
  background: #e5ecfb;
}
.field input::placeholder,
.message textarea::placeholder {
  color: rgb(51, 51, 51);
}
.field input:focus,
.message textarea:focus {
  padding-left: 47px;
  border: 2px solid rgb(115, 3, 167);
}
.field input:focus ~ i,
.message textarea:focus ~ i {
  color: rgb(115, 3, 167);
}
form .message {
  position: relative;
  margin: 1rem;
  width: 100%;
}
form .message i {
  top: 25px;
  font-size: 20px;
  left: 15px;
}
form .message textarea {
  min-height: 130px;
  max-height: 230px;
  max-width: 100%;
  min-width: 100%;
  padding: 12px 20px 0 48px;
}
form .message textarea::-webkit-scrollbar {
  width: 0px;
}
form .button-area {
  display: flex;
  float: right;
  flex-direction: row-reverse;
}
/* Enhanced Contact Form Button */
.button-area button {
  color: #fff;
  border: none;
  outline: none;
  font-size: 1.8rem;
  cursor: pointer;
  border-radius: 1.5rem;
  padding: 15px 30px;
  background: linear-gradient(135deg, #ff8d28 0%, #8b5cf6 100%);
  box-shadow: 0 8px 25px rgba(247, 127, 3, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.button-area button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.button-area button:hover::before {
  left: 100%;
}

.button-area button:hover {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(247, 127, 3, 0.4);
}
.button-area span {
  font-size: 17px;
  padding: 1rem;
  display: none;
}
.button-area button i {
  position: relative;
  top: 6px;
  left: 2px;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  color: #fff;
  z-index: 1;
}
.button-area button:hover i {
  left: 10px;
}
/* contact section media queries starts */
@media (max-width: 900px) {
  .contact {
    min-height: 70vh;
  }
  .contact .container {
    margin: 3rem 0 2rem 0;
  }
  .contact .container .content {
    padding: 18px 12px;
  }
  .contact .content .image-box {
    display: none;
  }
  .contact .content form {
    width: 100%;
    margin-right: 2rem;
  }
}
/* contact section media queries ends */
/* contact section ends */

/* footer section starts */
.footer {
  min-height: auto;
  padding-top: 0;
  background: rgb(0, 1, 43);
}
.footer .box-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.footer .box-container .box {
  flex: 1 1 25rem;
  margin: 2.5rem;
}
.footer .box-container .box h3 {
  font-size: 2.5rem;
  color: #fff;
  padding-bottom: 1rem;
  font-weight: normal;
}
.footer .box-container .box p {
  font-size: 1.5rem;
  color: #ccc;
  padding: 0.7rem 0;
  text-transform: none;
}
.footer .box-container .box p i {
  padding-right: 1rem;
  color: #ffae00;
}
.footer .box-container .box a {
  font-size: 1.5rem;
  color: rgb(238, 238, 238);
  padding: 0.3rem 0;
  display: block;
}
.footer .box-container .box a:hover {
  color: #ffae00;
}
.footer .box-container .box .share {
  display: flex;
  flex-wrap: wrap;
  padding: 1rem 0;
  list-style: none;
}
.footer .box-container .box .share a {
  height: 4.4rem;
  width: 4.4rem;
  padding: 0;
  text-align: center;
  border-radius: 1.2rem;
  font-size: 1.8rem;
  margin-right: 1rem;
  display: inline-block;
  line-height: 44px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.footer .box-container .box .share a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.footer .box-container .box .share a:hover::before {
  left: 100%;
}

.footer .box-container .box .share a:active,
.footer .box-container .box .share a:focus,
.footer .box-container .box .share a:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Footer Social Platform Specific Styles */
.footer .box-container .box .share a.github {
  background: linear-gradient(135deg, #333 0%, #24292e 100%);
  color: #fff;
}
.footer .box-container .box .share a.github:hover {
  background: linear-gradient(135deg, #24292e 0%, #000 100%);
  box-shadow: 0 8px 25px rgba(36, 41, 46, 0.4);
}

.footer .box-container .box .share a.linkedin {
  background: linear-gradient(135deg, #0077b5 0%, #005582 100%);
  color: #fff;
}
.footer .box-container .box .share a.linkedin:hover {
  background: linear-gradient(135deg, #005582 0%, #004066 100%);
  box-shadow: 0 8px 25px rgba(0, 119, 181, 0.4);
}

.footer .box-container .box .share a.instagram {
  background: linear-gradient(135deg, #e4405f 0%, #c13584 50%, #833ab4 100%);
  color: #fff;
}
.footer .box-container .box .share a.instagram:hover {
  background: linear-gradient(135deg, #c13584 0%, #833ab4 50%, #5b2c87 100%);
  box-shadow: 0 8px 25px rgba(196, 53, 132, 0.4);
}

.footer .box-container .box .share a.medium {
  background: linear-gradient(135deg, #000 0%, #333 100%);
  color: #fff;
}
.footer .box-container .box .share a.medium:hover {
  background: linear-gradient(135deg, #333 0%, #555 100%);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.footer .credit {
  padding: 1rem 0 0 0;
  text-align: center;
  font-size: 1.5rem;
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  color: #fff;
  border-top: 0.1rem solid #fff3;
}
.footer .credit a {
  color: #ffae00;
}
.footer .fa {
  color: #e90606;
  margin: 0 0.3rem;
  font-size: 1.5rem;
  animation: pound 0.35s infinite alternate;
}
@-webkit-keyframes pound {
  to {
    transform: scale(1.1);
  }
}
@keyframes pound {
  to {
    transform: scale(1.1);
  }
}
@media (max-width: 450px) {
  .footer .box-container .box {
    margin: 1.5rem;
  }
  .footer .box-container .box p {
    padding: 0.7rem;
  }
  .footer .box-container .box .share a {
    height: 4rem;
    width: 4rem;
    font-size: 1.6rem;
    margin-right: 0.8rem;
    margin-bottom: 0.5rem;
  }
}
/* footer section ends */

/* common media queries starts*/
@media (max-width: 450px) {
  html {
    font-size: 55%;
  }
  body {
    padding-right: 0;
  }
  section {
    padding: 2rem;
  }
}
/* common media queries ends*/

/* scroll top starts */
#scroll-top {
  position: fixed;
  top: -140%;
  right: 2rem;
  padding: 1rem 1.5rem;
  font-size: 2rem;
  background: linear-gradient(135deg, #ff8d28 0%, #8b5cf6 100%);
  color: #ffffff;
  border-radius: 50%;
  transition: 1s linear;
  z-index: 1000;
}
#scroll-top.active {
  top: calc(100% - 12rem);
}
/* scroll top ends */

/* Articles & Blog Section */
.articles {
    background: #fff;
    padding: 5rem 0;
    min-height: auto;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.articles .heading {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 4rem;
    font-size: 4rem;
}

.articles .heading i {
    color: var(--c-accent);
    margin-right: 1rem;
}

.articles .heading span {
    color: var(--c-accent);
}

.articles-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.articles-description {
    color: #5a6c7d;
    font-size: 1.6rem;
    line-height: 1.8;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.medium-cta {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%);
    border-radius: 2rem;
    padding: 4rem 3rem;
    border: 2px solid #e8f4f8;
    box-shadow: 0 10px 30px rgba(37, 6, 173, 0.1);
    position: relative;
    overflow: hidden;
}

.medium-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(37, 6, 173, 0.05) 50%, transparent 70%);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.medium-cta:hover::before {
    opacity: 1;
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.medium-content {
    position: relative;
    z-index: 2;
}

.medium-content h3 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.medium-content h3 i {
    color: var(--c-accent);
    font-size: 2.8rem;
}

.medium-content p {
    color: #5a6c7d;
    font-size: 1.4rem;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.medium-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #ff8d28, #8b5cf6);
    color: #ffffff;
    padding: 1.8rem 3.5rem;
    border-radius: 9999px;
    font-size: 1.6rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(247, 127, 3, 0.3);
    position: relative;
    overflow: hidden;
}

.medium-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.medium-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(247, 127, 3, 0.4);
    background: linear-gradient(135deg, #8b5cf6, #ff8d28);
}

.medium-btn:hover::before {
    left: 100%;
}

.medium-btn i {
    font-size: 1.4rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .articles {
        padding: 4rem 0;
        margin-top: 1rem;
    }
    
    .articles .heading {
        font-size: 3rem;
        margin-bottom: 3rem;
    }
    
    .articles-container {
        padding: 0 1rem;
    }
    
    .articles-description {
        font-size: 1.4rem;
        margin-bottom: 3rem;
    }
    
    .medium-cta {
        padding: 3rem 2rem;
        border-radius: 1.5rem;
    }
    
    .medium-content h3 {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .medium-content h3 i {
        font-size: 2.5rem;
    }
    
    .medium-content p {
        font-size: 1.3rem;
        margin-bottom: 2.5rem;
    }
    
    .medium-btn {
        padding: 1.5rem 2.5rem;
        font-size: 1.4rem;
    }
}

/* AWS Certifications Section - Full Width */
.aws-certifications-section {
    width: 100%;
    background: var(--c-surface);
    padding: 60px 0;
    margin: 40px 0;
    border-radius: 20px;
    box-shadow: var(--c-shadow-lg);
    position: relative;
    overflow: hidden;
}

.aws-certifications-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--g-brand-soft);
    pointer-events: none;
}

.certifications-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.certifications-container h3 {
    color: var(--brand-orange-light);
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-weight: 700;
    text-shadow: none;
}

.certifications-container h3 i {
    font-size: 2.8rem;
    color: var(--brand-orange-light);
    filter: drop-shadow(0 0 10px var(--c-accent-glow));
}

.certifications-container .cert-description {
    color: #e0e0e0;
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    opacity: 0.9;
    font-style: normal;
}

.certifications-container .certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    justify-items: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.cert-tile {
    background: var(--c-surface);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 152, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    min-height: 280px;
    width: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    
    /* Initial animation state */
    transform: translateY(60px) scale(0.9);
    opacity: 0;
    filter: blur(8px);
}

.cert-tile::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff8d28, #8b5cf6, #ff8d28);
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cert-tile::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

/* Animated state when visible */
.cert-tile.animate {
    transform: translateY(0) scale(1);
    opacity: 1;
    filter: blur(0);
}

/* Shimmer effect when animated */
.cert-tile.animate::after {
    left: 100%;
}

/* Hover effects */
.cert-tile:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 152, 0, 0.3);
    border-color: rgba(255, 152, 0, 0.5);
}

.cert-tile:hover::before {
    opacity: 1;
}

/* Ensure inner div takes full space */
.cert-tile > div {
    width: 100%;
    height: 100%;
    background: transparent !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Force iframe styling */
.cert-tile iframe {
    border: none !important;
    background: transparent !important;
    border-radius: 15px;
    max-width: 100%;
    max-height: 100%;
    width: 150px !important;
    height: 200px !important;
    margin: 0 auto;
    display: block;
}

/* Sequential delays for cascade effect */
.cert-tile:nth-child(1) { transition-delay: 0.1s; }
.cert-tile:nth-child(2) { transition-delay: 0.2s; }
.cert-tile:nth-child(3) { transition-delay: 0.3s; }
.cert-tile:nth-child(4) { transition-delay: 0.4s; }
.cert-tile:nth-child(5) { transition-delay: 0.5s; }
.cert-tile:nth-child(6) { transition-delay: 0.6s; }

/* Floating animation for continuous movement */
.cert-tile.animate {
    animation: float 6s ease-in-out infinite;
}

.cert-tile:nth-child(even).animate {
    animation-delay: -3s; /* Offset even tiles */
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1);
    }
}

/* Pulse effect on hover */
.cert-tile:hover {
    animation: none; /* Stop floating on hover */
    transform: translateY(-15px) scale(1.08);
}

/* AWS Certifications Mobile Responsiveness */
@media (max-width: 1200px) {
  .certifications-container .certifications-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 1.5rem 0;
  }
  .cert-tile {
    width: 200px;
    min-height: 260px;
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .aws-certifications-section {
    padding: 3rem 1rem;
    margin: 2rem 0;
  }
  .certifications-container {
    padding: 0 1rem;
  }
  .certifications-container h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }
  .certifications-container .cert-description {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
  }
  .certifications-container .certifications-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 1rem 0;
  }
  .cert-tile {
    width: 100%;
    max-width: 180px;
    min-height: 220px;
    padding: 15px;
    margin: 0 auto;
  }
  .cert-tile:hover {
    transform: translateY(-8px) scale(1.03);
  }
  .cert-tile iframe {
    width: 130px !important;
    height: 180px !important;
  }
}

@media (max-width: 480px) {
  .aws-certifications-section {
    padding: 2rem 0.5rem;
  }
  .certifications-container h3 {
    font-size: 2.2rem;
    text-align: center;
  }
  .certifications-container .cert-description {
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 1.5rem;
  }
  .certifications-container .certifications-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0.5rem 0;
  }
  .cert-tile {
    width: 100%;
    max-width: 160px;
    min-height: 200px;
    padding: 12px;
  }
  .cert-tile:hover {
    transform: translateY(-5px) scale(1.02);
  }
  .cert-tile iframe {
    width: 120px !important;
    height: 160px !important;
  }
}

@media (max-width: 360px) {
  .certifications-container .certifications-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
  }
  .cert-tile {
    max-width: 140px;
    min-height: 180px;
    padding: 10px;
  }
  .certifications-container h3 {
    font-size: 2rem;
  }
  .certifications-container .cert-description {
    font-size: 1.2rem;
  }
  .cert-tile iframe {
    width: 100px !important;
    height: 140px !important;
  }
}

/* Contact Information Section - Full Width */
.contact-info-section {
    width: 100%;
    background: var(--c-surface-alt);
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
    padding: 50px 0;
    margin: 40px 0 0;
    border-radius: 20px 20px 0 0;
}

.contact-info-section .contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 30px;
    background: none;
    border: none;
    border-radius: 0;
}

.contact-info-section .info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--c-surface);
    padding: 25px;
    border-radius: 15px;
    backdrop-filter: none;
    border: 1px solid var(--c-border);
    transition: all 0.3s ease;
}

.contact-info-section .info-item:hover {
    transform: translateY(-5px);
    border-color: var(--c-accent);
    box-shadow: var(--c-shadow-md);
}

.contact-info-section .info-item i {
    font-size: 2rem;
    color: var(--c-accent);
    min-width: 40px;
}

.contact-info-section .info-item h4 {
    color: var(--c-text);
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-info-section .info-item p {
    color: var(--c-muted);
    font-size: 1rem;
    margin: 0;
    opacity: 1;
}

/* Mobile Responsive Updates for Full Width Sections */
@media (max-width: 768px) {
    .aws-certifications-section {
        padding: 40px 0;
        margin: 30px 0;
        border-radius: 15px;
    }
    
    .certifications-container {
        padding: 0 20px;
    }
    
    .certifications-container h3 {
        font-size: 2rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .certifications-container .cert-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .certifications-container .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 1rem 0;
    }
    
    .cert-tile {
        padding: 20px;
        min-height: 240px;
        width: 180px;
        border-radius: 15px;
    }
    
    .cert-tile:hover {
        transform: translateY(-10px) scale(1.03);
    }
    
    .contact-info-section {
        padding: 30px 0;
        margin: 30px 0 0;
    }
    
    .contact-info-section .contact-info {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }
    
    .contact-info-section .info-item {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}


/* ============================================================
   DARKIEE BRAND SYSTEM
   dark-first  •  orange × purple  •  deepakpatidar.in
   ============================================================ */

/* ── 1. Design Tokens (dark default) ─────────────────────── */
:root {
  /* Brand anchors */
  --brand-orange:        #f77f03;
  --brand-orange-light:  #ff8d28;
  --brand-purple:        #8b5cf6;
  --brand-purple-deep:   #6d28d9;

  /* Semantic — dark base (default) */
  --c-bg:           #0e1626;
  --c-surface:      #1f2a3d;
  --c-surface-alt:  #18233a;
  --c-text:         #f1f5f9;
  --c-muted:        #a8b5c9;
  --c-accent:       #ff8d28;
  --c-accent-glow:  rgba(247, 127, 3, 0.18);
  --c-border:        rgba(255, 255, 255, 0.14);
  --c-border-strong: rgba(255, 255, 255, 0.24);
  --c-shadow-sm:    0 2px 8px rgba(0,0,0,0.35);
  --c-shadow-md:    0 8px 24px rgba(0,0,0,0.45);
  --c-shadow-lg:    0 20px 50px rgba(0,0,0,0.55);
  --c-nav:          rgba(15, 23, 42, 0.95);
  --c-skills-bg:    linear-gradient(135deg, #0d1929 0%, #1a0f2e 100%);
  --c-footer-bg:    #060d1a;

  /* Brand gradients */
  --g-brand:       linear-gradient(90deg,  #ff8d28 0%, #8b5cf6 100%);
  --g-brand-diag:  linear-gradient(135deg, #ff8d28 0%, #8b5cf6 100%);
  --g-brand-soft:  linear-gradient(135deg, rgba(247,127,3,0.12) 0%, rgba(139,92,246,0.12) 100%);
}

/* ── Light theme — AA-compliant brand overrides ─────────── */
[data-theme="light"] {
  --c-bg:           #f8fafc;
  --c-surface:      #ffffff;
  --c-surface-alt:  #f1f5f9;
  --c-text:         #0f172a;
  --c-muted:        #475569;
  --c-accent:       #c96200;
  --c-accent-glow:  rgba(201, 98, 0, 0.12);
  --c-border:        #e2e8f0;
  --c-border-strong: #cbd5e1;
  --c-shadow-sm:    0 2px 8px rgba(0,0,0,0.06);
  --c-shadow-md:    0 8px 24px rgba(0,0,0,0.09);
  --c-shadow-lg:    0 20px 50px rgba(0,0,0,0.13);
  --c-nav:          rgba(248, 250, 252, 0.95);
  --c-skills-bg:    linear-gradient(135deg, #6d28d9 0%, #8b5cf6 100%);
  --c-footer-bg:    #06061a;
}

/* ── 2. Base ──────────────────────────────────────────────── */
body {
  background: var(--c-bg);
  color: var(--c-text);
  transition: background 0.3s ease, color 0.3s ease;
}

*::selection {
  background: #ff8d28;
  color: #0f172a;
}

*:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: 3px;
}

html::-webkit-scrollbar-track { background: var(--c-bg); }
html::-webkit-scrollbar-thumb {
  background: var(--g-brand);
  border-radius: 4px;
}

/* ── 3. Scroll Progress Bar ───────────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--g-brand);
  z-index: 9999;
  border-radius: 0 2px 2px 0;
  transition: width 0.08s linear;
  pointer-events: none;
}

/* ── 4. Navbar ────────────────────────────────────────────── */
header {
  background: var(--c-nav);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--c-border);
  box-shadow: none;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  gap: 1.5rem;
}

header.scrolled { box-shadow: var(--c-shadow-sm); }

header .logo   { color: var(--c-text); }
header .logo i { color: var(--brand-orange-light); }
header .logo:hover { color: var(--c-accent); }

header .navbar ul li a { color: var(--c-text); }

header .navbar ul li a.active,
header .navbar ul li a:hover {
  color: var(--c-accent);
  border-bottom-color: var(--c-accent);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

#menu { color: var(--c-text); margin-left: 0; }

/* ── 5. Dark-Mode Toggle ──────────────────────────────────── */
#theme-toggle {
  background: transparent;
  border: 1.5px solid var(--c-border);
  border-radius: 50%;
  width: 3.6rem;
  height: 3.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--c-text);
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

#theme-toggle:hover {
  background: var(--c-accent-glow);
  border-color: var(--c-accent);
  color: var(--c-accent);
  transform: rotate(20deg) scale(1.05);
}

@media (max-width: 768px) {
  .nav-right { display: flex; }
  #theme-toggle { width: 3.2rem; height: 3.2rem; font-size: 1.3rem; }
}

/* ── 6. Hero Section ──────────────────────────────────────── */
.home {
  background: var(--c-bg);
  position: relative;
  isolation: isolate;
}

.home::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 15% 40%, rgba(247,127,3,0.10) 0%, transparent 45%),
    radial-gradient(circle at 85% 60%, rgba(139,92,246,0.10) 0%, transparent 45%);
  pointer-events: none;
}

.home .content        { position: relative; z-index: 1; }
.home .content h2     { color: var(--c-text); }
.home .content p      { color: var(--c-muted); }

/* Stats row */
.hero-stats {
  display: flex;
  gap: 1.6rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--c-border);
  flex-wrap: wrap;
}

.hero-stats .stat {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 1.2rem;
  padding: 1.6rem 2rem;
  position: relative;
  overflow: hidden;
  flex: 1;
  min-width: 13rem;
}

.hero-stats .stat::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--g-brand);
}

.hero-stats .stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  background: var(--g-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  font-family: "Poppins", sans-serif;
  text-transform: none;
}

.hero-stats .stat-label {
  font-size: 1.15rem;
  color: var(--c-muted);
  text-transform: none;
  font-weight: 500;
  font-family: "Inter", sans-serif;
}

@media (max-width: 768px) {
  .hero-stats { gap: 1.2rem; }
  .hero-stats .stat-number { font-size: 2.4rem; }
  .hero-stats .stat-label  { font-size: 1.1rem; }
}

@media (max-width: 450px) {
  .hero-stats { gap: 1rem; padding-top: 2rem; }
  .hero-stats .stat { padding: 1.2rem 1.4rem; min-width: 10rem; }
  .hero-stats .stat-number { font-size: 2rem; }
}

/* ── 7. About Section ─────────────────────────────────────── */
.about { background: var(--c-surface); }
.about .heading            { color: var(--c-text); }
.about .row .content h3    { color: var(--c-text); }
.about .row .content .tag  { color: var(--c-accent); }
.about .row .content p     { color: var(--c-muted); }

.highlight-item {
  background: var(--c-surface-alt);
  border: 1px solid var(--c-border);
  box-shadow: var(--c-shadow-sm);
}

.highlight-item:hover {
  border-color: var(--c-accent);
  box-shadow: var(--c-shadow-md);
}

.highlight-item i  { color: var(--c-accent); }
.highlight-item h4 { color: var(--c-text); }
.highlight-item p  { color: var(--c-muted); }

/* ── 8. Skills Section ────────────────────────────────────── */
.skills { background: var(--c-skills-bg); }

.skills .container {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.skills .container .bar {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 1.2rem;
  backdrop-filter: blur(4px);
  box-shadow: none !important;
}

.skills .container .bar:hover {
  background: rgba(255,255,255,0.16) !important;
  border-color: rgba(255,255,255,0.35) !important;
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3) !important;
}

/* ── 9. Articles Section ──────────────────────────────────── */
.articles { background: var(--c-bg); margin-top: 0; }

.articles .heading    { color: var(--c-text); }
.articles-description { color: var(--c-muted); }

.medium-cta {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  box-shadow: var(--c-shadow-sm);
}

.medium-cta:hover { box-shadow: var(--c-shadow-md); }

.medium-content h3 { color: var(--c-text); }
.medium-content p  { color: var(--c-muted); }

/* ── 10. Experience Timeline ──────────────────────────────── */
.experience { background: var(--c-bg); }
.experience .heading { color: var(--c-text); }

.experience .timeline::after { background: var(--c-border); width: 2px; }

.experience .container::after {
  background-color: var(--c-surface);
  border: 3px solid var(--c-accent);
  color: var(--c-accent);
  font-size: 1.2rem;
  width: 34px;
  height: 34px;
  line-height: 28px;
  right: -18px;
  box-shadow: 0 0 0 6px var(--c-accent-glow);
}

.experience .right::after { left: -18px; }

.experience .container::before { display: none !important; }

.experience .content {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 1.2rem;
  box-shadow: var(--c-shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.experience .content:hover {
  box-shadow: var(--c-shadow-md);
  transform: translateY(-4px);
  border-color: rgba(255,141,40,0.5);
}

/* Company tag — brand gradient strip */
.experience .content .tag {
  background: var(--g-brand-diag);
  padding: 1.1rem 1.8rem;
}

.experience .content .tag h2 {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.experience .content .desc {
  padding: 1.2rem 1.8rem 1.6rem;
  margin-left: 0;
}

.experience .content .desc h3 {
  color: var(--c-text);
  font-size: 1.45rem;
  font-weight: 600;
}

.experience .content .desc p {
  color: var(--c-accent);
  font-size: 1.15rem;
  font-weight: 500;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-transform: none;
}

.experience .content .desc p::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  min-width: 6px;
  background: var(--c-accent);
  border-radius: 50%;
}

/* ── 11. Contact Section ──────────────────────────────────── */
.contact { background: var(--c-surface-alt); }

.contact .container {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  box-shadow: var(--c-shadow-sm);
}

.contact-glass {
  background: var(--c-surface) !important;
  border: 1px solid var(--c-border) !important;
  box-shadow: var(--c-shadow-sm) !important;
  backdrop-filter: none !important;
}

.contact .content form,
.contact-glass form {
  background: var(--c-bg) !important;
  border: 1px solid var(--c-border) !important;
  box-shadow: none !important;
}

.form-group .field input,
.form-group .message textarea,
form .field input,
form .message textarea {
  background: var(--c-bg) !important;
  border: 1.5px solid var(--c-border-strong) !important;
  color: var(--c-text) !important;
}

.field input::placeholder,
.message textarea::placeholder { color: var(--c-muted); }

.form-group .field input:focus,
.form-group .message textarea:focus,
.field input:focus,
.message textarea:focus {
  border-color: var(--c-accent) !important;
  box-shadow: 0 0 0 3px var(--c-accent-glow) !important;
  outline: none !important;
}

.button-area button {
  background: var(--g-brand-diag) !important;
  box-shadow: 0 4px 14px rgba(247,127,3,0.3) !important;
  border-radius: 9999px !important;
}

.button-area button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(247,127,3,0.45) !important;
}

form i { color: var(--c-muted); }
.field input:focus ~ i,
.message textarea:focus ~ i { color: var(--c-accent); }

/* ── 12. Footer ───────────────────────────────────────────── */
.footer { background: var(--c-footer-bg); }

/* ── 13. Mobile navbar theming ───────────────────────────── */
header .navbar { background-color: #0a1020; }

[data-theme="light"] header .navbar { background-color: #f8fafc; }

header .navbar ul li a.active,
header .navbar ul li a:hover {
  background-color: rgba(255, 141, 40, 0.08);
}

[data-theme="light"] header .navbar ul li a.active,
[data-theme="light"] header .navbar ul li a:hover {
  background-color: rgba(201, 98, 0, 0.08);
}

/* ── 14. Light-mode mobile nav text fix ───────────────────── */
@media (max-width: 768px) {
  [data-theme="light"] header .navbar ul li a {
    color: var(--c-text);
  }
}

/* ── 15. Scroll-to-top brand button ───────────────────────── */
#scroll-top {
  background: var(--g-brand-diag);
  color: #ffffff;
  box-shadow: var(--c-shadow-md);
}

/* ── 16. Cert tile brand surface ──────────────────────────── */
.cert-tile {
  background: var(--c-surface);
  border-color: var(--c-border);
  box-shadow: var(--c-shadow-md);
}

.cert-tile:hover {
  border-color: var(--c-accent) !important;
  box-shadow: var(--c-shadow-lg) !important;
}

.certifications-container .cert-description {
  color: var(--c-muted);
  opacity: 1;
}

/* ── 17. Hero h2 span gradient text insurance ─────────────── */
.home .content h2 span {
  background: var(--g-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── 18. Hero typed text accent ───────────────────────────── */
.home .content p span { color: var(--c-accent); }

/* ── 19. Footer brand link colors ────────────────────────── */
.footer .box-container .box p i { color: var(--c-accent); }
.footer .box-container .box a:hover { color: var(--c-accent); }
.footer .credit a { color: var(--c-accent); }

/* ── 20. "Ask Deepak" AI chat widget ─────────────────────── */
#ask-ai { font-size: 1.5rem; }

/* Defensive isolation — this widget reuses generic tags, and the template
   has aggressive bare-tag rules (header{position:fixed}, section{min-height:100vh},
   form i{position:absolute}). Neutralize anything that could leak in. */
#ask-ai, #ask-ai *, #ask-ai-panel, #ask-ai-panel * { box-sizing: border-box; }
#ask-ai i, #ask-ai-panel i {
  position: static; top: auto; left: auto; right: auto; bottom: auto;
  transform: none; margin: 0; pointer-events: none;
  color: inherit; font-size: inherit; line-height: 1;
}
#ask-ai-panel input, #ask-ai-panel button, #ask-ai-panel strong, #ask-ai-panel span {
  position: static; float: none;
}

/* Launcher (FAB) */
#ask-ai-fab {
  position: fixed; right: 2.4rem; bottom: 2.4rem; z-index: 9998;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.9rem;
  height: 5.6rem; padding: 0 2rem; border: none; border-radius: 5rem;
  background: var(--g-brand-diag); color: #fff; cursor: pointer;
  font-family: inherit; font-size: 1.5rem; font-weight: 600; line-height: 1;
  box-shadow: 0 10px 28px rgba(139, 92, 246, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#ask-ai-fab i { font-size: 2rem; }
#ask-ai-fab:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(139, 92, 246, 0.5); }
#ask-ai-fab:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; }
#ask-ai.is-open #ask-ai-fab { transform: scale(0.6); opacity: 0; pointer-events: none; }

/* Panel — floating card on desktop */
#ask-ai-panel {
  position: fixed; right: 2.4rem; bottom: 2.4rem; z-index: 9999;
  width: 38rem; max-width: calc(100vw - 3rem);
  height: 62rem; max-height: calc(100dvh - 9rem); min-height: 0;
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--c-surface); color: var(--c-text);
  border: 1px solid var(--c-border); border-radius: 2rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28), 0 4px 12px rgba(0, 0, 0, 0.12);
  transform-origin: bottom right;
  animation: ask-ai-pop 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}
#ask-ai-panel[hidden] { display: none; }
@keyframes ask-ai-pop { from { opacity: 0; transform: translateY(16px) scale(0.96); } to { opacity: 1; transform: none; } }

/* Header */
#ask-ai-head {
  display: flex; align-items: center; gap: 1.1rem;
  padding: 1.5rem 1.6rem; color: #fff;
  background: var(--g-brand-diag);
}
.ask-ai-av {
  flex: none; display: grid; place-items: center;
  width: 4rem; height: 4rem; border-radius: 50%;
  background: rgba(255, 255, 255, 0.22); font-size: 1.9rem;
}
.ask-ai-id { flex: 1; min-width: 0; }
#ask-ai-title { display: block; margin: 0; font-size: 1.75rem; font-weight: 700; color: #fff; line-height: 1.2; }
.ask-ai-sub { margin: 0.2rem 0 0; font-size: 1.2rem; opacity: 0.92; display: flex; align-items: center; gap: 0.5rem; color: #fff; }
.ask-ai-dot { width: 0.8rem; height: 0.8rem; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74,222,128,0.7); animation: ask-ai-ping 2s infinite; }
@keyframes ask-ai-ping { 0% { box-shadow: 0 0 0 0 rgba(74,222,128,0.6); } 70%,100% { box-shadow: 0 0 0 0.6rem rgba(74,222,128,0); } }
#ask-ai-x {
  flex: none; background: rgba(255,255,255,0.18); border: none; color: #fff; cursor: pointer;
  width: 3.2rem; height: 3.2rem; border-radius: 50%; font-size: 1.6rem; line-height: 1;
  display: grid; place-items: center; transition: background 0.2s ease;
}
#ask-ai-x:hover { background: rgba(255,255,255,0.34); }

/* Message log */
#ask-ai-log {
  flex: 1 1 auto; min-height: 0; overflow-y: auto;
  padding: 1.8rem 1.6rem; display: flex; flex-direction: column; gap: 1.2rem;
  background: var(--c-bg); scroll-behavior: smooth;
}
#ask-ai-log::-webkit-scrollbar { width: 0.6rem; }
#ask-ai-log::-webkit-scrollbar-thumb { background: var(--c-border-strong); border-radius: 1rem; }
.ask-ai-row { display: flex; }
.ask-ai-user { justify-content: flex-end; }
.ask-ai-bubble {
  max-width: 84%; padding: 1.1rem 1.4rem; border-radius: 1.6rem;
  font-size: 1.42rem; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere;
}
.ask-ai-assistant .ask-ai-bubble {
  background: var(--c-surface); color: var(--c-text);
  border: 1px solid var(--c-border); border-bottom-left-radius: 0.5rem;
}
.ask-ai-user .ask-ai-bubble {
  background: var(--g-brand-diag); color: #fff; border-bottom-right-radius: 0.5rem;
}
/* streaming caret */
.ask-ai-bubble.ask-ai-stream::after {
  content: "▍"; margin-left: 0.1rem; color: var(--c-accent);
  animation: ask-ai-caret 0.9s steps(1) infinite;
}
@keyframes ask-ai-caret { 50% { opacity: 0; } }
/* typing dots */
.ask-ai-typing .ask-ai-bubble { display: flex; gap: 0.5rem; }
.ask-ai-typing .ask-ai-bubble span {
  width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--c-muted);
  animation: ask-ai-blink 1.2s infinite ease-in-out;
}
.ask-ai-typing .ask-ai-bubble span:nth-child(2) { animation-delay: 0.2s; }
.ask-ai-typing .ask-ai-bubble span:nth-child(3) { animation-delay: 0.4s; }
@keyframes ask-ai-blink { 0%, 60%, 100% { opacity: 0.3; } 30% { opacity: 1; } }

/* Quick-reply chips */
#ask-ai-chips {
  display: flex; flex-wrap: wrap; gap: 0.7rem; padding: 0 1.6rem 0.4rem; background: var(--c-bg);
}
#ask-ai-chips:empty { display: none; }
.ask-ai-chip {
  padding: 0.7rem 1.2rem; border-radius: 5rem; cursor: pointer;
  font-size: 1.25rem; font-family: inherit; color: var(--c-accent);
  background: var(--c-accent-glow); border: 1px solid var(--c-border-strong);
  transition: background 0.2s ease, transform 0.15s ease;
}
.ask-ai-chip:hover { background: var(--c-surface-alt); transform: translateY(-1px); }

/* Input bar */
#ask-ai-form {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 1.2rem 1.4rem; background: var(--c-surface); border-top: 1px solid var(--c-border);
}
#ask-ai-in {
  flex: 1; min-width: 0; padding: 1.2rem 1.5rem; border-radius: 5rem; font-size: 1.4rem;
  font-family: inherit; color: var(--c-text);
  background: var(--c-bg); border: 1px solid var(--c-border-strong);
}
#ask-ai-in:focus { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 3px var(--c-accent-glow); }
#ask-ai-send {
  flex: none; width: 4.4rem; height: 4.4rem; border: none; border-radius: 50%;
  background: var(--g-brand-diag); color: #fff; cursor: pointer; font-size: 1.6rem;
  display: grid; place-items: center; transition: filter 0.2s ease, opacity 0.2s ease;
}
#ask-ai-send:hover { filter: brightness(1.1); }
#ask-ai-send:disabled { opacity: 0.45; cursor: default; }

/* Mobile — bottom sheet that keeps the navbar visible */
@media (max-width: 520px) {
  #ask-ai-fab { right: 1.6rem; bottom: 1.6rem; width: 5.4rem; padding: 0; }
  #ask-ai-fab span { display: none; }
  #ask-ai-panel {
    right: 0; left: 0; bottom: 0; width: 100%;
    height: auto; top: 5.5rem; max-height: none;
    border-radius: 2rem 2rem 0 0; border-bottom: none;
    animation: ask-ai-sheet 0.26s cubic-bezier(0.22, 1, 0.36, 1);
  }
  @keyframes ask-ai-sheet { from { transform: translateY(100%); } to { transform: none; } }
}

@media (prefers-reduced-motion: reduce) {
  #ask-ai-panel, #ask-ai-fab, .ask-ai-dot, .ask-ai-typing .ask-ai-bubble span, .ask-ai-bubble.ask-ai-stream::after { animation: none; }
  #ask-ai-fab { transition: none; }
  .ask-ai-bubble.ask-ai-stream::after { content: ""; }
}

/* ── 21. Contact form inline status ──────────────────────── */
.contact-status { margin-top: 1.2rem; font-size: 1.4rem; min-height: 1.4rem; color: var(--c-muted); }
.contact-status.is-ok { color: #16a34a; }
.contact-status.is-err { color: #dc2626; }
.contact-status.is-warn { color: var(--c-accent); }

/* Global reduced-motion: tame heavy hero animations */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
