/* ---------- Reset ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

html, body {
  height: 100%;
  color: #111;
  background: #fff;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ---------- Container ---------- */
.container {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  padding: 2rem 4rem 4rem;
  display: flex;
  flex-direction: column;
  background: #fff no-repeat bottom left;
  background-size: 35rem;
}

/* ---------- HEADER (LOGO TOP) ---------- */
.container header {
  width: 100%;
  display: flex;
  justify-content: space-between; /* KEY: pushes logo left, nav right */
  align-items: center;
  margin-bottom: 2rem;
}

.container header img {
  height: 4.5rem;
  display: block;
}

/* ---------- Optional centered logo alternative ---------- */
/*
.header {
  width: 100%;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
*/

/* ---------- Typography ---------- */
h1 {
  font-size: clamp(4rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.06em;
  max-width: 900px;
  margin-bottom: 24px;
}

h1 strong {
  font-weight: 800;
}

h2 {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 500;
  line-height: 1.35;
  max-width: 700px;
  margin-bottom: 20px;
}

h3,
.hero-description {
  font-size: 1.125rem;
  font-weight: 400;
  color: #6b7280;
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 48px;
}

/* ---------- Navigation ---------- */
header nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

header nav a {
  font-size: 1rem;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

header nav a:hover {
  opacity: 0.6;
  color: #4f46e5;
}

/* ---------- Content ---------- */
.container .content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  
}
/* ---------- Buttons Base ---------- */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 0.9rem 1.6rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 25px;
  cursor: pointer;
  margin-right: 12px;

  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  will-change: transform;
}

/* ---------- PRIMARY (BLACK) ---------- */
.btn-primary {
  background: #4f46e5;
  color: #fff;
  border: 1px solid #4f46e5;
  box-shadow: 0 4px 10px rgba(128, 119, 227, 0.15);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(128, 119, 227, 0.15);
  background: #4f46e5;
}

/* ---------- SECONDARY (WHITE) ---------- */
.btn-secondary {
  background: #fff;
  color: #4f46e5;
  border: 1px solid #4f46e5;
  box-shadow: 0 4px 10px rgba(128, 119, 227, 0.15);
}

.btn-secondary:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.18);
  background: #4f46e5;
  color: #fff;
}

/* ---------- Optional: click feel ---------- */
.btn-primary:active,
.btn-secondary:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}
/* Remove conflicting duplicate styles */
.container .content h1 {
  font-size: 3rem;
  font-weight: 400;
  margin-bottom: 3rem;
}

.container .content h3 {
  color: #6b7280;
  font-size: 1.2rem;
  font-weight: 400;
  margin: 0 auto 3rem;
  width: 50%;
}
.hero {
  min-height: 100vh;
 

}

.headerhero{
  background:   #FAFAFA;
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  width: 100%;
  
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
}

/* Buttons */
.hero-buttons {
  display: flex;
  gap: 15px;
align-items:center;
  margin-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    order: -1; /* image goes on top on mobile */
  }
}
/* ---------- Content Navigation ---------- */
.container .content nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.container .content nav a {
  padding: 1rem 2rem;
  margin: 0.5rem 2rem;
}

.container .content nav a:hover {
  color: #4f46e5;
}

/* ---------- Footer / Copyright ---------- */
.container .copyrightDiv {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.container .copyrightDiv .copyright {
  position: absolute;
  bottom: 0.5rem;
  text-align: center;
}

/* ---------- Footer Social ---------- */
.container footer {
  height: 3rem;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.container footer .social {
  display: flex;
  width: 150px;
  justify-content: space-between;
  filter: invert(0.5);
}

.container footer .social a {
  transition: transform 0.1s ease-in-out;
}

.container footer .social a:hover {
  transform: scale(1.1);
  filter: invert(0);
}

.container footer .social a img {
  height: 1rem;
}

/* ================= PROJECT GRID ================= */

.projects {
  margin-top: 4rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.project-card {
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 2rem;
  background: #fff;

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.project-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.project-card p {
  color: #6b7280;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* responsive */
@media (max-width: 900px) {
  .project-grid {
    grid-template-columns: 1fr;
  }
}
/* ================= CASE STUDY ================= */

.case-section {
  margin-top: 4rem;
  max-width: 800px;
}

.case-section h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.case-section img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: contain;
}
.case-section p {
  color: #6b7280;
  line-height: 1.7;
}

/* ---------- 3 column info grid ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  

}

.case-grid h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.case-grid p {
  color: #6b7280;
}

/* ---------- images ---------- */
.case-media {
  margin-top: 4rem;
}

.case-media img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid #eee;
}

.case-media-grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.case-media-grid img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid #eee;
}

/* responsive */
@media (max-width: 900px) {
  .case-grid {
    grid-template-columns: 1fr;
  }

  .case-media-grid {
    grid-template-columns: 1fr;
  }
}
/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .container {
    padding: 1rem 2rem 6rem;
    background-size: calc(25rem + 20vw);
  }

  .container header img {
    height: 4rem;
  }

  .container .content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .container .content h1 strong {
    display: block;
  }

  .container .content h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    width: 100%;
  }

  .container .content nav a {
    font-size: 1.1rem;
    padding: 0.5rem 1.5rem;
  }

  .container footer {
    justify-content: center;
  }

  .container footer .social {
    filter: invert(0);
  }

  .container footer .social img {
    height: 1.2rem;
  }
}


