* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  background: #f9f9f9;
  color: #333;
}

header {
  background: #0d0d11;
  color: white;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  margin: auto;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.hero {
  background: url('https://source.unsplash.com/1600x900/?technology,code') no-repeat center center/cover;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  
}

.hero-text {
  color: white;
  background: rgba(0, 0, 0, 0.5);
  padding: 30px;
  border-radius: 10px;
}

.hero-text h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.btn {
  padding: 10px 20px;
  background: #ff4c60;
  color: white;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  margin-top: 10px;
  display: inline-block;
  transition: background 0.3s;
}

.btn:hover {
  background: #e0394e;
}

section {
  padding: 60px 20px;
  max-width: 1100px;
  margin: auto;
}

.about{
    text-align: center;
    
}
.about-section {
  display: flex;
  justify-content: space-between;
  padding: 60px 20px;
  max-width: 1100px;
  margin: auto;
  gap: 50px;
}

.about-box, .skills-box {
  flex: 1;
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.about-box h2, .skills-box h2 {
color: #e0394e;
}


.skills-box ul {
  list-style: none;
  padding: 0;
}

.skills-box li {
  margin: 10px 0;
  font-size: 1.1rem;
}

.projects
.contact {
  text-align: center;
}

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

.project-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: auto;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 15px 0;
}
/* Apply red color to section titles */
.projects h2,
.projects h3,
.contact h1,
.contact h2 {
  color: #e0394e;
}

/* Hero Gradient Background with Animation */
.hero {
  background: linear-gradient(135deg, #1f1c2c, #1f164c);
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Hero Text Animation */
.animate-text {
  color: white;
  background: rgba(0, 0, 0, 0.4);
  padding: 40px;
  border-radius: 12px;
  animation: fadeIn 2s ease-out forwards;
  opacity: 0;
}

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

.hero-text h2 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero-text .highlight {
  color: #00e6e6;
  font-weight: bold;
}

.glow-btn {
  background: #00c3ff;
  box-shadow: 0 0 20px #00c3ff;
  transition: all 0.3s ease-in-out;
}

.glow-btn:hover {
  background: #00aaff;
  box-shadow: 0 0 30px #00aaff;
}

/* Floating Icons */
.floating-icons {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.floating-icons .icon {
  position: absolute;
  width: 40px;
  opacity: 0.7;
  animation: float 10s infinite ease-in-out;
}

.floating-icons .icon:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}
.floating-icons .icon:nth-child(2) {
  top: 40%;
  right: 15%;
  animation-delay: 2s;
}
.floating-icons .icon:nth-child(3) {
  bottom: 30%;
  left: 25%;
  animation-delay: 4s;
}
.floating-icons .icon:nth-child(4) {
  bottom: 10%;
  right: 20%;
  animation-delay: 6s;
}

@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  /* Apply red color to section titles */

}
