@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap");

:root {
  --primary-color: #6c63ff;
  --secondary-color: #ff6b6b;
  --accent-color: #54a4a6;
  --text-color: #ffffff;
  --text-muted: #a9bac9;
  --background-color: #121212;
  --background-color-lighter: #191919;
  --card-background: #282828;
}
.navbar-brand,
.new-home-header,
.new-home-header-section-title {
  font-family: "Comfortaa", sans-serif;
}

/* Ensure navbar is above hero content */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(8, 8, 16, 0.85);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border-bottom: 1px solid rgba(64, 224, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(64, 224, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

/* Removed moving light effects for clean navbar */

.navbar-brand {
  font-family: "Comfortaa", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff !important;
  text-shadow: 0 0 20px rgba(64, 224, 255, 0.8);
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-brand:hover {
  color: #40e0ff !important;
  text-shadow: 0 0 30px rgba(64, 224, 255, 1), 0 0 60px rgba(64, 224, 255, 0.6);
  transform: translateY(-2px);
}

.navbar-brand svg {
  filter: drop-shadow(0 0 10px rgba(64, 224, 255, 0.8));
  transition: all 0.3s ease;
}

.navbar-brand:hover svg {
  filter: drop-shadow(0 0 20px rgba(64, 224, 255, 1));
  transform: rotate(360deg) scale(1.1);
}

.navbar-nav .nav-link {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9) !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: "Comfortaa", sans-serif;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding: 12px 20px !important;
  margin: 0 4px;
  border-radius: 8px;
  overflow: hidden;
}

.navbar-nav .nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(64, 224, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.navbar-nav .nav-link:hover::before {
  left: 100%;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #40e0ff, #8a2be2, #40e0ff);
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 1px;
}

.navbar-nav .nav-link:hover::after {
  width: 80%;
  box-shadow: 0 0 20px rgba(64, 224, 255, 0.8);
}

.navbar-nav .nav-link:hover {
  color: #40e0ff !important;
  text-shadow: 0 0 15px rgba(64, 224, 255, 0.8);
  transform: translateY(-2px);
  background: rgba(64, 224, 255, 0.1);
  box-shadow: 0 4px 20px rgba(64, 224, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.navbar-nav .nav-item.active .nav-link {
  color: #40e0ff !important;
  background: rgba(64, 224, 255, 0.15);
  box-shadow: 0 4px 20px rgba(64, 224, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  text-shadow: 0 0 20px rgba(64, 224, 255, 1);
}

.navbar-nav .nav-item.active .nav-link::after {
  width: 80%;
  box-shadow: 0 0 25px rgba(64, 224, 255, 1);
}

.navbar-toggler {
  border: none !important;
  outline: none !important;
  background: rgba(64, 224, 255, 0.1) !important;
  border-radius: 8px !important;
  padding: 8px 12px !important;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.navbar-toggler::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(64, 224, 255, 0.2),
    rgba(138, 43, 226, 0.2)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.navbar-toggler:hover::before {
  opacity: 1;
}

.navbar-toggler:hover {
  background: rgba(64, 224, 255, 0.2) !important;
  box-shadow: 0 4px 20px rgba(64, 224, 255, 0.3),
    0 0 0 1px rgba(64, 224, 255, 0.3);
  transform: scale(1.05);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(64, 224, 255, 0.3),
    0 4px 20px rgba(64, 224, 255, 0.3) !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(64, 224, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
  filter: drop-shadow(0 0 8px rgba(64, 224, 255, 0.8));
}

.navbar-collapse {
  background: rgba(8, 8, 16, 0.95);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border-radius: 16px;
  margin-top: 8px;
  border: 1px solid rgba(64, 224, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(64, 224, 255, 0.1);
}

/* Responsive navbar adjustments */
@media (max-width: 991.98px) {
  .navbar-nav .nav-link {
    padding: 16px 24px !important;
    margin: 4px 8px;
    border-radius: 12px;
    text-align: center;
  }

  .navbar-nav .nav-link:hover {
    transform: translateY(-1px);
  }

  .navbar-collapse {
    margin: 16px 8px 8px 8px;
    padding: 16px;
  }
}

/* Navbar scroll effect */
.navbar.scrolled {
  background: rgba(8, 8, 16, 0.95);
  backdrop-filter: blur(30px) saturate(200%);
  border-bottom: 1px solid rgba(64, 224, 255, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(64, 224, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Floating particles effect for navbar */
.navbar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
      circle at 20% 50%,
      rgba(64, 224, 255, 0.1) 1px,
      transparent 1px
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(138, 43, 226, 0.1) 1px,
      transparent 1px
    ),
    radial-gradient(
      circle at 40% 80%,
      rgba(64, 224, 255, 0.1) 1px,
      transparent 1px
    );
  background-size: 50px 50px, 30px 30px, 40px 40px;
  animation: float-particles 20s linear infinite;
  pointer-events: none;
}

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

.home-hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-color: #0f0f0f;
  background-image: url("path/to/your/background.jpg");
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  will-change: background-position; /* Hint for GPU acceleration */
}

.hero-content {
  z-index: 2;
  position: relative;
  will-change: transform; /* Hint for GPU acceleration */
}

.particle {
  will-change: transform; /* Hint for GPU acceleration */
}

.new-home-header-section-title {
  padding: 30px 0;
  font-size: 3.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(
    45deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titleGlow 3s ease-in-out infinite alternate;
  font-weight: 700;
}

/* Modern Hero Section Styles */
.home-hero {
  position: relative;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  padding: 140px 0 60px 0;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(
    45deg,
    rgba(108, 99, 255, 0.1),
    rgba(255, 107, 107, 0.1)
  );
  animation: float 20s infinite linear;
}

.shape-1 {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 120px;
  height: 120px;
  top: 60%;
  right: 15%;
  animation-delay: -5s;
}

.shape-3 {
  width: 60px;
  height: 60px;
  bottom: 20%;
  left: 20%;
  animation-delay: -10s;
}

.shape-4 {
  width: 100px;
  height: 100px;
  top: 30%;
  right: 30%;
  animation-delay: -15s;
}

.shape-5 {
  width: 40px;
  height: 40px;
  bottom: 40%;
  right: 10%;
  animation-delay: -7s;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.6;
  animation: pulse 8s ease-in-out infinite;
}

.orb-1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(108, 99, 255, 0.3) 0%,
    transparent 70%
  );
  top: -150px;
  left: -150px;
  animation-delay: 0s;
}

.orb-2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(255, 107, 107, 0.3) 0%,
    transparent 70%
  );
  top: -100px;
  right: -100px;
  animation-delay: -3s;
}

.orb-3 {
  width: 150px;
  height: 150px;
  background: radial-gradient(
    circle,
    rgba(84, 160, 255, 0.3) 0%,
    transparent 70%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -6s;
}

.mesh-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(120, 119, 198, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 119, 198, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 40%,
      rgba(120, 219, 255, 0.2) 0%,
      transparent 50%
    );
  opacity: 0.7;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 1200px;
  padding: 2rem;
  margin: 0 auto;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 12px 24px;
  margin: 2rem 0 2rem 0;
  animation: slideInDown 1s ease-out;
  position: relative;
  z-index: 15;
}

.badge-icon {
  font-size: 1.2rem;
}

.badge-text {
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.title-line {
  display: block;
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.highlight-line {
  background: linear-gradient(135deg, #6c63ff 0%, #ff6b6b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.highlight-line::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #6c63ff, #ff6b6b);
  border-radius: 2px;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  animation: slideInUp 1s ease-out 0.3s both;
}

.hero-stats {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  margin: 4rem 0;
  animation: slideInUp 1s ease-out 0.6s both;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 1.5rem 2rem;
  min-width: 120px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(108, 99, 255, 0.3);
  transform: translateY(-2px);
}

.stat-number {
  display: block;
  font-size: 3.5rem;
  font-weight: 900;
  color: #6c63ff;
  margin-bottom: 1rem;
  line-height: 1;
  text-shadow: 0 0 20px rgba(108, 99, 255, 0.3);
}

.stat-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  line-height: 1.4;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 4rem 0;
  flex-wrap: wrap;
  animation: slideInUp 1s ease-out 0.9s both;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.cta-button.primary {
  background: linear-gradient(135deg, #6c63ff 0%, #ff6b6b 100%);
  color: white;
  border: none;
}

.cta-button.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(20px);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(108, 99, 255, 0.3);
}

.cta-button.primary:hover {
  background: linear-gradient(135deg, #5a52d5 0%, #e55a5a 100%);
}

.cta-button.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.button-icon {
  transition: transform 0.3s ease;
}

.cta-button:hover .button-icon {
  transform: translateX(5px);
}

.tech-stack {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  animation: slideInUp 1s ease-out 1.2s both;
  position: relative;
  z-index: 10;
  width: 100%;
}

.tech-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tech-icons {
  display: flex !important;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 600px;
}

.tech-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  z-index: 10;
}

.tech-icon:hover {
  transform: translateY(-5px) scale(1.1);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

.code-block {
  position: absolute;
  top: 20%;
  right: 10%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(108, 99, 255, 0.3);
  border-radius: 12px;
  padding: 20px;
  font-family: "Monaco", "Menlo", monospace;
  animation: slideInRight 1s ease-out 1.5s both;
}

.code-line {
  color: #6c63ff;
  font-size: 0.9rem;
  margin-bottom: 8px;
  opacity: 0.9;
}

.code-line:last-child {
  margin-bottom: 0;
}

.design-element {
  position: absolute;
  bottom: 20%;
  left: 10%;
  animation: slideInLeft 1s ease-out 1.8s both;
}

.design-element .circle {
  width: 60px;
  height: 60px;
  border: 3px solid rgba(108, 99, 255, 0.5);
  border-radius: 50%;
  margin-bottom: 20px;
  animation: rotate 10s linear infinite;
}

.design-element .square {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 107, 107, 0.5);
  border-radius: 2px;
  margin-bottom: 20px;
  animation: pulse 2s ease-in-out infinite;
}

.design-element .triangle {
  width: 0;
  height: 0;
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
  border-bottom: 40px solid rgba(84, 160, 255, 0.5);
  animation: bounce 3s ease-in-out infinite;
}

/* Animations */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-20px) rotate(120deg);
  }
  66% {
    transform: translateY(20px) rotate(240deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

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

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

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

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

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .hero-stats {
    flex-direction: row;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    margin: 3rem 0;
  }

  .hero-stats .stat-item {
    padding: 1rem 1.5rem;
    min-width: 100px;
  }

  .hero-stats .stat-number {
    font-size: 2.5rem;
  }

  .hero-stats .stat-label {
    font-size: 0.85rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-button {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .floating-elements {
    display: none;
  }

  .shape {
    display: none;
  }
}

/* About Section Styles */
.about-section {
  padding: 120px 0;
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(108, 99, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 107, 107, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.about-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.about-hero {
  text-align: center;
  margin-bottom: 4rem;
}

.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(108, 99, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(108, 99, 255, 0.3);
  border-radius: 50px;
  padding: 12px 24px;
  margin-bottom: 2rem;
  animation: slideInDown 1s ease-out;
}

.about-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: white;
}

.highlight-text {
  background: linear-gradient(135deg, #6c63ff 0%, #ff6b6b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-description {
  font-size: 1.2rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* About Grid */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.about-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.about-card.primary {
  border-color: rgba(108, 99, 255, 0.3);
  background: rgba(108, 99, 255, 0.05);
}

.about-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(108, 99, 255, 0.3);
  box-shadow: 0 25px 50px rgba(108, 99, 255, 0.15);
}

.about-card.primary:hover {
  background: rgba(108, 99, 255, 0.08);
  box-shadow: 0 25px 50px rgba(108, 99, 255, 0.2);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
}

.about-card h3 {
  color: white;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.about-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(108, 99, 255, 0.1) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.about-card:hover .card-glow {
  opacity: 1;
}

/* Responsive Design for About Section */
@media (max-width: 768px) {
  .about-content {
    padding: 0 1rem;
  }

  .about-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .about-description {
    font-size: 1rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-card {
    padding: 2rem;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 2rem;
  }

  .about-stats .stat-item {
    padding: 1.5rem;
  }

  .about-stats .stat-number {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .about-stats {
    grid-template-columns: 1fr;
  }

  .about-card {
    padding: 1.5rem;
  }

  .card-icon {
    font-size: 2.5rem;
  }
}

/* Comprehensive Responsive Design */
@media (max-width: 1200px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .hero-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
  }

  .hero-subtitle {
    font-size: 1.1rem;
    max-width: 600px;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .hero-stats .stat-item {
    padding: 1rem;
  }

  .hero-stats .stat-number {
    font-size: 2rem;
  }

  .hero-stats .stat-label {
    font-size: 0.8rem;
  }

  .tech-stack {
    margin-top: 2rem;
  }

  .tech-icons {
    gap: 1rem;
  }

  .tech-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 992px) {
  .hero-content {
    padding: 2rem 1rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .cta-button {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  /* Stats for tablets */
  .hero-stats {
    gap: 3rem;
    margin: 3rem 0;
  }

  .hero-stats .stat-item {
    padding: 1.25rem 1.75rem;
    min-width: 110px;
  }

  .hero-stats .stat-number {
    font-size: 3rem;
  }

  .hero-stats .stat-label {
    font-size: 0.9rem;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
  }

  .tools-showcase .tool-row {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }

  .about-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
  }

  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
  }

  .ux-studies-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
  }

  .blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  /* Navigation */
  .navbar-brand {
    font-size: 1.5rem;
  }

  .navbar-nav .nav-link {
    font-size: 1rem;
    padding: 0.75rem 1rem;
  }

  /* Hero Section */
  .home-hero {
    padding: 140px 0 60px;
    min-height: 100vh;
  }

  .hero-content {
    padding: 1rem;
    text-align: center;
    margin-top: 2rem;
    position: relative;
    z-index: 5;
  }

  .hero-badge {
    padding: 10px 20px;
    font-size: 0.9rem;
    position: relative;
    z-index: 10;
  }

  .hero-title {
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1.1;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
  }

  .hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
  }

  .hero-stats .stat-item {
    text-align: center;
    padding: 0.5rem 1rem;
    min-width: 80px;
  }

  .hero-stats .stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.25rem;
  }

  .hero-stats .stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
  }

  .hero-actions {
    flex-direction: column;
    gap: 0.5rem;
    margin: 1rem 0;
  }

  .cta-button {
    width: 100%;
    max-width: 280px;
    padding: 0.875rem 1.25rem;
    font-size: 0.95rem;
  }

  .tech-stack {
    margin-top: 1rem;
    position: relative;
    z-index: 5;
    width: 100%;
  }

  .tech-label {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  .tech-icons {
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 100%;
  }

  .tech-icon {
    font-size: 1.3rem;
    width: 35px !important;
    height: 35px !important;
    min-width: 35px !important;
    min-height: 35px !important;
    max-width: 35px !important;
    max-height: 35px !important;
    flex-shrink: 0 !important;
    position: relative;
    z-index: 5;
    overflow: visible;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    aspect-ratio: 1 !important;
  }

  /* Floating Elements */
  .floating-elements {
    display: none;
  }

  .floating-shapes {
    display: none;
  }

  .gradient-orb {
    display: none;
  }

  /* Sections */
  .about-section,
  .services-section,
  .tools-section,
  .projects-section,
  .ux-studies-section,
  .blog-section {
    padding: 80px 0;
  }

  .section-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .section-subtitle {
    font-size: 1rem;
    max-width: 500px;
  }

  /* Cards */
  .service-card,
  .tool-card,
  .about-card,
  .project-card,
  .ux-study-card,
  .blog-card {
    padding: 1.5rem;
  }

  .service-card h3,
  .tool-card h3,
  .about-card h3,
  .project-card h3,
  .ux-study-card h3,
  .blog-card h3 {
    font-size: 1.2rem;
  }

  .service-card p,
  .tool-card p,
  .about-card p,
  .project-card p,
  .ux-study-card p,
  .blog-card p {
    font-size: 0.9rem;
  }

  /* Stats */
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1.5rem;
  }

  .about-stats .stat-item {
    padding: 1rem;
  }

  .about-stats .stat-number {
    font-size: 2rem;
  }

  .about-stats .stat-label {
    font-size: 0.8rem;
  }
}

@media (max-width: 576px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Hero Section */
  .home-hero {
    padding: 120px 0 40px;
  }

  .hero-content {
    padding: 0.5rem;
  }

  .hero-badge {
    padding: 8px 16px;
    font-size: 0.8rem;
    position: relative;
    z-index: 10;
  }

  .hero-title {
    font-size: clamp(1.8rem, 12vw, 2.5rem);
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
    flex-wrap: wrap;
  }

  .hero-stats .stat-item {
    text-align: center;
    padding: 0.4rem 0.75rem;
    min-width: 60px;
  }

  .hero-stats .stat-number {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.2rem;
  }

  .hero-stats .stat-label {
    font-size: 0.6rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-weight: 500;
  }

  .hero-actions {
    margin: 0.75rem 0;
  }

  .cta-button {
    max-width: 250px;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }

  .tech-stack {
    margin-top: 0.75rem;
  }

  .tech-label {
    font-size: 0.8rem;
  }

  .tech-icons {
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    display: flex;
    align-items: center;
  }

  .tech-icon {
    font-size: 1.1rem;
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
    flex-shrink: 0;
  }

  /* Sections */
  .about-section,
  .services-section,
  .tools-section,
  .projects-section,
  .ux-studies-section,
  .blog-section {
    padding: 60px 0;
  }

  .section-title {
    font-size: clamp(1.8rem, 10vw, 2.5rem);
  }

  .section-subtitle {
    font-size: 0.9rem;
  }

  /* Cards */
  .service-card,
  .tool-card,
  .about-card,
  .project-card,
  .ux-study-card,
  .blog-card {
    padding: 1.25rem;
  }

  .service-card h3,
  .tool-card h3,
  .about-card h3,
  .project-card h3,
  .ux-study-card h3,
  .blog-card h3 {
    font-size: 1.1rem;
  }

  .service-card p,
  .tool-card p,
  .about-card p,
  .project-card p,
  .ux-study-card p,
  .blog-card p {
    font-size: 0.85rem;
  }

  /* Stats */
  .about-stats {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1rem;
  }

  .about-stats .stat-item {
    padding: 0.75rem;
  }

  .about-stats .stat-number {
    font-size: 1.75rem;
  }

  .about-stats .stat-label {
    font-size: 0.75rem;
  }

  /* Grids */
  .services-grid,
  .tools-showcase .tool-row,
  .about-grid,
  .projects-grid,
  .ux-studies-grid,
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Tablet-specific optimizations */
@media (min-width: 577px) and (max-width: 992px) {
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid,
  .tools-showcase .tool-row,
  .about-grid,
  .projects-grid,
  .ux-studies-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Landscape mobile optimization */
@media (max-width: 768px) and (orientation: landscape) {
  .home-hero {
    min-height: 100vh;
    padding: 40px 0;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-background,
  .about-section::before,
  .services-section::before,
  .tools-section::before,
  .projects-section::before,
  .ux-studies-section::before,
  .blog-section::before {
    background-attachment: scroll;
  }
}

/* Simple responsive hero */

@media (max-width: 768px) {
  .home-hero {
    padding: 80px 0 40px 0;
  }

  .hero-content {
    padding: 1rem;
  }

  .hero-badge {
    margin: 1rem 0 1.5rem 0;
  }

  .hero-stats {
    gap: 1rem;
    margin: 2rem 0;
  }

  .hero-actions {
    gap: 1rem;
    margin: 2rem 0;
  }

  /* About section mobile responsiveness */
  .about-title {
    font-size: clamp(1.8rem, 10vw, 2.5rem);
    line-height: 1.3;
    margin-bottom: 1rem;
  }

  .about-description {
    font-size: 1rem;
    line-height: 1.6;
  }
}

@media (max-width: 576px) {
  .home-hero {
    padding: 60px 0 30px 0;
  }

  .hero-content {
    padding: 0.75rem;
  }

  .hero-stats {
    gap: 0.75rem;
    margin: 1.5rem 0;
  }

  .hero-actions {
    gap: 0.75rem;
    margin: 1.5rem 0;
  }

  /* About section small mobile responsiveness */
  .about-title {
    font-size: clamp(1.8rem, 10vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: 0.75rem;
  }

  .about-description {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}

/* Mobile-specific enhancements */
@media (max-width: 768px) {
  /* Touch-friendly interactions */
  .cta-button,
  .tech-icon,
  .about-card,
  .service-card,
  .tool-card,
  .project-card,
  .ux-study-card,
  .blog-card {
    min-height: 44px;
    touch-action: manipulation;
  }

  /* Mobile navigation improvements */
  .navbar-collapse {
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1rem;
    border-radius: 12px;
    padding: 1rem;
  }

  .navbar-nav .nav-link {
    border-radius: 8px;
    margin: 0.25rem 0;
    transition: all 0.3s ease;
  }

  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link.active {
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary-color);
  }

  /* Mobile menu toggle */
  .navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem;
    border-radius: 8px;
  }

  .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(108, 99, 255, 0.25);
  }

  /* Mobile scroll behavior */
  html {
    scroll-behavior: smooth;
  }

  /* Mobile card interactions */
  .about-card:hover,
  .service-card:hover,
  .tool-card:hover,
  .project-card:hover,
  .ux-study-card:hover,
  .blog-card:hover {
    transform: translateY(-2px);
  }

  /* Mobile button states */
  .cta-button:active {
    transform: scale(0.98);
  }

  /* Mobile tech stack */
  .tech-stack {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    position: relative;
    z-index: 5;
  }

  /* Ensure all tech icons maintain circular shape */
  .tech-icon {
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    aspect-ratio: 1 !important;
    width: auto !important;
    height: auto !important;
    min-width: 35px !important;
    min-height: 35px !important;
    max-width: 35px !important;
    max-height: 35px !important;
  }

  /* Force horizontal stats layout across all breakpoints */
  .hero-stats {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 1000px !important;
    margin: 0 auto !important;
  }

  /* Force tech icons to maintain shape at all breakpoints */
  @media (max-width: 576px) {
    .tech-icon {
      width: 30px !important;
      height: 30px !important;
      min-width: 30px !important;
      min-height: 30px !important;
      max-width: 30px !important;
      max-height: 30px !important;
      font-size: 1rem !important;
    }

    /* Stats for small mobile */
    .hero-stats {
      gap: 0.75rem;
      margin: 0.75rem 0;
    }

    .hero-stats .stat-item {
      padding: 0.3rem 0.5rem;
      min-width: 50px;
    }

    .hero-stats .stat-number {
      font-size: 1.2rem;
    }

    .hero-stats .stat-label {
      font-size: 0.55rem;
    }
  }

  @media (max-width: 375px) {
    .tech-icon {
      width: 28px !important;
      height: 28px !important;
      min-width: 28px !important;
      min-height: 28px !important;
      max-width: 28px !important;
      max-height: 28px !important;
      font-size: 0.9rem !important;
    }
  }

  .tech-icons {
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
  }
}

/* Mobile landscape optimizations */
@media (max-width: 768px) and (orientation: landscape) {
  .home-hero {
    padding: 80px 0;
  }

  .hero-content {
    padding: 0.5rem;
  }

  .hero-stats {
    margin: 1rem 0;
  }

  .hero-actions {
    margin: 1rem 0;
  }
}

/* Small mobile devices */
@media (max-width: 375px) {
  .hero-title {
    font-size: clamp(1.6rem, 14vw, 2.2rem);
  }

  .tech-stack {
    gap: 0.75rem;
  }

  .tech-icons {
    gap: 0.4rem;
  }

  /* Stats for very small mobile */
  .hero-stats {
    gap: 0.5rem;
    margin: 0.5rem 0;
  }

  .hero-stats .stat-item {
    padding: 0.25rem 0.4rem;
    min-width: 45px;
  }

  .hero-stats .stat-number {
    font-size: 1rem;
  }

  .hero-stats .stat-label {
    font-size: 0.5rem;
  }

  .hero-subtitle {
    font-size: 0.85rem;
  }

  .hero-stats .stat-number {
    font-size: 1.3rem;
  }

  .hero-stats .stat-label {
    font-size: 0.6rem;
  }

  .cta-button {
    max-width: 220px;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }

  .tech-icon {
    font-size: 1rem;
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    flex-shrink: 0;
  }
}

/* Ensure proper viewport on mobile */
@media (max-width: 768px) {
  .home-hero,
  .about-section,
  .services-section,
  .tools-section,
  .projects-section,
  .ux-studies-section,
  .blog-section {
    width: 100%;
    overflow-x: hidden;
  }

  .container {
    max-width: 100%;
    overflow-x: hidden;
  }

  .hero-content {
    overflow: visible;
  }

  .tech-stack {
    overflow: visible;
  }
}

/* About Stats */
.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 3rem;
  background: rgba(84, 84, 165, 0.05);
  border-radius: 20px;
  border: 1px solid rgba(84, 84, 165, 0.1);
  backdrop-filter: blur(20px);
}

.about-stats .stat-item {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  border: 1px solid rgba(84, 84, 165, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.blog-date {
  font-size: 1.2rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about-stats .stat-item:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(84, 84, 165, 0.2);
  box-shadow: 0 15px 35px rgba(84, 84, 165, 0.15);
}

.about-stats .stat-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(108, 99, 255, 0.05) 0%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.about-stats .stat-item:hover::before {
  opacity: 1;
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
  opacity: 0.8;
}

.about-stats .stat-number {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
}

.about-stats .stat-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
}

/* Services Section Styles */
.services-section {
  padding: 120px 0;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
  position: relative;
  overflow: hidden;
}

.services-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 30% 70%,
      rgba(108, 99, 255, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 30%,
      rgba(255, 107, 107, 0.05) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(108, 99, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(108, 99, 255, 0.3);
  border-radius: 50px;
  padding: 12px 24px;
  margin-bottom: 1.5rem;
  animation: slideInDown 1s ease-out;
}

.section-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.service-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.service-card.primary {
  border-color: rgba(108, 99, 255, 0.3);
  background: rgba(108, 99, 255, 0.05);
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(108, 99, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.service-card.primary:hover {
  background: rgba(108, 99, 255, 0.1);
  border-color: rgba(108, 99, 255, 0.6);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
}

.service-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.service-content p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.feature-tag {
  background: rgba(108, 99, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(108, 99, 255, 0.3);
}

.service-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(108, 99, 255, 0.1),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card.primary .service-glow {
  opacity: 1;
}

/* Tools Section Styles */
.tools-section {
  padding: 120px 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  position: relative;
  overflow: hidden;
}

.tools-showcase {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.tool-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.tool-row.featured {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.tool-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.tool-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    transparent,
    rgba(255, 255, 255, 0.02),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.tool-card:hover::before {
  transform: translateX(100%);
}

.tool-card:hover {
  transform: translateY(-5px);
  border-color: rgba(108, 99, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.tool-card.ai-tool {
  border-color: rgba(108, 99, 255, 0.3);
  background: rgba(108, 99, 255, 0.05);
}

.tool-card.design-tool {
  border-color: rgba(255, 107, 107, 0.3);
  background: rgba(255, 107, 107, 0.05);
}

.tool-card.dev-tool {
  border-color: rgba(84, 160, 255, 0.3);
  background: rgba(84, 160, 255, 0.05);
}

.tool-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.tool-icon {
  font-size: 2.5rem;
}

.tool-badge {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.tool-card h3 {
  color: white;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.tool-card p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.tool-stats {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.stat {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Mobile Responsiveness for New Sections */
@media (max-width: 768px) {
  .about-content {
    max-width: 100%;
    padding: 0 1rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .tool-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .tool-row.featured {
    grid-template-columns: 1fr;
  }

  .about-section,
  .services-section,
  .tools-section {
    padding: 80px 0;
  }
}

/* Blog Section Styles */
.blog-section {
  padding: 120px 0;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
  position: relative;
  overflow: hidden;
}

.blog-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 30% 70%,
      rgba(108, 99, 255, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 30%,
      rgba(255, 107, 107, 0.05) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.blog-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  color: inherit;
}

.blog-card:hover {
  transform: translateY(-10px);
  border-color: rgba(108, 99, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: inherit;
}

.blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-image {
  transform: scale(1.05);
}

.blog-content {
  padding: 1.5rem;
}

.blog-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.blog-cta {
  text-align: center;
  margin-top: 3rem;
}

/* Travel & Photography Section */
.travel-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  position: relative;
  overflow: hidden;
}

.travel-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(108, 99, 255, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 107, 107, 0.05) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  position: relative;
  z-index: 2;
}

.photo-item {
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.photo-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(108, 99, 255, 0.2);
}

.photo-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.photo-item:hover img {
  transform: scale(1.1);
}

.button-container {
  text-align: right;
  margin-top: 3rem;
}

/* Updated CTA Button Styles */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #6c63ff 0%, #ff6b6b 100%);
  color: white;
  border: none;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(108, 99, 255, 0.3);
  text-decoration: none;
  color: white;
}

.cta-button svg {
  transition: transform 0.3s ease;
}

.cta-button:hover svg {
  transform: translateX(5px);
}

/* Section Divider */
.section-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(108, 99, 255, 0.3),
    transparent
  );
  margin: 0 auto 3rem;
  max-width: 200px;
}

/* Modern Section Divider */
.modern-section-divider {
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(84, 84, 165, 0.3) 25%,
    var(--primary-color) 50%,
    rgba(84, 84, 165, 0.3) 75%,
    transparent 100%
  );
  margin: 80px 0;
  border-radius: 2px;
  position: relative;
}

.modern-section-divider::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

/* Mobile Responsiveness for Additional Sections */
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .photo-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
  }

  .blog-section,
  .travel-section {
    padding: 80px 0;
  }

  .blog-title {
    font-size: 1.1rem;
  }
}

@keyframes titleGlow {
  0% {
    text-shadow: 0 0 10px rgba(84, 84, 165, 0.5);
  }
  100% {
    text-shadow: 0 0 20px rgba(255, 107, 107, 0.8);
  }
}

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

@keyframes floatParticle {
  0%,
  100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(10px, -10px);
  }
  50% {
    transform: translate(20px, 0);
  }
  75% {
    transform: translate(10px, 10px);
  }
}

@media (max-width: 768px) {
  .home-hero h1 {
    font-size: 2.5rem;
  }

  .home-hero p {
    font-size: 1.2rem;
  }
}

/* Cosmic Loading Screen - Captivating & Efficient */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: radial-gradient(
    ellipse at center,
    #0a0a1a 0%,
    #1a1a2e 30%,
    #16213e 70%,
    #0f0f23 100%
  );
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

#loading-screen::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(108, 99, 255, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 107, 107, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 40%,
      rgba(64, 224, 208, 0.1) 0%,
      transparent 50%
    );
  animation: cosmicShift 8s ease-in-out infinite;
}

#loading-screen::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(108, 99, 255, 0.03) 50%,
    transparent 70%
  );
  animation: cosmicSweep 6s linear infinite;
}

.loading-container {
  text-align: center;
  animation: fadeInUp 1.2s ease-out;
  position: relative;
  z-index: 2;
}

.loading-logo {
  margin-bottom: 4rem;
  animation: logoFloat 4s ease-in-out infinite;
  position: relative;
}

.logo-icon {
  margin-bottom: 1.5rem;
  animation: logoGlow 3s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 20px rgba(108, 99, 255, 0.6));
  transition: all 0.3s ease;
}

.logo-icon svg {
  width: 80px;
  height: 80px;
  color: #6c63ff;
  filter: drop-shadow(0 0 15px rgba(108, 99, 255, 0.8));
}

.logo-icon:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 30px rgba(108, 99, 255, 1));
}

.logo-text {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #6c63ff 0%, #ff6b6b 50%, #40e0d0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.3em;
  font-family: "Comfortaa", sans-serif;
  animation: textGlow 4s ease-in-out infinite alternate;
  text-shadow: 0 0 30px rgba(108, 99, 255, 0.3);
}

.loading-animation {
  margin-bottom: 3rem;
  position: relative;
}

.loading-dots {
  display: flex;
  justify-content: center;
  gap: 1rem;
  position: relative;
}

.loading-dots::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(108, 99, 255, 0.3),
    transparent
  );
  animation: cosmicLine 3s ease-in-out infinite;
}

.loading-dots span {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(108, 99, 255, 0.9) 0%,
    rgba(255, 107, 107, 0.7) 70%,
    transparent 100%
  );
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
  filter: blur(0.5px);
  box-shadow: 0 0 25px rgba(108, 99, 255, 0.8), 0 0 40px rgba(108, 99, 255, 0.4),
    0 0 60px rgba(108, 99, 255, 0.2), inset 0 0 15px rgba(255, 255, 255, 0.1);
}

.loading-dots span:nth-child(1) {
  animation: dotPulse 2s ease-in-out infinite;
}

.loading-dots span:nth-child(2) {
  animation: dotPulse 2s ease-in-out infinite 0.3s;
}

.loading-dots span:nth-child(3) {
  animation: dotPulse 2s ease-in-out infinite 0.6s;
}

.loading-status {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  transition: all 0.5s ease;
  min-height: 2rem;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  letter-spacing: 0.1em;
}

/* Cosmic Animations */
@keyframes cosmicShift {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0.8;
  }
  25% {
    transform: translate(-20px, -20px) rotate(90deg);
    opacity: 1;
  }
  50% {
    transform: translate(20px, 20px) rotate(180deg);
    opacity: 0.6;
  }
  75% {
    transform: translate(-20px, 20px) rotate(270deg);
    opacity: 0.9;
  }
}

@keyframes cosmicSweep {
  0% {
    transform: translateX(-100%) rotate(0deg);
  }
  100% {
    transform: translateX(100%) rotate(360deg);
  }
}

@keyframes cosmicLine {
  0%,
  100% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scaleX(1);
  }
  50% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scaleX(1.5);
  }
}

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

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0) rotateY(0deg);
  }
  25% {
    transform: translateY(-15px) rotateY(5deg);
  }
  50% {
    transform: translateY(-25px) rotateY(0deg);
  }
  75% {
    transform: translateY(-15px) rotateY(-5deg);
  }
}

@keyframes logoGlow {
  from {
    filter: drop-shadow(0 0 20px rgba(108, 99, 255, 0.6))
      drop-shadow(0 0 40px rgba(108, 99, 255, 0.3));
  }
  to {
    filter: drop-shadow(0 0 30px rgba(108, 99, 255, 0.8))
      drop-shadow(0 0 60px rgba(108, 99, 255, 0.5));
  }
}

@keyframes textGlow {
  from {
    filter: drop-shadow(0 0 20px rgba(108, 99, 255, 0.3));
  }
  to {
    filter: drop-shadow(0 0 40px rgba(108, 99, 255, 0.6));
  }
}

@keyframes dotPulse {
  0%,
  100% {
    transform: scale(1);
    filter: blur(0.5px);
    box-shadow: 0 0 25px rgba(108, 99, 255, 0.8),
      0 0 40px rgba(108, 99, 255, 0.4), 0 0 60px rgba(108, 99, 255, 0.2),
      inset 0 0 15px rgba(255, 255, 255, 0.1);
  }
  50% {
    transform: scale(1.3);
    filter: blur(1px);
    box-shadow: 0 0 35px rgba(108, 99, 255, 0.9),
      0 0 55px rgba(108, 99, 255, 0.6), 0 0 75px rgba(108, 99, 255, 0.3),
      0 0 95px rgba(108, 99, 255, 0.1), inset 0 0 20px rgba(255, 255, 255, 0.15);
  }
}

/* Loading screen exit animation */
#loading-screen.fade-out {
  opacity: 0;
  transform: scale(0.9) rotate(5deg);
}

/* Ensure main content has proper background to prevent white flash */
.home-hero {
  background: radial-gradient(
    ellipse at center,
    #0a0a1a 0%,
    #1a1a2e 30%,
    #16213e 70%,
    #0f0f23 100%
  );
  min-height: 100vh;
  position: relative;
  transition: opacity 0.8s ease-out;
}

/* Ensure body and html have dark background to prevent white flash */
body.index-page {
  background: #0a0a1a;
  overflow-x: hidden;
}

html {
  background: #0a0a1a;
}

/* Main content entrance animation */
body.loaded .home-hero {
  animation: contentFadeIn 1s ease-out;
}

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

#btn-back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  display: none;
  background-color: rgba(84, 84, 165, 0.662);
  color: #fff;
  border: 2px solid rgba(255, 0, 0, 0);
  border-radius: 50%;
  /* padding: 10px; */
  cursor: pointer;
  transition: 0.3s ease;
}

#btn-back-to-top:hover {
  background-color: rgb(84, 84, 165);
  border: 2px solid rgb(84, 84, 165);
  transform: scale(1.07);
  -webkit-box-shadow: 3px 3px 13px -4px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 3px 3px 13px -4px rgba(0, 0, 0, 0.75);
  box-shadow: 3px 3px 13px -4px rgba(0, 0, 0, 0.75);
}

/* Smooth scrolling behavior .navbar */
html {
  scroll-behavior: smooth;
}

.avatar-container {
  max-width: 800px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;

  color: var(--text-color);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 1rem;
  gap: 2rem;
}

.avatar-container .avatar-section {
  position: relative;
  width: 200px;
  height: 200px;
}

.avatar-container .avatar {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 10px 20px rgba(108, 99, 255, 0.2));
  transform: translate3d(0, 0, 0); /* New line for hardware acceleration */
}

.avatar-container .speech-bubble {
  position: absolute;
  top: -135px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--card-background);
  border-radius: 12px;
  padding: 0 1rem;
  font-size: 0.9rem;
  line-height: 1.4;
  text-align: center;
  opacity: 0;
  animation: fadeIn 0.5s ease-out 1s forwards;
  max-width: 250px;
}

.avatar-container .speech-bubble:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 10px 10px 0;
  border-style: solid;
  border-color: var(--card-background) transparent transparent transparent;
}

.avatar-container .content {
  text-align: center;
}

.avatar-container h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.6rem;
  font-weight: 600;
}

.avatar-container p {
  margin-bottom: 1.5rem;
  opacity: 0.9;
  font-size: 1.2rem;
  line-height: 1.6;
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
@keyframes wave {
  0%,
  100% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(5deg);
  }
}

@media (max-width: 600px) {
  .avatar-container .avatar-section {
    width: 150px;
    height: 150px;
  }

  .avatar-container .speech-bubble {
    font-size: 0.8rem;
    top: -135px;
    max-width: 180px;
  }

  .avatar-container h1 {
    font-size: 1.2rem;
  }

  .avatar-container p {
    font-size: 0.9rem;
  }
}

/* style */

.modal-content {
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border: none;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.modal-header {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  color: white;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  padding: 2rem;
}

.modal-title {
  font-weight: 700;
  font-size: 1.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.modal-body {
  padding: 2rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.modal-body ul {
  list-style-type: none;
  padding-left: 0;
}

.modal-body ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
}

.modal-body ul li:before {
  content: "➤";
  position: absolute;
  left: 0;
  color: #3498db;
}

.modal-footer {
  border-top: none;
  padding: 1.5rem 2rem;
}

.btn-close {
  color: white;
  opacity: 1;
  text-shadow: none;
}

.btn-close:hover {
  color: #f8f9fa;
}

.modal.fade .modal-dialog {
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
  transform: scale(0.9);
  opacity: 0;
}

.modal.show .modal-dialog {
  transform: scale(1);
  opacity: 1;
}

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

.modal-body p,
.modal-body ul {
  animation: slideInRight 0.5s ease-out forwards;
  opacity: 0;
}

.modal-body p:nth-child(1) {
  animation-delay: 0.1s;
}

.modal-body ul {
  animation-delay: 0.3s;
}

.modal-body p:nth-child(3) {
  animation-delay: 0.5s;
}

.card {
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.card-img-top {
  height: 200px;
  object-fit: cover;
}

.card-body {
  background-color: #fff;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #2c3e50;
  text-align: center;
}

.row {
  row-gap: 1.5rem;
}

/* Custom styles for the photo grid */
.photo-grid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 16px;
  transition: transform 0.3s ease-in-out;
}

.photo-grid img:hover {
  transform: scale(1.05);
}

/* Projects Section */
.projects-section {
  padding: 120px 0;
  background: var(--background-color);
  position: relative;
}

.projects-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(84, 84, 165, 0.05) 0%,
    rgba(84, 84, 165, 0.02) 100%
  );
  pointer-events: none;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.project-card {
  background: var(--background-color-lighter);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
  border: 1px solid rgba(84, 84, 165, 0.1);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(84, 84, 165, 0.15);
  border-color: rgba(84, 84, 165, 0.3);
}

.project-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

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

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(84, 84, 165, 0.9);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

.project-content {
  padding: 30px;
}

.project-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 15px;
  line-height: 1.3;
}

.project-content p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  background: rgba(84, 84, 165, 0.1);
  color: var(--primary-color);
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(84, 84, 165, 0.2);
  transition: all 0.3s ease;
}

.tag:hover {
  background: rgba(84, 84, 165, 0.2);
  border-color: rgba(84, 84, 165, 0.4);
}

/* UX Studies Section */
.ux-studies-section {
  padding: 120px 0;
  background: var(--background-color-lighter);
  position: relative;
}

.ux-studies-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(84, 84, 165, 0.03) 0%,
    rgba(84, 84, 165, 0.01) 100%
  );
  pointer-events: none;
}

.ux-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.ux-study-card {
  background: var(--background-color);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
  border: 1px solid rgba(84, 84, 165, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.ux-study-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(84, 84, 165, 0.15);
  border-color: rgba(84, 84, 165, 0.3);
}

.study-image {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.study-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ux-study-card:hover .study-image img {
  transform: scale(1.1);
}

.study-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(84, 84, 165, 0.9);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

.study-content {
  padding: 30px;
}

.study-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 15px;
  line-height: 1.3;
}

.study-content p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

.study-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 25px;
}

.metric {
  text-align: center;
  padding: 15px;
  background: rgba(84, 84, 165, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(84, 84, 165, 0.1);
}

.metric-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.metric-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.study-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Blog Section */
.blog-section {
  padding: 120px 0;
  background: var(--background-color);
  position: relative;
}

.blog-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(84, 84, 165, 0.05) 0%,
    rgba(84, 84, 165, 0.02) 100%
  );
  pointer-events: none;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.blog-card {
  background: var(--background-color-lighter);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
  border: 1px solid rgba(84, 84, 165, 0.1);
  text-decoration: none;
  color: inherit;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(84, 84, 165, 0.15);
  border-color: rgba(84, 84, 165, 0.3);
}

.blog-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(84, 84, 165, 0.9);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

.blog-content {
  padding: 30px;
}

.blog-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 15px;
  line-height: 1.3;
}

.blog-excerpt {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.read-time,
.publish-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.publish-date {
  background: rgba(84, 84, 165, 0.1);
  color: var(--primary-color);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
}

.blog-cta {
  text-align: center;
  margin-top: 60px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .projects-grid,
  .ux-studies-grid,
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .projects-section,
  .ux-studies-section,
  .blog-section {
    padding: 80px 0;
  }

  .project-content,
  .study-content,
  .blog-content {
    padding: 20px;
  }

  .study-metrics {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

/* Shooting Star Effect */
.shooting-star-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 10;
}

.shooting-star {
  position: absolute;
  width: 100px;
  height: 2px;
  pointer-events: none;
}

.star-body {
  position: absolute;
  width: 4px;
  height: 4px;
  background: linear-gradient(90deg, #ffffff, #64b5f6, #ffffff);
  border-radius: 50%;
  box-shadow: 0 0 10px #ffffff, 0 0 20px #64b5f6, 0 0 30px #64b5f6;
  animation: starGlow 0.5s ease-in-out infinite alternate;
}

.star-tail {
  position: absolute;
  left: 4px;
  top: 1px;
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, #64b5f6, transparent);
  transform-origin: left center;
}

@keyframes starGlow {
  0% {
    box-shadow: 0 0 10px #ffffff, 0 0 20px #64b5f6, 0 0 30px #64b5f6;
  }
  100% {
    box-shadow: 0 0 15px #ffffff, 0 0 25px #64b5f6, 0 0 35px #64b5f6;
  }
}

/* Responsive adjustments for shooting stars */
@media (max-width: 768px) {
  .shooting-star {
    width: 60px;
  }

  .star-tail {
    width: 50px;
  }

  .star-body {
    width: 3px;
    height: 3px;
  }
}

@media (max-width: 480px) {
  .shooting-star {
    width: 40px;
  }

  .star-tail {
    width: 30px;
  }
}
