/* ===========================
   RESET & BASE
=========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* ===========================
   HEADER / NAV
=========================== */
header {
  background: #333;
  color: white;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
  flex-wrap: wrap;
  gap: 8px;
}

nav .logo h1 {
  font-size: 24px;
}

.logo h1:hover {
  cursor: pointer;
  transition: 0.1s;
  transform: scale(1.1);
}

.nav-links {
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.nav-links li {
  display: inline;
  margin-left: 10px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 5px 8px;
  white-space: nowrap;
}

.nav-links a:hover {
  cursor: pointer;
  color: white;
  background: linear-gradient(to right, #0083b0, #00b4db);
  transition: 0.1s;
  transform: scale(1.1);
  border-radius: 5px;
}

/* Hamburger Menu (hidden on desktop) */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 3px;
  transition: 0.3s;
}

/* ===========================
   HERO SECTION
=========================== */
.hero {
  background: #00b4db;
  background: -webkit-linear-gradient(to right, #0083b0, #00b4db);
  background: linear-gradient(to right, #0083b0, #00b4db);
  color: white;
  min-height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  padding: 40px 20px;
}

.hero-content h2:hover {
  cursor: pointer;
  transition: 0.1s;
  transform: scale(1.05);
}

.hero h2 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.click {
  padding: 10px 20px;
  background-color: #333;
  color: white;
  text-decoration: none;
  font-size: 18px;
  border-radius: 5px;
}

.click:hover {
  cursor: pointer;
  color: white;
  background: linear-gradient(to right, #0083b0, #00b4db);
  transition: 0.1s;
  transform: scale(1.1);
}

.hero .btn {
  background-color: #333;
  color: white;
  text-decoration: none;
  padding: 10px 40px;
  font-size: 18px;
  border-radius: 5px;
}

.hero .btn:hover {
  cursor: pointer;
  color: white;
  background: linear-gradient(to right, #0083b0, #00b4db);
  transition: 0.1s;
  transform: scale(1.1);
}

/* ===========================
   PROJECTS SECTION
=========================== */
.projects {
  width: 100%;
  background-color: white;
  padding: 20px 20px 40px;
}

.heading-h1 {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px 10px 30px;
}

.heading-h1 h1 {
  font-size: 30px;
  color: black;
  font-weight: bold;
}

.heading-h1 h2 {
  font-size: 18px;
  color: black;
  font-weight: bold;
  margin-top: 8px;
  max-width: 800px;
}

/* Project cards grid */
.projects-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 0 10px;
}

.project-card {
  width: 300px;
  height: 150px;
  overflow: hidden;
  border: 1px solid black;
  transition: transform 0.1s;
  display: flex;
  justify-content: center;
  align-items: center;
}

.project-card:hover {
  cursor: pointer;
  transform: scale(0.95);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* PhonePe dark bg */
.project-card.dark-bg {
  background-color: #101010;
}

/* Xbox white bg */
.project-card.white-bg {
  background-color: #ffffff;
}

/* ===========================
   PROJECTS-01 SECTION (Dribbble)
=========================== */
.projects-01 {
  width: 100%;
  background-color: white;
  padding: 20px 20px 40px;
}

.heading-h2 {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 10px 10px 20px;
}

.heading-h2 h1 {
  font-size: 22px;
  color: black;
  font-weight: bold;
  max-width: 800px;
}

.heading-h2 p {
  font-size: 18px;
  color: black;
  font-weight: bold;
  margin-top: 8px;
}

.dribbble-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 0 10px;
}

.dribbble-card {
  width: 200px;
  height: 100px;
  overflow: hidden;
  border: 1px solid black;
  transition: transform 0.1s;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dribbble-card:hover {
  cursor: pointer;
  transform: scale(0.95);
}

.dribbble-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===========================
   FIGMA SECTION
=========================== */
.figma-section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 20px 40px;
  background: white;
}

.figma-section a {
  display: block;
  width: 200px;
  height: 100px;
  border: 1px solid black;
  background: white;
  overflow: hidden;
  transition: transform 0.1s;
}

.figma-section a:hover {
  cursor: pointer;
  transform: scale(0.95);
}

.figma-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===========================
   ABOUT SECTION
=========================== */
.about {
  padding: 40px 20px;
  background: #f4f4f4;
  text-align: center;
}

.about h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.about p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
}

/* ===========================
   SERVICES SECTION
=========================== */
.services {
  padding: 40px 20px;
  text-align: center;
}

.services h2 {
  font-size: 36px;
  margin-bottom: 30px;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.service-card,
.service-card1,
.service-card2 {
  width: 280px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  text-align: left;
  transition: all 0.1s;
}

.service-card h3,
.service-card1 h3,
.service-card2 h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.service-card p,
.service-card1 p,
.service-card2 p {
  font-size: 16px;
}

.service-card:hover,
.service-card1:hover,
.service-card2:hover {
  cursor: pointer;
  color: white;
  background: linear-gradient(to right, #0083b0, #00b4db);
  transform: scale(1.05);
}

/* ===========================
   CONTACT SECTION
=========================== */
.contact {
  padding: 40px 20px;
  background: #e9ecef;
  text-align: center;
}

.contact h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.contact form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.contact label {
  font-size: 18px;
  margin-top: 10px;
  display: block;
}

.contact input,
.contact textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

.contact textarea {
  min-height: 120px;
  resize: vertical;
}

.contact button {
  background-color: #333;
  color: white;
  padding: 10px 20px;
  font-size: 18px;
  border-radius: 5px;
  cursor: pointer;
  border: none;
  width: 100%;
}

.contact button:hover {
  background-color: #5cba7d;
}

/* ===========================
   FOOTER
=========================== */
footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 20px;
}

footer p {
  font-size: 16px;
}

/* ===========================
   RESPONSIVE — TABLET (768px)
=========================== */
@media (max-width: 768px) {
  /* NAV */
  nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 15px;
  }

  .nav-top {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 8px;
    gap: 2px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    margin-left: 0;
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 8px 10px;
    border-radius: 5px;
  }

  /* HERO */
  .hero {
    min-height: auto;
    padding: 50px 20px;
  }

  .hero h2 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  .click,
  .hero .btn {
    font-size: 16px;
    padding: 10px 20px;
  }

  /* HEADINGS */
  .heading-h1 h1 {
    font-size: 24px;
  }

  .heading-h1 h2 {
    font-size: 15px;
  }

  /* PROJECT CARDS */
  .project-card {
    width: 45%;
    height: 130px;
  }

  /* DRIBBBLE CARDS */
  .dribbble-card {
    width: 45%;
    height: 90px;
  }

  /* FIGMA */
  .figma-section a {
    width: 45%;
    height: 90px;
  }

  /* ABOUT */
  .about h2 {
    font-size: 28px;
  }

  /* SERVICES */
  .services h2 {
    font-size: 28px;
  }

  .service-card,
  .service-card1,
  .service-card2 {
    width: 45%;
  }

  /* CONTACT */
  .contact h2 {
    font-size: 28px;
  }
}

/* ===========================
   RESPONSIVE — MOBILE (480px)
=========================== */
@media (max-width: 480px) {
  /* NAV */
  nav .logo h1 {
    font-size: 18px;
  }

  /* HERO */
  .hero {
    padding: 40px 15px;
  }

  .hero h2 {
    font-size: 24px;
  }

  .hero p {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .click,
  .hero .btn {
    font-size: 15px;
    padding: 10px 20px;
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  /* HEADINGS */
  .heading-h1 h1 {
    font-size: 22px;
  }

  .heading-h1 h2 {
    font-size: 13px;
  }

  .heading-h2 h1 {
    font-size: 17px;
  }

  .heading-h2 p {
    font-size: 14px;
  }

  /* PROJECT CARDS */
  .projects-grid {
    flex-direction: column;
    align-items: center;
  }

  .project-card {
    width: 90%;
    height: 160px;
  }

  /* DRIBBBLE CARDS */
  .dribbble-grid {
    flex-direction: column;
    align-items: center;
  }

  .dribbble-card {
    width: 90%;
    height: 110px;
  }

  /* FIGMA */
  .figma-section a {
    width: 90%;
    height: 110px;
  }

  /* ABOUT */
  .about h2 {
    font-size: 22px;
  }

  .about p {
    font-size: 15px;
  }

  /* SERVICES */
  .services h2 {
    font-size: 22px;
  }

  .services-grid {
    flex-direction: column;
    align-items: center;
  }

  .service-card,
  .service-card1,
  .service-card2 {
    width: 90%;
    text-align: center;
  }

  /* CONTACT */
  .contact h2 {
    font-size: 24px;
  }

  .contact label {
    font-size: 15px;
  }

  .contact button {
    font-size: 16px;
  }

  /* FOOTER */
  footer p {
    font-size: 13px;
  }
}

/* ===========================
   RESPONSIVE — SMALL MOBILE (360px)
=========================== */
@media (max-width: 360px) {
  .hero h2 {
    font-size: 20px;
  }

  .hero p {
    font-size: 13px;
  }

  nav .logo h1 {
    font-size: 16px;
  }

  .project-card {
    width: 95%;
  }

  .dribbble-card {
    width: 95%;
  }

  .service-card,
  .service-card1,
  .service-card2 {
    width: 95%;
  }
}
