@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&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");

/* CSS Variables for Light/Dark Mode */
:root {
  --primary-bg: #f7f7f7;
  --secondary-bg: #fff;
  --text-primary: #32323e;
  --text-secondary: #666;
  --accent-color: #2b3dda;
  --header-bg: #fff;
  --card-bg: #fff;
  --shadow-light: rgba(146, 161, 176, 0.3);
  --shadow-medium: rgba(0, 0, 0, 0.1);
  --shadow-dark: rgba(0, 0, 0, 0.6);
  --border-color: rgba(255, 255, 255, 0.2);
}

/* Dark Mode Variables */
[data-theme="dark"] {
  --primary-bg: #1a1a2e;
  --secondary-bg: #16213e;
  --text-primary: #eee;
  --text-secondary: #ccc;
  --accent-color: #4f6bff;
  --header-bg: #0f1419;
  --card-bg: #233152;
  --shadow-light: rgba(0, 0, 0, 0.3);
  --shadow-medium: rgba(0, 0, 0, 0.4);
  --shadow-dark: rgba(0, 0, 0, 0.8);
  --border-color: rgba(79, 107, 255, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  outline: none;
  border: none;
  text-transform: capitalize;
  transition: all 0.2s linear;
}
html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
body {
  background: var(--primary-bg);
  font-family: "Poppins", sans-serif;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

*::selection {
  background: var(--accent-color);
  color: #fff;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}
html::-webkit-scrollbar {
  width: 0.8rem;
}
html::-webkit-scrollbar-track {
  background: rgb(235, 202, 245);
}
html::-webkit-scrollbar-thumb {
  background: #420177;
}

/* 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: 2000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 8%;
  height: 6.8rem;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

section {
  min-height: 100vh;
  padding: 2rem 9%;
}

.heading {
  font-size: 3.5rem;
  color: var(--text-primary);
  font-weight: 800;
  text-align: center;
}

.heading span {
  color: rgb(115, 3, 167);
}

header .logo {
  font-size: 2rem;
  font-weight: 800;
  text-decoration: none;
  color: #0e2431;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: color 0.25s ease;
}

header .logo i {
  font-size: 2.3rem;
  color: #2563eb;
}

header .logo:hover {
  color: #2563eb;
}

/* Header Right Container (Navbar & Actions) */
.header-right {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}

/* Header Action Buttons (Ask Grok & Menu) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  z-index: 1001;
}

/* Ask Grok Button */
.ask-grok-btn {
  background: linear-gradient(135deg, #6f42c1 0%, #e83e8c 100%);
  color: #fff;
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(111, 66, 193, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 600;
  font-size: 1.35rem;
  user-select: none;
}

.ask-grok-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(111, 66, 193, 0.5);
}

.ask-grok-btn i {
  font-size: 1.5rem;
  animation: pulseRobot 2s infinite;
}

@keyframes pulseRobot {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* Hamburger Menu Button */
#menu {
  font-size: 2rem;
  cursor: pointer;
  color: #1e3a8a;
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.16);
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

#menu:hover {
  background: rgba(37, 99, 235, 0.15);
  transform: scale(1.05);
}

#menu.fa-times {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.25);
  transform: rotate(90deg);
}

/* Desktop Navbar */
header .navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.2rem;
  margin: 0;
  padding: 0;
}

header .navbar ul li a {
  font-size: 1.55rem;
  color: #0e2431;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.03rem;
  padding: 0.6rem 0.2rem;
  position: relative;
  transition: color 0.2s ease;
  display: inline-block;
}

header .navbar ul li a i {
  display: none;
}

header .navbar ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: #2563eb;
  border-radius: 2px;
  transition: width 0.25s ease;
}

header .navbar ul li a.active,
header .navbar ul li a:hover {
  color: #2563eb;
}

header .navbar ul li a.active::after,
header .navbar ul li a:hover::after {
  width: 100%;
}

.navbar-mobile-header,
.navbar-mobile-footer {
  display: none;
}

/* Nav Overlay Backdrop */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 17, 32, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1995;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.nav-open {
  overflow: hidden !important;
  touch-action: none;
}

@media (max-width: 768px) {
  body.nav-open header {
    background-color: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
  }

  body.nav-open header .logo {
    pointer-events: none;
  }
}

/* ==========================================
   Mobile Navbar Responsive Drawer (max-width: 768px)
   ========================================== */
@media (max-width: 768px) {
  header {
    padding: 1.2rem 5%;
    height: 6.2rem;
  }

  header .logo {
    font-size: 1.75rem;
  }

  header .logo i {
    font-size: 2rem;
  }

  #menu {
    display: flex;
  }

  .ask-grok-btn {
    padding: 0.7rem 1.3rem;
    font-size: 1.25rem;
    gap: 0.6rem;
    border-radius: 20px;
  }

  /* Drawer Container */
  header .navbar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 84%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(180deg, #0b1120 0%, #0f172a 100%);
    box-shadow: -15px 0 50px rgba(0, 0, 0, 0.65);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 2002;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem 1.8rem 2.2rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }

  header .navbar.nav-toggle {
    right: 0;
  }

  /* Mobile Drawer Header */
  .navbar-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 1.2rem;
  }

  .navbar-user-info {
    display: flex;
    align-items: center;
    gap: 1.1rem;
  }

  .navbar-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  }

  .navbar-user-text h4 {
    font-size: 1.45rem;
    font-weight: 700;
    color: #f8fafc;
    margin: 0;
    line-height: 1.2;
  }

  .navbar-user-text span {
    font-size: 1.15rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.3rem;
  }

  .online-dot {
    color: #10b981;
    font-size: 0.75rem;
    animation: pulse 2s infinite;
  }

  .navbar-close-btn {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    color: #cbd5e1;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .navbar-close-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
  }

  /* Mobile Drawer Nav Links */
  header .navbar ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
  }

  header .navbar ul li {
    width: 100%;
    margin: 0;
  }

  header .navbar ul li a {
    display: flex;
    align-items: center;
    gap: 1.3rem;
    padding: 1.15rem 1.4rem;
    border-radius: 12px;
    color: #cbd5e1;
    font-size: 1.55rem;
    font-weight: 500;
    border: 1px solid transparent;
    transition: all 0.2s ease;
  }

  header .navbar ul li a i {
    display: inline-block;
    font-size: 1.6rem;
    width: 22px;
    text-align: center;
    color: #60a5fa;
    transition: transform 0.2s ease;
  }

  header .navbar ul li a::after {
    display: none;
  }

  header .navbar ul li a:hover,
  header .navbar ul li a.active {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(124, 58, 237, 0.18));
    border-color: rgba(59, 130, 246, 0.35);
    color: #ffffff;
    transform: translateX(4px);
  }

  header .navbar ul li a.active i,
  header .navbar ul li a:hover i {
    color: #38bdf8;
    transform: scale(1.15);
  }

  /* Mobile Drawer Footer */
  .navbar-mobile-footer {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    margin-top: 1.8rem;
    padding-top: 1.6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .navbar-grok-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: linear-gradient(135deg, rgba(111, 66, 193, 0.22) 0%, rgba(232, 62, 140, 0.22) 100%);
    border: 1px solid rgba(168, 85, 247, 0.35);
    padding: 1.1rem 1.3rem;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
  }

  .navbar-grok-card:hover {
    transform: translateY(-2px);
    border-color: rgba(168, 85, 247, 0.6);
  }

  .grok-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #6f42c1, #e83e8c);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
    flex-shrink: 0;
  }

  .grok-card-text {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: left;
  }

  .grok-card-text strong {
    font-size: 1.35rem;
    color: #ffffff;
  }

  .grok-card-text span {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-top: 0.2rem;
  }

  .navbar-grok-card > i {
    color: #f472b6;
    font-size: 1.2rem;
  }

  .navbar-social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
  }

  .navbar-social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 1.5rem;
    transition: all 0.2s ease;
  }

  .navbar-social-links a:hover {
    color: #fff;
    transform: translateY(-2px);
  }

  .navbar-social-links a.linkedin:hover { background: #0077b5; border-color: #0077b5; }
  .navbar-social-links a.github:hover { background: #333; border-color: #555; }
  .navbar-social-links a.whatsapp:hover { background: #25d366; border-color: #25d366; }
  .navbar-social-links a.instagram:hover { background: #e1306c; border-color: #e1306c; }
}

@media (max-width: 400px) {
  .ask-grok-btn span {
    display: none;
  }
  .ask-grok-btn {
    width: 38px;
    height: 38px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
  .ask-grok-btn i {
    font-size: 1.6rem;
  }
}
/* navbar ends */

/* ==========================================
   Hero Section Starts
   ========================================== */
.home {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100vh;
  padding: 8rem 9% 4rem;
  gap: 3.5rem;
}

.home #particles-js {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.home .content {
  flex: 1 1 48rem;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  font-size: 1.3rem;
  font-weight: 600;
  color: #2563eb;
  margin-bottom: 1.8rem;
}

.status-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  animation: pulseDot 1.8s infinite;
}

.home .content h1,
.home .content h2 {
  font-size: 4.8rem;
  font-weight: 800;
  color: #002057;
  line-height: 1.2;
}

.home .content h1 span,
.home .content h2 span {
  font-size: 4.8rem;
  font-weight: 800;
  color: #ff7b00;
}

.home .content p {
  font-size: 2.4rem;
  color: #1e293b;
  font-weight: 600;
  padding: 1rem 0 1.6rem;
}

.home .content p span {
  font-size: 2.4rem;
  color: #2563eb;
  font-weight: 700;
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  margin: 1rem 0 2.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.3rem 2.8rem;
  border-radius: 50px;
  color: #fff;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  font-size: 1.55rem;
  font-weight: 700;
  font-family: "Nunito", sans-serif;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
  position: relative;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(37, 99, 235, 0.45);
  color: #fff;
}

.btn-secondary {
  background: #ffffff;
  color: #1e293b;
  border: 1.5px solid rgba(37, 99, 235, 0.3);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

.btn span {
  letter-spacing: 0.05rem;
}

.btn i {
  font-size: 1.4rem;
  transition: transform 0.25s ease;
}

.btn:hover i {
  transform: translateY(3px);
}

.btn-secondary:hover i {
  transform: translateX(4px);
}

/* Social Icons */
.socials {
  position: relative;
  margin-top: 0.5rem;
}

.socials .social-icons {
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.socials .social-icons li {
  display: inline-block;
  margin: 0;
}

.social-icons a {
  font-size: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #00d9ff;
  background-color: #09011b;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: all 0.25s ease;
}

.social-icons a:hover {
  color: #fff;
  background-color: #2563eb;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(37, 99, 235, 0.4);
}

.social-icons a.github:hover {
  background-color: #0e0e0e;
}

.social-icons a.linkedin:hover {
  background-color: #007bb6;
}

.social-icons a.whatsapp:hover {
  background-color: #25d366;
}

.social-icons a.instagram:hover {
  background-color: #ee00da;
}

/* Hero Avatar on Desktop */
.home .image {
  flex: 1 1 38rem;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.hero-avatar-wrap {
  position: relative;
  display: inline-block;
  border-radius: 50%;
  padding: 8px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.4), rgba(232, 62, 140, 0.4));
  box-shadow: 0 20px 45px rgba(37, 99, 235, 0.25);
  animation: floatAvatar 6s ease-in-out infinite;
}

@keyframes floatAvatar {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-avatar-wrap img {
  width: 380px;
  height: 380px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  display: block;
  border: 4px solid #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.avatar-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: #0f172a;
  color: #38bdf8;
  padding: 0.65rem 1.4rem;
  border-radius: 30px;
  font-size: 1.25rem;
  font-weight: 700;
  border: 1.5px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* ==========================================
   Hero Responsive Media Queries (Mobile UX)
   ========================================== */
@media (max-width: 768px) {
  .home {
    flex-direction: column-reverse;
    padding: 8.5rem 5% 10rem;
    gap: 3rem;
    text-align: center;
    justify-content: center;
    min-height: auto;
  }

  .home .content {
    flex: 1 1 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0;
  }

  .home .image {
    flex: 0 0 auto;
    margin-top: 1rem;
  }

  .hero-avatar-wrap {
    padding: 6px;
    animation: none;
  }

  .hero-avatar-wrap img {
    width: 220px;
    height: 220px;
    object-position: top center;
  }

  .avatar-badge {
    bottom: 5px;
    right: 5px;
    font-size: 1.15rem;
    padding: 0.5rem 1.1rem;
  }

  .hero-badge {
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
    padding: 0.5rem 1.2rem;
  }

  .home .content h1,
  .home .content h2 {
    font-size: clamp(2.7rem, 7.5vw, 3.8rem);
    line-height: 1.25;
  }

  .home .content h1 span,
  .home .content h2 span {
    font-size: clamp(2.7rem, 7.5vw, 3.8rem);
  }

  .home .content p {
    font-size: clamp(1.8rem, 4.5vw, 2.2rem);
    padding: 0.6rem 0 1.5rem;
  }

  .home .content p span {
    font-size: clamp(1.8rem, 4.5vw, 2.2rem);
  }

  .hero-btns {
    justify-content: center;
    gap: 1.2rem;
    width: 100%;
    margin-bottom: 1.8rem;
  }

  .hero-btns .btn {
    padding: 1.15rem 2.2rem;
    font-size: 1.45rem;
  }

  .socials {
    width: 100%;
  }

  .socials .social-icons {
    justify-content: center;
  }
}

@media (max-width: 450px) {
  .home {
    padding: 8rem 4% 10rem;
    gap: 2.5rem;
  }

  .hero-avatar-wrap img {
    width: 195px;
    height: 195px;
    object-position: top center;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
  }

  .hero-btns .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}
/* hero media queries ends*/
/* hero section end */

/* about section starts */
.about {
  background: var(--secondary-bg);
  transition: all 0.3s ease;
}
.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;
}
.resumebtn {
  margin-top: 6rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.resumebtn .btn {
  padding: 1.7rem 3rem;
  border-radius: 0.5em;
  transition: 0.3s;
  color: #fff;
  background: #2506ad;
  box-shadow: 0px 5px 10px rgba(48, 68, 247, 0.6);
  font-family: "Nunito", sans-serif;
  flex: 1;
  min-width: 150px;
}
.resumebtn .btn span {
  font-weight: 600;
  font-size: 1.8rem;
  letter-spacing: 0.1rem;
}
.resumebtn .btn i {
  margin-left: 0.3rem;
  font-size: 1.2rem;
  transition: 0.3s;
}
.resumebtn .btn:hover {
  background: #1a047e;
}
.resumebtn .btn:hover i {
  transform: translateX(5px);
}
/* 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;
  }
}
/* about media queries ends*/
/* about section ends */

/* ==========================================
   Services Section Styling
   ========================================== */
.services {
  background: var(--primary-bg, #ffffff);
  padding: 6.5rem 9% 7.5rem;
  transition: background-color 0.3s ease;
}

[data-theme="dark"] .services {
  background: var(--primary-bg, #0b0f19);
}

.services .heading {
  text-align: center;
  font-size: 3.5rem;
  color: var(--text-color, #0e2431);
  margin-bottom: 1rem;
}

.services .heading span {
  color: #2563eb;
}

[data-theme="dark"] .services .heading span {
  color: #38bdf8;
}

.services-subtitle {
  text-align: center;
  font-size: 1.6rem;
  color: #64748b;
  max-width: 680px;
  margin: 0 auto 4.5rem;
  line-height: 1.6;
}

[data-theme="dark"] .services-subtitle {
  color: #94a3b8;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.8rem;
  max-width: 1240px;
  margin: 0 auto;
}

.service-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

[data-theme="dark"] .service-card {
  background: #111827;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #7c3aed);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 35px -10px rgba(37, 99, 235, 0.18);
  border-color: rgba(59, 130, 246, 0.5);
}

[data-theme="dark"] .service-card:hover {
  box-shadow: 0 22px 45px -12px rgba(37, 99, 235, 0.3);
  border-color: rgba(96, 165, 250, 0.4);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-box {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(124, 58, 237, 0.12));
  border: 1px solid rgba(37, 99, 235, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  color: #2563eb;
  margin-bottom: 2rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

[data-theme="dark"] .service-icon-box {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(124, 58, 237, 0.2));
  border-color: rgba(96, 165, 250, 0.3);
  color: #60a5fa;
}

.service-card:hover .service-icon-box {
  transform: scale(1.1) rotate(4deg);
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #ffffff;
  border-color: transparent;
}

.service-badge-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
}

[data-theme="dark"] .service-badge-tag {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
}

.service-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-color, #0f172a);
  margin-bottom: 1.2rem;
  line-height: 1.3;
}

[data-theme="dark"] .service-title {
  color: #f8fafc;
}

.service-desc {
  font-size: 1.45rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 2rem;
}

[data-theme="dark"] .service-desc {
  color: #94a3b8;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-grow: 1;
}

.service-features li {
  font-size: 1.35rem;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

[data-theme="dark"] .service-features li {
  color: #cbd5e1;
}

.service-features li i {
  color: #10b981;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.service-page-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
  margin-bottom: 1.4rem;
  transition: all 0.2s ease;
}

[data-theme="dark"] .service-page-link {
  color: #38bdf8;
}

.service-page-link:hover {
  text-decoration: underline;
  transform: translateX(4px);
}

.service-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1.1rem 2rem;
  background: #f1f5f9;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  margin-top: auto;
}

[data-theme="dark"] .service-cta-btn {
  background: rgba(255, 255, 255, 0.06);
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.12);
}

.service-cta-btn i {
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

.service-cta-btn:hover {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.service-cta-btn:hover i {
  transform: translateX(4px);
}

@media screen and (max-width: 768px) {
  .services {
    padding: 5rem 1.5rem 6rem;
  }
  .services .heading {
    font-size: 2.8rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .service-card {
    padding: 2.2rem 1.8rem;
  }
}
/* services section ends */

/* skills section starts */
.skills {
  min-height: 90vh;
  background: linear-gradient(to bottom, #57059e, #4a00e0);
}
.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(6, 1fr);
  flex-wrap: wrap;
  gap: 1.8rem;
}
.skills .container .bar {
  margin-bottom: 15px;
  padding: 10px;
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  background: rgba(0, 0, 22, 0.9);
  transition: 0.2s;
}
.skills .container .bar:hover {
  box-shadow: 0 8px 10px rgba(0, 2, 68, 0.8) !important;
  background-color: rgba(0, 0, 0, 0.9) !important;
}
.skills .container .bar .info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}
.skills .container .bar .info i {
  font-size: 4rem;
}
.skills .container .bar .info img {
  width: 4.8rem;
  height: 4.8rem;
  object-fit: contain;
}
.skills .container .bar .info span {
  font-size: 2rem;
  font-weight: 500;
  font-family: "Poppins";
  margin-left: 0.5rem;
}
/* skills media queries starts*/
@media screen and (max-width: 600px) {
  .skills .container {
    padding: 0;
    margin: 0;
  }
  .skills .container .row {
    grid-template-columns: repeat(2, 1fr);
    margin: 1rem;
    padding: 2rem 0.2rem 2rem 0.2rem;
    gap: 1rem;
  }
  .skills .container {
    margin-top: 5px;
    width: 100%;
  }
}
/* 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 (Redesigned - Premium & Recruiter-Ready) */
.work {
  background: linear-gradient(180deg, #0a0e1a 0%, #060913 100%);
  padding: 8rem 2rem 10rem;
  position: relative;
}

.projects-header-wrap {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.work .heading {
  font-size: 3.6rem;
  color: #f8fafc;
  font-weight: 800;
  margin-bottom: 0.8rem;
  letter-spacing: -0.02em;
}

.work .heading span {
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.projects-header-wrap .section-subtitle {
  font-size: 1.6rem;
  color: #94a3b8;
  font-weight: 500;
  line-height: 1.6;
}

/* Category Filter Tabs */
.projects-filter-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 0 auto 4rem;
  max-width: 900px;
}

.filter-tab-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  padding: 0.9rem 1.8rem;
  border-radius: 50px;
  font-size: 1.35rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(10px);
}

.filter-tab-btn i {
  font-size: 1.3rem;
  color: #60a5fa;
  transition: color 0.2s ease;
}

.filter-tab-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(96, 165, 250, 0.4);
  transform: translateY(-2px);
}

.filter-tab-btn.active {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.45);
}

.filter-tab-btn.active i {
  color: #ffffff;
}

.filter-tab-btn .tab-count {
  font-size: 1.15rem;
  opacity: 0.8;
  font-weight: 500;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 3rem;
  max-width: 1280px;
  margin: 0 auto 5rem;
}

/* Project Card */
.project-card {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  position: relative;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: 0 22px 45px -12px rgba(37, 99, 235, 0.25);
}

/* Card Thumbnail */
.card-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #030712;
}

.card-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.project-card:hover .card-thumb-img {
  transform: scale(1.05);
}

.card-category-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #38bdf8;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  letter-spacing: 0.03em;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Card Body */
.card-body {
  padding: 2.2rem 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-size: 2rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 0.8rem;
  line-height: 1.35;
}

.card-description {
  font-size: 1.4rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 1.8rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Technology Badges */
.card-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.tech-badge {
  font-size: 1.15rem;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  font-weight: 500;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* Card Actions */
.card-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: auto;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-live-cta {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff !important;
  font-size: 1.35rem;
  font-weight: 600;
  padding: 1.1rem 1.6rem;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  border: none;
}

.btn-live-cta:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
  color: #ffffff !important;
}

.btn-view-details {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
  font-size: 1.35rem;
  font-weight: 600;
  padding: 1.1rem 1.6rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-view-details:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* Explore All Projects Button */
.work .viewall {
  display: flex;
  justify-content: center;
}

.work .viewall .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.4rem 3.2rem;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.work .viewall .btn:hover {
  background: #ffffff;
  color: #0f172a;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.25);
}

.work .viewall .btn:hover i {
  transform: translateX(5px);
}

.work .viewall .btn i {
  transition: transform 0.3s ease;
}

/* Project Details Modal */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.project-modal.active {
  display: flex;
}

.project-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(8px);
}

.project-modal-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  overflow-y: auto;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8);
  animation: modalScaleIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 3rem;
}

@keyframes modalScaleIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(15px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.project-modal-close {
  position: absolute;
  top: 1.8rem;
  right: 1.8rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.project-modal-close:hover {
  background: rgba(239, 68, 68, 0.25);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.4);
}

.modal-header-meta {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

.modal-category-badge {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  letter-spacing: 0.03em;
}

.modal-project-title {
  font-size: 2.6rem;
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.3;
  margin-bottom: 2rem;
}

.modal-image-preview {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 2.5rem;
  background: #030712;
}

.modal-image-preview img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.modal-section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #e2e8f0;
  margin: 2rem 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.modal-section-title i {
  color: #60a5fa;
}

.modal-long-desc {
  font-size: 1.5rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.modal-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem;
  display: grid;
  gap: 1rem;
}

.modal-features-list li {
  font-size: 1.4rem;
  color: #94a3b8;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  line-height: 1.5;
}

.modal-features-list li i {
  color: #10b981;
  margin-top: 0.3rem;
  font-size: 1.3rem;
}

.modal-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 3rem;
}

.modal-tech-badge {
  font-size: 1.25rem;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.modal-footer-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-footer-actions .btn-live-cta {
  font-size: 1.5rem;
  padding: 1.2rem 2.4rem;
  border-radius: 12px;
}

/* Responsive Rules */
@media screen and (max-width: 768px) {
  .work {
    padding: 6rem 1.5rem 8rem;
  }
  
  .projects-filter-nav {
    gap: 0.8rem;
    margin-bottom: 2.5rem;
  }
  
  .filter-tab-btn {
    padding: 0.75rem 1.4rem;
    font-size: 1.25rem;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
  
  .card-body {
    padding: 1.8rem;
  }
  
  .project-modal-card {
    padding: 2rem;
  }
  
  .modal-project-title {
    font-size: 2.2rem;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .project-card,
  .card-thumb-img,
  .project-modal-card,
  .filter-tab-btn,
  .btn-live-cta {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}
/* 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;
}
/* view all button */
.morebtn {
  display: flex;
  justify-content: center;
}
.morebtn .btn {
  position: relative;
  line-height: 0;
  padding: 1.6rem 3rem;
  border-radius: 0.5em;
  transition: 0.5s;
  color: #fff;
  background: #2506ad;
  box-shadow: 0px 5px 10px rgba(48, 68, 247, 0.6);
  text-align: center;
}
.morebtn .btn span {
  font-weight: 600;
  font-size: 1.7rem;
  font-family: "Nunito", sans-serif;
}
.morebtn .btn i {
  margin-left: 0.3rem;
  font-size: 1.5rem;
  transition: 0.3s;
}
.morebtn .btn:hover {
  background: #1a047e;
}
.morebtn .btn:hover i {
  transform: translateX(5px);
}

/* 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;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 9% 7rem 9%;
}
.contact .container {
  max-width: 1050px;
  width: 100%;
  background: #fff;
  border-radius: 1.5rem;
  margin: 3rem auto 0 auto;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);
}
.contact .container .content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3rem 2.5rem;
  gap: 2rem;
}
.contact .content .image-box {
  flex: 1 1 50%;
  max-width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}
.contact .content .image-box img {
  width: 100%;
  max-width: 42rem;
  height: auto;
  position: relative;
}
.contact .content form {
  flex: 1 1 50%;
  width: 50%;
  margin: 0 1.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;
}
.button-area button {
  color: #fff;
  border: none;
  outline: none;
  font-size: 1.8rem;
  cursor: pointer;
  border-radius: 5px;
  padding: 13px 25px;
  background: #2506ad;
  box-shadow: 0px 5px 10px rgba(48, 68, 247, 0.6);
  transition: 0.3s ease;
  font-family: "Nunito", sans-serif;
}
.button-area button:hover {
  background: #421cecf5;
}
.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: 0.3s;
  color: #fff;
}
.button-area button:hover i {
  left: 8px;
}
/* contact section media queries starts */
@media (max-width: 900px) {
  .contact {
    min-height: 70vh;
    padding: 4rem 5% 6rem 5%;
  }
  .contact .container {
    margin: 2.5rem auto;
  }
  .contact .container .content {
    padding: 2.2rem 1.6rem;
  }
  .contact .content .image-box {
    display: none;
  }
  .contact .content form {
    width: 100%;
    margin: 0;
  }
}
/* contact section media queries ends */
/* contact section ends */

/* footer section starts */
.footer {
  min-height: auto;
  background: #060919;
  padding: 6rem 8% 10rem 8%;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 10;
}

[data-theme="dark"] .footer {
  background: #080d1a;
  border-top-color: rgba(255, 255, 255, 0.06);
}

.footer .box-container {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr;
  gap: 4rem;
  max-width: 1280px;
  margin: 0 auto;
}

.footer .box-container .box {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.footer .box-container .box h3 {
  font-size: 2rem;
  color: #ffffff;
  padding-bottom: 0.8rem;
  margin-bottom: 1.6rem;
  font-weight: 700;
  position: relative;
  letter-spacing: 0.05rem;
  text-transform: uppercase;
}

.footer .box-container .box h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #7c3aed);
  border-radius: 2px;
}

.footer .box-container .box p {
  font-size: 1.45rem;
  color: #94a3b8;
  padding: 0.5rem 0;
  line-height: 1.7;
  text-transform: none;
}

.footer .box-container .box p i {
  padding-right: 0.8rem;
  color: #60a5fa;
  font-size: 1.4rem;
  width: 22px;
}

.footer .box-container .box a {
  font-size: 1.45rem;
  color: #cbd5e1;
  padding: 0.6rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  transition: all 0.25s ease;
  text-decoration: none;
}

.footer .box-container .box a i {
  font-size: 1.1rem;
  color: #60a5fa;
  transition: transform 0.2s ease;
}

.footer .box-container .box a:hover {
  color: #38bdf8;
  transform: translateX(4px);
}

.footer .box-container .box a:hover i {
  color: #38bdf8;
}

/* Status badge in brand column */
.footer-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-size: 1.25rem;
  color: #34d399;
  font-weight: 600;
  margin-top: 1.6rem;
  width: fit-content;
}

.status-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulseDot 1.8s infinite;
}

/* Share social links */
.footer .box-container .box .share {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem 0 0 0;
}

.footer .box-container .box .share a {
  height: 4.2rem;
  width: 4.2rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.7rem;
  transition: all 0.25s ease;
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .box-container .box .share a:hover {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4);
}

/* Credit bar */
.footer .credit {
  margin-top: 5rem;
  padding-top: 2.5rem;
  text-align: center;
  font-size: 1.45rem;
  font-family: "Nunito", sans-serif;
  font-weight: 500;
  color: #94a3b8;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer .credit span {
  color: #60a5fa;
  font-weight: 600;
}

.footer .credit a {
  color: #e2e8f0;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer .credit a:hover {
  color: #38bdf8;
  text-decoration: underline;
}

/* Responsive Footer Media Queries */
@media (max-width: 992px) {
  .footer .box-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 3.5rem;
  }
}

@media (max-width: 600px) {
  .footer {
    padding: 4.5rem 6% 12rem 6%;
  }

  .footer .box-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer .box-container .box {
    margin: 0;
  }

  .footer .credit {
    margin-top: 4rem;
    padding-top: 2rem;
    font-size: 1.35rem;
    line-height: 1.6;
  }
}
/* 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: #ffae00;
  color: rgb(13, 0, 44);
  border-radius: 50%;
  transition: 1s linear;
  z-index: 1000;
}
#scroll-top.active {
  top: calc(100% - 12rem);
}
/* scroll top ends */



.img{
  background-color: #000;
}

/* Visitor Wall Styles */
.visitor-wall-btn {
  background: #ff6b35 !important;
  box-shadow: 0px 5px 10px rgba(255, 107, 53, 0.6) !important;
}

.visitor-wall-btn:hover {
  background: #e55a2b !important;
}

/* Certifications Button */
.certifications-btn {
  background: #28a745 !important;
  box-shadow: 0px 5px 10px rgba(40, 167, 69, 0.6) !important;
}

.certifications-btn:hover {
  background: #218838 !important;
}

.visitor-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.visitor-modal-content {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  margin: 2% auto;
  padding: 0;
  border-radius: 15px;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.visitor-modal-header {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  text-align: center;
  border-radius: 15px 15px 0 0;
  position: relative;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.visitor-modal-header h2 {
  color: #fff;
  font-size: 2.5rem;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.visitor-close {
  position: absolute;
  top: 1rem;
  right: 2rem;
  color: #fff;
  font-size: 3rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.visitor-close:hover {
  color: #ff6b35;
  transform: scale(1.1);
}

.visitor-stats {
  display: flex;
  justify-content: space-around;
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 2rem;
  border-radius: 10px;
  margin-top: 1rem;
}

.stat {
  text-align: center;
  color: #fff;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stat i {
  font-size: 1.6rem;
  color: #ffae00;
}

.visitor-description {
  padding: 2rem;
  text-align: center;
  color: #fff;
}

.visitor-description p {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

#messageCount {
  color: #ffae00;
  font-weight: 600;
  font-size: 1.8rem !important;
}

.visitor-form {
  padding: 0 2rem 2rem;
}

.visitor-form input,
.visitor-form textarea {
  width: 100%;
  padding: 1.2rem;
  margin-bottom: 1.5rem;
  border: none;
  border-radius: 10px;
  font-size: 1.4rem;
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
}

.visitor-form input:focus,
.visitor-form textarea:focus {
  outline: none;
  background: #fff;
  box-shadow: 0 0 15px rgba(255, 174, 0, 0.5);
}

.mood-selector {
  margin-bottom: 1.5rem;
}

.mood-selector p {
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.mood-options {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.mood-option {
  font-size: 2.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
}

.mood-option:hover,
.mood-option.selected {
  transform: scale(1.2);
  background: rgba(255, 174, 0, 0.3);
}

.character-count {
  text-align: right;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.send-message-btn {
  width: 100%;
  padding: 1.5rem;
  background: #ffae00;
  color: #000;
  border: none;
  border-radius: 10px;
  font-size: 1.6rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.send-message-btn:hover {
  background: #ff6b35;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.visitor-messages {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 15px 15px;
}

.visitor-messages h3 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.messages-container {
  max-height: 300px;
  overflow-y: auto;
}

.message-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-radius: 10px;
  border-left: 4px solid #ffae00;
  transition: all 0.3s ease;
}

.message-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(5px);
}

.message-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.message-user {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffae00;
  font-weight: 600;
  font-size: 1.4rem;
}

.message-time {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.2rem;
}

.message-text {
  color: #fff;
  font-size: 1.4rem;
  line-height: 1.5;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .visitor-modal-content {
    width: 95%;
    margin: 5% auto;
  }
  
  .visitor-modal-header h2 {
    font-size: 2rem;
  }
  
  .visitor-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .stat {
    justify-content: center;
  }
  
  .mood-options {
    justify-content: center;
  }
  
  .mood-option {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .resumebtn {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .visitor-wall-btn {
    margin-left: 0 !important;
  }
  
  .certifications-btn {
    margin-left: 0 !important;
  }
}

/* ===== CERTIFICATIONS MODAL STYLES ===== */
.certifications-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
}

.certifications-modal-content {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  margin: 1% auto;
  padding: 0;
  border-radius: 15px;
  width: 95%;
  max-width: 1000px;
  max-height: 95vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  animation: certModalSlideIn 0.3s ease-out;
}

@keyframes certModalSlideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.certifications-modal-header {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  text-align: center;
  border-radius: 15px 15px 0 0;
  position: relative;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.certifications-modal-header h2 {
  color: #fff;
  font-size: 2.5rem;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.certifications-close {
  position: absolute;
  top: 1rem;
  right: 2rem;
  color: #fff;
  font-size: 3rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.certifications-close:hover {
  color: #28a745;
  transform: scale(1.1);
}

.certifications-stats {
  display: flex;
  justify-content: space-around;
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 2rem;
  border-radius: 10px;
  margin-top: 1rem;
}

.cert-stat {
  text-align: center;
  color: #fff;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cert-stat i {
  font-size: 1.6rem;
  color: #28a745;
}

.certifications-description {
  padding: 2rem;
  text-align: center;
  color: #fff;
}

.certifications-description p {
  font-size: 1.6rem;
  margin: 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.certifications-viewer {
  padding: 0 2rem 2rem;
}

.cert-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  flex-wrap: wrap;
  gap: 1rem;
}

.nav-controls {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.jump-controls {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.jump-btn {
  background: rgba(40, 167, 69, 0.3);
  color: #fff;
  border: 1px solid #28a745;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.jump-btn:hover {
  background: #28a745;
}

.nav-btn {
  background: #28a745;
  color: #fff;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-btn:hover {
  background: #218838;
  transform: translateY(-2px);
}

.nav-btn:disabled {
  background: #6c757d;
  cursor: not-allowed;
  transform: none;
}

.cert-counter {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.certificate-display {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.cert-image-container {
  position: relative;
  text-align: center;
  margin-bottom: 2rem;
}

.certificate-img {
  max-width: 100%;
  max-height: 600px;
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
  display: block;
  margin: 0 auto;
}

.certificate-img:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.cert-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 1.8rem;
  display: none;
}

.cert-info {
  text-align: center;
  color: #fff;
}

.cert-info h3 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #28a745;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.cert-info p {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.cert-thumbnails {
  margin-top: 2rem;
}

.thumbnails-container {
  display: flex;
  gap: 0.8rem;
  overflow-x: auto;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  scrollbar-width: thin;
  scrollbar-color: #28a745 rgba(255, 255, 255, 0.1);
}

.thumbnails-container::-webkit-scrollbar {
  height: 8px;
}

.thumbnails-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.thumbnails-container::-webkit-scrollbar-thumb {
  background: #28a745;
  border-radius: 10px;
}

.thumbnails-container::-webkit-scrollbar-thumb:hover {
  background: #218838;
}

.thumbnail {
  min-width: 80px;
  height: 60px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  overflow: hidden;
  position: relative;
}

.thumbnail::after {
  content: attr(data-cert-num);
  position: absolute;
  bottom: 2px;
  right: 4px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  font-size: 10px;
  padding: 2px 4px;
  border-radius: 3px;
  font-weight: bold;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.thumbnail:hover,
.thumbnail.active {
  border-color: #28a745;
  transform: scale(1.05);
}

.thumbnail.active {
  box-shadow: 0 0 15px rgba(40, 167, 69, 0.5);
}

/* Fullscreen Image Viewer */
.fullscreen-viewer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10001;
  cursor: pointer;
}

.fullscreen-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 95%;
  max-height: 95%;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.fullscreen-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: #fff;
  font-size: 3rem;
  cursor: pointer;
  z-index: 10002;
  transition: all 0.3s ease;
}

.fullscreen-close:hover {
  color: #28a745;
  transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .certifications-modal-content {
    width: 98%;
    margin: 2% auto;
  }
  
  .certifications-modal-header h2 {
    font-size: 2rem;
  }
  
  .certifications-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .cert-stat {
    justify-content: center;
  }
  
  .cert-navigation {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-btn {
    width: 100%;
    justify-content: center;
  }
  
  .certificate-img {
    max-height: 300px;
  }
  
  .cert-info h3 {
    font-size: 1.8rem;
  }
  
  .thumbnails-container {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .resumebtn {
    flex-direction: column;
  }
  
  .resumebtn .btn {
    flex: none;
    margin: 0;
  }
  
  .visitor-wall-btn,
  .certifications-btn {
    margin-left: 0 !important;
  }
}

/* ===== DARK MODE ADDITIONAL STYLES ===== */
[data-theme="dark"] .skills {
  background: var(--secondary-bg);
}

[data-theme="dark"] .education {
  background: var(--primary-bg);
}

[data-theme="dark"] .work {
  background: var(--secondary-bg);
}

[data-theme="dark"] .experience {
  background: var(--primary-bg);
}

[data-theme="dark"] .contact {
  background: var(--secondary-bg);
}

[data-theme="dark"] .footer {
  background: var(--primary-bg);
}

/* Text colors for dark mode */
[data-theme="dark"] .about .row .content h3,
[data-theme="dark"] .education .box .content h3,
[data-theme="dark"] .experience .timeline .container .content .tag h2,
[data-theme="dark"] .footer .box h3 {
  color: var(--text-primary);
}

[data-theme="dark"] .about .row .content p,
[data-theme="dark"] .education .box .content p,
[data-theme="dark"] .experience .timeline .container .content .desc p,
[data-theme="dark"] .footer .box p {
  color: var(--text-secondary);
}

/* Cards and boxes in dark mode */
[data-theme="dark"] .education .box,
[data-theme="dark"] .work .box,
[data-theme="dark"] .contact .container,
[data-theme="dark"] .experience .timeline .container .content {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  box-shadow: 0 5px 15px var(--shadow-medium);
}

/* Form elements in dark mode */
[data-theme="dark"] .contact .container .content form .form-group .field input,
[data-theme="dark"] .contact .container .content form .message textarea {
  background: var(--card-bg);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

/* Navigation in dark mode */
[data-theme="dark"] header .navbar ul li a {
  color: var(--text-primary);
}

[data-theme="dark"] header .navbar ul li a.active,
[data-theme="dark"] header .navbar ul li a:hover {
  color: var(--accent-color);
  border-bottom: 0.2rem solid var(--accent-color);
}

/* Smooth transitions for all theme changes */
* {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease !important;
}

/* ===== GROK AI CHAT INTERFACE ===== */
.grok-chat-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  backdrop-filter: blur(5px);
}

.grok-chat-container {
  position: fixed;
  right: 2rem;
  top: 8rem;
  width: 400px;
  height: 600px;
  background: #1a1f36;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.grok-header {
  background: #252b42;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #3a4056;
}

.grok-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.grok-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #6f42c1 0%, #e83e8c 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.8rem;
}

.grok-details h3 {
  color: #fff;
  margin: 0;
  font-size: 1.6rem;
  font-weight: 600;
}

.grok-status {
  color: #8b949e;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.online-dot {
  color: #28a745;
  font-size: 0.8rem;
}

.grok-actions {
  display: flex;
  gap: 0.5rem;
}

.grok-action-btn {
  background: transparent;
  border: none;
  color: #8b949e;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 5px;
  font-size: 1.4rem;
  transition: all 0.3s ease;
}

.grok-action-btn:hover {
  background: #3a4056;
  color: #fff;
}

.grok-chat-area {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
  background: #1a1f36;
}

.grok-message {
  display: flex;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.message-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  font-size: 1.4rem;
}

.bot-message .message-avatar {
  background: linear-gradient(135deg, #6f42c1 0%, #e83e8c 100%);
  color: #fff;
}

.user-message {
  flex-direction: row-reverse;
}

.user-message .message-avatar {
  background: #007bff;
  color: #fff;
  margin-left: 1rem;
  margin-right: 0;
}

.message-content {
  background: #252b42;
  padding: 1.2rem 1.5rem;
  border-radius: 15px;
  max-width: 84%;
  word-wrap: break-word;
  word-break: break-word;
}

.user-message .message-content {
  background: #007bff;
  margin-right: 1rem;
}

.message-content p,
.message-content div {
  color: #fff;
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.55;
}

.message-content a {
  color: #60a5fa !important;
  text-decoration: underline !important;
  font-weight: 600 !important;
  display: inline-block;
  margin-top: 0.3rem;
}

.message-content a:hover {
  color: #93c5fd !important;
}

.grok-input-area {
  background: #252b42;
  padding: 1.5rem;
  border-top: 1px solid #3a4056;
}

.grok-suggestions {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.suggestion-btn {
  background: #3a4056;
  color: #8b949e;
  border: none;
  padding: 0.8rem 1.2rem;
  border-radius: 20px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.suggestion-btn:hover {
  background: #6f42c1;
  color: #fff;
  transform: translateY(-1px);
}

.grok-input-container {
  display: flex;
  gap: 1rem;
  align-items: center;
}

#grokInput {
  flex: 1;
  background: #1a1f36;
  border: 1px solid #3a4056;
  color: #fff;
  padding: 1.2rem 1.5rem;
  border-radius: 25px;
  font-size: 1.4rem;
  outline: none;
  transition: all 0.3s ease;
}

#grokInput:focus {
  border-color: #6f42c1;
  box-shadow: 0 0 0 2px rgba(111, 66, 193, 0.2);
}

#grokInput::placeholder {
  color: #8b949e;
}

.grok-send-btn {
  background: linear-gradient(135deg, #6f42c1 0%, #e83e8c 100%);
  border: none;
  color: #fff;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition: all 0.3s ease;
}

.grok-send-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(111, 66, 193, 0.4);
}

.grok-send-btn:disabled {
  background: #3a4056;
  cursor: not-allowed;
  transform: none;
}

.grok-footer {
  margin-top: 1rem;
  text-align: center;
  color: #8b949e;
  font-size: 1.1rem;
}

/* Typing indicator */
.typing-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #8b949e;
  font-style: italic;
  padding: 1rem;
}

.typing-dots {
  display: flex;
  gap: 0.3rem;
}

.typing-dot {
  width: 6px;
  height: 6px;
  background: #6f42c1;
  border-radius: 50%;
  animation: typing 1.4s infinite;
}

.typing-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing {
  0%, 60%, 100% {
    transform: scale(1);
    opacity: 0.7;
  }
  30% {
    transform: scale(1.3);
    opacity: 1;
  }
}

/* Mobile responsive */
@media (max-width: 768px) {
  .grok-chat-container {
    width: 94%;
    max-width: 430px;
    height: 80vh;
    max-height: 620px;
    right: 3%;
    left: 3%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 auto;
    border-radius: 16px;
  }
  
  .message-content {
    max-width: 82%;
  }
  
  #grokInput {
    font-size: 1.6rem;
  }
  
  .grok-suggestions {
    justify-content: center;
  }
  
  .suggestion-btn {
    font-size: 1.15rem;
    padding: 0.6rem 1rem;
  }
}

/* Minimized state */
.grok-chat-container.minimized {
  height: 60px !important;
  top: auto !important;
  bottom: 20px !important;
  transform: none !important;
}

.grok-chat-container.minimized .grok-chat-area,
.grok-chat-container.minimized .grok-input-area {
  display: none;
}

/* WhatsApp Floating Button Styles */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  left: auto;
  z-index: 990;
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: #25d366;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
  background: #128c7e;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
  color: white;
}

.whatsapp-text {
  font-size: 1.4rem;
  font-weight: 600;
  white-space: nowrap;
}

@keyframes pulse {
  0% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 25px rgba(37, 211, 102, 0.7);
  }
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
}

/* WhatsApp Social Icon Styles */
.social-icons .whatsapp i {
  color: #25d366;
  transition: all 0.3s ease;
}

.social-icons .whatsapp:hover i {
  color: #128c7e;
  transform: scale(1.2);
}

.footer .share .fa-whatsapp {
  color: #25d366;
  transition: all 0.3s ease;
}

.footer .share .fa-whatsapp:hover {
  color: #128c7e;
  transform: translateY(-3px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    left: auto;
  }
  
  .whatsapp-btn {
    padding: 0.8rem 1.2rem;
    font-size: 1.4rem;
  }
  
  .whatsapp-text {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .whatsapp-text {
    display: none;
  }
  
  .whatsapp-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    justify-content: center;
    padding: 0;
  }
}

/* ==========================================
   Full Stack Services Floating Widget (Bottom-Left)
   Parallel to WhatsApp Floating Button
   ========================================== */
.services-float {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 990;
}

.services-btn {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(59, 130, 246, 0.4);
  padding: 0.9rem 1.6rem;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.6), 0 0 20px rgba(37, 99, 235, 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  animation: servicesGlow 3s infinite alternate;
}

.services-btn:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(96, 165, 250, 0.8);
  box-shadow: 0 14px 35px -5px rgba(0, 0, 0, 0.7), 0 0 28px rgba(37, 99, 235, 0.45);
  background: rgba(15, 23, 42, 0.98);
}

.services-icon-wrap {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.6rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.services-pulse-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 11px;
  height: 11px;
  background: #10b981;
  border-radius: 50%;
  border: 2px solid #0f172a;
  animation: pulseDot 1.8s infinite;
}

.services-content {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.services-badge {
  font-size: 1.05rem;
  font-weight: 700;
  color: #38bdf8;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.services-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.2rem;
}

.services-title i {
  font-size: 1.2rem;
  color: #60a5fa;
  transition: transform 0.25s ease;
}

.services-btn:hover .services-title i {
  transform: translateX(4px);
  color: #93c5fd;
}

@keyframes servicesGlow {
  0% {
    box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.6), 0 0 15px rgba(37, 99, 235, 0.2);
  }
  100% {
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.7), 0 0 25px rgba(37, 99, 235, 0.4);
  }
}

@keyframes pulseDot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Responsive Services Widget */
@media (max-width: 768px) {
  .services-float {
    bottom: 20px;
    left: 20px;
  }
  
  .services-btn {
    padding: 0.75rem 1.3rem;
  }
  
  .services-icon-wrap {
    width: 36px;
    height: 36px;
    font-size: 1.4rem;
  }
  
  .services-badge {
    font-size: 0.95rem;
  }
  
  .services-title {
    font-size: 1.25rem;
  }
}

@media (max-width: 520px) {
  .services-float {
    bottom: 20px;
    left: 15px;
  }

  .services-badge {
    display: none;
  }

  .services-title {
    font-size: 1.2rem;
  }
  
  .services-btn {
    padding: 0.7rem 1.1rem;
    gap: 0.8rem;
  }
}

@media (max-width: 380px) {
  .services-title {
    display: none;
  }

  .services-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    justify-content: center;
    padding: 0;
  }

  .services-icon-wrap {
    box-shadow: none;
  }
}