/* =========================================================
   RESET & GLOBAL
========================================================= */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background: radial-gradient(circle at top left, rgba(249,115,22,0.18), #020617 55%);
  color: antiquewhite;
  overflow-x: hidden;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 92%;
  max-width: 1280px;
  margin: auto;
}

.center {
  text-align: center;
}

/* =========================================================
   ANIMATIONS
========================================================= */

.fade-up {
  opacity: 0;
  transform: translateY(22px);
  animation: fadeUp 0.9s ease forwards;
}

.delay-1 { animation-delay: .15s; }
.delay-2 { animation-delay: .3s; }
.delay-3 { animation-delay: .45s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   HEADER
========================================================= */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(2, 6, 23, 0.92);
  border-bottom: 1px solid rgba(148,163,184,0.2);
  backdrop-filter: blur(20px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.brand a {
  font-size: 1.6rem;
  font-weight: 700;
  color: #f9fafb;
  letter-spacing: 1px;
}

.brand span {
  color: #f97316; /* copper */
}

.nav {
  display: flex;
  gap: 1.8rem;
}

.nav a {
  color: #cbd5e1;
  font-size: 0.97rem;
  position: relative;
  transition: 0.2s ease;
}

.nav a:hover {
  color: #f97316;
}

.nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -6px;
  left: 0;
  background: #f97316;
  transition: 0.25s ease;
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.nav a.active {
  color: #f97316;
  font-weight: 600;
}

/* Mobile Nav Button */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: #e5e7eb;
  border-radius: 999px;
  margin: 5px 0;
}

@media (max-width: 768px) {
  .nav {
    position: absolute;
    width: 100%;
    left: 0;
    top: 78px;
    background: #020617;
    padding: 1.2rem 0;
    flex-direction: column;
    text-align: center;
    transform: translateY(-200%);
    opacity: 0;
    pointer-events: none;
    border-bottom: 1px solid rgba(148,163,184,0.2);
    transition: 0.3s ease;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: block;
  }
}

/* =========================================================
   HERO SECTION
========================================================= */

.hero-section {
  padding: 4.5rem 0 4rem;
  display: flex;
  align-items: center;
  min-height: 88vh;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3.5rem;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 4vw, 3.6rem);
  color: #0e5054;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-text p {
  max-width: 520px;
  color: #0b2e5f;
  font-size: 1.05rem;
  margin-bottom: 1.8rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* HERO BUTTONS */
.btn {
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: 0.25s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #0f0f16;
}

.btn.primary:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.btn.outline {
  background: transparent;
  color: #f97316;
  border-color: #f97316;
}

.btn.outline:hover {
  background: #f97316;
  color: #0f0f16;
}

/* HERO IMAGE */
/* PHOTO CARD BASE */
.photo-card {
  position: relative;
  border-radius: 1.7rem;
  overflow: hidden;
  background: #000;
  box-shadow: 0 25px 60px rgba(0,0,0,0.7);
  height: 300px;
}

/* SLIDESHOW IMAGES */
.photo-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 300px;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
}

/* Active image visible */
.photo-card img.active {
  opacity: 1;
}

/* OVERLAY ALWAYS ON TOP */
.photo-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(2, 8, 23, 0.9);
  padding: 1rem 1.3rem;
  z-index: 10;
}

.photo-overlay h3 {
  color: #f97316;
  margin-bottom: 0.4rem;
}

.photo-overlay p {
  color: #cbd5e1;
}

/* Responsive Hero */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   WHY US SECTION
========================================================= */

.why-us {
  padding: 3rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;   /* smaller gap */
}

/* SMALLER CARDS */
.feature-item {
  background: rgba(195, 37, 37, 0.02);
  padding: 1.3rem 1.4rem;        /* reduced padding */
  border-radius: 1rem;           /* smaller radius */
  border: 1px solid rgba(148,163,184,0.25);
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
  cursor: pointer;
  min-height: 150px;             /* smaller height */
}

/* HOVER */
.feature-item:hover {
  transform: translateY(-6px) scale(1.03);
  background: rgba(249,115,22,0.18);
  border-color: #f97316;
  box-shadow: 0 18px 40px rgba(249,115,22,0.4);
}

/* ICON smaller */
.f-icon {
  font-size: 1.6rem;   /* smaller icon */
  margin-bottom: 0.4rem;
  transition: 0.3s ease;
}

/* hover icon */
.feature-item:hover .f-icon {
  color: #f97316;
  transform: scale(1.15);
}

/* TITLE smaller */
.feature-item h3 {
  color: #1be590;
  font-size: 1rem;       /* smaller title */
  margin-bottom: 0.3rem;
  transition: 0.3s ease;
}

.feature-item:hover h3 {
  color: #f97316;
}

/* TEXT smaller */
.feature-item p {
  color: #f7f8fa;
  font-size: 0.85rem;      /* smaller text */
  transition: 0.3s ease;
}

.feature-item:hover p {
  color: #ffffff;
}

/* Responsive */
@media(max-width:900px){
  .features-grid { grid-template-columns: 1fr 1fr; }
}

@media(max-width:600px){
  .features-grid { grid-template-columns: 1fr; }
}


/* =========================================================
   SERVICES PREVIEW
========================================================= */

.services-preview {
  padding: 4.2rem 0;
}

.two-col {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
}

.checklist {
  margin: 1.3rem 0 2rem;
}

.checklist li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.6rem;
  color: #e5e7eb;
}

.checklist li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #22c55e;
}

.moodboard-box {
  background: radial-gradient(circle at top right, #4ef916c4, #2836b1c4);
  padding: 2rem;
  border-radius: 1.6rem;
  color: #fff;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  transition: transform 0.3s ease;   /* smooth zoom */
}

/* ZOOM HOVER */
.moodboard-box:hover {
  transform: scale(1.07);   /* zoom in */
}


@media(max-width:900px){
  .two-col {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   PROJECTS PREVIEW
========================================================= */

.projects-preview {
  padding: 4rem 0;
}

.projects-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.8rem;
}

.view-all {
  color: #f97316;
  font-weight: 500;
}

/* GRID */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 2rem;
}

/* PROJECT CARD */
.p-card {
  position: relative;
  background: rgba(255,255,255,0.02);
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(148,163,184,0.25);
  transition: 0.35s ease;
  box-shadow: 0 15px 45px rgba(0,0,0,0.45);
  cursor: pointer;
}

/* CARD HOVER LIFT */
.p-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.7);
}

/* DARK OVERLAY */
.p-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 15, 0.35);
  opacity: 0;
  transition: 0.35s ease;
}

.p-card:hover::after {
  opacity: 1;
}

/* IMAGE */
.p-img {
  height: 190px;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.p-card:hover .p-img {
  transform: scale(1.12);
}

/* IMAGES */
.p1 { background-image: url("https://images.pexels.com/photos/6585749/pexels-photo-6585749.jpeg"); }
.p2 { background-image: url("https://images.pexels.com/photos/6585768/pexels-photo-6585768.jpeg"); }
.p3 { background-image: url("https://images.pexels.com/photos/6585767/pexels-photo-6585767.jpeg"); }

/* CONTENT */
.p-info {
  padding: 1rem 1.2rem 1.4rem;
  position: relative;
  z-index: 5;
}

.p-info h3 {
  color: #fff;
  margin-bottom: 0.3rem;
}

.p-info p {
  color: #94a3b8;
}

/* RESPONSIVE GRID */
@media(max-width:900px){
  .projects-grid { grid-template-columns: 1fr 1fr; }
}

@media(max-width:600px){
  .projects-grid { grid-template-columns: 1fr; }
}


/* =========================================================
   CTA FULL
========================================================= */

.cta-full {
  padding: 3.2rem 0;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #0f0f16;
}

.cta-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cta-text h2 {
  font-size: 1.9rem;
  margin-bottom: 0.4rem;
}

@media(max-width:768px){
  .cta-flex {
    flex-direction: column;
    text-align: left;
  }
}

/* =========================================================
   FOOTER
========================================================= */

.footer {
  padding-top: 3rem;
  background: #020617;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer-logo {
  font-size: 1.6rem;
  font-weight: 700;
}

.footer-logo span {
  color: #f97316;
}

.footer-grid a {
  color: #9ca3af;
  margin-bottom: 0.35rem;
  display: block;
  transition: 0.2s;
}

.footer-grid a:hover {
  color: #f97316;
}

.footer-bottom {
  text-align: center;
  padding: 1rem 0 1.5rem;
  border-top: 1px solid rgba(148,163,184,0.25);
  color: #64748b;
}

@media(max-width:800px){
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media(max-width:600px){
  .footer-grid { grid-template-columns: 1fr; }
}

/* ========== Inner Hero (All inner pages) ========== */
.inner-hero {
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid rgba(148,163,184,0.25);
}
.inner-hero h1 {
  font-size: 2.2rem;
  margin-bottom: 0.4rem;
  color: black;
}
.inner-hero p {
  color: #7a3c1e;
}

/* ========== Generic page section ========== */
.page-section {
  padding: 3rem 0;
}

/* ========== About page ========== */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}
.about-photo-card {
  border-radius: 1.6rem;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}
.about-photo-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

@media (max-width: 900px){
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* Stats row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1.5rem;
}

/* CARD BASE */
.stat-card {
  background: rgba(15,23,42,0.8);
  border-radius: 1.2rem;
  padding: 1.4rem;
  border: 1px solid rgba(134, 140, 148, 0.3);
  text-align: center;
  transition: 0.35s ease;
  position: relative;
  overflow: hidden;
}

/* TEXT */
.stat-card h3 {
  font-size: 1.8rem;
  margin-bottom: 0.3rem;
  color: #f97316;
  transition: 0.3s ease;
}
.stat-card p {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: 0.3s ease;
}

/* 🔥 HOVER EFFECT */
.stat-card:hover {
  transform: translateY(-10px) scale(1.06);
  background: rgba(15,23,42,0.92);
  border-color: #f97316;
  box-shadow: 0 25px 50px rgba(0,0,0,0.6);
}

/* TEXT COLOR CHANGE ON HOVER (Optional & Elegant) */
.stat-card:hover h3 {
  color: #ffb469;
}
.stat-card:hover p {
  color: #e2e8f0;
}

@media(max-width:900px){
  .stats-row { grid-template-columns: 1fr 1fr; }
}

@media(max-width:600px){
  .stats-row { grid-template-columns: 1fr; }
}


/* Philosophy cards */
.three-col {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 3rem;
}

.philosophy-card {
  background: rgba(15,23,42,0.9);
  border-radius: 1.3rem;
  padding: 1.6rem;
  border: 1px solid rgba(148,163,184,0.3);
  transition: 0.35s ease;
  position: relative;
  overflow: hidden;
}

/* Title */
.philosophy-card h3 {
  margin-bottom: 1rem;
  color: #f8fafc;
  transition: 0.3s ease;
}

/* Paragraph text */
.philosophy-card p {
  color: #94a3b8;
  font-size: 0.95rem;
  transition: 0.3s ease;
}

/* 🔥 HOVER EFFECT */
.philosophy-card:hover {
  transform: translateY(-10px) scale(1.05);
  background: rgba(15,23,42,0.95);
  border-color: #f97316;
  box-shadow: 0 25px 50px rgba(0,0,0,0.65);
}

/* Text color change on hover */
.philosophy-card:hover h3 {
  color: #ffb469;
}
.philosophy-card:hover p {
  color: #dbeafe;
}

@media(max-width:900px){
  .three-col { grid-template-columns: 1fr 1fr; }
}
@media(max-width:600px){
  .three-col { grid-template-columns: 1fr; }
}


/* Founder card */
.founder-card {
  display: grid;
  grid-template-columns: 160px minmax(0,1fr);
  gap: 1.8rem;
  align-items: center;
  background: rgba(15,23,42,0.9);
  border-radius: 1.6rem;
  padding: 1.8rem;
  border: 1px solid rgba(148,163,184,0.35);
  box-shadow: 0 18px 50px rgba(0,0,0,0.7);
}
.founder-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: url("https://images.pexels.com/photos/1181686/pexels-photo-1181686.jpeg?auto=compress&cs=tinysrgb&w=600")
              center/cover;
}
.founder-name {
  margin-top: 0.5rem;
}
.founder-role {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}
@media(max-width:768px){
  .founder-card {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .founder-photo {
    margin-bottom: 0.8rem;
  }
}

/* ===== SERVICES GRID ===== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 2rem;
}

.service-item {
  background: rgba(15,23,42,0.9);
  border-radius: 1.4rem;
  padding: 1.8rem;
  border: 1px solid rgba(148,163,184,0.35);
  transition: 0.35s ease;
  position: relative;
  overflow: hidden;
}

/* IMAGE */
.service-img {
  height: 180px;
  width: 100%;
  border-radius: 1rem;
  margin-bottom: 1rem;
  background-size: cover;
  background-position: center;
  transition: 0.4s ease;
}

/* ZOOM HOVER EFFECT */
.service-item:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: #f97316;
  background: rgba(15,23,42,0.97);
  box-shadow: 0 25px 55px rgba(0,0,0,0.65);
}

.service-item:hover .service-img {
  transform: scale(1.12);
  filter: brightness(0.85);
}

/* TEXT */
.service-item h3 {
  margin-bottom: 0.5rem;
  color: #fff;
  transition: 0.3s ease;
}
.service-item:hover h3 {
  color: #ffb469;
}

.service-item p {
  color: #94a3b8;
  margin-bottom: 0.8rem;
}

.service-item ul {
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: #e5e7eb;
}
.service-item li {
  list-style: disc;
  margin-bottom: 0.25rem;
}

@media(max-width:900px) {
  .service-grid { grid-template-columns: 1fr; }
}

/* ===== PROCESS STEPS ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1.5rem;
}

.process-step {
  background: rgba(15,23,42,0.92);
  border-radius: 1.3rem;
  padding: 1.6rem 1.4rem;
  border: 1px solid rgba(148,163,184,0.4);
  transition: 0.35s ease;
  overflow: hidden;
}

.process-step:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: #f97316;
  background: rgba(15,23,42,0.97);
  box-shadow: 0 15px 45px rgba(0,0,0,0.55);
}

.step-badge {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #f97316;
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.process-step h3 {
  color: #fff;
  margin-bottom: 0.4rem;
  transition: 0.3s ease;
}
.process-step:hover h3 {
  color: #ffb469;
}

.process-step p {
  color: #94a3b8;
  font-size: 0.9rem;
}

@media(max-width:900px){
  .process-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width:600px){
  .process-grid { grid-template-columns: 1fr; }
}


/* ========== Projects filters ========== */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.6rem;
}
.filter-btn {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.6);
  background: rgba(15,23,42,0.9);
  color: #e5e7eb;
  font-size: 0.85rem;
  cursor: pointer;
  transition: 0.2s ease;
}
.filter-btn.active,
.filter-btn:hover {
  background: #f97316;
  color: #0f172a;
  border-color: #f97316;
}

/* Additional project images */
.p4 { background-image: url("https://images.pexels.com/photos/1457847/pexels-photo-1457847.jpeg"); }
.p5 { background-image: url("https://images.pexels.com/photos/1571460/pexels-photo-1571460.jpeg"); }
.p6 { background-image: url("https://images.pexels.com/photos/6039244/pexels-photo-6039244.jpeg"); }

/* ========== Contact page layout ========== */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
}
.contact-card {
  background: rgba(15,23,42,0.95);
  border-radius: 1.4rem;
  padding: 1.8rem;
  border: 1px solid rgba(148,163,184,0.35);
}
.contact-lines p {
  margin-bottom: 0.4rem;
  color: #cbd5e1;
}
.map-box {
  margin-top: 1rem;
  border-radius: 1rem;
  background: rgba(15,23,42,0.9);
  border: 1px dashed rgba(148,163,184,0.5);
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 0.9rem;
}
.contact-form .form-row {
  margin-bottom: 0.9rem;
}
.contact-form label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid rgba(148,163,184,0.7);
  background: #020617;
  color: #e5e7eb;
  padding: 0.6rem 0.7rem;
  font-size: 0.9rem;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 0 1px rgba(249,115,22,0.4);
}
.form-success {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: #22c55e;
}
@media(max-width:900px){
  .contact-grid { grid-template-columns: 1fr; }
}
