/* General Reset and Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: #f5f7fa;
  color: #333;
  line-height: 1.6;
}

/* Header and Navigation */
header {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 999;
  transition: all 0.3s ease;
}
nav.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 10%;
}
.navbar .color{
  color: #22b7b2;
  font-size:larger;
}
.logo {
  font-size: 2rem;
  font-weight: 800;
  color: #2c3e50;
  font-family: 'Montserrat', sans-serif;
}

.logo .dot {
  color:#22b7b2;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links li a {
  text-decoration: none;
  color: #2c3e50;
  font-weight: 600;
  position: relative;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  background:#22b7b2;
  left: 0;
  bottom: -4px;
  transition: width 0.3s ease;
}

.nav-links li a:hover::after {
  width: 100%;
}

.nav-links li a:hover {
  color:#22b7b2;
}
.hamburger {
  display: none;
  font-size: 2rem;
  color: #2c3e50;
  cursor: pointer;
}


/* Hero Section */
#hero-bg canvas {
  filter: blur(1px);
  opacity: 0.3;
}
/* Hero Animation */
.hero-content {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.5s ease-out forwards;
  animation-delay: 0.5s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Glowing Button Effect */
.btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, #22b7b2, #7f5af0, #22b7b2);
  transition: all 0.4s ease;
  z-index: -1;
}

.btn:hover::before {
  left: 0;
}

/* Slight glow on text */
.hero-content h1 span {
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}
.scroll-down {
  margin-top: 2rem;
  font-size: 2rem;
  color: #fff;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}


.hero {
  height: 100vh;
  background: linear-gradient(135deg, #7f5af0, #2cb67d);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.hero-content span {
  color: #f1f1f1;
  font-weight: 700;
}
.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.btn {
  background: #fff;
  color: #333;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease;
  display: inline-block;
  margin: 0.3rem;
}

.btn:hover {
  background:#22b7b2;
  color: #000;
}

/* Section Base */
.section {
  padding: 4rem 10%;
  text-align: center;
}
.section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}
#projects .color{
  color:#22b7b2;
  font-size:larger;
}

/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
}

.card h3 {
  margin-bottom: 0.5rem;
  color: #2c3e50;
  font-size: 1.3rem;
}

.card p {
  color: #555;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.card .btn {
  background: #1f3d5a;
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.card .btn:hover {
  background: #22b7b2;
  color: black;
}



/* Contact Form */
.contact form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact input,
.contact textarea {
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.contact button {
  padding: 1rem;
  background: #2c3e50;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  transition: background 0.3s;
  cursor: pointer;
}

.contact button:hover {
  background:#22b7b2;
}
#contact .color{
  color: #22b7b2;
  font-size:larger;
}

/* Social Icons */
.social-links {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.social-links a {
  color: #2c3e50;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #7f5af0;
}

/* Footer */
footer {
  text-align: center;
  background:#22b7b2;
  color: white;
  padding: 2rem 0;
  margin-top: 3rem;
}

/* About Section */
.about-section {
  background: #f0f4f8;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  text-align: left;
}

.about-text {
  flex: 1;
  min-width: 280px;
}

.about-text h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #555;
}

.about-text .highlight {
  background:#22b7b2;
  color: white;
  padding: 0.2rem 0.5rem;
  border-radius: 5px;
  font-weight: 600;
}
.about-text .color{
  color: #22b7b2;
    font-size:larger;
}

.about-image {
  flex: 1;
  text-align: center;
  min-width: 250px;
}

.about-image img {
  width: 100%;
  max-width: 350px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}
.about-social-links {
  margin-top: 2rem;
  display: flex;
  justify-content:left;
  gap: 1.5rem;
}

.about-social-links a {
  color: #2c3e50;
  font-size: 1.8rem;
  transition: transform 0.3s, color 0.3s;
}

.about-social-links a:hover {
  color:#22b7b2;
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .about-container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .about-text {
    text-align: center;
  }
}
.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 70px;
    right: 10%;
    width: 200px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    border-radius: 8px;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}
@media (max-width: 480px) {
  .contact form {
    width: 100%;
    padding: 1rem;
  }
}
@media (max-width: 480px) {
  footer p {
    font-size: 0.9rem;
  }
}
img {
  max-width: 100%;
  height: auto;
}
/* Skills Section */
.skills-section {
  background: #fff;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.skill-card {
  background: #f5f7fa;
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.skill-card i {
  font-size: 3rem;
  color:#22b7b2;
  margin-bottom: 1rem;
}

.skill-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

.skill-card p {
  color: #666;
  font-size: 0.95rem;
}
#skills .color{
  color:#22b7b2 ;
  font-size:larger;
}


