/* ====== Root & Base ====== */
:root {
    --bg: #ffffff;
    --ink: #0b1b3b;
    /* navy */
    --muted: #667089;
    --soft: #f3f6fb;
    --primary: #1141d3;
    /* accent blue */
    --accent: #00b894;
    /* green accent */
    --ring: rgba(17, 65, 211, .25);
    --radius: 18px;
    --shadow: 0 14px 40px rgba(11, 27, 59, .10);
}

* {
    box-sizing: border-box
}

html,
body {
    margin: 0;
    
}

img {
    max-width: 100%;
    display: block
}

body {
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
}

.container {
    width: min(1100px, 92%);
    margin-inline: auto
}

/* ====== Header / Nav ====== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: saturate(180%) blur(8px);
    border-bottom: 1px solid #e9eef7;
}

.menu a {
  color: #003366;
  text-decoration: none;
  font-weight: 600;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  position: relative;
  transition: all 0.3s ease;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, #1141d3, #00b894);
  border-radius: 3px;
  transition: transform 0.3s ease;
}

.menu a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.menu a:hover {
  color: #1141d3;
  background: rgba(17, 65, 211, 0.06);
}

.menu a.active {
  background: rgba(17, 65, 211, 0.08);
  color: #1141d3;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .8rem 0
}

.brand {
    display: flex;
    align-items: center;
    gap: .6rem;
    text-decoration: none;
    color: var(--ink);
    font-weight: 800
}

.logo {
    width: 36px;
    height: 36px;
    object-fit: contain
}

.big-logo {
    width: 64px;
    height: 64px
}

/* ===== Modern Hamburger Button with X Animation ===== */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1201;
  transition: transform 0.3s ease;
}

.nav-toggle .bar {
  width: 100%;
  height: 3.5px;
  background-color: #003366;
  border-radius: 4px;
  transition: all 0.45s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* X Animation */
.nav-toggle.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
  background-color: #1141d3;
}

.nav-toggle.active .bar:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.nav-toggle.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
  background-color: #1141d3;
}

/* ===== Advanced Glossy Mobile Menu ===== */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 45%;
    max-width: 340px;
    height: auto;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(18px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0 0 25px 25px;
    box-shadow: -10px 15px 35px rgba(0, 0, 0, 0.25);
    padding: 4rem 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;

    /* Hidden by default */
    opacity: 0;
    transform: translate(100%, -20px) scale(0.95);
    pointer-events: none;
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 1050;
  }

  .menu.open {
    opacity: 1;
    transform: translate(0, 0) scale(1);
    pointer-events: auto;
  }

  /* Menu links */
  .menu a {
    font-size: 1.1rem;
    color: #001a33;
    font-weight: 600;
    text-decoration: none;
    margin: 0.4rem 0;
    padding: 0.6rem 1rem;
    width: 100%;
    text-align: center;
    border-radius: 10px;
    transition: all 0.3s ease;
  }

  .menu a:hover {
    background: rgba(255, 255, 255, 0.65);
    color: #1141d3;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 4px 14px rgba(17, 65, 211, 0.15);
  }

  /* Overlay (dim background) */
  .menu-overlay {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    transition: all 0.4s ease;
  }

  .menu-overlay.show {
    opacity: 1;
    visibility: visible;
  }
}


/* ===== Modern Buttons ===== */
.btn {
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, #003366, #5ab7ff);
  color: #fff;
  font-weight: 700;
  padding: 0.85rem 1.4rem;
  border-radius: 12px;
  border: none;
  text-decoration: none;
  text-align: center;
  letter-spacing: 0.3px;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(17, 65, 211, 0.25);
  transition: all 0.3s ease;
}

/* Hover animation */
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(17, 65, 211, 0.35);
}

/* Ripple effect */
.btn::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: width 0.5s ease, height 0.5s ease, opacity 0.4s ease;
}

.btn:active::after {
  width: 220%;
  height: 220%;
  opacity: 0;
}

/* ===== Ghost Button (Outline) ===== */
.btn.ghost {
  background: transparent;
  color: #1141d3;
  border: 2px solid #1141d3;
  box-shadow: none;
}

.btn.ghost:hover {
  background: linear-gradient(135deg, #1141d3, #003366);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(17, 65, 211, 0.25);
}

/* ===== Small Button ===== */
.btn-sm {
  font-size: 0.9rem;
  padding: 0.6rem 1rem;
  border-radius: 10px;
}

/* ===== Full Width Button ===== */
.btn-block {
  display: block;
  width: 100%;
}

/* ===== Neon Accent Variant ===== */
.btn.accent {
  background: linear-gradient(135deg, #00b894, #00e0c6);
  box-shadow: 0 8px 22px rgba(0, 184, 148, 0.4);
}

.btn.accent:hover {
  box-shadow: 0 10px 30px rgba(0, 184, 148, 0.5);
  transform: translateY(-3px);
}

/* ===== Dark Mode Adaptive ===== */
@media (prefers-color-scheme: dark) {
  .btn {
    box-shadow: 0 8px 20px rgba(17, 65, 211, 0.4);
  }

  .btn.ghost {
    color: #fff;
    border-color: #00b894;
  }

  .btn.ghost:hover {
    background: linear-gradient(135deg, #00b894, #00e0c6);
    border: none;
    color: #fff;
  }
}


/* Overlay Effect when menu is open */
body.menu-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    z-index: 1000;
    animation: fadeIn 0.3s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


/* ====== Hero ====== */
.hero {
    padding: 3.5rem 0 2rem 0
}

.hero-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1.2fr .8fr;
    align-items: center
}

.hero-copy h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin: .2rem 0
}

.lead {
    font-size: 1.1rem;
    color: var(--muted);
    text-align: justify;
}

.hero-media img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(11, 27, 59, .15)
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    padding: 0;
    list-style: none;
    margin: 1.1rem 0 0 0
}

.pill-list li {
    background: var(--soft);
    padding: .45rem .7rem;
    border-radius: 999px;
    font-weight: 600;
    color: #223252
}

.cta-row {
    display: flex;
    gap: .8rem;
    margin-top: 1rem
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr
    }
}

/* ====== Sections ====== */
.section {
    padding: 3rem 0
}

.bg-soft {
    background: var(--soft)
}

.section-title {
    margin: 0 0 1rem 0;
    font-size: 1.7rem
}

/* ====== Cards & Grids ====== */
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem
}

.cards .card {
    background: #fff;
    border: 1px solid #e8eef8;
    border-radius: 16px;
    padding: 1.1rem;
    box-shadow: 0 12px 30px rgba(11, 27, 59, .06)
}

.cards .card h3 {
    margin: .2rem 0 .4rem 0
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr)
}

@media (max-width: 900px) {

    .cards,
    .grid-3 {
        grid-template-columns: 1fr
    }
}

/* ====== Stats ====== */
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem
}

.stat {
    background: #fff;
    border: 1px solid #e8eef8;
    border-radius: 16px;
    padding: 1.2rem;
    text-align: center;
    box-shadow: var(--shadow)
}

.stat-num {
    font-weight: 800;
    font-size: 2.6rem
}

.stat-label {
    color: var(--muted);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .25rem
}

.plus {
    font-size: 2.2rem;
    color: var(--primary);
    line-height: 1
}

@media (max-width: 900px) {
    .stats {
        grid-template-columns: 1fr
    }
}


/* ====== CTA ====== */
.cta {
    background:linear-gradient(135deg, #322041, #6763e2);
    color: #fff
}

.cta-inner {
    display: grid;
    gap: .6rem;
    text-align: center
}

.cta .btn {
    background: #00b894
}

/* ====== Page hero ====== */
.page-hero {
    padding: 2.6rem 0 1rem 0;
    background: var(--soft);
    border-bottom: 1px solid #e8eef8
}

.page-hero h1 {
    margin: .2rem 0
}

/* ====== Layout helpers ====== */
.two-col {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1.2fr .8fr
}

@media (max-width: 900px) {
    .two-col {
        grid-template-columns: 1fr
    }
}

.highlight {
    background: #fff;
    border: 1px solid #e8eef8;
    border-radius: 16px;
    padding: 1.1rem;
    box-shadow: 0 10px 30px rgba(11, 27, 59, .06)
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 1rem 0
}

.checklist li {
    padding-left: 1.4rem;
    position: relative
}

.checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 800
}

/* ====== Projects gallery ====== */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem
}

.project {
    background: #fff;
    border: 1px solid #e8eef8;
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 6px 24px rgba(11, 27, 59, .06);
    transition: transform .35s
}

.project:hover {
    transform: translateY(-6px)
}

.project .thumb {
    height: 140px;
    border-radius: 12px;
    background: linear-gradient(135deg, #e7eeff, #f7fbff);
    border: 1px dashed #cbd6ee;
    margin-bottom: .8rem
}

@media (max-width: 900px) {
    .gallery {
        grid-template-columns: 1fr
    }
}

/* ====== E-cart ====== */
.ecart {
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    gap: 1rem
}

.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem
}

.product {
    background: #fff;
    border: 1px solid #e8eef8;
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 26px rgba(11, 27, 59, .06);
    transition: transform .3s
}

.product:hover {
    transform: translateY(-5px)
}

.product .img {
    height: 120px;
    background: linear-gradient(135deg, #eef3ff, #f4f9ff);
    border: 1px dashed #cbd6ee;
    border-radius: 12px;
    margin-bottom: .8rem
}

.product .title {
    font-weight: 700
}

.product .price {
    margin: .2rem 0 .6rem 0;
    font-weight: 800
}

.product .actions {
    margin-top: auto;
    display: flex;
    gap: .5rem
}

.cart {
    background: #fff;
    border: 1px solid #e8eef8;
    border-radius: 16px;
    padding: 1rem;
    position: sticky;
    top: 88px;
    height: fit-content;
    box-shadow: var(--shadow)
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    margin: .6rem 0
}

.cart-item {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: .6rem;
    align-items: center
}

.cart-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem
}

@media (max-width: 900px) {
    .ecart {
        grid-template-columns: 1fr
    }

    .products {
        grid-template-columns: 1fr
    }
}

/* ====== Forms ====== */
.form {
    display: grid;
    gap: .8rem
}

.form label {
    font-weight: 700
}

.form input,
.form textarea {
    width: 100%;
    padding: .8rem .9rem;
    border: 1px solid #d9e3f6;
    border-radius: 12px;
    outline: none
}

.form input:focus,
.form textarea:focus {
    box-shadow: 0 0 0 6px var(--ring);
    border-color: var(--primary)
}

.newsletter {
    display: flex;
    gap: .4rem
}

.newsletter input {
    flex: 1;
    padding: .7rem .8rem;
    border: 1px solid #d9e3f6;
    border-radius: 10px
}

/* ===== Modern Footer Styling ===== */
.site-footer {
  padding: 0rem 1.5rem 1rem;
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
}

.footer-col {
  position: relative;
}

.footer-title {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
  font-weight: 700;
  color: #180060;
  border-bottom: 2px solid rgba(5, 41, 112, 0.742);
  display: inline-block;
  padding-bottom: 4px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin: 0.4rem 0;
}

.footer-links a {
  color: #021249;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #00e0c6;
  padding-left: 6px;
}

.social-icons {
  display: flex;
  gap: 0.8rem;
  margin-top: 0.8rem;
}

.social-icons img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  padding: 6px;
  transition: all 0.3s ease;
  box-shadow: 0 0 12px rgba(7, 1, 83, 0.79);
}

.social-icons img:hover {
  transform: scale(1.15);
  box-shadow: 0 0 18px rgba(0, 224, 198, 0.6);
}

.tagline {
  font-style: italic;
  font-size: 0.9rem;
  color: #180060;
  margin-top: 0.8rem;
}

.newsletter input {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: none;
  border-radius: 8px;
  margin-bottom: 0.6rem;
  outline: none;
}

.newsletter input:focus {
  box-shadow: 0 0 0 3px rgba(0, 224, 198, 0.6);
}

.newsletter .btn {
  width: 100%;
  background: linear-gradient(135deg, #00b894, #00e0c6);
  color: #fff;
  border: none;
  font-weight: 700;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.newsletter .btn:hover {
  transform: translateY(-2px);
}

.footer-bottom {
  margin-top: 0rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 0rem;
  font-size: 0.9rem;
  color: #180060;
}

@media (max-width: 600px) {
  .footer-grid {
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }
}

.center {
    margin-top: 0.5em;
    text-align: center
}

.dim {
    color: var(--muted)
}

.note {
    color: #3b4a6a
}

/* ====== Gallery (home & page) ====== */
.gallery-preview {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap
}

.gallery-preview img {
    width: calc(25% - .75rem);
    flex: 1 1 calc(25% - .75rem);
    border-radius: 12px;
    transition: transform .3s, box-shadow .3s;
    box-shadow: 0 8px 24px rgba(11, 27, 59, .06);
    object-fit: cover
}

.gallery-preview img:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(11, 27, 59, .12)
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem
}

.gallery-grid img {
    width: 100%;
    border-radius: 16px;
    transition: transform .3s, box-shadow .3s;
    object-fit: cover;
    aspect-ratio: 4/3;
    box-shadow: 0 10px 30px rgba(11, 27, 59, .08)
}

.gallery-grid img:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 48px rgba(11, 27, 59, .14)
}

@media (max-width :475px) {
    .gallery-preview img {
        width: calc(25% - .75rem);
        flex: 1 1 calc(34% - .75rem);
    }
}

/* ====== Services cards (icons & lift) ====== */
.service {
    transition: transform .35s, box-shadow .35s;
    text-align: center
}

.service:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .10)
}

.icon {
    width: 60px;
    height: 60px;
    margin-bottom: 10px
}

/* ====== Map ====== */
.map iframe {
    width: 100%;
    height: 320px;
    border: 0;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(11, 27, 59, .10)
}

/* ====== Utilities ====== */
.card {
    background: #fff;
    border: 1px solid #e8eef8;
    border-radius: 16px;
    padding: 1.1rem
}

.shadow {
    box-shadow: var(--shadow)
}

.hide {
    display: none
}

/* ====== Simple fade / slide-in if AOS missing ====== */
[data-aos] {
    opacity: 1;
    transform: none
}

/* AOS will override. This keeps layout stable. */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

.lightbox img {
    max-width: 90%;
    max-height: 85%;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    animation: zoomIn 0.4s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}