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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}


body {
    font-family: "Segoe UI", Arial, sans-serif;
    background-color: #f9fafb;
    color: #333;
    line-height: 1.6;
}

/* Header */
header {
    background: linear-gradient(135deg, #111827, #1f2933);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    margin-top: 20px;
}

header p {
    font-size: 1.2rem;
    color: #d1d5db;
    margin-top: 10px;
}

header {
  animation: fadeUp 0.9s ease forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
    justify-content: center;
}

/* Base button */
.btn {
  padding: 14px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn.primary {
  background: #f4a261;
  color: #ffffff;
}

.btn.primary:hover {
  background: #e76f51;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.btn.outline {
  border: 2px solid #f4a261;
  color: #f4a261;
  background: transparent;
}

.btn.outline:hover {
  background: #f4a261;
  color: #ffffff;
  transform: translateY(-3px);
}



/* Sections */
section {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}

section h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #111827;
}

/* Skills */
ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

ul li {
    background: white;
    padding: 15px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Footer */
footer {
    background: #e5e7eb;
    padding: 30px;
    text-align: center;
    margin-top: 60px;
    font-size: 0.9rem;
}

/* ===== Projects Section ===== */
.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Project Card */
.project-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Hover effect */
.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
    baackground: #fff;
}

/* Title */
.project-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  color: #222;
}

/* Description */
.project-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1rem;
}

/* Project Link */
.project-card a {
  display: inline-block;
  text-decoration: none;
  color: #2563eb;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
    font-size: 0.9rem;
  margin-top: 12px;
}

.project-card a:hover {
  border-bottom: 2px solid #f4a261;
  text-decoration: underline;
}

.project-card::before {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  background: #f4a261;
  border-radius: 4px;
  margin-bottom: 12px;
}

.project-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 12px;
  object-fit: cover;
}


/* Call To Action */
.cta {
    background: linear-gradient(135deg, #1f2933,#111827);
    color: white;
    text-align: center;
    padding: 80px 20px;
    margin-top: 80px;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: white
}

.cta p {
    max-width: 600px;
    color: #d1d5db;
    margin: 0 auto 30px;
}

.cta-btn {
    display: inline-block;
    background: white;
    color: #111827;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.25s ease;
}

.cta-btn:hover {
    background: #e5e7eb;
    transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

section p {
    max-width: 700px;
    font-size: 1.05rem;
    color: #4b5563;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

.project-link {
    display: inline-block;
    margin-top: 15px;
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

.project-link:hover {
    text-decoration: underline;
}

.profile-img {
  width: 500px;
  height: 500px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #facc15;
  margin-top: 20px;
    object-position: top center;
    box-shadow:0 8px 25px rgba(0, 0, 0, 0.4)
}


.tags {
  display: flex;
  gap: 8px;
  margin: 10px 0;
}

.tags span {
  font-size: 0.75rem;
  padding: 4px 10px;
  background: #f4a261;
  color: #fff;
  border-radius: 20px;
}

 /* Contact Section */
.contact {
  padding: 80px 20px;
  background: #f5f7fa;
  display: flex;
  justify-content: center;
}

.contact-card {
  background: #ffffff;
  max-width: 500px;
  width: 100%;
  padding: 40px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card h2 {
  margin-bottom: 10px;
}

.contact-card p {
  color: #555;
  margin-bottom: 20px;
}

.contact-card:hover {
  transform: scale(1.02);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.15);
}

.contact-details p {
  margin: 8px 0;
}

.contact-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  background: #f4a261;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.25s ease, background 0.2s ease;
}

.contact-btn:hover {
  background: #e76f51;
  transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

h1 {
  font-size: 2.5rem;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  p {
    font-size: 0.95rem;
  }
}

header {
  padding: 80px 20px;
}

@media (max-width: 768px) {
  header {
    text-align: center;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 900px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    padding: 18px;
  }

  .hero img {
    width: 160px;
    height: 160px;
  }

    @media (max-width: 600px) {
  .contact-card {
    padding: 25px;
  }

  .contact-btn {
    width: 100%;
  }
}


