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

body {
  background: linear-gradient(#ff7979, #ffffff);
  /* scroll-behavior: smooth; */
}

/*  Header  */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 8%;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 24px;
  font-weight: 600;
}

.logo span {
  color: #7a31f3;
}

nav a {
  margin: 0 10px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: 0.3s;
}

nav a.active,
nav a:hover {
  color: #7a31f3;
}

.contact-btn {
  background: linear-gradient(90deg, #9a4dff, #5c4fff);
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
}

/*  Home  */
.home {
  background: linear-gradient(to right, #f9f1ff, #e8f5ff);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 100px 8%;
}

.home-content {
  display: flex;
  gap: 60px;
  align-items: center;
}

.home-content img {
  width: 280px;
  border-radius: 20px;
  /* box-shadow: 1px 1px 5px; */
  transition: all 0.1s ease-in-out;
}

.home-content img :hover {
  transform: translateY(-15px);
  box-shadow: 0 7px 5px rgba(85, 85, 85, 0.3);
}

.home-content .text h3 {
  font-size: 24px;
}

.home-content .text h1 {
  font-size: 48px;
  color: #6a2ff9;
}

.btn {
  display: inline-block;
  background: linear-gradient(90deg, #e8d7ff, #eeedff);
  color: #000000;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  margin-top: 15px;
}

/*  About  */
.about {
  background: linear-gradient(to right, #daffef, #e8e9ff);
  padding: 80px 8%;
  display: flex;
  justify-content: center;
}

.about-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  display: flex;
  gap: 40px;
  max-width: 900px;
}

.about-card img {
  width: 260px;
  border-radius: 14px;
}

/*  Process  */
.process {
  background: linear-gradient(to right, #c7b6ff, #d9c5b8);
  padding: 100px 8%;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.process-grid .card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
}

/*  Portfolio  */
.portfolio {
  background: #fbfeff;
  padding: 100px 8%;
}

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

.project {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.project img {
  width: 100%;
}

.project .text {
  padding: 20px;
}

/*  Blog  */
.blog {
  background: linear-gradient(to right, #f9feff, #e2faff);
  padding: 100px 8%;
  text-align: center;

}

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

.blog .post {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.blog .post img {
  width: 100%;
}

.blog .text {
  padding: 15px;
}


/*  Reset & Base  */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: linear-gradient(135deg, #f7f7ff, #eef2ff);
  color: #222;
  line-height: 1.6;
}

/*  Navbar  */
header {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111;
}

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

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

.nav-links a:hover,
.nav-links a.active {
  color: #7b2ff7;
}

/*  Contact Section  */
.contact-section {
  padding: 80px 10%;
  text-align: center;
}

.contact-section h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #111;
}

.contact-section p {
  color: #555;
  max-width: 700px;
  margin: 0 auto 50px;
}

/* = Contact Container */
.contact-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

/*  Contact Info  */
.contact-info {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border-radius: 15px;
  padding: 30px 35px;
  text-align: left;
  flex: 1 1 320px;
  transition: 0.3s;
}

.contact-info:hover {
  transform: translateY(-5px);
}

.contact-info h3 {
  color: #7b2ff7;
  margin-bottom: 15px;
}

.contact-info p {
  margin-bottom: 15px;
  font-size: 0.95rem;
}

/*  Contact Form  */
.contact-form {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border-radius: 15px;
  padding: 30px 35px;
  flex: 1 1 400px;
  text-align: left;
  transition: 0.3s;
}

.contact-form:hover {
  transform: translateY(-5px);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 15px;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  font-size: 1rem;
  background-color: #fafafa;
  transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #7b2ff7;
  box-shadow: 0 0 0 3px rgba(123, 47, 247, 0.15);
}

.contact-form textarea {
  resize: none;
  height: 120px;
}

/* Button */
.btn {
  display: inline-block;
  background: linear-gradient(90deg, #7b2ff7, #f107a3);
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: 0.3s ease;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(123, 47, 247, 0.3);
}

/*  Footer  */
footer {
  text-align: center;
  padding: 25px;
  font-size: 0.9rem;
  color: #ffffff;
  background: #000000;
  margin-top: 60px;
  border-top: 1px solid #ff1919;
  border-radius: 10px;
}

#rafay {
  color: #7b2ff7;
}