* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.mb-2 {
  margin-bottom: 1rem;
}

.d-flex {
  display: flex;
}

.align-items-end {
  align-items: flex-end;
}

body {
  font-family: "Inter", sans-serif;
  color: #1a1a1a;
  background: #f8fafc;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

img {
  max-width: 100%;
  display: block;
}

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

/* HERO */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(rgba(0, 3, 32, 0.75), rgba(255, 255, 255, 0.75)),
    url("./assets/pictures/viklers-banner-1.png");
  background-size: cover;
  background-position: center;
}

.hero-content {
  max-width: 650px;
}

.badge {
  display: inline-block;
  background: #0f5fe8;
  color: white;
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 600;
  margin-bottom: 20px;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  color: #0b2559;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #334155;
}

.page-hero {
  padding: 80px 0 120px;
  background:
    linear-gradient(
      rgba(0, 3, 32, 0.72) 0%,
      rgba(255, 255, 255, 0.82) 62%,
      #f8fafc 100%
    ),
    url("./assets/pictures/viklers-banner-1.png");
  background-size: cover;
  background-position: center;
}

.page-hero h1 {
  color: #0f5fe8;
  font-size: clamp(2rem, 4vw, 3rem);
}

.page-hero p {
  max-width: 680px;
  margin-bottom: 16px;
  color: #334155;
  font-size: 1.15rem;
}

.page-hero p:last-child {
  margin-bottom: 0;
}

.service-list-title {
  font-weight: 700;
}

.service-list {
  max-width: 680px;
  margin: 0 0 16px;
  padding-left: 1.25rem;
  color: #334155;
  font-size: 1.15rem;
}

.service-list li {
  margin-bottom: 6px;
  padding-left: 4px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0b2559;
  font-weight: 700;
  margin-bottom: 46px;
  text-decoration: none;
  border: 2px solid #0b2559;
  padding: 0.5rem;
  border-radius: 8px;
  transition:
    color 0.15s ease,
    transform 0.15s ease;
}

.back-link::before {
  content: "←";
  color: #0f5fe8;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-3px);
  transition: transform 0.15s ease;
}

.back-link:hover {
  color: #0f5fe8;
  transform: translateX(-2px);
}

.back-link:hover::before {
  transform: translate(-2px, -2px);
}

.btn {
  display: inline-block;
  padding: 14px 30px;
  background: #0f5fe8;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  transition: 0.3s;
}

.btn:hover {
  background: #0848b5;
}

/* SERVICES */

section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  color: #0f5fe8;
  font-size: 2.2rem;
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  cursor: pointer;
}

.card {
  background: white;
  position: relative;
  padding: 2rem;
  padding-bottom: 3rem;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(52, 38, 245, 0.12);
}

.card .learn-more {
  position: absolute;
  bottom: 1rem;
  right: 2rem;
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 15px;
}

.card h3 {
  color: #0b2559;
  margin-bottom: 10px;
}

.gallery-section {
  background: #f8fafc;
  position: relative;
  margin-top: -2px;
  padding-top: 0px;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.image-tile {
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: white;
  border-radius: 8px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(6, 20, 47, 0.12);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.image-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(6, 20, 47, 0.16);
}

.image-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.image-modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(6, 20, 47, 0.82);
  cursor: pointer;
}

.modal-content {
  position: relative;
  z-index: 1;
  display: flex;
  max-width: min(1000px, 92vw);
  max-height: 88vh;
  background: white;
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.modal-content img {
  width: 100%;
  height: 100%;
  max-height: calc(88vh - 36px);
  object-fit: contain;
}

.modal-close {
  position: absolute;
  top: -16px;
  right: -16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #0f5fe8;
  color: white;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(6, 20, 47, 0.22);
}

/* ABOUT */

.about {
  background: white;
}

.about-content {
  max-width: 800px;
  margin: auto;
  text-align: center;
}

.about-content h2 {
  margin-bottom: 20px;
  color: #0b2559;
}

/* CONTACT */

.contact {
  background: linear-gradient(135deg, #0b2559, #0f5fe8);
  color: white;
  text-align: center;
}

.contact h2 {
  margin-bottom: 15px;
}

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

footer {
  background: #06142f;
  color: rgba(255, 255, 255, 0.85);
}

.site-footer .container {
  width: min(1600px, 90%);
  margin: 0 auto;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 0 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-left,
.footer-right {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.footer-left {
  justify-content: flex-start;
}

.footer-right {
  justify-content: flex-end;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.98rem;
}

.footer-contact-item svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: #0f5fe8;
  fill: currentColor;
}

.footer-contact-item a,
.footer-phone {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-item a:hover,
.footer-phone:hover {
  color: #83b3ff;
}

.footer-phone {
  font-weight: 700;
}

.social-icons {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.social-icons a {
  display: inline-flex;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.social-icons a.facebook {
  background: #1877f2;
}

.social-icons a.instagram {
  background: radial-gradient(
    circle at 30% 30%,
    #feda75 0%,
    #fa7e1e 30%,
    #d62976 60%,
    #962fbf 80%,
    #4f5bd5 100%
  );
}

.social-icons a:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.social-icons svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: currentColor;
}

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-left,
  .footer-right {
    justify-content: space-between;
  }

  .footer-right {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-contact {
    justify-content: flex-start;
  }

  .social-icons {
    justify-content: flex-start;
  }

  .footer-copy {
    text-align: left;
  }
}

@media (max-width: 991px) {
  .hero {
    text-align: center;
  }

  .hero-content {
    margin: auto;
  }

  .page-hero {
    text-align: center;
    padding: 80px 0 70px;
  }

  .page-hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .service-list {
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    text-align: left;
  }

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

  .modal-content {
    padding: 12px;
  }

  .modal-close {
    top: 8px;
    right: 8px;
  }
}

@media (max-width: 768px) {
  .image-grid {
    grid-template-columns: 1fr;
  }
}
