* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Poppins', sans-serif;
  background: #0a0a1a;
  color: #f0f0f5;
  line-height: 1.5;
  position: relative;
  overflow-x: hidden;
}

/* Navbar Styles (non-fixed) */

.navbar {
  position: fixed;        /* Fixes it to the viewport */
  top: 0;                 /* Aligns to top */
  left: 0;
  height: 70px;
  width: 100%;            /* Full width */
  z-index: 1000;          /* Stays above other content */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: #ab7082;
  border-bottom: 1px solid #2c264d;
  font-family: 'Poppins', sans-serif;
}

.logo {

  font-size: 40px;
  font-weight: 700;
  color: #000;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}
.nav-links li a {
  position: relative;
  text-decoration: none;
  font-weight: 500;
  color: #333;
  transition: color 0.3s ease;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background-color: white;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-links li a:hover {
  color: white;
}

.nav-links li a:hover::after {
  transform: scaleX(1);
}
/* Hero header + background shapes */
.header {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: top;
  text-align: center;
  position: relative;
  overflow: hidden;}
.header h1 {
  font-size: 3.5rem;
  color: #f0f0f5;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards 0.6s;}
.header h1 span {
  color: #2c264d;}
.header p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards 0.8s;}
.btn-primary {
  padding: 0.8rem 2rem;
  font-weight: 500;
  background: #ff477e;
  color: #f0f0f5;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-transform: uppercase;
  transition: transform 0.3s, background 0.3s;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards 1.1s;}
.btn-primary:hover {
  background: #f2a65a;
  transform: scale(1.05);}

/* shape background (blobs or waves) */
.shape-bg {
  position: absolute;
  width: 120%;
  height: 120%;
  top: -10%;
  left: -10%;
 background: linear-gradient(251deg, #ff6b6b, #3b2574);
  filter: blur(150px);
  animation: pulseBG 20s ease-in-out infinite;
  z-index: -1;
}

/* Sections */


section {
  min-height: 500px;
  padding: 6rem 2rem;
  margin: 4rem auto;
  max-width: 1200px;
}

/* Section headings and paragraphs spacing */
section h2 {
  margin-bottom: 2rem;
}

section p {
  margin-bottom: 1.5rem;
}

.about-section {margin10px;}
.container {
  display: flex;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
}
.about-text {
  flex: 1;
  height:300px;
  min-width: 280px;
}
.about-image {
  flex: 1;
min-width: 280px;
}
.about-image img {
  width: 100%;
  border-radius: 15px;
  object-fit: cover;
  filter: grayscale(30%);
  transition: filter 0.5s, transform 0.5s;
}
.about-image img:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* Projects */
.projects-section h2 {
  text-align: center;
  color: #ff477e;
  font-size: 2.8rem;
  margin-bottom: 3rem;
  margin:10px;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2.5rem;
}
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
  transform: scale(0.98);
  transition: transform 0.4s, box-shadow 0.4s;
}
.project-card:hover {
  transform: scale(1);
  box-shadow: 0 20px 40px rgba(0,0,0,0.7);
}
.card-image img {
  width: 100%;
  display: block;
  transition: transform 0.8s;
}
.project-card:hover .card-image img {
  transform: scale(1.2) rotate(2deg);
}
.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(0deg, rgba(10,10,26,0.9), rgba(10,10,26,0.6));
  transform: translateY(100%);
  transition: transform 0.5s;
}
.card-image img {
  width: 100%;
  display: block;
  transition: transform 0.8s;
}
.project-card:hover .card-image img {
  transform: scale(1.2) rotate(2deg);
}
.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(0deg, rgba(10,10,26,0.9), rgba(10,10,26,0.6));
  transform: translateY(100%);
  transition: transform 0.5s;
}
.project-card:hover
 .card-overlay {
  transform: translateY(0);
}

/* Contact section */
.contact-section {
  text-align: center;
 margin-bottom:50px;
}
.contact-section h2 {
  font-size: 2.8rem;
  color: #ff477e;
  margin-bottom: 1.5rem;
}
.contact-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}
.social-links a {
  color: #f0f0f5;
  margin: 0 0.5rem;
  font-weight: 500;
  transition: color 0.3s;
}
.social-links a:hover {
  color: #ff477e;
}

/* Footer */

.footer {
  padding: 1rem;
  margin: 0;
  background: #090919;
  text-align: center;
  color: #777;
  font-size: 0.9rem;
}

/* Keyframes */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes pulseBG {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

