/* =====================
   RESET + BASE
===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Inter", sans-serif;
  background: #0e1117;
  color: #e6e6e6;
  line-height: 1.6;
  overflow-x: hidden;
}

/* =====================
   NAVBAR
===================== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(14, 17, 23, 0.9);
  backdrop-filter: blur(8px);
  z-index: 1000;
}

.navbar nav {
  max-width: 1200px;
  margin: auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}

.navbar a {
  text-decoration: none;
  color: #e6e6e6;
  font-weight: 500;
}

.navbar a:hover {
  color: #4da3ff;
}

/* =====================
   SECTION GLOBALS
===================== */
.section {
  padding: clamp(3rem, 6vw, 5rem) 2.5rem;
}

.section.dark {
  background: #121620;
}

.section h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin-bottom: 2rem;
}

/* =====================
   HOME / HERO
===================== */
.home-section {
  padding: 90px 0 0 20px;
  background: #11151c;

}

.hero {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.home-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  padding-bottom:10px;
}

.home-content h2 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #4da3ff;
  margin: 1rem 0;
}

.home-content p {
  max-width: 560px;
  font-size: 1rem;
  color: #c5c5c5;
}


.hello-title h2 {
    font-size: 2.3rem;
  }

@media (max-width: 600px) {
  .section {
    padding: 3rem 1.25rem;
  }
}

/* =====================
   HERO IMAGE
===================== */
.hero-image {
  display: flex;
  justify-content: center;
  padding-bottom:20px;
}

.hero-image img {
  width: clamp(220px, 40vw, 340px);
  height: clamp(220px, 40vw, 340px);
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid #1f2433;
}


.hero-buttons {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* =====================
   BUTTONS
===================== */
.btn {
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn.primary,
.btn.secondary {
  border: 2px solid #4da3ff;
  color: #4da3ff;
}

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

/* =====================
   ABOUT SECTION
===================== */
.about-section {
  background: radial-gradient(circle at left, #0b0f1a, #05070d);
  scroll-margin-top: 100px;
  padding-left:20px;
}

.about-me {
  border: 3px solid #4da3ff;
  padding: 0.5rem 1.4rem;
  border-radius: 999px;
  width: max-content;
  margin-bottom: 2rem;
  margin-top: 2rem;
}

.about-content {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hello-title h2 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
}

.about-text {
  max-width: 700px;
  margin-top:20px;
  margin-bottom:40px
}

.about-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: #d1d5db;
}

.highlight {
  color: #4da3ff;
  font-weight: 600;
}

.about-me-header{
  margin-left:20px;
}
/* =====================
   CARDS / PROJECTS
===================== */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: #181c27;
  padding: 1.5rem;
  border-radius: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.card>a,
.card>a:hover,
.card>a:visited,
.card>a:active {
  color: inherit;
  text-decoration: none;
  display: block;
}

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

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.95rem;
  color: #c5c5c5;
}

.card span {
  display: block;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: #4da3ff;
}

/* =====================
   CONTACT
===================== */
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.contact-links a {
  color: #4da3ff;
  text-decoration: none;
  font-weight: 600;
}

/* =====================
   RESUME
===================== */
.section p{

    padding:0 0 20px 0
}
/* =====================
   FOOTER
===================== */
footer {
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.8rem;
  color: #777;
}

/* =====================
   DESKTOP BREAKPOINTS
===================== */
@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.2fr 1fr;
  }

  .about-content {
    flex-direction: row;
    align-items: center;
    gap: 6rem;
  }

  .card-grid {
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  }
}
