/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Inter', sans-serif;
  background: #ffffff;
  color: #222;
  line-height: 1.6;
}

/* Navbar */
header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
}
.navbar {
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}
.logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0077ff;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.2rem;
}
.nav-links a {
  text-decoration: none;
  color: #333;
  transition: 0.3s;
}
.nav-links a:hover {
  color: #0077ff;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 3rem 1rem;
}
.profile-pic {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid #0077ff;
}
.hero h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}
.hero h2 span {
  color: #0077ff;
}
.hero p {
  color: #555;
  font-size: 1rem;
}

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

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.primary-btn {
  background-color: #007bff;
  color: #fff;
}

.primary-btn:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

.secondary-btn {
  border: 2px solid #007bff;
  color: #007bff;
}

.secondary-btn:hover {
  background-color: #007bff;
  color: #fff;
  transform: translateY(-2px);
}


/* Case Studies */
.case-studies {
  text-align: center;
  padding: 3rem 1rem;
}
.case-grid {
  max-width: 1100px;
  margin: 2rem auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.case-card {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}
.case-card:hover {
  transform: translateY(-5px);
}
.case-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 1rem;
}
.case-card h3 {
  color: #0077ff;
}
.case-card p {
  font-size: 0.95rem;
  color: #444;
  margin: 0.5rem 0 1rem;
}
.btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #0077ff;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
}
.btn:hover {
  background: #005fcc;
}

/* Contact Section */
.contact {
  text-align: center;
  padding: 3rem 1rem;
  background: #f7faff;
}
.contact-links a {
  margin: 0 0.8rem;
  color: #0077ff;
  text-decoration: none;
  font-weight: 500;
}
.contact-links a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem 0;
  background: #fff;
  font-size: 0.85rem;
  color: #666;
  border-top: 1px solid #eee;
}
footer a {
  color: #0077ff;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}


/* Case Study Pages */
.case-study {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 1rem;
}
.case-study h2 {
  color: #0077ff;
  margin-bottom: 0.5rem;
}
.case-study .intro {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 1.5rem;
}
.case-study img.case-img {
  width: 100%;
  border-radius: 10px;
  margin: 1rem 0 2rem;
}
.case-study h3 {
  color: #0077ff;
  margin-top: 1.8rem;
}
.case-study p, .case-study ul {
  color: #333;
}
.case-study ul {
  margin-left: 1.5rem;
}
.back-link {
  display: inline-block;
  margin-bottom: 1rem;
  color: #0077ff;
  text-decoration: none;
}
.back-link:hover {
  text-decoration: underline;
}

/* CV Page */
.cv-section {
  text-align: center;
  padding: 3rem 1rem;
}
.cv-section .btn {
  margin-top: 0.8rem;
}
.cv-iframe {
  width: 100%;
  height: 80vh;
  border: 2px solid #0077ff;
  border-radius: 10px;
  margin-top: 1.5rem;
}

/* 🔥 Smooth Fade-In Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 🌈 Subtle scroll behavior */
html {
  scroll-behavior: smooth;
}

/* 🪶 Smooth hover transitions */
a, .btn, .card {
  transition: all 0.3s ease;
}


/* ============================
   PROJECTS PAGE STYLES
   ============================ */
.projects {
  padding: 4rem 1rem;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #111;
}

.section-subtitle {
  color: #555;
  margin-bottom: 3rem;
}

.projects-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  max-width: 1000px;
  margin: 0 auto;
}

.project-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.project-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-info {
  padding: 1.5rem;
}

.project-info h3 {
  color: #007bff;
  margin-bottom: 0.5rem;
}

.project-info p {
  color: #444;
  margin-bottom: 1rem;
}


