/* --------------- Base Reset --------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #0e0e0e; /* Dark background */
  color: #f0f0f0;      /* Light text for contrast */
  line-height: 1.6;
}

a {
  cursor: pointer;
  text-decoration: none;
}

/* --------------- Utility Classes --------------- */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #fc466b, #3f5efb);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 20px rgba(252, 70, 107, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

/* --------------- Header & Navigation --------------- */

.header {
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: #151515;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand-logo {
  font-size: 1.4rem;
  font-weight: 600;
  background: linear-gradient(135deg, #fc466b, #3f5efb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Hamburger Icon --- */
.hamburger {
  display: none;   /* Hidden by default (desktop) */
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 20px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
}

/* --- Nav Links (Desktop) --- */
.nav-links {
  list-style: none;
  display: flex;  /* horizontal layout on desktop */
  align-items: center;
  gap: 1.5rem;
  transition: all 0.3s ease; /* optional smooth animation */
}

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

.nav-links li a:hover {
  color: #ffffff;
}

/* --- MOBILE RESPONSIVE STYLES --- */
@media (max-width: 768px) {
  .navbar {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 1rem 0;
  }
  /* Show hamburger, hide inline nav by default */
  .hamburger {
    display: flex;     /* Visible at small screens */
    justify-content: space-around;
  }

  .nav-links {
    position: absolute;
    top: 70px;         /* position just below your navbar */
    right: 1rem;
    display: none;     /* hidden by default on mobile */
    flex-direction: column;
    gap: 1rem;
    background: #1a1a1a;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    z-index: 999;
  }

  /* When the menu is "open", display it (toggled via JS) */
  .nav-links.open {
    display: flex;
  }
}

/* --------------- Hero Section --------------- */

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  background: #0e0e0e;
  overflow: hidden;
}

.wave-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 35%;
  background: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTQwMCAzMjAiIHhtbGxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBmaWxsPSIjMzYzNkNGIiBkPSJtMCAwIDAgMTU4LjUgNTIgMzQuNCAxNjguNSAxMjcuNiAxNTIgNTcuNC0zMy42IDIwMC40IDE4Mi0xOTguNCAxODItMTkyLjQtMjEzLjYtMTIwLjIgMTIxLjgtMjUuNmwtMTMtNi4yaC0yIHoiLz4KPC9zdmc+Cg==")
    no-repeat center/cover;
  opacity: 0.15;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  margin: auto;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(135deg, #fc466b, #3f5efb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #cccccc;
  margin-bottom: 2.5rem;
}

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

/* --------------- About Section --------------- */

.about-section {
  padding: 6rem 0;
  background: #121212;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  position: relative;
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glassy-bg {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.about-text p {
  color: #dcdcdc;
  line-height: 1.7;
}

.about-image img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

/* --------------- Services Section --------------- */

.services-section {
  padding: 6rem 0;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
  text-align: center;
  color: #ffffff;
}

.section-subtitle {
  font-size: 1.1rem;
  text-align: center;
  color: #bbbbbb;
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.service-card {
  background: #1c1c1c;
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(#fc466b, transparent 80%);
  transform: translate(-50%, -50%) rotate(45deg);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.service-card:hover::before {
  opacity: 0.1;
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #3f5efb;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #ffffff;
  font-weight: 600;
}

.service-card p {
  font-size: 0.95rem;
  color: #cccccc;
  line-height: 1.6;
}

/* --------------- Projects Section --------------- */

.projects-section {
  padding: 6rem 0;
  background: #121212;
}

.projects-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.project-card {
  background: #1a1a1a;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-4px);
}

.project-card img {
  width: 100%;
  display: block;
}

.project-info {
  padding: 1.5rem;
}

.project-info h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.project-info p {
  font-size: 0.95rem;
  color: #cccccc;
}

/* --------------- Contact Section --------------- */

.contact-section {
  padding: 6rem 0;
  text-align: center;
}

.contact-text {
  color: #cccccc;
  margin-bottom: 2rem;
}

/* ========== CONNECT WITH ME SECTION (Styles) ========== */

.connect-section {
  background: #1a1a1a; /* Slightly lighter than the main background */
  padding: 3rem 0;
  text-align: center;
}

.connect-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Gradient text for title */
.connect-section .section-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, #FFDD00, #fc466b, #3f5efb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.connect-section .section-subtitle {
  font-size: 1.1rem;
  color: #cccccc;
  margin-bottom: 2rem;
}

.connect-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem; /* Spacing between each link */
}

.connect-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #2a2a2a;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 999px; /* Pill-shaped button */
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.connect-links a:hover {
  background: #fc466b; /* Or use your preferred hover color/gradient */
  box-shadow: 0 4px 15px rgba(252, 70, 107, 0.5);
}

.connect-links i {
  font-size: 1.2rem;
}

/* --------------- Footer --------------- */

.footer {
  background: #151515;
  padding: 2rem 0;
}

.footer-container {
  text-align: center;
}

.footer p {
  color: #999999;
  font-size: 0.95rem;
}
