body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #ffffff;
  color: #222;
  scroll-behavior: smooth;
}

/* HERO FULL IMAGE BACKGROUND */
.hero {
  height: 100vh; /* full screen */
  background: url('assets/core2.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* DARK OVERLAY (for readability) */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
}

/* HERO OVERLAY CENTER FIX */
.hero-overlay {
  background: transparent;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
  height: 100%;
}

/* MAIN TEXT */
.hero h1 {
  color: #ffffff;
  opacity: 0.1;
  font-size: 76px;
  font-weight: 600;
  text-shadow: 0 10px 30px rgba(0,0,0,0.5);
  margin: 0; /* remove default spacing */
}

/* PARAGRAPH FIX */
.hero p {
  color: rgba(255,255,255,0.85);
  margin-top: 10px; /* controlled spacing */
  text-align: center;
}



/* SERVICES UPGRADE */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: auto;
}

.service-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 30px 20px;
  border: 1px solid #eee;
  transition: all 0.3s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.service-card h3 {
  margin: 15px 0 10px;
  color: #626FE0;
}

.service-card p {
  font-size: 14px;
  color: #555;
}

.icon {
  width: 48px;
  height: 48px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #626FE0; /* primary color */
}

/* SVG styling */
.icon svg {
  width: 24px;
  height: 24px;
}

/* SECTIONS */
.section {
  padding: 80px 20px;
  text-align: center;
}

.alt {
  background: #f8f9fb;
}

h2 {
  margin-bottom: 40px;
  font-size: 28px;
}

/* CARDS */
.team, .projects {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.card {
  width: 260px;
  padding: 25px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #eee;
  transition: 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
}

h3 {
  color: #5ED3A5;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  max-width: 700px;
  margin: auto;
}

.grid div {
  padding: 18px;
  border-radius: 12px;
  border: 1px solid #eee;
}

/* PROJECTS GRID */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 300px)); /* limit size */
  gap: 40px; /* more space between cards */
  justify-content: center; /* center the cards */
  max-width: 700px; /* prevents stretching */
  margin: auto;
}
/* CARD */
.project-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #eee;
  transition: all 0.3s ease;
}
.section {
  padding: 100px 20px;
}
.project-card:hover {
    transform: translateY(-8px) scale(1.02);

  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* IMAGE */
.project-image {
  position: relative;
  width: 100%;
  padding-top: 60%; /* 16:10 ratio */
  overflow: hidden;
}

.project-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CONTENT */
.project-content {
  padding: 20px;
  text-align: left;
}

.project-content h3 {
  margin-bottom: 10px;
  color: #626FE0;
}

.project-content p {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
}

/* CONTACT SECTION */
.contact-container {
  max-width: 600px;
  margin: auto;
  text-align: center;
}

.contact-text {
  font-size: 16px;
  color: #555;
  margin-bottom: 25px;
}

/* EMAIL BUTTON */
.contact-button {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 30px;
  background: #626FE0;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.contact-button:hover {
  background: #4f5bd5;
  transform: translateY(-2px);
}

/* ABOUT SECTION ENHANCED */
.about-container {
  max-width: 1000px;
  margin: auto;
  text-align: center;
}

/* TAGLINE */
.about-tagline {
  font-size: 22px;
  font-weight: 600;
  color: #626FE0;
  margin-bottom: 40px;
}

/* GRID */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

/* REMOVE LINK DEFAULT STYLE */
.project-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* OPTIONAL: hover cursor */
.project-link:hover {
  cursor: pointer;
}

.project-overlay span {
  transition: transform 0.3s ease;
}

.project-card:hover .project-overlay span {
  transform: translateX(5px);
}

/* LINK CLEAN */
.project-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* IMAGE CONTAINER */
.project-image {
  position: relative;
  overflow: hidden;
}

/* OVERLAY */
.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: rgba(0, 0, 0, 0.55);
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 16px;
  font-weight: 500;

  opacity: 0;
  transition: all 0.3s ease;
}

/* SHOW ON HOVER */
.project-card:hover .project-overlay {
  opacity: 1;
}

/* SLIGHT ZOOM EFFECT */
.project-card:hover img {
  transform: scale(1.05);
  transition: 0.4s ease;
}
/* CARDS */
.about-card {
  background: #fff;
  padding: 25px;
  border-radius: 14px;
  border: 1px solid #eee;
  transition: all 0.3s ease;
}

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.about-card h3 {
  color: #626FE0;
  margin-bottom: 10px;
}

.about-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* FINAL LINE */
.about-highlight {
  margin-top: 40px;
  font-weight: 500;
  font-size: 16px;
  color: #222;
}
/* TAGS */
.tag {
  display: inline-block;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 20px;
  background: #f1f3f6;
  margin-right: 5px;
}



/* CLIENT SECTION */
.client-subtext {
  color: #666;
  font-size: 14px;
  margin-bottom: 40px;
}

/* GRID */
.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: auto;
}

/* CARD (DIFFERENT STYLE FROM PROJECTS) */
.client-card {
  background: transparent;
  padding: 25px;
  border-radius: 12px;
  border: 1px dashed #ddd;
  text-align: left;
  transition: 0.3s ease;
}

.client-card:hover {
  border-color: #626FE0;
  transform: translateY(-5px);
}

/* TITLE */
.client-card h3 {
  margin-bottom: 10px;
  color: #222;
}

/* TEXT */
.client-card p {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
}












/* SCROLL ANIMATION */
.fade-section {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.fade-section.show {
  opacity: 1;
  transform: translateY(0);
}

/* HERO TEXT ANIMATION */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease forwards;
}

.fade-up.delay {
  animation-delay: 0.4s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}