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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #000;
  color: white;
}

/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
  color: #000;
  padding: 15px 5%;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 40px;
  width: auto;
}

nav {
  display: flex;
  gap: 25px;
}

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

nav a:hover {
  color: #00bfff;
}
.social-actions {
  margin-top: 15px;
  display: flex;
  gap: 15px;
}

.social-actions button {
  padding: 8px 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}

#likeBtn {
  background: #ff4d6d;
  color: white;
}

#shareBtn {
  background: #333;
  color: white;
}

/* Hero Section */
.hero {
  height: 100vh;
  width: 100%;
  background-image: url('hero-bg.jpg'); /* Replace with your image */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  padding: 0 10px;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to top, #000, transparent); /* sunrise fade */
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.btn.learn-more {
  display: inline-block;
  padding: 12px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  background-color: #ffcc00;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.btn.learn-more:hover {
  background-color: #ffdb4d;
  color: #111;
  transform: translateY(-3px);
}

/* About Section */
.about {
  padding: 80px 10%;
  background-color: #111;
  text-align: center;
}

.about h2 {
  font-size: 2rem;
  color: #ffcc00;
  margin-bottom: 20px;
}

.about p {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}

/* Contact Section */
.contact {
  background-color: #000;
  color: white;
  padding: 80px 10%;
  text-align: center;
}

.contact h2 {
  font-size: 2rem;
  color: #ffcc00;
  margin-bottom: 40px;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
  min-width: 200px;
}

/* Brand Colors */
.whatsapp {
  background-color: #25D366;
}
.whatsapp:hover {
  background-color: #1da851;
  transform: scale(1.05);
}

.email {
  background-color: #0072c6;
}
.email:hover {
  background-color: #005999;
  transform: scale(1.05);
}

.github {
  background-color: #333;
}
.github:hover {
  background-color: #000;
  transform: scale(1.05);
}

.btn i {
  font-size: 1.3rem;
}

/* Footer */
.footer {
  background-color: #111;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 5%;
    background-color: #111;
    width: 200px;
    padding: 10px 0;
    border-radius: 10px;
  }

  nav.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .btn.learn-more {
    padding: 10px 20px;
    font-size: 1rem;
  }
}


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

a {
  color: #00bfff;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

section {
  padding: 80px 10%;
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.4);
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 1.3rem;
  color: #ccc;
}

/* ---------- About Section ---------- */
.about {
  display: flex;
  align-items: left;
  justify-content: left;
  flex-wrap: wrap;
  gap: 30px;
  text-align: left;
}

.profile-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #00bfff;
  background-color: #fff;
}

.about h2 {
  color: #00bfff;
  margin-bottom: 10px;
}
.btn.learn-more {
  display: inline-block;
  padding: 12px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  background-color: #00bfff;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  margin-top: 25px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.btn.learn-more:hover {
  background-color: #fff;
  color: #111;
  transform: translateY(-3px);
}

/* ---------- Skills Section ---------- */
.skills h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #00bfff;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.card {
  background: #1a1a1a;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(0,191,255,0.6);
}

/* ---------- Projects Section ---------- */
.projects h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #00bfff;
}

.projects .card h3 {
  color: #00bfff;
  margin-bottom: 10px;
}

/* ---------- Contact Section ---------- */
.contact {
  background-color: #111;
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.contact h2 {
  font-size: 2rem;
  color: #00bfff;
  margin-bottom: 40px;
}

/* Arrange buttons in a row */
.contact-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap; /* ensures it stays responsive on mobile */
}

/* Shared button style */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
  min-width: 220px;
}

/* Brand-specific colors */
.whatsapp {
  background-color: #25D366;
}
.whatsapp:hover {
  background-color: #1da851;
  transform: scale(1.05);
}

.email {
  background-color: #0072c6;
}
.email:hover {
  background-color: #005999;
  transform: scale(1.05);
}

.github {
  background-color: #333;
}
.github:hover {
  background-color: #000;
  transform: scale(1.05);
}

/* Icon styling */
.btn i {
  font-size: 1.3rem;
}


/* ---------- Footer ---------- */
footer {
  background: #111;
  text-align: center;
  padding: 20px;
  color: #aaa;
}

footer p {
  font-size: 0.9rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  section {
    padding: 60px 5%;
  }
}