/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.main-nav.closed {
  display: none;
}

.main-nav.open {
  display: block;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Comic Sans MS', 'Comic Neue', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f0f8ff;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

h2, h3 {
  color: #ff4500;
  font-family: 'Comic Sans MS', sans-serif;
}

p {
  font-size: 16px;
  color: #333;
}

.btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 24px;
  background-color: #ff69b4;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  transition: background-color 0.3s ease;
  min-width: 120px;
}

.btn:hover {
  background-color: #ff1493;
  color: #000000;
}

.btn:focus {
  outline: 3px solid #ff69b4;
  outline-offset: 2px;
}

/* Top Bar */
.top-bar {
  background: #002b49;
  color: white;
  padding: 1rem 0;
  font-size: 1.5rem;
  text-align: center;
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.container.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 20px;
    gap: 1.5rem;
    position: relative;
    min-height: auto;
    overflow: visible;
}

/* Header */
.main-header {
  background: white;
  border-bottom: 1px solid #ccc;
  position: sticky;
  top: 0;
  z-index: 1000;
  overflow: visible;
}

.logo-left {
  flex-shrink: 0;
  padding: 0;
  z-index: 100;
  position: relative;
}

.logo-left img {
  height: 100px;
  width: auto;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  will-change: transform;
  position: relative;
  z-index: 100;
}

.logo-left img:hover {
  transform: scale(1.55) rotate(-2deg);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.site-name-center {
    text-align: center;
    padding: 0 1rem;
    flex: 0 1 auto;
}

.site-name {
  font-size: 2.2rem;
  font-weight: 900;
  color: #002b49;
  margin: 0;
  white-space: nowrap;
  line-height: 1.2;
}

/* Navigation */
.main-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  padding: 0;
}

#nav-toggle:checked ~ .main-nav {
  display: block;
}

.main-nav.closed {
  display: none;
}

.nav-menu {
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  justify-content: flex-end;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  margin: 0;
  white-space: nowrap;
}

.nav-menu li a {
  text-decoration: none;
  color: #002b49;
  font-weight: 700;
  font-size: 1.55rem;
  padding: 8px 16px;
  display: inline-block;
  transition: color 0.3s ease;
}

.nav-menu li a:hover {
  color: #ff69b4;
}

.nav-menu li a:focus {
  outline: 2px solid #ff69b4;
  outline-offset: 2px;
}

/* Medium screens */
@media (max-width: 1200px) and (min-width: 769px) {
  .nav-menu {
    gap: 10px;
  }
  
  .nav-menu li a {
    font-size: 1.0rem;
    padding: 8px 12px;
  }
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
    display: none;
    width: 40px;
    height: 30px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  background-color: #002b49;
  height: 5px;
  width: 100%;
  border-radius: 3px;
  position: relative;
  transition: all 0.3s ease;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: '';
  position: absolute;
}

.nav-toggle-label span::before {
  top: -12px;
}

.nav-toggle-label span::after {
  top: 12px;
}

#nav-toggle:checked ~ .main-nav {
  display: block;
}

/* Primary icon control via class (JavaScript-driven) */
.nav-toggle-label.open span {
  background: transparent;
}

.nav-toggle-label.open span::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-toggle-label.open span::after {
  transform: rotate(-45deg);
  top: 0;
}

.nav-toggle-label:not(.open) span {
  background: #002b49;
}

.nav-toggle-label:not(.open) span::before {
  transform: none;
  top: -7px;
}

.nav-toggle-label:not(.open) span::after {
  transform: none;
  top: 7px;
}

/* Fallback for pages without updated JavaScript */
.nav-toggle:not(:checked) ~ .nav-toggle-label span {
  background: #002b49;
}

.nav-toggle:not(:checked) ~ .nav-toggle-label span::before {
  transform: none;
  top: -7px;
}

.nav-toggle:not(:checked) ~ .nav-toggle-label span::after {
  transform: none;
  top: -7px;
}

.nav-toggle:checked ~ .nav-toggle-label span {
  background: transparent;
}

.nav-toggle:checked ~ .nav-toggle-label span::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-toggle:checked ~ .nav-toggle-label span::after {
  transform: rotate(-45deg);
  top: 0;
}

/* Hero Section */
.hero-row {
  position: relative;
  padding: 2rem 1rem;
  background: #f9f9f9;
}

.hero-image-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: visible;
  border-radius: 12px;
  z-index: 1;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-banner {
  width: 100%;
  height: 600px;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

/* Desktop Hero Text */
.hero-text {
  position: absolute;
  top: 2.5%;
  right: 1.25%;
  background-color: rgba(0, 43, 73, 0.75);
  color: white;
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
  text-align: center;
  max-width: 240px;
  z-index: 1;
}

.hero-text h1 {
  font-family: 'Times New Roman', serif;
  font-size: 1.75rem;
  margin-bottom: 0.2rem;
  font-weight: 700;
  line-height: 1.15;
}

.hero-text p {
  font-family: 'Times New Roman', serif;
  font-size: 1.25rem;
  margin: 0.1rem 0;
  color: white;
  line-height: 1.2;
}

/* Welcome Section */
.welcome {
  background: white;
  padding: 3rem 0;
  text-align: center;
}

.welcome .signature {
  margin-top: 1rem;
  font-style: italic;
  font-weight: bold;
}

.expertise-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
  text-align: left;
  align-items: flex-start;
}

.expertise-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.expertise-item .icon {
  font-size: 2.8rem;
  flex-shrink: 0;
  margin-top: 3px;
}

/* Services Section */
.services {
  background-color: #f0f8ff;
  padding: 20px;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.card {
  background-color: #fff;
  border: 2px solid #ffd700;
  border-radius: 10px;
  padding: 15px;
  width: 200px;
  text-align: center;
}

.card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

/* Blog Section */
.blog {
  background-color: #f0f8ff;
  padding: 20px;
}

.blog-posts {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.post {
  background-color: #fff;
  border: 2px solid #ffd700;
  border-radius: 10px;
  padding: 15px;
  width: 200px;
  text-align: center;
}

.post img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: top;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Testimonials Section */
.testimonials {
  background-color: #f0f8ff;
  padding: 3rem 0;
  text-align: center;
}

.testimonials blockquote {
  background-color: #fff;
  border: 2px solid #ffd700;
  border-radius: 10px;
  padding: 20px;
  margin: 15px auto;
  max-width: 600px;
  font-style: italic;
  font-size: 1.2rem;
  color: #333;
}

/* FAQ Section */
.faq-section {
  background: white;
  padding: 3rem 0;
}

.faq-list {
  max-width: 900px;
  margin: 2rem auto;
  text-align: left;
}

.faq-item {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: #f9f9f9;
  border-left: 4px solid #ff69b4;
  border-radius: 8px;
}

.faq-item h3 {
  color: #002b49;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.faq-item p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333;
}

/* Contact Section */
.contact-page {
  background: white;
  padding: 40px 0;
  text-align: center;
}

.contact-info,
.contact-form {
  margin-bottom: 40px;
}

.contact form,
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 600px;
  margin: 2rem auto;
  background-color: #f9f9f9;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact label,
.contact-form label {
  font-family: 'Comic Sans MS', sans-serif;
  font-size: 1.1rem;
  color: #002b49;
  font-weight: bold;
  display: block;
  margin-bottom: 8px;
}

.contact input,
.contact textarea,
.contact-form input,
.contact-form textarea {
  width: 100%;
  max-width: 500px;
  padding: 10px;
  margin-bottom: 20px;
  border: 2px solid #ffd700;
  border-radius: 5px;
  font-family: 'Comic Sans MS', sans-serif;
  font-size: 16px;
}

.contact input::placeholder,
.contact textarea::placeholder,
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #999;
  opacity: 0.8;
}

.contact input:focus,
.contact textarea:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  border: 3px solid #ff69b4;
  outline: 2px solid #ff69b4;
  outline-offset: 2px;
  box-shadow: 0 0 5px rgba(255, 105, 180, 0.3);
}

.contact textarea,
.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact button,
.contact-form button {
  background-color: #ff69b4;
  border: none;
  cursor: pointer;
}

.contact button.btn,
.contact-form button.btn {
  margin-top: 0;
}

/* Footer */
.footer {
  background: #002b49;
  color: white;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.9rem;
}

.footer a {
  color: #ffffff;
  text-decoration: none;
}

.footer a:hover {
  color: #dddddd;
  text-decoration: underline;
}

.footer a:focus {
  outline: 2px solid #ff69b4;
  outline-offset: 2px;
}

.footer p,
.footer li,
.footer span,
.footer h4,
.footer h5 {
  color: white;
}

/* Responsive Design */
@media (max-width: 768px) {

  .payment-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }

  .header-top {
    flex-direction: row;
    justify-content: space-between;
    padding: 0.5rem;
    min-height: 60px;
  }

  .logo-left {
    order: 1;
  }

  .container.header-top {
    flex-direction: row;
    justify-content: space-between;
    padding: 0.5rem;
    min-height: 60px;
  }

  .logo-left img {
    height: 60px;
  }

  .site-name-center {
    order: 2;
    flex: 1;
    text-align: left;
    padding-left: 1rem;
  }

  .site-name {
    font-size: 1.8rem;
    margin: 10px 0;
  }

  .nav-toggle-label {
    display: flex;
    width: 15px;
    height: 25px;
    overflow: visible;
  }

  .nav-toggle-label span,
  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    display: block;
    background-color: #002b49;
    height: 3px;
    width: 100%;
    border-radius: 3px;
    position: absolute;
    transition: all 0.3s ease;
  }

  .nav-toggle-label span {
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
  }

  .nav-toggle-label span::before {
    top: -8px;
    content: '';
  }

  .nav-toggle-label span::after {
    top: 8px;
    content: '';
  }

  .nav-toggle-label.open span::before {
    transform: rotate(45deg) translate(4px, 4px);
  }

  .nav-toggle-label.open span::after {
    transform: rotate(-45deg) translate(-4px, -4px);
  }

  .nav-toggle-label.open span::before,
  .nav-toggle-label.open span::after {
    width: 100%;
    left: 0;
    transform: rotate(45deg);
    transform-origin: 50% 50%;
  }

  .nav-toggle-label.open span::after {
    transform: rotate(-45deg);
  }

  .nav-toggle-label.open span::before,
  .nav-toggle-label.open span::after {
    width: 120%;
    left: -10%;
    transform-origin: center;
  }

  .nav-toggle-label.open span::before,
  .nav-toggle-label.open span::after {
    width: 150%;
    left: -25%;
  }

  .main-nav {
    display: none;
    width: 100%;
    background: #002b49;
    padding: 1rem 0;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1001;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  .nav-toggle:checked ~ .main-nav {
    display: block;
  }

  .nav-menu {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .nav-menu li {
    display: block;
  }

  .nav-menu li a {
    font-size: 1.2rem;
    padding: 1rem;
    width: 100%;
    text-align: center;
    color: white;
    transition: background-color 0.3s;
  }

  .nav-menu li a:hover {
    background-color: #ff1493;
    color: white;
  }

  .hero-banner {
    height: 400px;
  }

  /* Tablet Hero Text (768px and below) - MOVED DOWN */
  .hero-text {
    top: 60%;
    right: 2%;
    padding: 0.4rem 0.6rem;
    max-width: 180px;
  }

  .hero-text h1 {
    font-size: 1.1rem;
    margin-bottom: 0.15rem;
  }

  .hero-text p {
    font-size: 0.75rem;
    margin: 0.1rem 0;
  }

  .service-cards,
  .blog-posts {
    flex-direction: column;
    align-items: center;
  }

  .card,
  .post {
    width: 100%;
    max-width: 300px;
  }

  .post img {
    height: 300px;
    object-position: top;
  }

  .expertise-list {
    align-items: center;
  }

  .expertise-item {
    flex-direction: column;
    text-align: center;
  }

  .top-bar {
    font-size: 1.2rem;
  }

  .testimonials blockquote {
    font-size: 1rem;
    padding: 15px;
    max-width: 90%;
  }

  .contact input,
  .contact textarea,
  .contact-form input,
  .contact-form textarea {
    font-size: 14px;
    padding: 10px;
  }

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

.nav-toggle-label {
    z-index: 1002;
}

/* Mobile Hero Text (480px and below) - MOVED DOWN FURTHER */
@media (max-width: 480px) {
  .site-name {
    font-size: 1.5rem;
  }

  .top-bar {
    font-size: 14px;
    padding: 0.5rem;
  }

  .logo-left img {
    height: 50px;
  }

  .hero-banner {
    height: 300px;
  }

  .hero-text {
    top: 65%;
    right: 2%;
    padding: 0.3rem 0.5rem;
    max-width: 140px;
    border-radius: 6px;
  }

  .hero-text h1 {
    font-size: 0.85rem;
    margin-bottom: 0.1rem;
    line-height: 1.1;
  }

  .hero-text p {
    font-size: 0.6rem;
    margin: 0;
    line-height: 1.15;
  }

  .card,
  .post {
    max-width: 95%;
  }

  .expertise-item {
    padding: 0 1rem;
  }

  .testimonials blockquote {
    font-size: 0.9rem;
    padding: 10px;
    max-width: 95%;
  }

  .contact input,
  .contact textarea,
  .contact-form input,
  .contact-form textarea {
    font-size: 13px;
    padding: 8px;
  }

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

/* Extra small mobile devices (360px and below) - MOVED DOWN */
@media (max-width: 360px) {
  .hero-text {
    top: 70%;
    padding: 0.25rem 0.4rem;
    max-width: 120px;
  }

  .hero-text h1 {
    font-size: 0.75rem;
  }

  .hero-text p {
    font-size: 0.55rem;
  }
}

/* Active Navigation Link */
.main-nav .nav-menu li a.active {
  font-weight: bold;
  color: #ff69b4;
}

/* Mobile Active State */
@media (max-width: 768px) {
  .main-nav .nav-menu li a.active {
    background-color: #ff69b4;
    color: white;
    font-weight: bold;
  }
  .main-nav.closed {
    transform: translateX(100%);
  }

  .main-nav.open {
    transform: translateX(0%);
  }
}

main section {
  position: relative;
  z-index: 10;
  padding: 2rem;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 900px;
  width: 100%;
  margin: 2rem auto;
}

main section:hover,
main section:active {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  z-index: 11;
}

.payment-btn {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(to bottom, #ff69b4, #c71585);
  color: white;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.payment-btn:hover {
  background: linear-gradient(to bottom, #c71585, #9e0d66);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  color: white;
}

main h2 {
  color: #ff4500;
  font-size: 2rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}
main h2::after {
  content: '';
  width: 50%;
  height: 3px;
  background-color: #ff4500;
  position: absolute;
  bottom: -5px;
  left: 25%;
}

main a {
  color: #ff69b4;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}
main a:hover {
  text-decoration: underline;
  color: #ff1493;
}

main p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 1rem;
  text-align: center;
}

main ul {
  list-style-type: none;
  padding: 0;
  margin: 1rem 0;
}

main li {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 2rem;
  text-align: left;
}

main li::before {
  content: "✔";
  color: #ff4500;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2rem;
}

main img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 1.5rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.highlight {
  background-color: #fff3cd;
  padding: 0.2rem 0.5rem;
  border-radius: 5px;
}

.pricing-tier {
  border: 2px solid #ffd700;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1rem 0;
  background-color: #fffef0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-tier h3 {
  color: #ff4500;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.pricing-tier .price {
  font-size: 1.3rem;
  font-weight: bold;
  color: #002b49;
  margin-bottom: 1rem;
}

 .we-accept-img {
   display: block;
   margin: 1rem auto;
   height: 105px;
   width: 300px;
 }

 .we-accept-container {
  background-color: white;
  border-radius: 8px;
  padding: 1rem;
  margin: 1rem 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  width: 100%;
  text-align: center;
}

 .we-accept-caption {
   font-size: 0.9rem;
   color: #333;
   margin-top: 0.5rem;
   text-align: center;
 }

main {
  padding: 3rem 1rem;
  background-color: #f0f8ff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 600px) {
  main section {
    padding: 1.25rem;
  }
  main h2 {
    font-size: 1.5rem;
  }
  main p, main li {
    font-size: 1rem;
  }
  .pricing-tier h3 {
    font-size: 1.3rem;
  }
  .pricing-tier .price {
    font-size: 1.1rem;
  }
}

.payment-buttons {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 0.5rem 0;
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
}

.paypal-btn {
    display: block;
    min-width: 200px;
    height: 40px;
    overflow: hidden;
}

.paypal-btn:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

#paypal-container-CUMKDLDX93SSY iframe {
    width: 100% !important;
    height: 100% !important;
    border-radius: 6px !important;
}

.we-accept-img {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.we-accept-img:hover {
    transform: scale(1.05);
}

.card img.detective-img,
.post img.detective-img {
  position: relative;
  z-index: 10;
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.card:hover img.detective-img,
.post:hover img.detective-img {
  transform: scale(1.1) translateY(-20px) rotate(-2deg);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.hero-image-wrapper:hover .hero-banner {
  transform: scale(1.05) translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

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

.sample-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 1.5rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.sample-image:hover {
  transform: scale(1.1) translateY(-20px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.payment-text {
  color: #333;
  text-align: center;
}

.visually-hidden-seo {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin: 1rem 0;
  color: #666;
}

.detective-frame {
  position: relative;
  display: inline-block;
}X93SSY {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
}

#paypal-container-CUMKDLD