:root {
  --blue: #0b1b3a;
  --silver: #c7ced8;
  --white: #ffffff;
  --muted: #6f7b8d;
  --bg: #f6f8fc;

  --card: #ffffff;
  --border: rgba(11, 27, 58, 0.12);
  --shadow: 0 18px 45px rgba(11, 27, 58, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, Segoe UI, Roboto, Arial;
}

body {
  background: var(--bg);
  color: #0a1222;
  overflow-x: hidden;
}

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

.container {
  width: min(1200px, 92%);
  margin: auto;
  padding: 0 10px;
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 12px;
  flex-wrap: wrap;
}

.nav-container {
  width: min(1450px, 100%);
  margin: auto;
  padding: 0 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 800;
  transition: transform 0.3s ease;
  min-width: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-main {
  font-size: 24px;
  font-weight: 800;
  color: #1e3a8a;
  letter-spacing: 0.7px;
}

.brand-sub {
  font-size: 14px;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.brand:hover {
  transform: scale(1.02);
}

.logo {
  width: 55px;
  height: 55px;
  border-radius: 12px;
  object-fit: contain;
  background: #ffffff;
  box-shadow: 2px 2px 0px #cbd5e1, 4px 4px 0px #94a3b8;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.brand:hover .logo {
  transform: rotate(-3deg) scale(1.05);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-weight: 650;
}

nav a:hover {
  color: #0a0f7d;
  display: inline-block;
  padding: 0px 4px;
  text-decoration: none;
  border: 2px solid var(--blue);
  box-shadow: 3px 4px 0px 1px rgba(0, 0, 0, 0.3);
  border-radius: 5px;
}

.btn {
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  font-weight: 750;
  display: inline-block;
  white-space: nowrap;
}

.btn.primary {
  background: var(--blue);
  color: #fff;
  border: 1px solid rgba(11, 27, 58, 0.2);
}

.hero {
  padding: 70px 0 30px;
}

.hero-wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items: center;
}

.hero h1 {
  font-size: 46px;
  line-height: 1.1;
  letter-spacing: -0.6px;
  color: var(--blue);
  margin-bottom: 14px;
}

.hero p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  max-width: 62ch;
}

.actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.statbox {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 10px;
}

.stat {
  border: 1px solid rgba(11, 27, 58, 0.10);
  border-radius: 18px;
  padding: 14px;
  background: linear-gradient(180deg, #fff, #fbfcff);
}

.stat b {
  display: block;
  font-size: 20px;
  color: var(--blue);
  margin-bottom: 4px;
}

.stat span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 40px 0;
}

.head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.head h2 {
  font-size: 26px;
  color: var(--blue);
}

.head p {
  color: var(--muted);
  max-width: 60ch;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0px 10px 12px 4px rgba(11, 27, 58, 0.12);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(30, 58, 138, 0.15);
  border-color: #1e3a8a;
}

.card .tag {
  transition: background 0.3s ease;
}

.card:hover .tag {
  background: #1e3a8a;
  color: #fff;
}

.tag {
  display: inline-block;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(11, 27, 58, 0.08);
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 10px;
}

.card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.card p {
  color: black;
  line-height: 1.6;
  font-size: 15px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.imgph {
  height: 180px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: radial-gradient(circle at 20% 20%, rgba(11, 27, 58, 0.14), transparent 55%), linear-gradient(135deg, rgba(199, 206, 216, 0.35), #fff);
  position: relative;
  overflow: hidden;
}

.imgph span {
  position: absolute;
  left: 14px;
  bottom: 12px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted);
}

.cta {
  background: var(--blue);
  color: #fff;
  border-radius: 26px;
  padding: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
}

.cta p {
  color: rgba(255, 255, 255, 0.85);
  margin-top: 6px;
  max-width: 60ch;
}

.cta .btn {
  background: #fff;
  border: none;
}

.cta .btn.primary {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

footer {
  padding: 26px 0;
  color: var(--muted);
  font-size: 14px;
  background-color: #1a1a1a;
}

footer h5 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 20px;
}

footer a {
  color: #b0b0b0;
  text-decoration: none;
  transition: 0.3s;
}

footer a:hover {
  color: var(--blue);
  padding-left: 5px;
}

footer .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  margin-right: 10px;
  transition: 0.3s;
}

footer .social-icon:hover {
  background: var(--blue);
  transform: translateY(-3px);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding: 20px 0;
  text-align: center;
}

.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  transition: opacity 0.5s ease-out;
}

.spinning-core {
  transform-origin: 75px 75px;
}

.spindle-wrapper {
  text-align: center;
}

.loading-text {
  color: #475569;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 3px;
  font-size: 14px;
  animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

nav ul li a {
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: inline-block;
  border: 1px solid transparent;
}

nav ul li a:hover {
  background: #f8fafc;
  color: #1e3a8a;
  border: 1px solid rgba(30, 58, 138, 0.1);
  box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.1), -1px -1px 4px rgba(255, 255, 255, 1);
  transform: translateY(-2px);
}

nav ul li a.active {
  background: #e2e8f0;
  color: #1e3a8a !important;
  box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.1), inset -2px -2px 5px rgba(255, 255, 255, 0.7);
  transform: translateY(1px);
  border: none;
}

.whatsapp-float {
  position: fixed;
  width: 50px;
  height: 50px;
  bottom: 10px;
  right: 8px;
  background-color: #11a749;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 45px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  background-color: #1ebe57;
  transform: translateY(-5px);
  box-shadow: 2px 5px 15px rgba(0, 0, 0, 0.5);
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.projects-container {
  /* display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); */

  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(360px,1fr));
  gap:28px;
  /* gap: 22px; */
  width: 100%;
  padding: 10px 0 30px;
}

/* .pcard {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(11, 27, 58, 0.12);
  background: #fff;
  box-shadow: 0 4px 16px rgba(11, 27, 58, 0.10);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
} */

.pcard{
  background:#fff;
  border-radius:22px;
  overflow:hidden;
  border:1px solid rgba(11,27,58,.1);
  box-shadow:0 10px 25px rgba(11,27,58,.08);
  transition:.4s;
}

.pcard:hover {
  /* transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(11, 27, 58, 0.16);    */
  border-color: #1e3a8a;
}

.pcard:hover{
  transform:translateY(-10px);
  box-shadow:0 20px 50px rgba(11,27,58,.15);
}

/* .pcard-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #f0f2f5;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
} */

.pcard-img{
  width:100%;
  height:280px;
  overflow:hidden;
  background:#f8fafc;
  display:flex;
  justify-content:center;
  align-items:center;
  padding:20px;
  position:relative;
}

.pcard-img img {
  /* width: 100%; */
  /* height: 100%; */
  /* object-fit: cover; */
  /* transition: transform 0.4s ease; */
  display: block;
}

.pcard-img img{
  width:100%;
  height:100%;
  object-fit:contain;
  transition:.4s ease;
}

.pcard:hover .pcard-img img {
  transform: scale(1.06);
}

.pcard-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 27, 58, 0.35);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pcard:hover .pcard-overlay {
  opacity: 1;
}

.no-img {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #9aa3b0;
  font-size: 13px;
}

.pcard-body {
  padding: 16px 18px 18px;
}

.pcard-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #1e5fa8;
  margin-bottom: 6px;
}

.pcard-title {
  font-size: 15px;
  font-weight: 600;
  color: #0b1b3a;
  margin-bottom: 6px;
  line-height: 1.4;
}

.pcard-desc {
  font-size: 13px;
  color: #6f7b8d;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#asp-lb {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999998;
  background: rgba(0, 0, 0, 0.90);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

#asp-lb.asp-lb-open {
  visibility: visible;
  opacity: 1;
}

.asp-lb-box {
  background: #fff;
  /* border-radius: 16px; */
  overflow: hidden;
  max-width: 1100;
  width:95%;
  max-height:90vh;
  border-radius:20px;
  /* max-width: 820px; */
  /* width: 100%; */
  /* max-height: 88vh; */
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.asp-lb-img-wrap {
  width: 100%;
  /* background: #0d1117; */
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  /* min-height: 280px; */
  /* max-height: 500px; */
  overflow: hidden;
  background:#f8fafc;
  min-height:450px;
  max-height:700px;
}

.asp-lb-img-wrap img {
  /* max-width: 100%; */
  /* max-height: 500px; */
  width: auto;
  height: auto;
  /* object-fit: contain; */
  display: block;
  max-width:100%;
  max-height:650px;
  object-fit:contain;
}

.asp-lb-no-img {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #888;
  font-size: 14px;
  padding: 60px 0;
}

.asp-lb-info {
  padding: 16px 20px;
  border-top: 1px solid rgba(11, 27, 58, 0.10);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
}

.asp-lb-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #1e5fa8;
  margin-bottom: 4px;
}

.asp-lb-title {
  font-size: 17px;
  font-weight: 700;
  color: #0b1b3a;
  margin-bottom: 5px;
}

.asp-lb-desc {
  font-size: 13px;
  color: #6f7b8d;
  line-height: 1.6;
}

.asp-lb-nav {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.asp-lb-nav button {
  /* background: #f0f2f5; */
  /* border: 1px solid rgba(11, 27, 58, 0.12); */
  /* border-radius: 8px; */
  /* padding: 7px 16px; */
  font-size: 13px;
  /* font-weight: 600; */
  /* color: #0b1b3a; */
  cursor: pointer;
  /* transition: background 0.2s; */

  background:#0b1b3a;
  color:white;
  border:none;
  border-radius:10px;
  padding:10px 20px;
  font-weight:600;
  transition:.3s;
}

.asp-lb-nav button:hover {
  /* background: #e2e8f0; */

  background:#1e3a8a;
}

.asp-lb-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  min-height: 80px;
  flex-shrink: 0;
}

.asp-lb-close {
  background: #f0f2f5;
  border: 1px solid rgba(11, 27, 58, 0.12);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #333;
  transition: background 0.2s;
  line-height: 1;
}

.asp-lb-close:hover {
  background: #e2e8f0;
}

.asp-lb-counter {
  font-size: 12px;
  color: #9aa3b0;
  font-weight: 600;
}

/* RESPONSIVE MEDIA QUERIES */

@media (max-width: 980px) {
  .container {
    width: min(100%, 95%);
  }

  .hero-wrap {
    grid-template-columns: 1fr;
  }

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

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  nav ul {
    gap: 12px;
    font-size: 14px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .head {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    gap: 8px;
  }

  .brand-text {
    display: none;
  }

  .btn.primary {
    padding: 8px 12px;
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .container {
    width: 100%;
    padding: 0 16px;
  }

  header {
    padding: 8px 0;
  }

  .nav {
    padding: 12px 0;
    gap: 8px;
  }

  .brand {
    gap: 10px;
  }

  .logo {
    width: 45px;
    height: 45px;
  }

  .brand-main {
    font-size: 18px;
  }

  .brand-text {
    display: none;
  }

  nav ul {
    display: none;
  }

  .btn.primary {
    padding: 8px 12px;
    font-size: 13px;
  }

  .hero {
    padding: 40px 0 20px;
  }

  .hero h1 {
    font-size: 28px;
    line-height: 1.2;
  }

  .hero p {
    font-size: 15px;
  }

  .actions {
    gap: 10px;
  }

  .actions .btn {
    padding: 10px 16px;
    font-size: 13px;
  }

  .hero-wrap {
    gap: 16px;
  }

  .statbox {
    padding: 16px;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 30px 0;
  }

  .head h2 {
    font-size: 22px;
  }

  .head p {
    font-size: 14px;
  }

  .grid-3 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .card {
    padding: 14px;
    border-radius: 16px;
  }

  .card h3 {
    font-size: 16px;
  }

  .card p {
    font-size: 14px;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .imgph {
    height: 200px;
  }

  .cta {
    padding: 20px;
    flex-direction: column;
    text-align: center;
  }

  .cta p {
    margin-bottom: 10px;
  }

  .cta .btn {
    width: 100%;
  }

  footer {
    font-size: 13px;
  }

  footer h5 {
    font-size: 16px;
  }

  .col-lg-4,
  .col-md-6 {
    margin-bottom: 20px;
  }

  .projects-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pcard-img {
    height: 200px;
  }

  .asp-lb-box {
    max-height: 90vh;
    border-radius: 12px;
  }

  .asp-lb-img-wrap {
    max-height: 300px;
    min-height: 200px;
  }

  .asp-lb-info {
    padding: 12px 16px;
    font-size: 13px;
  }

  .asp-lb-close {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }

  .whatsapp-float {
    width: 45px;
    height: 45px;
    font-size: 40px;
    bottom: 15px;
    right: 15px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }

  header {
    padding: 4px 0;
  }

  .nav {
    padding: 10px 0;
    gap: 6px;
  }

  .brand {
    gap: 8px;
    min-width: 0;
  }

  .logo {
    width: 40px;
    height: 40px;
    box-shadow: 1px 1px 0px #cbd5e1, 2px 2px 0px #94a3b8;
  }

  .brand-main {
    font-size: 16px;
  }

  .btn.primary {
    padding: 7px 10px;
    font-size: 12px;
  }

  .hero {
    padding: 30px 0 15px;
  }

  .hero h1 {
    font-size: 24px;
    line-height: 1.15;
  }

  .hero p {
    font-size: 14px;
    line-height: 1.6;
  }

  .actions {
    gap: 8px;
    flex-direction: column;
  }

  .actions .btn {
    width: 100%;
    padding: 10px 14px;
    font-size: 12px;
    text-align: center;
  }

  .section {
    padding: 25px 0;
  }

  .head h2 {
    font-size: 20px;
  }

  .head p {
    font-size: 13px;
  }

  .grid-3 {
    gap: 10px;
  }

  .card {
    padding: 12px;
    border-radius: 14px;
  }

  .card h3 {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .card p {
    font-size: 13px;
    line-height: 1.5;
  }

  .tag {
    font-size: 10px;
    padding: 4px 8px;
  }

  .statbox {
    padding: 12px;
  }

  .stat {
    padding: 10px;
  }

  .stat b {
    font-size: 18px;
  }

  .stat span {
    font-size: 12px;
  }

  .gallery {
    gap: 10px;
  }

  .imgph {
    height: 150px;
  }

  .cta {
    padding: 16px;
    border-radius: 16px;
  }

  .cta .btn {
    width: 100%;
    padding: 10px 12px;
    font-size: 12px;
  }

  footer {
    font-size: 12px;
    padding-top: 40px;
  }

  footer h5 {
    font-size: 15px;
    margin-bottom: 15px;
  }

  footer a {
    display: block;
    margin-bottom: 8px;
  }

  .social-icon {
    width: 32px;
    height: 32px;
  }

  .projects-container {
    gap: 12px;
  }

  .pcard-img {
    height: 150px;
  }

  .pcard-body {
    padding: 12px 14px 14px;
  }

  .pcard-cat {
    font-size: 10px;
  }

  .pcard-title {
    font-size: 14px;
  }

  .pcard-desc {
    font-size: 12px;
    -webkit-line-clamp: 2;
  }

  .asp-lb-box {
    max-height: 92vh;
    border-radius: 10px;
  }

  .asp-lb-img-wrap {
    max-height: 250px;
    min-height: 150px;
  }

  .asp-lb-info {
    padding: 10px 12px;
    gap: 10px;
  }

  .asp-lb-title {
    font-size: 15px;
  }

  .asp-lb-desc {
    font-size: 12px;
  }

  .asp-lb-close {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }

  .whatsapp-float {
    width: 40px;
    height: 40px;
    font-size: 32px;
    bottom: 20px;
    right: 20px;
  }
}
