* {
  margin: 0;
  padding: 0;
  font-family: 'poppins', sans-serif;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

:root {
  --bg-color: #ffffff;
  --text-color: #0c0c0c;
  --text-secondary: #d1d1d1;
  --section-title-color: #000000;
  --card-bg-light: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(74, 194, 200, 0.2);
  --theme-c: #4ac2c8;
  --input-bg: #f9fbfd;
  --contact-bg: rgba(255, 255, 255, 0.7);
  --slider-btn-bg: #ffffff;
}

body.dark-theme {
  --bg-color: #0f172a;
  --text-color: #e2e8f0;
  --text-secondary: #94a3b8;
  --section-title-color: #e2e8f0;
  --card-bg-light: rgba(15, 23, 42, 0.6);
  --glass-border: rgba(74, 194, 200, 0.4);
  --input-bg: rgba(255, 255, 255, 0.05);
  --contact-bg: rgba(15, 23, 42, 0.6);
  --slider-btn-bg: rgba(74, 194, 200, 0.15);
}

body {
  background: var(--bg-color);
  color: var(--text-color);
  transition: background 0.5s ease, color 0.5s ease;
}

/* Theme Toggle Button */
#theme-toggle {
  position: absolute;
  top: 15px;
  right: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1000;
}

@media (max-width: 768px) {
  #theme-toggle {
    display: none;
  }
}

#theme-toggle:hover {
  background: rgba(74, 194, 200, 0.2);
  border-color: rgba(74, 194, 200, 0.5);
  box-shadow: 0 0 15px rgba(74, 194, 200, 0.4);
  transform: scale(1.1);
}

#header {
  width: 100%;
  height: 100vh;
  background-image: url('Assets/Images/header.jpg');
  background-size: cover;
  background-position: center;
  position: relative; /* Ensure it is the absolute positioning context */
}

#webgl-glitch-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none; /* Allows mouse events to pass to document body to be tracked */
  overflow: hidden;
}

#webgl-glitch-container canvas {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hide canvas on mobile, fallback to the CSS background */
@media (max-width: 768px) {
  #webgl-glitch-container {
    display: none;
  }
}

#header .container {
  position: relative;
  z-index: 10; /* Keep contents above WebGL canvas */
}

/* Scroll Indicator */

.progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
  z-index: 10000;
}

.progress-bar {
  height: 4px;
  background: var(--theme-c);
  width: 0%;
  border-radius: 0 4px 4px 0;
  box-shadow: 0 0 10px var(--theme-c), 0 0 20px rgba(74, 194, 200, 0.5);
}

.content {
  padding: 100px 0;
  margin: 50px auto 0 auto;
  width: 80%;
}

/* Scroll Indicator End*/

.container {
  padding: 10px 10%;
}

.menu-btn {
  position: fixed;
  top: 15px;
  right: 15px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  color: #fff;
  cursor: pointer;
  z-index: 1001;
  transition: all 0.3s ease;
}

.menu-btn:hover {
  background: rgba(74, 194, 200, 0.2);
  border-color: rgba(74, 194, 200, 0.5);
  box-shadow: 0 0 15px rgba(74, 194, 200, 0.4);
  transform: rotate(180deg) scale(1.1);
}

/*--------------Top Navbar for Desktop-------------*/

.navbar {
  position: fixed;
  top: -80px;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: top 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.navbar.active {
  top: 0;
}

.navbar.scrolled {
  background: rgba(15, 23, 42, 1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-nav {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-item {
  display: flex;
  align-items: center;
  color: #fff;
  padding: 12px 20px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.4s ease;
  background: rgba(255, 255, 255, 0.05);
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.nav-item i {
  font-size: 1.3em;
  margin-right: 10px;
}

.nav-item span {
  font-size: 1.1em;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/*-----------------Sidebar for Mobile----------------*/

.sidebar {
  position: fixed;
  top: 0;
  right: -182px;
  width: 182px;
  height: 100vh;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(15px);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  transition: right 0.5s ease;
  overflow-x: hidden;
  padding-top: 60px;
  display: none;
  z-index: 999;
}

.sidebar.active {
  right: 0;
}

.sidebar-nav {
  list-style: none;
  padding: 0;
}

.sidebar .nav-item {
  justify-content: flex-start;
  padding: 15px 25px;
  margin: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  opacity: 0;
  transform: scale(0.95) translateX(20px);
  transition: all 0.4s ease;
}

.sidebar.active .nav-item {
  opacity: 1;
  transform: scale(1) translateX(0);
}

.sidebar .nav-item:hover {
  background: rgba(8, 8, 8, 0.2);
}

.link {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
}

/*-----------------Header Text Start----------------*/

.nav-left {
  position: absolute;
  margin-top: 100px;
}

.logo-txt {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  /* Added for subtle text mask reveal */
  overflow: hidden;
}

.logo-img {
  width: 40px;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.5), 0 0 40px rgba(70, 130, 180, 0.4);
  /* Stronger glow */
  opacity: 0;
  transform: scale(0.5);
  /* Start very small */
  animation: zoomInLight 1s ease-out forwards;
  animation-delay: 0.3s;
  /* First element */
}

@keyframes zoomInLight {
  from {
    opacity: 0;
    transform: scale(0.5);
    filter: brightness(0.5);
    /* Start dimmer */
  }

  to {
    opacity: 1;
    transform: scale(1);
    filter: brightness(1);
    /* Full brightness */
  }
}

.ven {
  font-size: 30px;
  text-decoration: none;
  font-weight: 800;
  color: white;
  opacity: 0;
  transform: translateY(10px);
  /* Start slightly below */
  animation: textScanReveal 1.2s cubic-bezier(0.23, 1, 0.32, 1) forwards;
  /* Smooth cubic bezier for scan */
  animation-delay: 0.8s;
  /* Appears after logo */
  position: relative;
  /* For the reveal overlay */
}

/* Subtle scan line effect */
.ven::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  /* Light wipe color */
  transform: translateX(-100%);
  /* Start off-screen */
  animation: textScanLine 1.2s cubic-bezier(0.23, 1, 0.32, 1) forwards;
  animation-delay: 0.8s;
  z-index: 1;
  /* Above the text */
}

@keyframes textScanReveal {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  50% {
    opacity: 1;
  }

  /* Text becomes visible as line passes */
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes textScanLine {
  0% {
    transform: translateX(-100%);
  }

  50% {
    transform: translateX(0%);
  }

  /* Line passes over */
  100% {
    transform: translateX(100%);
    opacity: 0;
  }

  /* Line disappears */
}

/* Header Text Styling */
.header-text {
  text-align: center;
  margin: 10% auto;
  /* Reduced from 15% to prevent pushing the bottom layout */
  font-size: 40px;
  line-height: 1.2;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.header-title {
  font-size: 50px;
  position: relative;
  perspective: 1000px;
  /* For 3D transforms */
}

/* Individual line animations */
.up,
.down {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px) rotateX(90deg);
  /* Start below and rotated back in 3D */
  transform-origin: center bottom;
  /* Rotate from the bottom */
}

/* Animation for "HI!.." */
.up {
  color: black;
  font-size: 100px;
  font-weight: 600;
  animation: flipIn 1.3s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
  /* Smooth flip */
  animation-delay: 1.8s;
  /* After "HI!.." */
  text-shadow: 0 0 25px rgba(255, 255, 255, 0.9), 0 0 50px rgba(70, 130, 180, 0.6);
  /* Stronger, wider glow */
}

/* Animation for "Venkat" */
.down {
  color: black;
  font-size: 100px;
  font-weight: 600;
  animation: flipIn 1.3s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
  /* Smooth flip */
  animation-delay: 1.8s;
  /* After "HI!.." */
  text-shadow: 0 0 25px rgba(255, 255, 255, 0.9), 0 0 50px rgba(70, 130, 180, 0.6);
  /* Stronger, wider glow */
}

/* 3D Flip/Rotation effect */
@keyframes flipIn {
  0% {
    opacity: 0;
    transform: translateY(30px) rotateX(90deg);
  }

  70% {
    opacity: 1;
    transform: translateY(-5px) rotateX(-5deg);
    /* Slight overshoot */
  }

  100% {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
  }
}

.header-subtitle {
  color: rgba(45, 118, 221, 0.2);
  font-size: 90px;
  font-weight: 700;
  opacity: 0;
  /* Combine with shimmer */
  animation: fadeInScale 1.5s ease-out forwards, shimmer 3s infinite linear;
  animation-delay: 2.2s;
  /* After main title */
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% {
    text-shadow: 0 0 20px rgba(45, 118, 221, 0.1);
  }

  50% {
    text-shadow: 0 0 40px rgba(45, 118, 221, 0.5);
  }

  100% {
    text-shadow: 0 0 20px rgba(45, 118, 221, 0.1);
  }
}

@keyframes fadeInSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Header Buttons Container (Desktop Base) */
.header-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  animation: fadeInSlideUp 1.5s ease-out forwards;
  opacity: 0;
  animation-delay: 2.7s;
}

.header-buttons .btn {
  margin: 0;
  font-size: 22px;
  padding: 10px 30px;
}

.header-buttons .fa-download {
  margin-left: 5px;
}

/* Open to Opportunities Badge (Theme matching Cyan) */
.status-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  background: rgba(45, 118, 221, 0.2);
  /* cyan theme matching */
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(74, 194, 200, 0.3);
  backdrop-filter: blur(5px);
  animation: fadeInSlideUp 1.5s ease-out forwards;
  opacity: 0;
  animation-delay: 2.5s;
}

.status-dot {
  width: 10px;
  height: 10px;
  background-color: #4ac2c8;
  border-radius: 50%;
  box-shadow: 0 0 10px #4ac2c8, 0 0 20px #4ac2c8;
  animation: pulseGlow 1.5s infinite ease-in-out;
}

.status-text {
  color: #0f0f0f;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

@keyframes pulseGlow {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 8px #4ac2c8, 0 0 16px #4ac2c8;
  }

  50% {
    opacity: 0.3;
    transform: scale(0.8);
    box-shadow: 0 0 2px #4ac2c8;
  }
}

.btn.H {
  opacity: 0;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 1;
  animation: fadeInUp 1s ease-out 3s forwards, bounce 2s infinite 4s;
  cursor: pointer;
}

.scroll-text {
  font-size: 20px;
  font-weight: 500;
  color: black;
}

.scroll-arrow {
  width: 12px;
  height: 12px;
  border: 5px solid black;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

@media (max-width: 768px) {
  .scroll-indicator {
    bottom: 5rem;
  }
}

@keyframes fadeInUp {
  0% {
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
  }

  100% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

/*-----------------Header Text End----------------------*/

/* Floating Socials */
.floating-socials {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 100;
  animation: fadeInSlideRight 1.5s ease-out forwards;
  opacity: 0;
  animation-delay: 2.8s;
}

.floating-socials a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 22px;
  transition: all 0.3s ease;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  text-decoration: none;
}

.floating-socials a:hover {
  color: #4ac2c8;
  background: rgba(74, 194, 200, 0.1);
  border-color: rgba(74, 194, 200, 0.4);
  box-shadow: 0 0 15px rgba(74, 194, 200, 0.4);
  transform: translateX(5px);
}

@keyframes fadeInSlideRight {
  from {
    opacity: 0;
    transform: translate(-20px, -50%);
  }

  to {
    opacity: 1;
    transform: translate(0, -50%);
  }
}

@media (max-width: 900px) {
  .floating-socials {
    left: 10px;
    gap: 12px;
    top: 25%;
    /* Moves it up perfectly beneath the logo */
    transform: translateY(0);
    /* Stops the default centering */
  }

  .floating-socials a {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
}

/*-----------------about section Start------------------*/

.profile-hud-container {
  position: relative;
  transform-style: preserve-3d;
  width: 90%;
  margin: 0 auto;
  opacity: 0;
  transform: translateX(-50px) scale(0.8);
  animation: imageSlideFadeIn 1s ease-out forwards;
  animation-delay: 1.2s;
}

.about-img {
  width: 100%;
  height: auto;
  border-radius: 50px;
  box-shadow: 
    0 8px 20px rgba(0, 255, 255, 0.1),
    0 0 20px rgba(0, 255, 255, 0.25),
    inset 0 0 8px rgba(0, 255, 255, 0.1);
  display: block;
}

@keyframes imageSlideFadeIn {
  from {
    opacity: 0;
    transform: translateX(-50px) scale(0.8);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

#header,
#About,
#Skills,
#Education,
#Certifications,
#Projects,
#Hire,
#Contact {
  border-bottom: 1px solid var(--glass-border);
}

#About {
  margin-top: 0;
  padding: 10px 0;
  position: relative;
  background-color: var(--bg-color);
  transition: background-color 0.5s ease;
  /* Base for Vanta canvas */
}

/* Inset shadow over Vanta interactive canvas */
#About::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  z-index: 10;
}

.row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  padding: 40px;
  border-radius: 20px;
  background: rgba(25, 25, 25, 0.9);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(74, 194, 200, 0.2);
  box-shadow: 
    0 8px 20px rgba(0, 255, 255, 0.1),
    0 0 20px rgba(0, 255, 255, 0.25),
    inset 0 0 8px rgba(0, 255, 255, 0.1);
  color: #fff;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  align-items: flex-start;
}

.row:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 12px 30px rgba(0, 255, 255, 0.2),
    0 0 30px rgba(0, 255, 255, 0.35),
    inset 0 0 12px rgba(0, 255, 255, 0.15);
}

.about-col1 {
  flex-basis: 35%;
}

.about-col1 img {
  width: 100%;
}

.about-col2 {
  flex-basis: 60%;
}

.section-title,
.who-title {
  font-size: 35px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 25px;
  color: #4ac2c8;
}

.who-title {
  text-align: left;
}

.about-col2 p {
  text-align: justify;
  text-justify: inter-word;
  line-height: 1.6;
  font-size: 16px;
  color: #d1d1d1;
}

/*-----------------about section-tab-titles---------*/

.tab-titles {
  display: flex;
  margin: 20px 0 40px;
  gap: 0;
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  padding: 5px;
  border-radius: 50px;
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.5);
  width: max-content;
  max-width: 100%;
  overflow-x: auto; /* for tiny screens */
}

/* Hide scrollbar for tab tracks */
.tab-titles::-webkit-scrollbar {
  display: none;
}

.tab-indicator {
  position: absolute;
  top: 5px;
  left: 5px;
  height: calc(100% - 10px);
  width: 0;
  background: rgba(74, 194, 200, 0.15); /* Glass Cyan Pill */
  border: 1px solid rgba(74, 194, 200, 0.4);
  border-radius: 50px;
  box-shadow: 0 0 15px rgba(74, 194, 200, 0.3);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); /* Smooth snap */
  pointer-events: none; /* Let clicks pass to links */
  z-index: 1;
}

.tab-links {
  background: transparent;
  padding: 10px 25px;
  border-radius: 50px;
  border: none;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  color: #fff;
  transition: color 0.4s ease;
  position: relative;
  z-index: 10;
  white-space: nowrap;
}

.tab-links:hover,
.tab-links.active-link {
  background: transparent;
  transform: none;
  box-shadow: none;
  color: #4ac2c8;
}

.tab-contents ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.tab-contents ul li {
  margin: 0;
  list-style: none;
  color: #e0e0e0;
  background: rgba(255, 255, 255, 0.03);
  padding: 15px;
  border-radius: 10px;
  border-left: 4px solid #4ac2c8;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInListItem 0.6s ease-out forwards;
}

.tab-contents ul li:nth-child(1) {
  animation-delay: 0.8s;
}

.tab-contents ul li:nth-child(2) {
  animation-delay: 1.2s;
}

.tab-contents ul li:nth-child(3) {
  animation-delay: 1.4s;
}

.tab-contents ul li:nth-child(4) {
  animation-delay: 1.6s;
}

.tab-contents ul li:nth-child(5) {
  animation-delay: 1.8s;
}

.tab-contents ul li:nth-child(6) {
  animation-delay: 2.0s;
}

@keyframes fadeInListItem {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tab-contents ul li span {
  color: #4ac2c8;
  font-size: 16px;
  font-weight: 600;
  display: block;
  margin-bottom: 5px;
}

.tab-contents {
  display: none;
}

.tab-contents.active-tab {
  display: block;
}

.current-focus-widget {
  position: absolute;
  bottom: -20px;
  right: -20px;
  transform: translateZ(60px);
  padding: 15px 25px;
  background: rgba(20, 20, 20, 0.85); /* Deep glass */
  border: 1px solid rgba(74, 194, 200, 0.4);
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 20px;
  backdrop-filter: blur(15px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(74, 194, 200, 0.2);
  transition: all 0.4s ease;
  width: auto;
  max-width: 90%;
  z-index: 10;
}

.current-focus-widget:hover {
  transform: translateZ(80px) scale(1.05); /* Stronger pop on hover */
  border-color: rgba(74, 194, 200, 0.8);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(74, 194, 200, 0.4);
}

.focus-pulse {
  width: 14px;
  height: 14px;
  background-color: #4ac2c8;
  border-radius: 50%;
  box-shadow: 0 0 10px #4ac2c8, 0 0 20px #4ac2c8;
  animation: pulseGlowFocus 2s infinite;
  flex-shrink: 0;
}

@keyframes pulseGlowFocus {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(74, 194, 200, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(74, 194, 200, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(74, 194, 200, 0);
  }
}

.focus-text {
  text-align: left;
}

.focus-title {
  font-size: 13px;
  color: #ababab;
  margin-bottom: 4px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.focus-activity {
  font-size: 16px;
  color: #e0e0e0;
  font-weight: 600;
}

@media (max-width: 900px) {
  .current-focus-widget {
    width: 100%;
    margin-top: 20px;
  }
}

.philosophy-quote {
  margin-top: 25px;
  padding: 20px 25px;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  border-left: 4px solid #4ac2c8;
  background: linear-gradient(90deg, rgba(74, 194, 200, 0.08) 0%, transparent 100%);
  border-radius: 0 15px 15px 0;
  animation: fadeInSlideUp 1s ease-out forwards;
  opacity: 0;
  animation-delay: 1.7s;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.philosophy-quote:hover {
  transform: translateX(5px);
  background: linear-gradient(90deg, rgba(74, 194, 200, 0.12) 0%, transparent 100%);
}

.philosophy-quote p {
  font-size: 16px;
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(90deg, #ffffff, #4ac2c8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.5;
  margin: 0;
  text-align: left;
  /* Overriding the justify from .about-col2 p if it somehow inherited */
}

.mobile-quote {
  display: none;
}

.philosophy-quote h4.mobile-quote {
  font-size: 18px;
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(90deg, #ffffff, #4ac2c8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.5;
  margin: 0;
  text-align: left;
}

@media (max-width: 900px) {
  .philosophy-quote {
    width: 100%;
    margin-top: 20px;
  }

  .desktop-quote {
    display: none;
  }

  .mobile-quote {
    display: block;
  }

  .about-col2 p {
    text-align: left;
    /* Prevents awkward gaps on small screens */
  }
}

/*---------------End--of--about--section----------------------*/

/*---------------Start--of--Skill--section--------------------*/

#Skills {
  margin-top: 0;
  padding: 20px 0;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

#Skills::before,
#Education::before,
#Certifications::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  z-index: 10;
}

.row-skill {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.Edu-container {
  position: relative;
  width: 100%;
  min-height: auto;
  padding: 30px 0;
}

.Edu-container .main-title {
  max-width: 700px;
  margin: 0px auto;
  text-align: center;
}

.Edu-container .main-title h1 {
  position: relative;
  font-size: 40px;
  color: #242223;
  margin-bottom: 30px;
  display: inline-block;
}

.Edu-container .main-title h1::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  top: 125%;
  left: 0;
  background-color: #808080;
}

.Edu-container .main-title h1::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 3px;
  background-color: #d03645;
  top: calc(125% - 1px);
  left: 50%;
  transform: translateX(-50%);
}

.main-title p {
  color: #808080;
  font-size: 20px;
}

.Edu-container .row-skill {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-top: 70px;
}

.row-skill .col {
  flex-basis: 48%;
  background: rgba(25, 25, 25, 0.9);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(74, 194, 200, 0.2);
  border-radius: 20px;
  padding: 40px;
  box-shadow:
    0 8px 20px rgba(0, 255, 255, 0.1),
    0 0 20px rgba(0, 255, 255, 0.25),
    inset 0 0 8px rgba(0, 255, 255, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.row-skill .col:hover {
  transform: translateY(-5px);
  box-shadow:
    0 12px 30px rgba(0, 255, 255, 0.2),
    0 0 30px rgba(0, 255, 255, 0.35),
    inset 0 0 12px rgba(0, 255, 255, 0.15);
}

.row-skill .sub-title h2 {
  position: relative;
  color: #4ac2c8;
  font-size: 24px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 30px;
}

.row-skill .sub-title h2::before {
  content: '';
  position: absolute;
  width: 50%;
  height: 1px;
  top: 125%;
  left: 0;
  background-color: #808080;
}

.row-skill .sub-title h2::after {
  content: '';
  position: absolute;
  width: 25%;
  height: 3px;
  top: calc(125% - 1px);
  left: 0;
  background-color: #4ac2c8;
}

.sub-title h2:hover {
  box-shadow: 0 0 25px rgba(0, 180, 255, 0.4), 0 0 50px rgba(0, 180, 255, 0.2);
  /* Blue glow around image */
  cursor: pointer;
}

.subject {
  font-size: 16px;
  font-weight: 500;
  color: #e0e0e0;
  padding-bottom: 12px;
  text-transform: uppercase;
}

.subject i {
  margin-right: 12px;
  font-size: 20px;
  vertical-align: middle;
}

.skills-container h4 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 10px;
  margin-top: 15px;
}

.progress-bar {
  position: relative;
  width: 100%;
  height: 6px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  margin-bottom: 25px;
}

.progress-bar::after {
  position: absolute;
  content: attr(value);
  top: -28px;
  right: 0;
  color: #4ac2c8;
  font-size: 15px;
  font-weight: 600;
}

.progress-line {
  position: absolute;
  width: 0%;
  height: 6px;
  background: linear-gradient(90deg, #2d76dd, #4ac2c8);
  border-radius: 15px;
  top: 0px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.aos-animate .progress-line {
  animation: animate 1.5s cubic-bezier(1, 0.2, 0.2, 1) forwards;
  animation-delay: 0.3s;
  /* Wait for container to fade in before filling */
}

@keyframes animate {
  100% {
    width: 100%;
  }
}

.progress-line::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  top: 50%;
  left: 100%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  box-shadow: 0 0 10px #4ac2c8, 0 0 20px #4ac2c8;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

/* --- Skill Hover Effects --- */
.skill {
  transition: transform 0.3s ease;
}

.skill:hover {
  transform: translateX(8px);
}

.skill:hover .subject {
  color: #fff;
  text-shadow: 0 0 10px rgba(74, 194, 200, 0.5);
  transform: scale(1.02);
  transform-origin: left;
}

.skill:hover .progress-line {
  box-shadow: 0 0 15px rgba(74, 194, 200, 0.7);
  background: linear-gradient(90deg, #3fa8ff, #62e5eb);
}

.skill:hover .progress-line::after {
  box-shadow: 0 0 15px #62e5eb, 0 0 30px #62e5eb;
  background-color: #ffffff;
  transform: translate(-50%, -50%) scale(1.3);
}

/* --- Skill Tags Effects --- */
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 25px;
}

.skill-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(74, 194, 200, 0.2);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  color: #e0e0e0;
  display: flex;
  align-items: center;
  gap: 8px;
  /* space between icon and text */
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  cursor: default;
}

.skill-tag i {
  font-size: 16px;
}

.skill-tag:hover {
  transform: translateY(-4px);
  background: rgba(74, 194, 200, 0.15);
  border-color: rgba(74, 194, 200, 0.6);
  box-shadow: 0 8px 20px rgba(74, 194, 200, 0.3);
  color: #fff;
}

/* --- Glassmorphic Tooltips --- */
.glass-tooltip {
  position: relative;
  cursor: help;
}

.glass-tooltip::after {
  content: attr(data-title);
  position: absolute;
  bottom: 120%;
  /* Position above element */
  left: 0;
  transform: translateY(10px);
  opacity: 0;
  visibility: hidden;
  background: rgba(25, 25, 25, 0.85);
  /* Slightly darker for contrast */
  color: #fff;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  border-radius: 8px;
  border: 1px solid rgba(74, 194, 200, 0.4);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 0 10px rgba(74, 194, 200, 0.2);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 10;
  text-transform: none;
  /* Override uppercase from .subject */
  letter-spacing: normal;
  pointer-events: none;
}

.glass-tooltip:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media(max-width: 768px) {
  .container {
    padding: 30px 8%;
  }
}

@media(max-width: 568px) {
  .container .row-skill {
    flex-direction: column;
  }

  .container .main-title h1 {
    font-size: 36px;
  }

  .container .row-skill {
    margin-top: 30px;
  }

  .row-skill .col:nth-child(2) {
    margin-top: 20px;
  }
}

/*---------------End--of--Skill--section----------------------*/

/*---------------Start--of--Edu--section----------------------*/

#Education {
  margin-top: 10px;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
  /* Subtle inner shadow for depth */
}

.edu-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 1100px;
  margin: auto;
  margin-top: 100px;
  margin-bottom: 100px;
}

.edu-card {
  background: rgba(255, 255, 255, 0.05);
  border: 0px solid transparent;
  border-radius: 20px;
  padding: 25px 20px;
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
  transition: 0.4s;
  box-shadow:
    0 8px 20px rgba(0, 255, 255, 0.1),
    0 0 20px rgba(0, 255, 255, 0.25),
    inset 0 0 8px rgba(0, 255, 255, 0.1);
}

.edu-card:hover {
  box-shadow:
    0 12px 30px rgba(0, 255, 255, 0.2),
    0 0 30px rgba(0, 255, 255, 0.35),
    inset 0 0 12px rgba(0, 255, 255, 0.15);
}

.edu-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  animation: rotate 4s linear infinite;
  z-index: -1;
}

.edu-card::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  border-radius: 18px;
  background: #0f0f0f;
  z-index: -1;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.edu-card h3 {
  text-align: center;
  font-size: 1.5rem;
  color: #4ac2c8;
  margin-bottom: 10px;
}

.edu-card .icon-glass {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px auto;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(74, 194, 200, 0.1);
  border: 1px solid rgba(74, 194, 200, 0.3);
  border-radius: 50%;
  font-size: 24px;
  color: #4ac2c8;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 15px rgba(74, 194, 200, 0.2);
  backdrop-filter: blur(5px);
  transition: all 0.4s ease;
}

.edu-card:hover .icon-glass {
  background: rgba(74, 194, 200, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 25px rgba(74, 194, 200, 0.4);
  transform: translateY(-5px) scale(1.05);
  color: #fff;
}

.edu-card .institute {
  text-align: center;
  font-weight: 600;
  color: #ddd;
}

.edu-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 15px 0 20px 0;
  flex-wrap: wrap;
}

.edu-card .badge {
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.edu-card .badge i {
  font-size: 14px;
}

.edu-card .year-badge {
  background: rgba(255, 255, 255, 0.08);
  /* slight glass effect */
  color: #d1d1d1;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.edu-card .score-badge {
  background: rgba(74, 194, 200, 0.15);
  /* cyan glass effect */
  color: #4ac2c8;
  border: 1px solid rgba(74, 194, 200, 0.3);
  box-shadow: 0 0 10px rgba(74, 194, 200, 0.1);
}

.edu-card:hover .year-badge {
  background: rgba(255, 255, 255, 0.12);
}

.edu-card:hover .score-badge {
  background: rgba(74, 194, 200, 0.25);
  box-shadow: 0 0 15px rgba(74, 194, 200, 0.3);
  transform: translateY(-2px);
}

.edu-card p {
  text-align: center;
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.5;
}

/*---------------Start-of--Certification section------------*/

#Certifications {
  padding: 50px 0;
  margin-top: 10px;
  background-color: var(--bg-color);
  transition: background-color 0.5s ease;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
  /* Subtle inner shadow for depth */
}

.certi-slider-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: 20px;
  margin-top: 50px;
  z-index: 1;
}

.certi-slider-track-wrap {
  overflow: hidden;
  width: 100%;
}

.certi-list {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  gap: 40px;
  position: relative;
}

.cert-card {
  flex: 0 0 calc((100% - 80px) / 3);
  /* 3 items per row, 2 gaps of 40px */
  background: rgba(25, 25, 25, 0.9);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(74, 194, 200, 0.2);
  padding: 40px;
  font-size: 14px;
  font-weight: 300;
  color: #e0e0e0;
  line-height: 1.6;
  border-radius: 20px;
  transition: all 0.5s ease;
  box-shadow:
    0 8px 20px rgba(0, 255, 255, 0.1),
    0 0 20px rgba(0, 255, 255, 0.25),
    inset 0 0 8px rgba(0, 255, 255, 0.1);
  box-sizing: border-box;
}

/* Slider Controls */
.slider-btn {
  background: var(--slider-btn-bg);
  color: #4ac2c8;
  border: 1px solid rgba(74, 194, 200, 0.3);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  outline: none;
}

.slider-btn:hover {
  background: rgba(74, 194, 200, 0.3);
  color: #fff;
  box-shadow: 0 4px 20px rgba(74, 194, 200, 0.4);
  transform: scale(1.1);
}

.slider-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: scale(1);
  box-shadow: none;
}

@media(max-width: 1024px) {
  .cert-card {
    flex: 0 0 calc((100% - 40px) / 2);
    /* 2 per row */
  }
}

@media(max-width: 768px) {
  .certi-slider-container {
    gap: 10px;
    padding-bottom: 70px;
    /* Space for the navigation arrows */
  }

  .cert-card {
    flex: 0 0 100%;
    /* 1 per row */
  }

  .slider-btn {
    position: absolute;
    bottom: 5px;
    width: 45px;
    height: 45px;
  }

  .prev-btn {
    left: calc(50% - 55px);
  }

  .next-btn {
    right: calc(50% - 55px);
  }
}

.cert-card i {
  font-size: 50px;
  margin-bottom: 25px;
  color: #4ac2c8;
  filter: drop-shadow(0 0 8px rgba(74, 194, 200, 0.5));
}

.cert-card h2 {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 15px;
  color: #ffffff;
}

.cert-card .cert-btn {
  text-decoration: none;
  color: #4ac2c8;
  font-size: 13px;
  font-weight: 500;
  margin: 25px auto 0;
  display: flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(74, 194, 200, 0.1);
  border: 1px solid rgba(74, 194, 200, 0.3);
  border-radius: 30px;
  transition: all 0.4s ease;
}

.cert-card .cert-btn i {
  font-size: 14px;
  margin-bottom: 0;
  color: inherit;
  filter: none;
}

.cert-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 12px 30px rgba(0, 255, 255, 0.2),
    0 0 30px rgba(0, 255, 255, 0.35),
    inset 0 0 12px rgba(0, 255, 255, 0.15);
  border-color: rgba(74, 194, 200, 0.4);
}

.cert-card:hover .cert-btn {
  background: rgba(74, 194, 200, 0.25);
  box-shadow: 0 0 15px rgba(74, 194, 200, 0.3);
  color: #fff;
}

/*---------------End--of--certification--section--------------*/

/*---------------Start--of--Projects--Section-----------------*/

#Projects {
  padding: 50px 0;
  margin-top: 10px;
  background-color: var(--bg-color);
  transition: background-color 0.5s ease;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
}

.proj-slider-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: 20px;
  margin-top: 50px;
  z-index: 1;
}

.proj-slider-track-wrap {
  overflow: hidden;
  width: 100%;
}

.proj-list {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  gap: 40px;
  position: relative;
}

.proj {
  flex: 0 0 calc((100% - 80px) / 3);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

@media(max-width: 1024px) {
  .proj {
    flex: 0 0 calc((100% - 40px) / 2);
  }
}

@media(max-width: 768px) {
  .proj-slider-container {
    gap: 10px;
    padding-bottom: 70px;
  }

  .proj {
    flex: 0 0 100%;
  }
}

.proj {
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-left: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow:
    0 8px 20px rgba(0, 255, 255, 0.1),
    0 0 20px rgba(0, 255, 255, 0.25),
    inset 0 0 8px rgba(0, 255, 255, 0.1);
  transition: all 0.4s ease;
}

.proj:hover {
  box-shadow:
    0 12px 30px rgba(0, 255, 255, 0.2),
    0 0 30px rgba(0, 255, 255, 0.35),
    inset 0 0 12px rgba(0, 255, 255, 0.15);
}

.proj img {
  width: 100%;
  border-radius: 10px;
  display: block;
  transition: transform 0.5s;
}

.layer {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  /* Dark black glassmorphic */
  backdrop-filter: blur(8px);
  border-radius: 10px;
  position: absolute;
  left: 0;
  bottom: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 40px;
  text-align: center;
  font-size: 14px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
  color: #fff;
}

.layer h2 {
  font-weight: 500;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.proj-link-btn {
  text-decoration: none;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 30px;
  transition: all 0.4s ease;
}

.proj-link-btn:hover {
  background: #ffffff;
  color: #4ac2c8;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5), 0 0 30px rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

.proj-link-btn i {
  font-size: 14px;
}

.proj:hover img {
  transform: scale(1.1);
}

.proj:hover .layer {
  opacity: 1;
  transform: translateY(0);
}

.btn {
  display: block;
  margin: 50px auto;
  width: fit-content;
  font-size: 20px;
  background-color: rgba(45, 118, 221, 0.2);
  border: 1px solid #d8dbddc5;
  border-width: 3px;
  padding: 14px 40px;
  border-radius: 25px;
  text-decoration: none;
  color: #fff;
  transition: background 0.5s;
}

.btn:hover {
  box-shadow: 0 0 25px rgba(0, 180, 255, 0.4), 0 0 50px rgba(0, 180, 255, 0.2);
  /* Blue glow around image */
}

/*--------------End--of--project--section------------------*/

/*--------------Start--of--Hire--Me --section----------------*/

#Hire {
  padding: 80px 0;
  position: relative;
  background-color: transparent;
}

.hire-section {
  width: 100%;
}

.hire-glass-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.75);
  /* Dark black glassmorphic */
  backdrop-filter: blur(12px);
  padding: 50px 60px;
  border-radius: 20px;
  box-shadow: 
    0 8px 20px rgba(0, 255, 255, 0.1),
    0 0 20px rgba(0, 255, 255, 0.25),
    inset 0 0 8px rgba(0, 255, 255, 0.1);
  border: 1px solid rgba(74, 194, 200, 0.4);
  color: #fff;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hire-glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 12px 30px rgba(0, 255, 255, 0.2),
    0 0 30px rgba(0, 255, 255, 0.35),
    inset 0 0 12px rgba(0, 255, 255, 0.15);
}

.hire-text-content {
  text-align: left;
}

.hire-text-content h1 {
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hire-text-content p {
  font-size: 18px;
  font-weight: 300;
}

.hire-btn {
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  padding: 16px 36px;
  border-radius: 40px;
  background: #ffffff;
  color: #4ac2c8;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.4s ease;
  white-space: nowrap;
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.hire-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.6), 0 0 20px rgba(255, 255, 255, 0.6);
  background: #ffffff;
}

@media(max-width: 768px) {
  .hire-glass-card {
    flex-direction: column;
    text-align: center;
    padding: 40px 30px;
    gap: 30px;
  }

  .hire-text-content {
    text-align: center;
  }

  .hire-text-content h1 {
    font-size: 32px;
  }
}

/*--------------End--of--Hire--Me --section------------------*/

/*--------------Start--of--Contact--section----------------*/

#Contact {
  position: relative;
  margin-bottom: 20px;
  overflow: hidden;
  padding: 20px 0;
}

.contact-left,
.contact-right {
  background: var(--contact-bg);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(74, 194, 200, 0.3);
  box-shadow:
    0 8px 20px rgba(0, 255, 255, 0.1),
    0 0 20px rgba(0, 255, 255, 0.25),
    inset 0 0 8px rgba(0, 255, 255, 0.1);
  padding: 40px;
  border-radius: 20px;
  color: var(--text-color);
  transition: all 0.5s ease;
}

.contact-left:hover,
.contact-right:hover {
  transform: translateY(-5px);
  box-shadow:
    0 12px 30px rgba(0, 255, 255, 0.2),
    0 0 30px rgba(0, 255, 255, 0.35),
    inset 0 0 12px rgba(0, 255, 255, 0.15);
}

.contact-left {
  flex-basis: 35%;
  margin-top: 8px;
}

.contact-right {
  flex-basis: 60%;
}

.contact-left p {
  margin-top: 30px;
  font-weight: 500;
}

.contact-left p i {
  color: #4ac2c8;
  margin-right: 15px;
  font-size: 25px;
}

.social-icons {
  margin-top: 30px;
}

.social-icons a {
  text-decoration: none;
  font-size: 30px;
  margin-right: 15px;
  color: #4ac2c8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: all 0.4s ease;
}

.social-icons a:hover {
  color: #fff;
  background: #4ac2c8;
  box-shadow: 0 5px 15px rgba(74, 194, 200, 0.5);
  transform: translateY(-5px);
}

.btn.btn-2 {
  display: inline-block;
  background-color: #4ac2c8;
  color: white;
  border-radius: 30px;
  padding: 12px 30px;
  margin-top: 20px;
  transition: all 0.4s ease;
  box-shadow: 0 5px 15px rgba(74, 194, 200, 0.3);
  border: none;
}

.btn.btn-2:hover {
  background-color: #fff;
  color: #4ac2c8;
  box-shadow: 0 8px 25px rgba(74, 194, 200, 0.5);
  transform: translateY(-3px);
}

.contact-right form {
  width: 100%;
}

form input,
form textarea {
  width: 100%;
  border: 1px solid rgba(74, 194, 200, 0.2);
  outline: none;
  background: var(--input-bg);
  padding: 15px;
  margin: 15px 0;
  color: var(--text-color);
  font-size: 16px;
  border-radius: 10px;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.03);
  transition: all 0.5s ease;
}

form input:focus,
form textarea:focus {
  border-color: #4ac2c8;
  box-shadow: inset 0 2px 5px rgba(74, 194, 200, 0.1), 0 0 10px rgba(74, 194, 200, 0.2);
}

.btn.btn-3 {
  display: block;
  background-color: #4ac2c8;
  color: white;
  border-radius: 30px;
  transition: all 0.4s ease;
  box-shadow: 0 5px 15px rgba(74, 194, 200, 0.3);
  border: none;
}

.section-title.con,
.section-title.con-get {
  font-size: 30px;
  text-align: left;
  color: var(--text-color);
  margin-bottom: 20px;
}

form .btn.btn-3 {
  padding: 14px 60px;
  font-size: 18px;
  margin-top: 15px;
  cursor: pointer;
}

form .btn.btn-3:hover {
  background-color: #fff;
  color: #4ac2c8;
  box-shadow: 0 8px 25px rgba(74, 194, 200, 0.5);
  transform: translateY(-3px);
}

#msg {
  color: #4ac2c8;
  margin-top: -40px;
  display: block;
}

/*--------------End--of--Contact--section--------------------*/

/*--------------Start--of--Copy Right--section---------------*/

#copy {
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
  /* Subtle inner shadow for depth */
}

.copyright {
  width: 100%;
  text-align: center;
  padding: 25px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(74, 194, 200, 0.3);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
  color: #e2e8f0;
  font-weight: 300;
  letter-spacing: 0.5px;
}

nav .fa-solid {
  display: none;
}

/*--------------End--of--Copy Right--section-----------------*/

/* Responsive Switch */

@media (max-width: 768px) {
  .navbar {
    display: none;
  }

  .sidebar {
    display: block;
  }
}

@media (min-width: 769px) {
  .sidebar {
    display: none;
  }

  .navbar {
    display: flex;
  }
}

@media screen and (max-width: 600px) {
  .section-title {
    font-size: 2.2rem;
  }
}

@media only screen and (max-width: 600px) {

  /*---------------Header Section Start For Small Screen--------------*/

  #header {
    background-image: url(Assets/Images/phone.jpg);
  }

  .menu-btn {
    position: fixed;
    background: #d8dbddc5;
    padding: 5px 12px;
    border: black;
  }

  .nav-left {
    position: absolute;
    margin-top: 0%;
  }

  .logo-img {
    width: 30px;
    margin-top: 8px;
  }

  .ven {
    font-size: 24px;
    text-decoration: none;
    font-weight: 800;
    color: black;
  }

  .header-text {
    margin-top: 80%;
  }

  .up,
  .down {
    font-size: 60px;
  }

  .header-subtitle {
    font-size: 24px;
    color: black;
    /* Matched exactly to the main text color */
    margin-top: 15px;
    margin-bottom: 10px;
    text-shadow: none;
    /* Keeps the text clean without blur on mobile */
  }

  .btn.H {
    opacity: 80%;
    margin-top: 10px;
    color: #fff;
    background: rgba(45, 118, 221, 0.2);
  }

  .btn:hover {
    box-shadow: 0 0 25px rgba(45, 118, 221, 0.2), 0 0 50px rgba(0, 180, 255, 0.2);
    /* Blue glow around image */
  }

  /* Native App Vertical Stack UI Override */
  .header-buttons {
    flex-direction: column !important;
    gap: 15px !important;
    margin-top: 25px !important;
    width: 100%;
    align-items: center;
  }

  .header-buttons .btn {
    width: 250px !important;
    /* Forces wide native app pill look */
    font-size: 18px !important;
    padding: 12px 20px !important;
    text-align: center;
  }

  /* Compact Status Badge so it doesn't fight the buttons */
  .status-badge {
    padding: 4px 12px;
    margin-top: 5px;
  }

  .status-text {
    font-size: 13px;
  }

  .status-dot {
    width: 6px;
    height: 6px;
  }

  /* Fix Scroll Indicator Overlap on Mobile */
  .scroll-indicator {
    bottom: 1px !important;
    /* Pushes the jumping arrow down away from the Resume button */
  }

  .scroll-text {
    color: black !important;
    /* Matched to Hi I'm Venkat */
    font-weight: 600;
  }

  /*---------------Header Section End For Small Screen--------------*/

  /*---------------About Section Start For Small Screen--------------*/

  .about-img {
    max-width: 100%;
    border-radius: 50px;
  }

  .row {
    padding: 20px;

  }

  .section-title {
    font-size: 40px;
  }

  .about-col1,
  .about-col2 {
    flex-basis: 100%;
  }

  .about-col1 {
    margin-bottom: 20px;
  }

  .about-col2 {
    font-size: 16px;
  }

  .tab-contents ul {
    grid-template-columns: 1fr;
  }

  /* Segmented control style for mobile so tabs fit elegantly on one line */
  .tab-titles {
    flex-wrap: nowrap;
    gap: 8px;
    justify-content: space-between;
  }

  .tab-links {
    font-size: 13px;
    padding: 8px 5px;
    margin-right: 0;
    font-weight: 500;
    flex: 1;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .contact-left,
  .contact-right {
    flex-basis: 100%;
  }

  .copyright {
    font-size: 14px;
  }

  .logo-txt {
    font-size: 20px;
    text-decoration: none;
    font-weight: 100;
    color: black;
  }

  .section-subtitle {
    text-align: center;
    font-size: 30px;
    margin-bottom: 20px;
  }

}