/* ===========================
   MODERN FONTS
=========================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&family=Inter:wght@300;400;500;600&display=swap');

/* ===========================
   RESET
=========================== */

nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(18px);
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  margin: 20px auto 40px auto;
  width: fit-content;
  animation: fadeUp 0.7s ease-out;
}

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

/* ===========================
   SOFT MODERN BACKGROUND
=========================== */
body {
  font-family: "Inter", sans-serif;
  background: linear-gradient(135deg, #eef5ff, #f9feff, #eefcf7);
  background-attachment: fixed;
  color: #1d1d1d;
  line-height: 1.8;
  padding: 30px;
}

/* ===========================
   MAIN CONTAINER
=========================== */
main {
  max-width: 1000px;
  margin: 40px auto;
  background: rgba(255, 255, 255, 0.9);
  padding: 50px;
  border-radius: 22px;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  animation: fadeUp 0.7s ease-out;
}

/* ===========================
   PROFILE IMAGE
=========================== */
.profile {
  display: block;
  margin: 0 auto 30px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #fff;
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
  animation: floatSoft 6s ease-in-out infinite;
}

/* ===========================
   HEADER
=========================== */
header {
  text-align: center;
  margin-bottom: 25px;
}

header h1 {
  font-family: "Poppins", sans-serif;
  font-size: 42px;
  font-weight: 600;
  color: #1f2a52;
}

/* ===========================
   NAVIGATION
=========================== */
nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;

  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px);

  padding: 14px 26px;
  border-radius: 16px;

  margin: 25px auto 40px auto;
  width: fit-content;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  animation: fadeUp 0.7s ease-out;
}

/* Normal Links */
nav a {
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  padding: 10px 14px;

  border-radius: 10px;
  color: #3b4cc7;

  transition: 0.3s ease;
  position: relative;
}

/* Soft underline animation */
nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  transform: translateX(-50%);

  width: 0%;
  height: 2px;

  background: #4a6bff;
  border-radius: 6px;
  transition: width 0.25s ease;
}

/* Hover Animation */
nav a:hover {
  color: #2f4dff;
  background: rgba(74, 107, 255, 0.08);
  box-shadow: 0 6px 15px rgba(74, 107, 255, 0.20);
}

nav a:hover::after {
  width: 70%;
}

/* CTA Button – Schedule Meeting */
.nav-cta {
  background: linear-gradient(135deg, #4a6bff, #3e56db);
  color: white !important;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 600;

  box-shadow: 0 6px 18px rgba(74, 107, 255, 0.35);
  transition: 0.3s ease;
}

/* CTA Hover */
.nav-cta:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #3e56db, #4a6bff);
  box-shadow: 0 12px 28px rgba(74, 107, 255, 0.45);
}

/* ===========================
   SECTION TITLES
=========================== */
section {
  margin-bottom: 50px;
}

section h2 {
  font-family: "Poppins", sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: #1f2a52;
  margin-bottom: 18px;
}

section h2::after {
  content: "";
  width: 70px;
  height: 3px;
  background: #4a6bff;
  display: block;
  border-radius: 3px;
  margin-top: 6px;
  animation: barGrow 1s ease;
}

p, li {
  font-size: 17px;
  color: #2f3446;
}

/* ===========================
   BUTTONS
=========================== */
button, .button {
  display: inline-block;
  background: linear-gradient(135deg, #4a6bff, #3e56db);
  padding: 12px 22px;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  border: none;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s ease;
  box-shadow: 0 6px 20px rgba(74,107,255,0.25);
}

button:hover, .button:hover {
  transform: translateY(-3px);
  box-shadow: 0 13px 35px rgba(74,107,255,0.35);
}

/* ===========================
   SERVICES GRID
=========================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.service-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
  transition: 0.35s ease;
  border-left: 6px solid #7afff8;
  text-decoration: none;         /* REMOVE UNDERLINE */
  color: inherit;                /* KEEP TEXT COLOR CLEAN */
  display: block;
}

.service-card h3 {
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 10px;
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.18);
  border-left: 6px solid #00f5d4;
  box-shadow: 0 0 25px rgba(0,255,230,0.25), 0 18px 45px rgba(0,0,0,0.18);
}

/* ===========================
   BLOG PAGE GRID
=========================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.blog-card {
  background: #ffffff;
  padding: 22px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  transition: 0.35s ease;
  border-top: 5px solid #4a6bff;
  text-decoration: none;
  color: inherit;
  display: block;
}

.blog-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.blog-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 0 35px rgba(0,140,255,0.25);
  border-top: 5px solid #1fa3ff;
}

/* ===========================
   PORTFOLIO GRID
=========================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
}

.portfolio-grid img {
  width: 100%;
  border-radius: 16px;
  transition: 0.3s ease;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.portfolio-grid img:hover {
  transform: scale(1.06);
  box-shadow: 0 0 35px rgba(0,200,255,0.30);
}

/* ===========================
   SCREENSHOTS
=========================== */
.screenshot {
  width: 100%;
  margin: 25px 0;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
  transition: 0.35s ease;
}

.screenshot:hover {
  transform: scale(1.03);
  box-shadow: 0 0 40px rgba(0,200,255,0.25);
}

/* ===========================
   FOOTER
=========================== */
footer {
  text-align: center;
  margin-top: 50px;
  color: #6b7280;
  font-size: 15px;
}

/* ===========================
   ANIMATIONS
=========================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(35px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes floatSoft {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
 100% { transform: translateY(0px); }
}

@keyframes barGrow {
  from { width: 0; }
  to { width: 70px; }
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 768px) {
  main {
    padding: 30px;
  }
  header h1 {
    font-size: 32px;
  }
  .profile {
    width: 140px;
    height: 140px;
  }
}
