
:root{
  --bg:#f7fafc;
  --panel:#ffffff;
  --ink:#0f172a;
  --muted:#475569;
  --primary:#2563eb;
  --accent:#10b981;
  --soft:#e2e8f0;
  --border:#e5e7eb;
  --shadow: 0 10px 30px rgba(2,6,23,.08);
  --dark:#0b1220;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Poppins, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color:var(--ink);
  background:
    radial-gradient(900px 600px at -10% -20%, rgba(37,99,235,.12), transparent 40%),
    radial-gradient(700px 500px at 120% 0%, rgba(16,185,129,.12), transparent 35%),
    var(--bg);
}
.container{max-width:1180px;margin:0 auto;padding:28px}

.nav-inner{display:flex; align-items:center; justify-content:space-between; gap:16px; padding:10px 28px}
.brand{display:flex; align-items:center; gap:12px; text-decoration:none}
.brand-name{font-weight:800; letter-spacing:.2px; color:var(--ink)}
.brand-tagline{display:block; font-size:12px; color:var(--muted)}
.nav{display:flex; gap:18px; align-items:center}
.nav a{color:var(--ink); text-decoration:none; font-weight:600; opacity:.85}
.nav a:hover{opacity:1}
.btn{background:linear-gradient(135deg,var(--primary),var(--accent)); color:#fff; padding:10px 16px; border-radius:10px; text-decoration:none; font-weight:800; box-shadow:var(--shadow)}

.hero{
  display:grid; grid-template-columns:1.2fr .8fr; gap:24px; align-items:center; margin:28px 0;
}
.card{
  background:linear-gradient(180deg, rgba(2,6,23,.03), transparent 30%), var(--panel);
  border:1px solid var(--border); border-radius:16px; padding:24px; box-shadow:var(--shadow);
}
.kicker{color:var(--primary); text-transform:uppercase; font-size:12px; font-weight:800; letter-spacing:.14em}
.grid{display:grid; gap:18px; grid-template-columns:repeat(auto-fit,minmax(260px,1fr));}
.list{margin:0; padding-left:18px}
.figure{border-radius:16px; overflow:hidden; border:1px solid var(--border)}
.figure img{display:block; width:100%}

.section-title{margin:8px 0 10px}
.subtle{color:var(--muted)}
.table{width:100%; border-collapse:collapse; font-size:15px}
.table th, .table td{padding:12px 10px; border-bottom:1px solid var(--border); text-align:left}
.badge{display:inline-flex; gap:8px; align-items:center; background:#0b1220; color:#dbeafe; padding:6px 10px; border-radius:999px; font-size:12px}
.badge .dot{width:8px; height:8px; background:#22c55e; border-radius:50%}

.form-row{display:grid; grid-template-columns:1fr 1fr; gap:12px}
.input, textarea, select{width:100%; padding:12px 14px; border:1px solid var(--border); border-radius:12px; outline:none; background:#fff}
.button{background:linear-gradient(135deg,var(--primary),var(--accent)); color:#fff; border:0; padding:12px 16px; border-radius:12px; font-weight:800; cursor:pointer}
.help{font-size:12px; color:var(--muted)}
.alert{padding:12px 14px; border-radius:12px; background:#fef2f2; border:1px solid #fecaca; color:#7f1d1d}
.success{padding:12px 14px; border-radius:12px; background:#ecfdf5; border:1px solid #bbf7d0; color:#064e3b}
.footer-inner{max-width:1180px; margin:0 auto; padding:16px 28px; display:flex; align-items:center; justify-content:space-between}
@media (max-width:900px){ .hero{grid-template-columns:1fr} .form-row{grid-template-columns:1fr} }

/* Contact form styling */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
}

.input, textarea, select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 10px;
  outline: none;
  background: #fdfdfd;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input:focus, textarea:focus, select:focus {
  border-color: #1c7ed6;
  box-shadow: 0 0 0 3px rgba(28, 126, 214, 0.15);
}

textarea {
  resize: vertical;
}

.button {
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: 10px;
  background: linear-gradient(135deg, #1c7ed6, #22b8cf);
  border: none;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}


.pricing-table {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
}

.pricing-card {
  flex: 1 1 280px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  padding: 2rem;
  text-align: center;
  transition: transform 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card h3 {
  margin-bottom: .5rem;
}

.pricing-card .price {
  font-size: 2rem;
  font-weight: bold;
  margin: 1rem 0;
  color: #1c7ed6;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 2rem;
}

.pricing-card ul li {
  margin: .5rem 0;
}

.pricing-card .button {
  display: inline-block;
  margin-top: 1rem;
}

.pricing-card.featured {
  border: 2px solid #1c7ed6;
  box-shadow: 0 6px 12px rgba(28,126,214,0.2);
}

/* Process steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.step {
  background: #fff;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #1c7ed6;
}


.step-number {
  position: absolute;
  top: -12px;
  left: -12px;
  background: #1c7ed6;
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* Portfolio Page */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  justify-items: center;
}



.portfolio-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

.portfolio-grid .project-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
}

/* Make sure images are responsive */
.portfolio-grid .project-card img {
  width: 100%;
  height: auto;
  display: block;
}

.portfolio-info {
  padding: 1.2rem;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.portfolio-info h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.portfolio-info p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1rem;
}
/* Responsive adjustments */
@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;   /* ✅ 1 column on mobile */
    gap: 1.5rem;
  }

  .portfolio-grid .project-card {
    margin: 0 auto;
    max-width: 90%;               /* keep nice padding on sides */
  }
}

/* About Page Enhancements */
.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: center;
}

.about-photo img {
  max-width: 220px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  text-align: center;
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #1c7ed6;
}



@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-photo {
    text-align: center;
  }
}

.hero {
  background: linear-gradient(135deg, #1c7ed6, #22b8cf);
  color: #fff;
  padding: 6rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.hero .button {
  background: #fff;
  color: #1c7ed6;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
}


/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.service-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  text-align: center;
}

.service-card h3 {
  margin-bottom: .5rem;
}

.button.small {
  padding: .5rem 1rem;
  font-size: .9rem;
}

/* Final CTA Section */
.cta {
  text-align: center;
  padding: 3rem 2rem;
  background: #f8f9fa;
  border-radius: 12px;
  margin: 2rem 0;
}

.cta h2 {
  margin-bottom: .5rem;
}

/* Header */
.site-header { position: sticky; top: 0; z-index: 1000; background: #fff; border-bottom: 1px solid #eee; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; gap: 12px; position: relative; }


.logo a {
  font-weight: bold;
  font-size: 1.4rem;
  text-decoration: none;
  color: #1c7ed6;
  display: inline-block;
  white-space: nowrap; /* keeps it from breaking */
}

.logo img { max-height: 44px; height: auto; width: auto; display: block; }


.site-nav ul { list-style: none; margin: 0; padding: 0; }

.site-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.2s ease;
  display: block;
  padding: 8px 4px;
}

.site-nav a:hover {
  color: #1c7ed6;
}

header, nav {
  max-width: 100%;
  width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    margin: 0;
  }

  nav ul li {
    margin: 8px 0;
  }
}

html, body {
  overflow-x: hidden;
}

/* Default desktop nav (inline) */
nav ul {
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin: 0;
}

/* Mobile nav fix */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  nav ul li {
    margin: 8px 0;
  }
}


.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
  text-align: center;
}
.feature-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #1c7ed6;
}

.site-footer {
  background: #0f172a;
  color: #fff;
  padding: 2rem;
  text-align: center;
}
.site-footer a {
  color: #22b8cf;
  text-decoration: none;
}
.site-footer a:hover {
  text-decoration: underline;
}

/* Icons inside pricing cards */
.pricing-card .icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

/* Pricing style */
.pricing-card .price {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0.5rem 0 1rem;
}
.pricing-card .price span {
  font-size: 0.9rem;
  font-weight: 400;
  color: #555;
  margin-right: 4px;
}

/* Add-ons grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.feature {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.2s ease;
}
.feature:hover {
  transform: translateY(-5px);
}
.feature-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

/* Recent Work (Homepage Only) */
.recent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.recent-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.recent-card:hover {
  transform: translateY(-5px);
}

.recent-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.recent-info {
  padding: 1.2rem;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.recent-info h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.recent-info p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1rem;
}

.project-details ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}
.project-details li {
  margin-bottom: 0.5rem;
  padding-left: 1.2rem;
  position: relative;
}
.project-details li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #22b8cf;
  font-weight: bold;
}

.project-gallery {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.project-gallery img {
  border-radius: 10px;
  max-width: 300px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.project-gallery img:hover {
  transform: scale(1.05);
}

/* Lightbox overlay */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

/* Lightbox image */
.lightbox-content {
  display: block;
  margin: auto;
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
}

/* Caption */
#lightbox-caption {
  text-align: center;
  color: #ddd;
  padding: 10px;
}

/* Close button */
.lightbox .close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}
.lightbox .close:hover {
  color: #ccc;
}

/* Hover effect for thumbnails */
.project-gallery img {
  border-radius: 8px;
  max-width: 280px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
  cursor: pointer;
}
.project-gallery img:hover {
  transform: scale(1.05);
}

.alert.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-weight: 600;
}

.alert.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-weight: 600;
}

/* Default nav */
.nav-links {
  display: flex;
  gap: 1.5rem;
}

/* Hide hamburger on desktop */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
}

/* ❌ Close button is hidden on desktop */
.close-btn {
  display: none !important;
}

/* Mobile nav */
@media (max-width: 768px) {
  /* Show hamburger button on mobile */
  .menu-toggle {
    display: block;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
    z-index: 2001;
    line-height: 1;
    padding: 6px 10px;
  }

  /* Stack nav list on mobile */
  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }

  /* Slide-in drawer (hidden by default) */
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 75%;
    max-width: 300px;
    background: #fff;
    padding: 2rem 1rem;
    box-shadow: 2px 0 12px rgba(0,0,0,.15);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 3001;

    display: none;              /* hidden until .active */
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links.active {
    display: flex !important;
    transform: translateX(0);
  }

  /* Mobile link styles */
  .nav-links li {
    margin: 1rem 0;
  }
  .nav-links a {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    text-decoration: none;
  }
  .nav-links a:hover {
    color: #1c7ed6;
  }

  /* ✕ Close button ONLY on mobile */
  .close-btn {
    display: block !important;
    align-self: flex-end;
    margin-bottom: 1rem;
  }
  .close-btn button {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #333;
  }

  /* Overlay element (sits under menu) */
  .mobile-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 3000;   /* lower than .nav-links */
  }
  body.mobile-nav-open .mobile-overlay {
    display: block;
  }
}
