/*===========================
    CSS Variables
============================*/
:root {
  /* Colors */
  --dark-bg: #0f0c29;
  --dark-bg-secondary: #1a1a2e;
  --neon-blue: #00f7ff;
  --neon-purple: #bd00ff;
  --neon-teal: #00ff9d;
  --white: #ffffff;
  --light-gray: #f0f0f0;
  --gray: #cccccc;
  --dark-gray: #888888;

  /* Fonts */
  --heading-font: 'Poppins', 'Montserrat', sans-serif;
  --body-font: 'Inter', 'Roboto', sans-serif;

  /* Transitions */
  --transition: all 0.3s ease;
  --transition-long: all 0.5s ease;
}

/*===========================
    Dark Mode Variables
============================*/
.dark-mode {
  --dark-bg: #0a0a1a;
  --dark-bg-secondary: #15152d;
}

/*===========================
    Base Styles
============================*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--body-font);
  background: linear-gradient(135deg, var(--dark-bg) 0%, #302b63 100%);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 20%, rgba(14, 12, 40, 0.8) 0%, rgba(26, 26, 46, 0.6) 90%);
  z-index: -1;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: var(--neon-blue);
  transition: var(--transition);
}

a:hover {
  color: var(--neon-teal);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
}

.section-padding {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
  border-radius: 2px;
}

.text-neon {
  color: var(--neon-blue);
  text-shadow: 0 0 10px rgba(0, 247, 255, 0.7);
}

.btn-neon {
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
  color: var(--dark-bg);
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  font-family: var(--heading-font);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 0 15px rgba(0, 247, 255, 0.4);
}

.btn-neon:hover {
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(0, 247, 255, 0.6);
}

.btn-neon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--neon-purple), var(--neon-blue));
  z-index: -1;
  opacity: 0;
  transition: var(--transition);
}

.btn-neon:hover::before {
  opacity: 1;
}

.btn-outline-neon {
  border: 2px solid var(--neon-blue);
  color: var(--neon-blue);
  background: transparent;
  padding: 10px 30px;
  border-radius: 30px;
  font-weight: 600;
  font-family: var(--heading-font);
  transition: var(--transition);
}

.btn-outline-neon:hover {
  background: var(--neon-blue);
  color: var(--dark-bg);
  box-shadow: 0 0 15px rgba(0, 247, 255, 0.4);
}

.glassmorphism {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  overflow: visible;
  max-width: 100%;
}

/*===========================
    Preloader
============================*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top: 4px solid var(--neon-blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/*===========================
    Header
============================*/
.header-area {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  padding: 20px 0;
  transition: var(--transition);
  background: rgba(15, 12, 41, 0.8);
  backdrop-filter: blur(10px);
}

.header-area.scrolled {
  padding: 15px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--white);
  position: relative;
}

.navbar-brand::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
}

.navbar-nav .nav-link {
  color: var(--white);
  font-weight: 500;
  margin: 0 10px;
  position: relative;
  transition: var(--transition);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--neon-blue);
  transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

/*============================
    Hero Section
============================*/
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 247, 255, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
  z-index: -1;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-content h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.1;
}

.typed-text {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: var(--gray);
  min-height: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem; /* Add space between "I'm a" and the typed text */
}

.typed-text .typed {
  color: var(--neon-purple);
  font-weight: 600;
  min-width: 200px;
  position: relative;
  display: inline-block;
}

.typed-text .typed::after {
  content: '|';
  animation: blink 1s infinite;
  color: var(--neon-blue);
  margin-left: 5px;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 600px;
}

.hero-btns .btn {
  margin-right: 15px;
  margin-bottom: 10px;
}

/* Profile Image Styles */
.hero-img {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-img-container {
  position: relative;
  width: 400px;
  height: 400px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid transparent;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple), var(--neon-teal));
  background-clip: padding-box;
  padding: 4px;
  animation: profileGlow 3s ease-in-out infinite, profileFloat 6s ease-in-out infinite;
  box-shadow: 0 0 30px rgba(0, 247, 255, 0.3),
              0 0 60px rgba(189, 0, 255, 0.2),
              0 0 90px rgba(0, 247, 255, 0.1);
}

.profile-img-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    transparent,
    rgba(0, 247, 255, 0.3),
    transparent 30%,
    transparent,
    rgba(189, 0, 255, 0.3),
    transparent 70%,
    transparent
  );
  animation: profileRotate 4s linear infinite;
  z-index: -1;
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  transition: transform 0.3s ease;
}

.profile-img-container:hover .profile-img {
  transform: scale(1.05);
}

.profile-img-container:hover {
  animation: profileGlow 1s ease-in-out infinite, profileFloat 3s ease-in-out infinite, profilePulse 0.5s ease-in-out infinite;
  box-shadow: 0 0 40px rgba(0, 247, 255, 0.5),
              0 0 80px rgba(189, 0, 255, 0.4),
              0 0 120px rgba(0, 247, 255, 0.3);
}

/* Profile Image Animations */
@keyframes profileGlow {
  0%, 100% {
    box-shadow: 0 0 30px rgba(0, 247, 255, 0.3),
                0 0 60px rgba(189, 0, 255, 0.2),
                0 0 90px rgba(0, 247, 255, 0.1);
  }
  50% {
    box-shadow: 0 0 40px rgba(0, 247, 255, 0.5),
                0 0 80px rgba(189, 0, 255, 0.4),
                0 0 120px rgba(0, 247, 255, 0.3);
  }
}

@keyframes profileFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

@keyframes profileRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes profilePulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

/*============================
    About Section
============================*/
.about-section {
  position: relative;
}

.about-img {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

.about-img img {
  transition: var(--transition);
  transform: scale(1);
}

.about-img:hover img {
  transform: scale(1.05);
}

.about-content h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-content .lead {
  margin-bottom: 20px;
  color: var(--gray);
}

.skills h4 {
  margin-bottom: 15px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-tag {
  background: rgba(0, 247, 255, 0.1);
  color: var(--neon-blue);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  border: 1px solid rgba(0, 247, 255, 0.3);
}

.experience h4 {
  margin-bottom: 15px;
}

.specialties-list {
  padding-left: 0;
}

.specialties-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

/*============================
    Services Section
============================*/
.services-section {
  position: relative;
  background: rgba(10, 10, 30, 0.5);
  overflow-x: hidden;
}

.services-section .container {
  overflow-x: hidden;
  max-width: 100%;
}

.services-section .row {
  margin-left: 0;
  margin-right: 0;
  overflow-x: hidden;
}

.services-section [class*="col-"] {
  padding-left: 15px;
  padding-right: 15px;
  max-width: 100%;
  overflow-x: hidden;
}

.service-card {
  padding: 30px;
  border-radius: 15px;
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  max-width: 100%;
  box-sizing: border-box;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(0, 247, 255, 0.3);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--neon-blue);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  color: var(--neon-purple);
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--white);
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  line-height: 1.3;
}

.service-card p {
  color: var(--gray);
  line-height: 1.6;
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  margin-bottom: 0;
  flex: 1;
}

/*============================
    Portfolio Section
============================*/
.portfolio-section {
  position: relative;
  background: rgba(10, 10, 30, 0.5);
  display: block !important;
}

.portfolio-section .container {
  display: block !important;
}

.filter-btn-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 30px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.filter-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--dark-bg);
  border-color: transparent;
  box-shadow: 0 0 20px rgba(0, 247, 255, 0.6);
}

.filter-btn:hover::before,
.filter-btn.active::before {
  transform: scaleX(1);
}

.portfolio-item {
  margin-bottom: 30px; /* Added bottom margin to portfolio item container */
}

.portfolio-card {
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.4s ease;
  height: 100%;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.portfolio-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(0, 247, 255, 0.5);
}

.portfolio-img {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.portfolio-card:hover .portfolio-img img {
  transform: scale(1.15);
}

.portfolio-img::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-img::after {
  opacity: 1;
}

.portfolio-content {
  padding: 30px;
}

.portfolio-content h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--white);
  transition: color 0.3s ease;
}

.portfolio-card:hover .portfolio-content h3 {
  color: var(--neon-blue);
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}

.portfolio-tags .tag {
  background: rgba(0, 247, 255, 0.1);
  color: var(--neon-blue);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  border: 1px solid rgba(0, 247, 255, 0.3);
  transition: all 0.3s ease;
}

.portfolio-tags .tag:hover {
  background: rgba(0, 247, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 247, 255, 0.2);
}

.portfolio-actions {
  display: flex;
  gap: 15px;
}

.portfolio-actions .btn {
  flex: 1;
  text-align: center;
  padding: 10px 20px;
  font-size: 0.95rem;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.portfolio-actions .btn-sm {
  padding: 8px 15px;
  font-size: 0.9rem;
}

.portfolio-card:hover .portfolio-actions .btn-neon {
  box-shadow: 0 0 20px rgba(0, 247, 255, 0.5);
  transform: translateY(-2px);
}

.portfolio-card:hover .portfolio-actions .btn-outline-neon {
  box-shadow: 0 0 20px rgba(0, 247, 255, 0.3);
  transform: translateY(-2px);
}

/* Responsive adjustments for portfolio */
@media (max-width: 768px) {
  .filter-btn-group {
    gap: 10px;
    margin-bottom: 30px;
  }
  
  .filter-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .service-card {
    padding: 25px;
    margin-bottom: 20px;
  }
  
  .service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }
  
  .service-card p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  .service-icon {
    font-size: 2.2rem;
    margin-bottom: 15px;
  }
  
  .portfolio-img {
    height: 200px;
  }
  
  .portfolio-content {
    padding: 20px;
  }
  
  .portfolio-content h3 {
    font-size: 1.2rem;
  }
  
  .portfolio-actions {
    flex-direction: column;
    gap: 10px;
  }
  
  .portfolio-actions .btn {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .portfolio-img {
    height: 180px;
  }
  
  .service-card {
    padding: 20px;
    margin-bottom: 20px;
    min-height: auto;
  }
  
  .service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.4;
    max-width: 100%;
  }
  
  .service-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 100%;
  }
  
  .service-icon {
    font-size: 2rem;
    margin-bottom: 12px;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .services-section .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .service-card {
    padding: 18px;
    margin-bottom: 15px;
  }
  
  .service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }
  
  .service-card p {
    font-size: 0.85rem;
    line-height: 1.5;
  }
  
  .service-icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }
}

/*============================
    Skills Section
============================*/
.skills-section {
  position: relative;
  background: rgba(10, 10, 30, 0.5);
}

.skills-content h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--white);
}

.skills-content p {
  color: var(--gray);
  margin-bottom: 30px;
  line-height: 1.7;
}

.skill-bar {
  margin-bottom: 25px;
  opacity: 0;
  transform: translateX(-20px);
  animation: skillBarFadeIn 0.6s ease-out forwards;
}

.skill-bar:nth-child(1) { animation-delay: 0.1s; }
.skill-bar:nth-child(2) { animation-delay: 0.2s; }
.skill-bar:nth-child(3) { animation-delay: 0.3s; }
.skill-bar:nth-child(4) { animation-delay: 0.4s; }
.skill-bar:nth-child(5) { animation-delay: 0.5s; }
.skill-bar:nth-child(6) { animation-delay: 0.6s; }
.skill-bar:nth-child(7) { animation-delay: 0.7s; }

@keyframes skillBarFadeIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.skill-info span:first-child {
  font-weight: 600;
  color: var(--white);
}

.skill-info span:last-child {
  color: var(--neon-blue);
  font-weight: 600;
}

.progress {
  height: 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  overflow: visible;
  position: relative;
}

.progress-bar {
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
  border-radius: 5px;
  position: relative;
  overflow: visible;
  box-shadow: 0 0 10px rgba(0, 247, 255, 0.5);
}

.progress-bar::after {
  content: '';
  position: absolute;
  top: -5px;
  right: -5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--neon-blue);
  box-shadow: 0 0 10px var(--neon-blue);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 247, 255, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 247, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 247, 255, 0);
  }
}

.skills-chart {
  position: relative;
  padding: 20px;
  opacity: 0;
  transform: scale(0.8);
  animation: chartFadeIn 1s ease-out 0.3s forwards;
}

@keyframes chartFadeIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.skills-chart h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--white);
  text-align: center;
}

#skillsChart {
  width: 100% !important;
  height: auto !important;
  max-height: 400px;
  filter: drop-shadow(0 0 10px rgba(0, 247, 255, 0.3));
  transition: filter 0.3s ease;
  position: relative;
}

#skillsChart:hover {
  filter: drop-shadow(0 0 20px rgba(0, 247, 255, 0.5));
}

/* Ensure tick labels are visible */
#skillsChart canvas {
  position: relative;
  z-index: 1;
}

/* Chart.js tick label styling */
.chartjs-render-monitor {
  position: relative;
}

/* Ensure backdrop for tick labels is visible */
canvas[data-chartjs-radar] {
  padding: 20px;
}

/* Chart.js customization */
.chartjs-render-monitor {
  animation: chartAppear 1s ease-out;
}

@keyframes chartAppear {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive adjustments for skills */
@media (max-width: 992px) {
  .skills-content h3,
  .skills-chart h3 {
    font-size: 1.6rem;
  }
  
  #skillsChart {
    max-height: 350px;
  }
}

@media (max-width: 768px) {
  .skills-content,
  .skills-chart {
    margin-bottom: 30px;
  }
  
  .skills-content h3,
  .skills-chart h3 {
    font-size: 1.5rem;
    text-align: center;
  }
  
  .skills-content p {
    text-align: center;
  }
  
  .skill-info {
    flex-direction: column;
    gap: 5px;
  }
  
  .skill-info span:last-child {
    align-self: flex-end;
  }
  
  #skillsChart {
    max-height: 300px;
  }
}

@media (max-width: 576px) {
  .skills-content h3,
  .skills-chart h3 {
    font-size: 1.4rem;
  }
  
  .skill-bar {
    margin-bottom: 20px;
  }
  
  .skill-info span:first-child {
    font-size: 0.9rem;
  }
  
  .skill-info span:last-child {
    font-size: 0.9rem;
  }
  
  #skillsChart {
    max-height: 250px;
  }
}

/*============================
    Contact Section
============================*/
.contact-section {
  position: relative;
  background: rgba(10, 10, 30, 0.5);
}

.contact-info {
  padding: 40px;
  height: 100%;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--white);
}

.contact-info p {
  color: var(--gray);
  margin-bottom: 30px;
  line-height: 1.7;
}

.contact-details {
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(0, 247, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
  transition: var(--transition);
}

.contact-icon i {
  color: var(--neon-blue);
  font-size: 1.2rem;
}

.contact-item:hover .contact-icon {
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
  transform: scale(1.1);
}

.contact-item:hover .contact-icon i {
  color: var(--dark-bg);
}

.contact-text h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--white);
}

.contact-text p {
  margin-bottom: 0;
  color: var(--gray);
  font-size: 1rem;
}

.social-links h4 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--white);
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font-size: 1.2rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icons a:hover {
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
  color: var(--dark-bg);
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 247, 255, 0.4);
}

.contact-form {
  padding: 40px;
  height: 100%;
}

.contact-form .form-label {
  color: var(--white);
  margin-bottom: 8px;
  font-weight: 500;
}

.contact-form .form-control {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  padding: 12px 15px;
  border-radius: 8px;
  transition: var(--transition);
  margin-bottom: 20px;
}

.contact-form .form-control:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--neon-blue);
  box-shadow: 0 0 0 0.25rem rgba(0, 247, 255, 0.25);
  outline: 0;
}

.contact-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

/*============================
    Footer
============================*/
.footer {
  background: linear-gradient(180deg, rgba(15, 12, 41, 0.95) 0%, rgba(10, 8, 30, 0.98) 100%);
  padding: 60px 0 25px;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 0%, rgba(0, 247, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer .row:first-child {
  margin-bottom: 30px;
  align-items: center;
}

.footer-info {
  display: flex;
  flex-direction: column;
}

.footer-info h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--white);
  position: relative;
  display: inline-block;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.footer-info h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(0, 247, 255, 0.5);
}

.footer-info p {
  color: var(--gray);
  line-height: 1.8;
  max-width: 500px;
  font-size: 0.95rem;
  margin-top: 10px;
}

.social-links-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 15px;
  height: 100%;
  min-height: 60px;
}

.social-links-footer a {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 1.3rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.social-links-footer a:hover {
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  color: var(--darker-bg);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 247, 255, 0.5);
  border-color: transparent;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 25px;
  text-align: center;
  margin-top: 20px;
}

.copyright p {
  color: var(--gray);
  margin-bottom: 0;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-wrap: wrap;
}

.copyright .fas.fa-heart {
  color: #ff4757;
  animation: heartbeat 1.5s infinite;
  text-shadow: 0 0 10px rgba(0, 247, 255, 0.6),
               0 0 20px rgba(0, 247, 255, 0.4),
               0 0 30px rgba(0, 247, 255, 0.2);
  filter: drop-shadow(0 0 5px rgba(0, 247, 255, 0.8));
}

@keyframes heartbeat {
  0% { 
    transform: scale(1);
    text-shadow: 0 0 10px rgba(0, 247, 255, 0.6),
                 0 0 20px rgba(0, 247, 255, 0.4),
                 0 0 30px rgba(0, 247, 255, 0.2);
  }
  5% { 
    transform: scale(1.2);
    text-shadow: 0 0 15px rgba(0, 247, 255, 0.8),
                 0 0 25px rgba(0, 247, 255, 0.6),
                 0 0 35px rgba(0, 247, 255, 0.4);
  }
  10% { 
    transform: scale(1);
    text-shadow: 0 0 10px rgba(0, 247, 255, 0.6),
                 0 0 20px rgba(0, 247, 255, 0.4),
                 0 0 30px rgba(0, 247, 255, 0.2);
  }
  15% { 
    transform: scale(1.2);
    text-shadow: 0 0 15px rgba(0, 247, 255, 0.8),
                 0 0 25px rgba(0, 247, 255, 0.6),
                 0 0 35px rgba(0, 247, 255, 0.4);
  }
  20% { 
    transform: scale(1);
    text-shadow: 0 0 10px rgba(0, 247, 255, 0.6),
                 0 0 20px rgba(0, 247, 255, 0.4),
                 0 0 30px rgba(0, 247, 255, 0.2);
  }
  100% { 
    transform: scale(1);
    text-shadow: 0 0 10px rgba(0, 247, 255, 0.6),
                 0 0 20px rgba(0, 247, 255, 0.4),
                 0 0 30px rgba(0, 247, 255, 0.2);
  }
}

/*============================
    Chatbot - Modern Design
============================*/
.chatbot {
  position: fixed;
  bottom: 100px;
  right: 30px !important;
  left: auto !important;
  width: 380px;
  height: 600px;
  background: rgba(15, 12, 41, 0.98);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
              0 0 0 1px rgba(0, 247, 255, 0.2),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: none;
  flex-direction: column;
  z-index: 1000;
  border: 1px solid rgba(0, 247, 255, 0.3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transform: translateY(30px) scale(0.9);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  overflow: hidden;
}

.chatbot.open {
  display: flex;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.chatbot-header {
  padding: 20px;
  background: linear-gradient(135deg, rgba(0, 247, 255, 0.15), rgba(189, 0, 255, 0.15));
  border-bottom: 1px solid rgba(0, 247, 255, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.chatbot-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 247, 255, 0.5), transparent);
}

.chatbot-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chatbot-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--darker-bg);
  font-size: 1.2rem;
  box-shadow: 0 0 15px rgba(0, 247, 255, 0.4);
  animation: avatarPulse 2s ease-in-out infinite;
}

@keyframes avatarPulse {
  0%, 100% {
    box-shadow: 0 0 15px rgba(0, 247, 255, 0.4);
  }
  50% {
    box-shadow: 0 0 25px rgba(0, 247, 255, 0.7);
  }
}

.chatbot-header-text h3 {
  margin: 0;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
}

.chatbot-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--gray);
  margin-top: 2px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-teal);
  box-shadow: 0 0 8px var(--neon-teal);
  animation: statusBlink 2s ease-in-out infinite;
}

@keyframes statusBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.chatbot-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.chatbot-close:hover {
  background: rgba(255, 71, 87, 0.2);
  color: #FF4757;
  transform: rotate(90deg) scale(1.1);
}

.chatbot-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  scroll-behavior: smooth;
}

.chatbot-messages::-webkit-scrollbar {
  width: 6px;
}

.chatbot-messages::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.chatbot-messages::-webkit-scrollbar-thumb {
  background: rgba(0, 247, 255, 0.3);
  border-radius: 10px;
}

.chatbot-messages::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 247, 255, 0.5);
}

.message {
  display: flex;
  gap: 10px;
  max-width: 85%;
  animation: messageSlideIn 0.4s ease-out;
  align-items: flex-start;
}

@keyframes messageSlideIn {
  from {
    opacity: 0;
    transform: translateY(15px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.message-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.bot-message {
  align-self: flex-start;
}

.bot-message .message-avatar {
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  color: var(--darker-bg);
  box-shadow: 0 0 10px rgba(0, 247, 255, 0.3);
}

.user-message {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.user-message .message-avatar {
  background: linear-gradient(135deg, var(--neon-teal), var(--neon-blue));
  color: var(--darker-bg);
  box-shadow: 0 0 10px rgba(0, 255, 194, 0.3);
}

.message-content {
  flex: 1;
}

.message-text {
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 0.9rem;
  line-height: 1.5;
  word-wrap: break-word;
  position: relative;
}

.bot-message .message-text {
  background: rgba(0, 247, 255, 0.15);
  color: var(--white);
  border: 1px solid rgba(0, 247, 255, 0.3);
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 247, 255, 0.1);
}

.user-message .message-text {
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  color: var(--darker-bg);
  border-bottom-right-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 247, 255, 0.3);
  font-weight: 500;
}

.message-time {
  font-size: 0.7rem;
  color: var(--gray);
  margin-top: 4px;
  padding: 0 4px;
  opacity: 0.7;
}

.user-message .message-time {
  text-align: right;
}

.chatbot-typing-indicator {
  padding: 10px 20px;
  display: flex;
  align-items: center;
}

.typing-dots {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(0, 247, 255, 0.15);
  border-radius: 18px;
  border: 1px solid rgba(0, 247, 255, 0.3);
  width: fit-content;
}

.typing-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-blue);
  animation: typingBounce 1.4s ease-in-out infinite;
}

.typing-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingBounce {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.7;
  }
  30% {
    transform: translateY(-10px);
    opacity: 1;
  }
}

.chatbot-input {
  padding: 15px;
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(0, 247, 255, 0.2);
}

.input-wrapper {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.chatbot-input input {
  flex: 1;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 25px;
  color: var(--white);
  font-size: 0.9rem;
  outline: none;
  transition: all 0.3s ease;
}

.chatbot-input input:focus {
  border-color: var(--neon-blue);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(0, 247, 255, 0.2);
}

.chatbot-input input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.send-btn {
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  color: var(--darker-bg);
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 247, 255, 0.3);
}

.send-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 247, 255, 0.5);
}

.send-btn:active {
  transform: translateY(0) scale(0.95);
}

.quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.quick-reply-btn {
  padding: 6px 12px;
  background: rgba(0, 247, 255, 0.1);
  border: 1px solid rgba(0, 247, 255, 0.3);
  border-radius: 15px;
  color: var(--white);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.quick-reply-btn:hover {
  background: rgba(0, 247, 255, 0.2);
  border-color: var(--neon-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 247, 255, 0.2);
}

.chatbot-toggle-btn {
  position: fixed !important;
  bottom: 30px !important;
  right: 30px !important;
  left: auto !important;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  color: var(--darker-bg);
  border: none;
  font-size: 1.6rem;
  box-shadow: 0 8px 25px rgba(0, 247, 255, 0.4),
              0 0 0 0 rgba(0, 247, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: toggleFloat 3s ease-in-out infinite, togglePulse 2s ease-in-out infinite;
}

@keyframes toggleFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes togglePulse {
  0%, 100% {
    box-shadow: 0 8px 25px rgba(0, 247, 255, 0.4),
                0 0 0 0 rgba(0, 247, 255, 0.4);
  }
  50% {
    box-shadow: 0 8px 25px rgba(0, 247, 255, 0.6),
                0 0 0 8px rgba(0, 247, 255, 0);
  }
}

.chatbot-toggle-btn:hover {
  transform: translateY(-8px) scale(1.1);
  box-shadow: 0 15px 40px rgba(0, 247, 255, 0.7);
  animation: none;
}

.notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #FF4757;
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(255, 71, 87, 0.5);
  animation: badgeBounce 0.5s ease;
}

@keyframes badgeBounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* Responsive adjustments */
/* Tablet (992px and below) */
@media (max-width: 992px) {
  .social-links-footer {
    justify-content: flex-start;
  }
  
  .chatbot {
    width: 380px;
    max-width: calc(100% - 40px);
    height: 580px;
    max-height: calc(100vh - 140px);
    right: 20px !important;
    left: auto !important;
    bottom: 100px;
  }
  
  .chatbot-header {
    padding: 18px;
  }
  
  .chatbot-avatar {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }
  
  .chatbot-header-text h3 {
    font-size: 1.05rem;
  }
  
  .chatbot-messages {
    padding: 18px;
  }
  
  .message {
    max-width: 82%;
  }
  
  .message-avatar {
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
  }
  
  .message-text {
    padding: 11px 15px;
    font-size: 0.88rem;
  }
  
  .chatbot-input {
    padding: 14px;
  }
  
  .send-btn {
    width: 42px;
    height: 42px;
    font-size: 0.95rem;
  }
  
  .chatbot-toggle-btn {
    width: 60px;
    height: 60px;
    font-size: 1.4rem;
    bottom: 20px !important;
    right: 20px !important;
    left: auto !important;
  }
  
  .quick-replies {
    gap: 7px;
  }
  
  .quick-reply-btn {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
  .contact-info,
  .contact-form {
    padding: 30px;
  }
  
  .footer {
    padding: 40px 0 20px;
  }
  
  .footer-info {
    text-align: center;
    margin-bottom: 30px;
  }
  
  .footer-info h3 {
    font-size: 1.6rem;
  }
  
  .footer-info h3::after {
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
  }
  
  .footer-info p {
    margin: 0 auto;
    max-width: 100%;
  }
  
  .social-links-footer {
    justify-content: center;
    margin-bottom: 0;
  }
  
  .copyright {
    margin-top: 30px;
  }
  
  .chatbot {
    width: calc(100% - 30px);
    max-width: 100%;
    height: calc(100vh - 110px);
    max-height: calc(100vh - 110px);
    right: 15px !important;
    left: 15px !important;
    bottom: 95px;
    border-radius: 18px;
  }
  
  .chatbot-header {
    padding: 16px;
    border-radius: 18px 18px 0 0;
  }
  
  .chatbot-avatar {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .chatbot-header-text h3 {
    font-size: 1rem;
  }
  
  .chatbot-status {
    font-size: 0.7rem;
  }
  
  .chatbot-messages {
    padding: 16px;
    gap: 12px;
  }
  
  .message {
    max-width: 88%;
    gap: 8px;
  }
  
  .message-avatar {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }
  
  .message-text {
    padding: 10px 14px;
    font-size: 0.85rem;
    line-height: 1.4;
  }
  
  .message-time {
    font-size: 0.65rem;
  }
  
  .chatbot-input {
    padding: 12px;
    border-radius: 0 0 18px 18px;
  }
  
  .chatbot-input input {
    padding: 10px 16px;
    font-size: 0.85rem;
  }
  
  .send-btn {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }
  
  .chatbot-toggle-btn {
    width: 55px;
    height: 55px;
    font-size: 1.3rem;
    bottom: 20px !important;
    right: 20px !important;
    left: auto !important;
  }
  
  .quick-replies {
    gap: 6px;
    margin-top: 6px;
  }
  
  .quick-reply-btn {
    font-size: 0.75rem;
    padding: 5px 10px;
  }
  
  .typing-dots {
    padding: 10px 14px;
  }
  
  .typing-dots span {
    width: 7px;
    height: 7px;
  }
}

/* Small Mobile (576px and below) */
@media (max-width: 576px) {
  .chatbot {
    width: calc(100% - 20px);
    max-width: 100%;
    height: calc(100vh - 100px);
    max-height: calc(100vh - 100px);
    right: 10px !important;
    left: 10px !important;
    bottom: 85px;
    border-radius: 15px;
  }
  
  .chatbot-header {
    padding: 14px;
    border-radius: 15px 15px 0 0;
  }
  
  .chatbot-avatar {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }
  
  .chatbot-header-text h3 {
    font-size: 0.95rem;
  }
  
  .chatbot-status {
    font-size: 0.65rem;
  }
  
  .status-dot {
    width: 7px;
    height: 7px;
  }
  
  .chatbot-close {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
  
  .chatbot-messages {
    padding: 14px;
    gap: 10px;
  }
  
  .message {
    max-width: 90%;
    gap: 6px;
  }
  
  .message-avatar {
    width: 26px;
    height: 26px;
    font-size: 0.75rem;
  }
  
  .message-text {
    padding: 9px 12px;
    font-size: 0.8rem;
    line-height: 1.4;
    border-radius: 16px;
  }
  
  .message-time {
    font-size: 0.6rem;
    margin-top: 3px;
  }
  
  .chatbot-input {
    padding: 10px;
    border-radius: 0 0 15px 15px;
  }
  
  .chatbot-input input {
    padding: 9px 14px;
    font-size: 0.8rem;
    border-radius: 20px;
  }
  
  .send-btn {
    width: 38px;
    height: 38px;
    font-size: 0.85rem;
  }
  
  .chatbot-toggle-btn {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    bottom: 15px !important;
    right: 15px !important;
    left: auto !important;
  }
  
  .notification-badge {
    width: 20px;
    height: 20px;
    font-size: 0.65rem;
    top: -3px;
    right: -3px;
  }
  
  .quick-replies {
    gap: 5px;
    margin-top: 5px;
  }
  
  .quick-reply-btn {
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 12px;
  }
  
  .typing-dots {
    padding: 9px 12px;
    border-radius: 16px;
  }
  
  .typing-dots span {
    width: 6px;
    height: 6px;
  }
}

/* Extra Small Mobile (480px and below) */
@media (max-width: 480px) {
  .chatbot {
    width: calc(100% - 16px);
    right: 8px !important;
    left: 8px !important;
    bottom: 80px;
    border-radius: 12px;
  }
  
  .chatbot-header {
    padding: 12px;
    border-radius: 12px 12px 0 0;
  }
  
  .chatbot-avatar {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
  
  .chatbot-header-text h3 {
    font-size: 0.9rem;
  }
  
  .chatbot-messages {
    padding: 12px;
  }
  
  .message {
    max-width: 92%;
  }
  
  .message-text {
    padding: 8px 11px;
    font-size: 0.78rem;
  }
  
  .chatbot-input {
    padding: 8px;
  }
  
  .chatbot-input input {
    padding: 8px 12px;
    font-size: 0.78rem;
  }
  
  .send-btn {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }
  
  .chatbot-toggle-btn {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
    bottom: 12px !important;
    right: 12px !important;
  }
  
  .quick-reply-btn {
    font-size: 0.65rem;
    padding: 3px 7px;
  }
}

/* Landscape orientation for mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .chatbot {
    height: calc(100vh - 80px);
    max-height: calc(100vh - 80px);
    bottom: 70px;
  }
  
  .chatbot-header {
    padding: 12px 16px;
  }
  
  .chatbot-messages {
    padding: 12px;
    gap: 8px;
  }
  
  .message-text {
    padding: 8px 12px;
    font-size: 0.8rem;
  }
  
  .chatbot-input {
    padding: 10px;
  }
  
  .chatbot-toggle-btn {
    bottom: 15px !important;
    right: 15px !important;
  }
}

/* Tablet landscape */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  .chatbot {
    width: 400px;
    height: calc(100vh - 120px);
    max-height: calc(100vh - 120px);
    bottom: 90px;
  }
}
  
  .contact-item {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .contact-icon {
    margin-bottom: 10px;
  }
  
  .contact-info,
  .contact-form {
    padding: 25px;
  }
  
  .chatbot {
    width: 280px;
    height: 320px;
  }
  
  .message {
    max-width: 90%;
  }
}

/*============================
    Project Details Section
============================*/
.project-details-section {
  padding-top: 120px;
  position: relative;
  overflow-x: hidden;
  width: 100%;
}

.project-details-section .container {
  max-width: 100%;
  overflow-x: hidden;
}

.project-details-section .row {
  margin-left: 0;
  margin-right: 0;
  width: 100%;
}

.project-details-section .col-lg-8 {
  max-width: 100%;
  overflow: visible;
  word-wrap: break-word;
}

.project-header {
  padding: 40px;
  margin-bottom: 40px;
}

.project-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--white);
  line-height: 1.2;
}

.project-description {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 25px;
  line-height: 1.7;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.meta-item {
  display: flex;
  align-items: center;
  color: var(--gray);
  font-size: 0.95rem;
}

.meta-item i {
  color: var(--neon-blue);
  margin-right: 8px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.project-tags .tag {
  background: rgba(0, 247, 255, 0.1);
  color: var(--neon-blue);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  border: 1px solid rgba(0, 247, 255, 0.3);
  transition: all 0.3s ease;
}

.project-tags .tag:hover {
  background: rgba(0, 247, 255, 0.2);
  transform: translateY(-2px);
}

.project-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-end;
}

.project-actions .btn {
  width: 100%;
  max-width: 250px;
  text-align: center;
}

.project-gallery {
  padding: 0;
  overflow: hidden;
  border-radius: 15px;
  margin-bottom: 30px;
}

.project-gallery .carousel {
  border-radius: 15px;
  overflow: hidden;
}

.project-gallery .carousel-inner img {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: cover;
}

.project-content {
  padding: 40px;
  overflow: visible;
  max-height: none;
  height: auto;
  width: 100%;
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
}

.project-content > * {
  max-width: 100%;
  overflow: visible;
}

.project-content h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  margin-top: 30px;
  color: var(--white);
  position: relative;
  padding-bottom: 10px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.project-content h3:first-child {
  margin-top: 0;
}

.project-content h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
  border-radius: 2px;
}

.project-content p {
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 1rem;
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.project-content ul,
.project-content ol {
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 20px;
  margin-top: 10px;
  padding-left: 25px;
  list-style-position: outside;
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  overflow: visible;
}

.project-content ul li,
.project-content ol li {
  margin-bottom: 12px;
  padding-left: 8px;
  line-height: 1.8;
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  white-space: normal;
}

.project-content ul li:last-child,
.project-content ol li:last-child {
  margin-bottom: 0;
}

.project-content .overview-content,
.project-content .challenges-content,
.project-content .solutions-content,
.project-content .results-content {
  overflow: visible;
  max-width: 100%;
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
}

.project-sidebar {
  position: sticky;
  top: 100px;
}

.project-info {
  padding: 30px;
  margin-bottom: 30px;
}

.project-info h3 {
  font-size: 1.6rem;
  margin-bottom: 25px;
  color: var(--white);
  position: relative;
  padding-bottom: 10px;
}

.project-info h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
  border-radius: 2px;
}

.project-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.project-info-list li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.project-info-list li:last-child {
  border-bottom: none;
}

.info-label {
  font-weight: 600;
  color: var(--gray);
  margin-right: 15px;
  flex-shrink: 0;
  min-width: 100px;
}

.info-value {
  color: var(--white);
  text-align: right;
  flex: 1;
}

.project-features {
  padding: 30px;
}

.project-features h3 {
  font-size: 1.6rem;
  margin-bottom: 25px;
  color: var(--white);
  position: relative;
  padding-bottom: 10px;
}

.project-features h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
  border-radius: 2px;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-list li {
  padding: 12px 0;
  color: var(--gray);
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
}

.features-list li i {
  margin-top: 5px;
  flex-shrink: 0;
}

.related-projects {
  background: rgba(10, 10, 30, 0.5);
  padding-top: 80px;
  padding-bottom: 80px;
}

/* Responsive adjustments for project details */
/* Responsive Profile Image */
@media (max-width: 992px) {
  .profile-img-container {
    width: 350px;
    height: 350px;
  }
}

@media (max-width: 768px) {
  .profile-img-container {
    width: 300px;
    height: 300px;
  }
  
  .hero-img {
    margin-top: 40px;
  }
}

@media (max-width: 576px) {
  .profile-img-container {
    width: 250px;
    height: 250px;
  }
}

@media (max-width: 992px) {
  .project-header {
    padding: 30px;
  }
  
  .project-title {
    font-size: 2rem;
  }
  
  .project-actions {
    align-items: flex-start;
    margin-top: 20px;
  }
  
  .project-actions .btn {
    max-width: 100%;
  }
  
  .project-sidebar {
    position: static;
    margin-top: 30px;
  }
  
  .project-content {
    padding: 30px;
    overflow: visible;
    max-height: none;
    width: 100%;
  }
  
  .project-content h3 {
    margin-top: 25px;
  }
  
  .project-content ul,
  .project-content ol {
    padding-left: 20px;
    max-width: 100%;
  }
  
  .project-content .overview-content,
  .project-content .challenges-content,
  .project-content .solutions-content,
  .project-content .results-content {
    max-width: 100%;
  }
  
  .project-info,
  .project-features {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .project-details-section {
    padding-top: 100px;
  }
  
  .project-header {
    padding: 25px;
  }
  
  .project-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }
  
  .project-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  
  .project-meta {
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
  }
  
  .project-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .project-actions .btn {
    width: 100%;
  }
  
  .project-content {
    padding: 25px;
    margin-top: 20px;
    overflow: visible;
    max-height: none;
    width: 100%;
  }
  
  .project-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    margin-top: 20px;
  }
  
  .project-content h3:first-child {
    margin-top: 0;
  }
  
  .project-content p {
    font-size: 0.95rem;
    margin-bottom: 15px;
    max-width: 100%;
  }
  
  .project-content ul,
  .project-content ol {
    padding-left: 20px;
    margin-bottom: 15px;
    max-width: 100%;
  }
  
  .project-content ul li,
  .project-content ol li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    max-width: 100%;
  }
  
  .project-content .overview-content,
  .project-content .challenges-content,
  .project-content .solutions-content,
  .project-content .results-content {
    max-width: 100%;
  }
  
  .project-info,
  .project-features {
    padding: 20px;
  }
  
  .project-info h3,
  .project-features h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
  }
  
  .project-info-list li {
    flex-direction: column;
    gap: 5px;
    padding: 12px 0;
  }
  
  .info-label {
    min-width: auto;
    margin-bottom: 5px;
  }
  
  .info-value {
    text-align: left;
  }
  
  .project-gallery .carousel-inner img {
    max-height: 400px;
  }
}

@media (max-width: 576px) {
  .project-header {
    padding: 20px;
  }
  
  .project-title {
    font-size: 1.6rem;
  }
  
  .project-content {
    padding: 20px;
    overflow: visible;
    max-height: none;
    width: 100%;
  }
  
  .project-content h3 {
    margin-top: 20px;
  }
  
  .project-content ul,
  .project-content ol {
    padding-left: 18px;
    max-width: 100%;
  }
  
  .project-content .overview-content,
  .project-content .challenges-content,
  .project-content .solutions-content,
  .project-content .results-content {
    max-width: 100%;
  }
  
  .project-info,
  .project-features {
    padding: 20px;
  }
  
  .project-gallery .carousel-inner img {
    max-height: 300px;
  }
  
  .related-projects {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}