/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Account for fixed navbar */
}

body {
  background: #0a1128;
  color: #e9ecef;
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
  position: relative;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Futuristic gradient background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 15% 35%, rgba(0, 212, 255, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(157, 78, 221, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(94, 96, 206, 0.03) 0%, transparent 60%);
  z-index: -2;
}

/* Initial state for GSAP animations */
.about-image img, 
.section-title, 
.about-intro, 
.stats, 
.buttons,
#skills h2,
#services h2,
.skill-box,
.service-box,
#projects h2,
.project-box,
.contact-left,
.contact-right {
  opacity: 0;
  transform: translateY(20px);
}

/* Fix for GSAP animation initial state */
.visible {
  opacity: 1 !important;
  transform: none !important;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 10%;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s;
  background: transparent;
  /* Initial background */
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.7);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  /* Mild shadow */
}

.navbar.glowing {
  box-shadow: 0 0 20px 5px #00e5ff;
  /* Glowing cyan effect */
}

.nav-brand,
.nav-logo,
.nav-right,
.nav-link::after,
.sidebar-link {
  display: none;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  margin: 0 15px;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #00e5ff;
}

.cta {
  text-decoration: none;
  padding: 10px 20px;
  background: #00e5ff;
  color: #000;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s ease, color 0.3s ease;
}

.cta:hover {
  background: #fff;
  color: #00e5ff;
}

/* Hamburger Menu Icon */
.hamburger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1001;
}

.hamburger-menu .bar {
  width: 30px;
  height: 4px;
  margin: 4px 0;
  background-color: white;
  transition: 0.3s;
}

/* When hamburger is active */
.hamburger-menu.active .bar:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger-menu.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active .bar:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Sidebar */
.sidebar {
  z-index: 10;
  position: fixed;
  top: 50%;
  /* Aligns vertically in the middle of the screen */
  left: -260px;
  width: 250px;
  margin-top: -60px;
  height: 60vh;
  /* Set to 80% of the viewport height */
  transform: translateY(-50%);
  /* To center the sidebar vertically */
  background: rgba(0, 255, 255, 0.1);
  /* Aqua Blue with transparency */
  backdrop-filter: blur(20px);
  /* Glass mirror effect */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 30px;
  transition: left 0.3s;
  border: 2px solid rgba(255, 255, 255, 0.5);
  /* Added a border on all sides */
}

.sidebar a {
  color: white;
  text-decoration: none;
  margin: 20px 0;
  font-size: 18px;
  transition: text-shadow 0.3s ease;
  /* Smooth transition for text-shadow */
}

/* Hover Effect - Glow */
.sidebar a:hover {
  text-shadow: 0 0 10px rgba(0, 255, 255, 1), 0 0 20px rgba(0, 255, 255, 0.7), 0 0 30px rgba(0, 255, 255, 0.5);
}

/* Remove overlay and close button */
.sidebar-overlay, .sidebar-close {
  display: none;
}

/* Media Query for Small Screens */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger-menu {
    display: flex;
  }
  
  .sidebar.active {
    left: 0;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 0 5%;
  }
  
  .hero-contents h1,
  .hero-contents h2 {
    font-size: 2.5rem;
  }
  
  .hero-contents h3 {
    font-size: 1.1rem;
  }
  
  .hero-contents p {
    font-size: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-btn {
    width: 100%;
    text-align: center;
    margin: 5px 0;
  }

  .navbar {
    padding: 12px 20px;
  }
  
  .sidebar {
    width: 260px;
    left: -260px;
  }
  
  .sidebar a {
    font-size: 1rem;
    margin: 0.8rem 0;
  }
}

.arrow {
  transition: transform 0.3s ease;
}

.arrow {
  transform: translateY(3px);
}

/* <!-- 2. About Section --> */

/* About Me Section */
/* Section Styles */
#about-me {
  background-color: #0a1128;
  color: #ffffff;
  position: relative;
  padding: 90px 10%;
  min-height: 600px;
  overflow: hidden;
  scroll-behavior: smooth;
}

#about-me::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 75% 25%, rgba(0, 229, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 25% 75%, rgba(0, 229, 255, 0.03) 0%, transparent 50%);
  z-index: 0;
}

#about-me::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(0, 229, 255, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.3;
}

/* Border Between Sections */
#about-me .border-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, #028090, #5cdbff);
  z-index: 10;
}

/* Layout */
.about-layout {
  display: flex;
  gap: 35px;
  align-items: center;
  justify-content: space-between;
  margin-top: 80px;
}

/* Content Styling */
.about-content {
  flex: 1;
  text-align: left;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 25px;
  background: linear-gradient(90deg, #fff, #00e5ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
}

.about-intro {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #adb5bd;
  margin-bottom: 30px;
  position: relative;
  padding-left: 20px;
  border-left: 3px solid rgba(0, 229, 255, 0.3);
}

/* Stats Grid */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  justify-content: center;
  margin: 25px 0 30px;
}

.stat-item {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 16px;
  padding: 24px 20px;
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 229, 255, 0.15);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.stat-item:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 15px 35px rgba(0, 229, 255, 0.1);
  background: rgba(0, 229, 255, 0.05);
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent, rgba(0, 229, 255, 0.05), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.stat-item:hover::before {
  transform: translateX(100%);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: bold;
  color: #00e5ff;
  margin-bottom: 10px;
  transition: all 0.3s;
}

.stat-item:hover .stat-number {
  transform: scale(1.05);
  text-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
}

.stat-text {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .stats {
    gap: 15px;
  }
  
  .stat-item {
    padding: 20px 15px;
  }
  
  .stat-number {
    font-size: 2rem;
    margin-bottom: 8px;
  }
}

@media (max-width: 480px) {
  .stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .stat-item {
    padding: 15px 12px;
    min-height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .stat-number {
    font-size: 2.2rem;
    margin-bottom: 6px;
  }
  
  .stat-text {
    font-size: 0.85rem;
    white-space: nowrap;
  }
}

/* Extra small device styles */
@media (max-width: 375px) {
  .stats {
    margin: 20px 0;
  }
  
  .stat-item {
    padding: 12px 10px;
    min-height: 80px;
  }
  
  .stat-number {
    font-size: 2rem;
    margin-bottom: 4px;
  }
  
  .stat-text {
    font-size: 0.8rem;
  }
}

/* Enhanced Image Styling */
.about-image {
  flex: 1;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.15);
  transform: perspective(1000px) rotateY(0deg);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    45deg,
    rgba(0, 229, 255, 0.15),
    transparent 60%
  );
  z-index: 1;
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.about-image:hover {
  transform: perspective(1000px) rotateY(2deg);
  box-shadow: -10px 10px 40px rgba(0, 229, 255, 0.2);
}

.about-image:hover::after {
  opacity: 1;
}

.about-image img {
  width: 100%;
  max-width: 600px;
  border-radius: 20px;
  transform: scale(1);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(0.95) contrast(1.1);
}

.about-image:hover img {
  transform: scale(1.02);
}

/* Buttons */
.buttons {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  margin-top: 25px;
}

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
  text-wrap: nowrap;
  font-size: 0.95rem;
}

.btn:hover {
  box-shadow: 0 4px 20px rgba(0, 255, 255, 0.5), 0 0 30px rgba(0, 255, 255, 0.6);
}

.primary-btn {
  background: linear-gradient(to right, #5cdbff, #028090);
  color: #0d1117;
}

.primary-btn:hover {
  background: linear-gradient(to right, #028090, #5cdbff);
  color: #ffffff;
}

.secondary-btn {
  background: transparent;
  color: #5cdbff;
  border: 2px solid #5cdbff;
}

.secondary-btn:hover {
  background: #5cdbff;
  color: #0d1117;
}

/* Media Queries */
@media (max-width: 1024px) {
  #about-me {
    padding: 70px 5%;
  }
  
  .about-layout {
    gap: 25px;
    margin-top: 60px;
  }
  
  .section-title {
    font-size: 2.3rem;
  }
}

@media (max-width: 768px) {
  #about-me {
    padding: 60px 5%;
  }
  
  .about-layout {
    flex-direction: column;
    gap: 25px;
    margin-top: 40px;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .about-image {
    order: -1;
    margin-bottom: 20px;
    transform: none !important;
  }
  
  .about-content {
    text-align: center;
  }
  
  .about-intro {
    padding-left: 0;
    border-left: none;
    text-align: center;
  }
  
  .stats {
    gap: 20px;
  }
  
  .stat-item {
    padding: 30px 20px;
  }
  
  .stat-number {
    font-size: 2.8rem;
  }
  
  .stat-text {
    font-size: 1rem;
  }
  
  .buttons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  #about-me {
    padding: 50px 20px;
  }
  
  .about-layout {
    margin-top: 30px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .stats {
    gap: 15px;
  }
  
  .stat-item {
    padding: 25px 15px;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .stat-text {
    font-size: 0.9rem;
  }
  
  .buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .btn {
    width: 100%;
    text-align: center;
  }
}

/* <!-- 2. service section --> */
/* General Section Styles */
/* Common Section Styles */
#skills,
#services {
  padding: 50px 10%;
  background-color: #0a1128;
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Background gradients */
#skills .bg-gradient,
#services .bg-gradient {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 80% 20%, rgba(0, 229, 255, 0.02) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(0, 229, 255, 0.02) 0%, transparent 50%);
  z-index: 0;
  pointer-events: none;
}

/* Dot patterns */
#skills .dot-pattern,
#services .dot-pattern {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle, rgba(0, 229, 255, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.2;
  z-index: 0;
  pointer-events: none;
}

/* Section dividers */
#skills .divider,
#services .divider {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.2), transparent);
  z-index: 1;
}

#skills h2,
#services h2,
.section-title,
.section-header h2,
.skills-container,
.services-container,
.about-layout {
  position: relative;
  z-index: 2;
}

#skills h2,
#services h2 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 30px;
  background: linear-gradient(90deg, #fff, #00e5ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
}

#skills h2::after,
#services h2::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 3px;
  bottom: -10px;
  left: 25%;
  background: linear-gradient(90deg, transparent, #00e5ff, transparent);
}

/* Card Grid */
.skills-container,
.services-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* Two cards per row by default */
  gap: 20px;
  justify-content: center;
}

@media screen and (min-width: 1024px) {

  .skills-container,
  .services-container {
    grid-template-columns: repeat(4, 1fr);
    /* Four cards per row for larger screens */
  }
}

@media screen and (max-width: 768px) {

  .skills-container,
  .services-container {
    grid-template-columns: 1fr;
    /* One card per row for small screens */
  }
}

/* Card Styling */
.skill-box,
.service-box {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 16px;
  padding: 30px 25px;
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 229, 255, 0.15);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.skill-box:hover,
.service-box:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 15px 35px rgba(0, 229, 255, 0.1);
  background: rgba(0, 229, 255, 0.05);
}

.skill-box::before,
.service-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent, rgba(0, 229, 255, 0.05), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  pointer-events: none;
  z-index: 1;
}

.skill-box:hover::before,
.service-box:hover::before {
  transform: translateX(100%);
}

.skill-box::after,
.service-box::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #00e5ff, #0095ff);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.skill-box:hover::after,
.service-box:hover::after {
  opacity: 1;
}

.skill-box h3,
.service-box h3 {
  font-size: 1.3rem;
  margin: 15px 0 10px;
  font-weight: 500;
  transition: all 0.3s;
}

.skill-box p,
.service-box p {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.6;
}

.skill-box:hover h3,
.service-box:hover h3 {
  color: #00e5ff;
  text-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
}

.icon {
  font-size: 2rem;
  color: #00e5ff;
  transition: all 0.3s;
  display: inline-block;
}

.skill-box:hover .icon,
.service-box:hover .icon {
  transform: scale(1.2);
}

/* Glass Effect Extra Styles */
.skill-box::before,
.service-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.2));
  border-radius: 15px;
  pointer-events: none;
  z-index: 1;
}

/* 3. projects section */
/* Projects Section Styles */
#projects {
  padding: 6rem 10% 4rem;
  background: #0a1128;
  position: relative;
  overflow: hidden;
}

#projects::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 75% 25%, rgba(0, 229, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 25% 75%, rgba(0, 229, 255, 0.03) 0%, transparent 50%);
  z-index: 0;
}

#projects::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(0, 229, 255, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.15;
}

.section-header, 
.project-container {
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 30px;
  background: linear-gradient(90deg, #fff, #00e5ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 3px;
  bottom: -10px;
  left: 25%;
  background: linear-gradient(90deg, transparent, #00e5ff, transparent);
}

.section-header p {
  color: #adb5bd;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 1.5rem auto 0;
}

.project-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.project-box {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 229, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  position: relative;
}

.project-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent, rgba(0, 229, 255, 0.05), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  pointer-events: none;
  z-index: 1;
}

.project-box:hover::before {
  transform: translateX(100%);
}

.project-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 229, 255, 0.1);
  border-color: rgba(0, 229, 255, 0.3);
}

.project-image-container {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-box:hover .project-image {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 17, 40, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-box:hover .project-overlay {
  opacity: 1;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding: 1rem;
  justify-content: center;
}

.project-tech span {
  background: rgba(0, 229, 255, 0.1);
  color: #00e5ff;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.project-content {
  padding: 1.5rem;
}

.project-content h3 {
  color: #e9ecef;
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  transition: all 0.3s ease;
}

.project-box:hover .project-content h3 {
  color: #00e5ff;
  text-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
}

.project-content p {
  color: #adb5bd;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.project-links {
  display: flex;
  gap: 1rem;
}

.view-project-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #00e5ff;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
  position: relative;
}

.view-project-btn::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: #00e5ff;
  transition: width 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
}

.view-project-btn:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
}

.view-project-btn:hover::after {
  width: 100%;
}

.view-project-btn i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.view-project-btn:hover i {
  transform: translateX(4px);
}

@media (max-width: 1024px) {
  #projects {
    padding: 5rem 5% 3rem;
  }
  
  .section-header h2 {
    font-size: 2.4rem;
  }
}

@media (max-width: 768px) {
  .project-container {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
  }
  
  .section-header h2 {
    font-size: 2.2rem;
  }
  
  .section-header p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  #projects {
    padding: 4rem 1rem 2rem;
  }
  
  .project-container {
    grid-template-columns: 1fr;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
}

/* Projects Page Styles */
.projects-header {
  height: 40vh;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 5% 60px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(10, 17, 40, 0.9), rgba(2, 8, 25, 0.95)), url('../img/bg.jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.projects-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 15% 35%, rgba(0, 212, 255, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(157, 78, 221, 0.08) 0%, transparent 40%);
  z-index: 0;
}

.projects-header-content {
  position: relative;
  z-index: 1;
}

.projects-header h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #00e5ff, #b554ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.projects-header p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
}

#all-projects {
  padding: 60px 5%;
}

#all-projects .project-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Make project boxes consistent in height */
#all-projects .project-box {
  height: 100%;
  display: flex;
  flex-direction: column;
}

#all-projects .project-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

#all-projects .project-links {
  margin-top: auto;
}

/* Responsive styles for projects page */
@media (max-width: 768px) {
  .projects-header h1 {
    font-size: 2.5rem;
  }
  
  .projects-header p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .projects-header {
    min-height: 250px;
    padding: 100px 5% 40px;
  }
  
  .projects-header h1 {
    font-size: 2rem;
  }
}

/* <!-- 4. contact me --> */
.contact-section {
  min-height: 100vh;
  position: relative;
  padding: 5rem 10%;
  text-align: left;
  background: linear-gradient(to right, rgba(10, 17, 40, 0.75), rgba(10, 17, 40, 0.6));
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-container {
  width: 100%;
  max-width: 1400px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  z-index: 5;
}

.contact-details-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../img/contact-bg.jpeg') no-repeat center center/cover;
  opacity: 0.3;
  z-index: -1;
}

.contact-left {
  text-align: left;
  z-index: 2;
}

.contact-left h2 {
  font-size: 3.5rem;
  background: linear-gradient(135deg, #fff 0%, #00e5ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  position: relative;
  animation: titleGlow 2s ease-in-out infinite alternate;
}

@keyframes titleGlow {
  0% {
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
  }
  100% {
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.6);
  }
}

.contact-left h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #00e5ff 30%, transparent);
  animation: widthPulse 2s ease-in-out infinite;
}

@keyframes widthPulse {
  0% {
    width: 60px;
    opacity: 0.7;
  }
  50% {
    width: 90px;
    opacity: 1;
  }
  100% {
    width: 60px;
    opacity: 0.7;
  }
}

.contact-left p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: #e0e0e0;
  line-height: 1.8;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.8rem;
  background: rgba(0, 229, 255, 0.03);
  border-radius: 16px;
  border: 1px solid rgba(0, 229, 255, 0.15);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.contact-detail .icon-container {
  background: rgba(0, 229, 255, 0.1);
  border-radius: 50%;
  width: 55px;
  height: 55px;
  min-width: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.2);
}

.contact-detail:hover .icon-container {
  background: rgba(0, 229, 255, 0.2);
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
}

.contact-detail:hover {
  background: rgba(0, 229, 255, 0.05);
  transform: translateY(-5px);
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 15px 35px rgba(0, 229, 255, 0.1);
}

.contact-detail i {
  font-size: 1.5rem;
  color: #00e5ff;
  transition: all 0.3s ease;
}

.contact-detail:hover i {
  transform: scale(1.1);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-label {
  font-size: 0.9rem;
  color: #00e5ff;
  opacity: 0.8;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.contact-value {
  font-size: 1.1rem;
  color: #ffffff;
  font-weight: 500;
}

.contact-detail::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent, rgba(0, 229, 255, 0.05), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.contact-detail:hover::before {
  transform: translateX(100%);
}

.contact-right-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-right {
  z-index: 2;
  background: rgba(10, 17, 40, 0.7);
  border-radius: 20px;
  padding: 3rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 229, 255, 0.15);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  width: 100%;
}

.contact-right:hover {
  box-shadow: 0 20px 40px rgba(0, 229, 255, 0.1);
  border-color: rgba(0, 229, 255, 0.25);
}

.contact-right form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.form-group {
  width: 100%;
  position: relative;
}

.contact-right input,
.contact-right textarea {
  width: 100%;
  padding: 1.2rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 229, 255, 0.15);
  border-radius: 12px;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-right input:focus,
.contact-right textarea:focus {
  outline: none;
  border-color: rgba(0, 229, 255, 0.4);
  background: rgba(0, 229, 255, 0.07);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.15);
}

.contact-right input::placeholder,
.contact-right textarea::placeholder {
  color: rgba(173, 181, 189, 0.8);
  font-size: 0.95rem;
}

.contact-right button {
  width: 100%;
  padding: 1.2rem;
  border: none;
  border-radius: 50px;
  background: linear-gradient(135deg, #00e5ff 0%, #2979ff 100%);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(0, 229, 255, 0.2);
}

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

.contact-right button:hover::before {
  transform: translateX(200%);
}

.contact-right button:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 229, 255, 0.4);
  background: linear-gradient(135deg, #00d0ff 0%, #2270ff 100%);
}

@media (max-width: 1024px) {
  .contact-section {
    padding: 4rem 5%;
  }
  
  .contact-left h2 {
    font-size: 3rem;
  }
  
  .contact-right {
    padding: 2.5rem;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 4rem 5%;
    min-height: auto;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .contact-left h2 {
    font-size: 2.5rem;
    text-align: center;
  }
  
  .contact-left h2::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .contact-left p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }
  
  .contact-details-container {
    align-items: center;
    margin-top: 1.5rem;
  }
  
  .contact-detail {
    padding: 1.5rem;
    gap: 1.2rem;
    width: 100%;
    max-width: 450px;
  }
  
  .contact-info {
    gap: 0.3rem;
  }
  
  .contact-label {
    font-size: 0.85rem;
  }
  
  .contact-value {
    font-size: 1rem;
  }
  
  .contact-detail .icon-container {
    width: 50px;
    height: 50px;
    min-width: 50px;
  }
  
  .contact-detail i {
    font-size: 1.3rem;
  }
  
  .contact-right-wrapper {
    width: 100%;
  }
  
  .contact-right {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .contact-section {
    padding: 3rem 1rem 6rem;
    min-height: auto;
  }
  
  .contact-container {
    gap: 2rem;
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  
  .contact-left {
    width: 100%;
    padding: 0;
  }
  
  .contact-left h2 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
  }
  
  .contact-left p {
    font-size: 1rem;
    margin-bottom: 1.2rem;
  }
  
  .contact-details-container {
    margin-top: 1.2rem;
    width: 100%;
  }
  
  .contact-detail {
    padding: 1rem;
    border-radius: 10px;
    width: 100%;
    margin-bottom: 0.8rem;
  }
  
  .contact-detail .icon-container {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }
  
  .contact-detail i {
    font-size: 1rem;
  }
  
  .contact-label {
    font-size: 0.7rem;
  }
  
  .contact-value {
    font-size: 0.85rem;
  }
  
  .contact-right-wrapper {
    width: 100%;
  }
  
  .contact-right {
    padding: 1.2rem;
    border-radius: 12px;
    width: 100%;
    max-width: none;
  }
  
  .form-group {
    margin-bottom: 0.8rem;
  }
  
  .contact-right input,
  .contact-right textarea {
    padding: 0.8rem;
    font-size: 0.85rem;
    border-radius: 8px;
  }
  
  .contact-right button {
    padding: 0.8rem;
    font-size: 0.9rem;
    border-radius: 8px;
    margin-top: 0.5rem;
  }
}

/* Extra small device styles */
@media (max-width: 375px) {
  .contact-section {
    padding: 2rem 0.8rem 5rem;
  }
  
  .contact-container {
    gap: 1.5rem;
  }
  
  .contact-left h2 {
    font-size: 1.8rem;
  }
  
  .contact-left p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
  
  .contact-detail {
    padding: 0.8rem;
    gap: 0.8rem;
  }
  
  .contact-detail .icon-container {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }
  
  .contact-right {
    padding: 1rem;
  }
  
  .contact-right input,
  .contact-right textarea {
    padding: 0.7rem;
    font-size: 0.8rem;
  }
  
  .contact-right button {
    padding: 0.7rem;
    font-size: 0.85rem;
  }
}

/* Footer */
.footer {
  background: rgba(10, 17, 40, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4rem 10% 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.footer-logo {
  height: 120px;
  width: auto;
  transition: transform 0.3s ease;
  filter: brightness(1.2);
}

.footer-logo:hover {
  transform: scale(1.05);
}

.footer-tagline {
  color: #adb5bd;
  font-size: 1rem;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-section h4 {
  color: #e9ecef;
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  position: relative;
  display: inline-block;
}

.footer-section h4::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 2px;
  bottom: -6px;
  left: 0;
  background: #00e5ff;
}

.footer-section nav {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-section nav a,
.footer-section p {
  color: #adb5bd;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-section nav a:hover {
  color: #00e5ff;
  transform: translateX(5px);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: #adb5bd;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: #00e5ff;
  transform: translateY(-3px);
}

/* Connect Section Styles */
.social-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

.social-links a {
  color: #adb5bd;
  font-size: 2rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 229, 255, 0.1);
}

.social-links a:hover {
  color: #00e5ff;
  transform: translateY(-3px);
  border-color: rgba(0, 229, 255, 0.5);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
  background: rgba(0, 229, 255, 0.05);
}

.social-links i {
  transition: transform 0.3s ease;
}

.social-links a:hover i {
  transform: scale(1.1);
}

/* Remove all lightning and glow animations */
@keyframes lightning {
  0%, 100% {
    text-shadow: none;
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: none;
    opacity: 1;
  }
}

/* Remove all floating shape related styles */
.hero-right,
.floating-shape,
.tech-circle,
.particle,
.floating-shape::before,
.tech-circle:nth-child(1),
.tech-circle:nth-child(2),
.tech-circle:nth-child(3),
.tech-icon,
.particle:nth-child(1),
.particle:nth-child(2),
.particle:nth-child(3),
.particle:nth-child(4) {
  display: none !important;
}

@keyframes float {
  0%, 100% {
    transform: none;
  }
  50% {
    transform: none;
  }
}

@keyframes particleFloat {
  0%, 100% {
    transform: none;
  }
  50% {
    transform: none;
  }
}

/* Update hero section layout */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.2));
  position: relative;
  padding: 0 10%;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: url('../img/bg.jpeg') no-repeat center center/cover;
  background-blend-mode: darken;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(44, 44, 44, 0.8) 1px, transparent 1px);
  background-size: 3px 3px;
  animation: twinkle 2s infinite ease-in-out;
  opacity: 0.9;
}

.hero-contents {
  z-index: 2;
  position: relative;
  max-width: 600px;
  text-align: left;
}

.hero-contents h1 {
  font-size: 5.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards;
}

.hero-contents h2 {
  font-size: 5.5rem;
  font-weight: 600;
  background: linear-gradient(90deg, #00e5ff, #0095ff, #00ff6c, #00e5ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 400%;
  animation: gradientWave 6s ease infinite, fadeInUp 0.8s 0.2s forwards;
  opacity: 0;
  transform: translateY(30px);
}

.hero-contents h3 {
  font-size: 1.5rem;
  font-weight: 400;
  color: #d1d1d1;
  margin: 1.5rem 0;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s 0.4s forwards;
}

.hero-contents p {
  font-size: 1.2rem;
  font-weight: 300;
  color: #e0e0e0;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s 0.6s forwards;
  flex-wrap: nowrap;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  justify-content: flex-start;
}

/* Keep the current button styles */
.hero-btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-me-button {
  background: linear-gradient(135deg, #00e5ff 0%, #2979ff 100%);
  color: #fff;
  border: none;
}

.contact-me-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 229, 255, 0.3);
}

.explore-button {
  background: transparent;
  color: #fff;
  border: 2px solid #00e5ff;
}

.explore-button:hover {
  background: rgba(0, 229, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 229, 255, 0.2);
}

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

.hero-btn:hover::before {
  transform: translateX(200%);
}

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

@keyframes gradientWave {
  0% { background-position: 0% 50%; }
  25% { background-position: 50% 100%; }
  50% { background-position: 100% 50%; }
  75% { background-position: 50% 0%; }
  100% { background-position: 0% 50%; }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 0.3; }
}

/* Responsive Design for Hero Section */
@media (max-width: 768px) {
  .hero-contents h1 {
    font-size: 3rem;
  }

  .hero-contents h2 {
    font-size: 2.5rem;
  }

  .hero-contents h3 {
    font-size: 1.2rem;
  }

  .hero-contents p {
    font-size: 1rem;
  }

  .hero {
    padding: 0 5%;
  }

  .hero::before {
    opacity: 0.5;
  }
  
  .hero-buttons {
    margin-top: 20px;
  }
  
  .hero-btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 0 5%;
    text-align: center;
    justify-content: center;
  }
  
  .hero-contents {
    text-align: center;
    background: rgba(255, 255, 255, 0.2);
    /* Semi-transparent white */
    padding: 20px;
    /* Spacing inside the box */
    border-radius: 15px;
    /* Rounded corners */
    backdrop-filter: blur(10px);
    /* Blur effect for the glassmorphism */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    /* Subtle shadow for depth */
    border: 1px solid rgba(255, 255, 255, 0.3);
    /* Optional: Add a border for a frosted look */
    max-width: 600px;
    /* Optional: Limit the width */
    margin: 0 auto;
    /* Center the div horizontally */
  }
  
  .hero-contents h1,
  .hero-contents h2 {
    font-size: 2.5rem;
    margin: 10px 0;
    /* Add spacing between headings */
    color: #ffffff;
    /* White text for contrast */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    /* Subtle shadow for text */
  }
  
  .hero-contents h3 {
    font-size: 1.1rem;
    margin: 10px 0;
    /* Add spacing between headings */
    color: #ffffff;
    /* White text for contrast */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    /* Subtle shadow for text */
  }
  
  .hero-contents p {
    font-size: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 20px;
    /* Add spacing above the buttons */
  }
  
  .hero-btn {
    width: 100%;
    text-align: center;
    margin: 5px 0;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /* Add shadow to buttons */
  }
  
  .hero::before {
    display: none;
  }

  .navbar {
    padding: 12px 20px;
  }
  
  .sidebar {
    width: 260px;
    left: -260px;
  }
  
  .sidebar a {
    font-size: 1rem;
    margin: 0.8rem 0;
  }
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(0, 229, 255, 0.1);
  position: relative;
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00e5ff, transparent);
}

.footer-bottom p {
  color: #adb5bd;
  margin: 0.5rem 0;
  font-size: 0.9rem;
}

.footer-credit {
  margin-top: 0.5rem;
}

.heart {
  color: #ff4d4d;
  display: inline-block;
  animation: heartbeat 1.5s ease infinite;
}

@keyframes heartbeat {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.footer-section p {
  color: #adb5bd;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.footer-section p i {
  color: #00e5ff;
  font-size: 1.2rem;
  min-width: 20px;
  display: flex;
  justify-content: center;
}

/* Footer Media Queries */
@media (max-width: 1024px) {
  .footer {
    padding: 3rem 5% 2rem;
  }
  
  .footer-content {
    gap: 3rem;
  }
  
  .footer-logo {
    height: 100px;
  }
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-brand {
    align-items: center;
    text-align: center;
  }
  
  .footer-tagline {
    text-align: center;
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .footer-section {
    text-align: center;
  }
  
  .footer-section h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-section nav {
    align-items: center;
  }
  
  .footer-section nav a:hover {
    transform: translateY(-3px);
  }
  
  .social-links {
    justify-content: center;
  }
  
  .footer-section p {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 2rem 1rem 1.5rem;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-logo {
    height: 80px;
  }
  
  .footer-section {
    margin-bottom: 1.5rem;
  }
  
  .footer-section:last-child {
    margin-bottom: 0;
  }
  
  .footer-bottom {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
  }
  
  .footer-bottom p {
    font-size: 0.85rem;
  }
}

/* View All Projects Button */
.view-all-projects {
  text-align: center;
  margin-top: 50px;
}

.view-all-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 30px;
  background: linear-gradient(135deg, #00e5ff, #0084ff);
  color: #000;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 229, 255, 0.3);
}

.view-all-btn span {
  margin-right: 10px;
}

.view-all-btn i {
  transition: transform 0.3s ease;
}

.view-all-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 229, 255, 0.4);
  background: linear-gradient(135deg, #00e5ff, #00b4ff);
}

.view-all-btn:hover i {
  transform: translateX(5px);
}

/* More Projects Text Link */
.more-projects-text {
  margin-top: 20px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.more-projects-link {
  color: #00e5ff;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}

.more-projects-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: #00e5ff;
  transition: width 0.3s ease;
}

.more-projects-link:hover {
  color: #ffffff;
}

.more-projects-link:hover::after {
  width: 100%;
}

/* Section Header styles */
.section-link {
  color: #00e5ff;
  text-decoration: none;
  font-size: 0.9rem;
  margin-left: 10px;
  padding: 4px 8px;
  border-radius: 4px;
  background-color: rgba(0, 229, 255, 0.1);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.section-link i {
  font-size: 0.7rem;
  margin-left: 4px;
  transition: transform 0.3s ease;
}

.section-link:hover {
  background-color: rgba(0, 229, 255, 0.2);
}

.section-link:hover i {
  transform: translateX(2px);
}

/* Tech Elements */
.tech-elements {
  position: relative;
  width: 40%;
  height: 500px;
  z-index: 2;
}

.floating-tech {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: rgba(10, 17, 40, 0.8);
  backdrop-filter: blur(5px);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.6), inset 0 0 20px rgba(0, 229, 255, 0.3);
  animation: float 6s infinite ease-in-out;
  color: white;
  opacity: 1;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 229, 255, 0.5);
}

.floating-tech i {
  font-size: 2.2rem;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 5px rgba(0, 229, 255, 0.7));
}

.floating-tech:hover {
  transform: scale(1.15);
  opacity: 1;
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.7), inset 0 0 25px rgba(0, 229, 255, 0.5);
  border-color: rgba(0, 229, 255, 0.8);
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.25;
    transform: scale(1);
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.7);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.05);
    text-shadow: 0 0 30px rgba(0, 229, 255, 0.9);
  }
}

.html-icon {
  top: 15%;
  left: 10%;
  animation-delay: 0s;
  color: #FF5722;
}

.css-icon {
  top: 35%;
  left: 5%;
  animation-delay: 1s;
  color: #2196F3;
}

.js-icon {
  top: 60%;
  left: 15%;
  animation-delay: 2s;
  color: #FFC107;
}

.react-icon {
  top: 20%;
  left: 40%;
  animation-delay: 1.5s;
  color: #00D8FF;
}

.node-icon {
  top: 50%;
  left: 50%;
  animation-delay: 2.5s;
  color: #8BC34A;
}

.database-icon {
  top: 75%;
  left: 40%;
  animation-delay: 3s;
  color: #00FFFF;
}

.php-icon {
  top: 28%;
  left: 65%;
  animation-delay: 0.8s;
  color: #8C9EFF;
}

.wordpress-icon {
  top: 55%;
  left: 75%;
  animation-delay: 1.3s;
  color: #00BCD4;
}

.git-icon {
  top: 80%;
  left: 65%;
  animation-delay: 2.3s;
  color: #FF5252;
}

.code-bracket {
  position: absolute;
  font-family: monospace;
  font-size: 4.5rem;
  opacity: 0.35;
  color: white;
  z-index: 1;
  animation: pulse 4s infinite alternate;
  text-shadow: 0 0 20px rgba(0, 229, 255, 0.7);
}

.code-left {
  top: 10%;
  left: 25%;
  animation-delay: 0.5s;
}

.code-right {
  bottom: 15%;
  right: 15%;
  animation-delay: 2s;
}

.code-snippet {
  position: absolute;
  bottom: 30%;
  left: 25%;
  background: rgba(10, 17, 40, 0.9);
  padding: 15px 22px;
  border-radius: 12px;
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 1rem;
  line-height: 1.6;
  color: #ffffff;
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.6), 0 0 60px rgba(0, 229, 255, 0.2);
  border: 1.5px solid rgba(0, 229, 255, 0.6);
  z-index: 2;
  animation: float 7s infinite ease-in-out alternate;
  opacity: 1;
  transform: rotate(-2deg);
}

.code-keyword {
  color: #ff79c6;
  text-shadow: 0 0 5px rgba(255, 121, 198, 0.5);
}

.code-variable {
  color: #50fa7b;
  text-shadow: 0 0 5px rgba(80, 250, 123, 0.5);
}

.code-property {
  color: #8be9fd;
  text-shadow: 0 0 5px rgba(139, 233, 253, 0.5);
}

.code-string {
  color: #f1fa8c;
  text-shadow: 0 0 5px rgba(241, 250, 140, 0.5);
}

.code-punctuation {
  color: #bd93f9;
  text-shadow: 0 0 5px rgba(189, 147, 249, 0.5);
}

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

@keyframes pulse {
  0%, 100% {
    opacity: 0.25;
    transform: scale(1);
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.7);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.05);
    text-shadow: 0 0 30px rgba(0, 229, 255, 0.9);
  }
}

/* Responsive adjustments for tech elements */
@media (max-width: 1200px) {
  .tech-elements {
    width: 35%;
  }
  
  .code-snippet {
    font-size: 0.8rem;
    left: 20%;
    bottom: 25%;
  }
}

@media (max-width: 992px) {
  .floating-tech {
    width: 55px;
    height: 55px;
  }
  
  .floating-tech i {
    font-size: 1.8rem;
  }
  
  .code-bracket {
    font-size: 3.5rem;
  }
  
  .code-snippet {
    padding: 10px 15px;
    font-size: 0.75rem;
  }
}

@media (max-width: 768px) {
  .tech-elements {
    display: none;
  }
  
  .hero {
    justify-content: center;
  }
}

/* Hero code line style */
.code-line {
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 1.1rem;
  color: #e9e9e9;
  margin-bottom: 15px;
  opacity: 0.9;
  text-align: left;
  position: relative;
}

.code-comment {
  color: #6272a4;
  margin-bottom: 4px;
  display: block;
}

.code-function {
  color: #ff79c6;
}

.code-fn-name {
  color: #50fa7b;
}

.closing-bracket {
  margin-top: 15px;
  font-size: 1.1rem;
}

/* Blinking cursor effect */
.code-line::after {
  content: '|';
  font-weight: 300;
  color: #00e5ff;
  position: absolute;
  right: -10px;
  animation: blink 1s infinite;
  display: none;
}

.code-line:first-child::after {
  display: inline-block;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@media (max-width: 768px) {
  .code-line {
    font-size: 0.9rem;
  }
  
  .closing-bracket {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .code-line {
    font-size: 0.8rem;
  }
  
  .closing-bracket {
    font-size: 0.8rem;
  }
}

/* Terminal element styles */
.terminal-element {
  font-family: 'Consolas', 'Monaco', monospace;
  background: rgba(30, 30, 30, 0.7);
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 6px;
  margin-bottom: 15px;
  display: inline-flex;
  align-items: center;
  border-left: 3px solid #00e5ff;
  box-shadow: 0 3px 10px rgba(0, 229, 255, 0.3);
  position: relative;
}

.terminal-prompt {
  color: #00e5ff;
  margin-right: 8px;
}

.terminal-command {
  color: #f1fa8c;
}

.cursor {
  width: 10px;
  height: 18px;
  background-color: #00e5ff;
  display: inline-block;
  margin-left: 5px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@media (max-width: 768px) {
  .terminal-element {
    padding: 6px 10px;
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .terminal-element {
    padding: 4px 8px;
    margin-bottom: 8px;
    font-size: 0.9rem;
  }
}

/* Hero styles continued */