/* ========== GLOBAL RESET ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #f9fafc;
  color: #1a1a1a;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ========== HEADER ========== */
.header-main {
  background: #fff;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  position: fixed;
  width: 100%;
  z-index: 1000;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.logo-main {
  font-size: 22px;
  font-weight: bold;
  color: #0f172a;
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-link {
  font-weight: 500;
  transition: 0.3s;
}

.nav-link:hover {
  color: #2563eb;
}

.hamburger-btn {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger-btn span {
  height: 3px;
  width: 25px;
  background: #000;
  margin: 4px 0;
  transition: 0.3s;
}

/* ========== HERO ========== */
.hero-section {
  padding: 140px 0 100px;
  text-align: center;
  background: linear-gradient(135deg, #e0f2fe, #ffffff);
}

.hero-title {
  font-size: 42px;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 18px;
  color: #555;
  max-width: 600px;
  margin: auto;
}

.btn-primary {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 30px;
  background: #2563eb;
  color: #fff;
  border-radius: 30px;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #1e40af;
}

/* ========== SERVICES GRID ========== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.service-card {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}

.service-card:hover {
  transform: translateY(-8px);
}

/* ========== PRICING ========== */
/* ========== PRICING GRID - MOBILE FIRST ========== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr; /* Stack vertically on mobile first */
  gap: 20px;
  margin-top: 40px;
  padding: 0 10px;
}

.pricing-card {
  background: #fff;
  padding: 25px 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.pricing-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.price-value {
  font-size: 28px;
  margin: 15px 0;
  font-weight: bold;
}

.pricing-card p {
  font-size: 14px;
  color: #64748b;
}

/* ========== TABLETS (>= 600px) ========== */
@media (min-width: 600px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr); /* Two cards side by side */
    gap: 25px;
  }

  .pricing-card {
    padding: 30px 25px;
  }

  .price-value {
    font-size: 32px;
  }
}

/* ========== DESKTOP (>= 992px) ========== */
@media (min-width: 992px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr); /* Three cards side by side */
    gap: 30px;
  }

  .pricing-card {
    padding: 40px 30px;
    border-radius: 20px;
  }

  .price-value {
    font-size: 36px;
  }
}
/* ========== BLOG ========== */
/* ================= BLOG RESPONSIVE UPGRADE ================= */

/* Blog Section Spacing */
.blog-section-wrapper {
  padding: 80px 0;
}

/* Grid Improvements */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  margin-top: 60px;
}

/* Blog Card Structure */
.blog-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
}

/* Thumbnail Container (Perfect Ratio) */
.blog-thumbnail-wrapper {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.blog-thumbnail-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card:hover .blog-thumbnail-wrapper img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .blog-thumbnail-wrapper {
    height: 180px;
  }
}

/* Blog Content */
.blog-content-wrapper {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-content-wrapper h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.blog-content-wrapper p {
  font-size: 15px;
  color: #64748b;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Read More */
.blog-readmore-link {
  font-weight: 600;
  font-size: 14px;
  color: #2563eb;
  transition: 0.3s;
}

.blog-readmore-link:hover {
  color: #1e40af;
}

/* ================= RESPONSIVE BREAKPOINTS ================= */

/* Large Tablets */
@media (max-width: 1100px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {

  .blog-section-wrapper {
    padding: 60px 0;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .blog-content-wrapper {
    padding: 20px;
  }

  .blog-content-wrapper h3 {
    font-size: 18px;
  }

  .blog-content-wrapper p {
    font-size: 14px;
  }

}

/* ========== CONTACT ========== */
.contact-wrapper {
  margin-top: 80px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
}

/* ========== FOOTER ========== */
.footer-main {
  background: #0f172a;
  color: #fff;
  padding: 50px 0;
  margin-top: 80px;
  text-align: center;
}

.container footer-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a {
  font-size: 14px;
  color: #cbd5e1;
}

.footer-legal-links a:hover {
  color: #fff;
}

/* ========== RESPONSIVE ========== */
@media(max-width:768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 80px;
    right: 20px;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active-menu {
    display: flex;
  }

  .hamburger-btn {
    display: flex;
  }

  .hero-title {
    font-size: 30px;
  }
}

/* ===== DROPDOWN MENU ===== */
/* ===== SERVICES DROPDOWN FIX ===== */
.nav-item-dropdown {
  position: relative; /* ensures absolute dropdown is positioned correctly */
}

/* Hidden by default */
.dropdown-menu {
  position: absolute;
  top: 100%; /* right below the parent link */
  left: 0;
  background: #fff;
  padding: 10px 15px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  display: none;
  flex-direction: column;
  gap: 8px;
  min-width: 180px;
  z-index: 999;
}

/* Show dropdown when hovering parent OR the dropdown itself */
.nav-item-dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
  display: flex;
}

/* Style dropdown links */
.dropdown-menu a {
  font-size: 14px;
  padding: 6px 0;
  color: #1a1a1a;
  transition: color 0.3s;
}

.dropdown-menu a:hover {
  color: #2563eb;
}

/* Hide dropdown on mobile */
@media(max-width:768px){
  .dropdown-menu {
    display: none !important;
  }
}
/* Smooth slide down */
.dropdown-menu {
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.nav-item-dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.section-heading {
  text-align: center;
  margin-bottom: 50px;
  font-size: 28px;
}

.trust-strip-section {
  background: #fff;
  padding: 40px 0;
}

.trust-wrapper {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  font-weight: 500;
  color: #64748b;
}

.process-section {
  padding: 80px 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.process-card {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}

.process-card:hover {
  transform: translateY(-6px);
}

.case-preview-section {
  padding: 80px 0;
  background: #f1f5f9;
  text-align: center;
}

.case-preview-box {
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  max-width: 700px;
  margin: auto;
}

.cta-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: #fff;
}
/* ===== HOME INTRO SECTION ===== */

.home-intro-section {
  padding: 100px 20px;
  background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.home-intro-container {
  max-width: 900px;
  margin: 0 auto;
  animation: fadeUpIntro 1s ease forwards;
  opacity: 0;
  transform: translateY(40px);
}

.home-intro-title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 25px;
  line-height: 1.3;
  background: linear-gradient(90deg, #111, #4f46e5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-intro-text {
  font-size: 18px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 40px;
}

/* CTA Buttons */

.home-intro-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.intro-btn {
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.primary-btn {
  background: #4f46e5;
  color: #fff;
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.3);
}

.primary-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(79, 70, 229, 0.4);
}

.secondary-btn {
  background: #fff;
  color: #4f46e5;
  border: 2px solid #4f46e5;
}

.secondary-btn:hover {
  background: #4f46e5;
  color: #fff;
}

/* Animation */

@keyframes fadeUpIntro {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */

@media (max-width: 768px) {
  .home-intro-title {
    font-size: 28px;
  }

  .home-intro-text {
    font-size: 16px;
  }

  .home-intro-section {
    padding: 70px 20px;
  }
}
/* Modal Overlay */
.contact-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Modal Box */
.modal-content {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  width: 90%;
  max-width: 400px;
  animation: fadeUp 0.3s ease;
}

.modal-content h3 {
  margin-bottom: 25px;
}

/* Buttons */
.modal-btn {
  width: 100%;
  padding: 14px;
  margin: 10px 0;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.email-btn {
  background: #4f46e5;
  color: #fff;
}

.whatsapp-btn {
  background: #25D366;
  color: #fff;
}

.modal-btn:hover {
  transform: translateY(-2px);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
/* Modal Close Button */
.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 24px;
  cursor: pointer;
  color: #333;
  transition: color 0.2s;
}

.modal-close:hover {
  color: #4f46e5;
}
/* ===== SINGLE SERVICE PAGE ENHANCEMENTS ===== */

/* Narrow readable content box */
.case-preview-box {
  line-height: 1.8;
  font-size: 16px;
}

/* Service cards stronger hierarchy */
.service-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.service-card p strong {
  color: #111827;
}

/* Hero CTA spacing */
.hero-section .btn-primary {
  margin-top: 20px;
}

/* Process cards cleaner alignment */
.process-card {
  text-align: center;
}

.process-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

/* Section spacing consistency */
.process-section {
  padding: 80px 0;
}

/* Premium hover feel */
.service-card,
.process-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover,
.process-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(0,0,0,0.08);
}
.pricing-container {
  display: flex;
  justify-content: center; /* centers cards horizontally */
  gap: 30px; /* space between cards */
  flex-wrap: wrap; /* makes it responsive on smaller screens */
}
.pricing-card {
  background: #ffffff;
  padding: 45px 35px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  width: 100%;
  max-width: 380px;   /* controls desktop size */
  margin: 0 auto;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.pricing-card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
}

.pricing-card .price {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 25px;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.pricing-card ul li {
  margin-bottom: 12px;
  font-size: 15px;
  color: #555;
}

.pricing-card button {
  background: #2d6cdf;
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s ease;
}

.pricing-card button:hover {
  background: #1e4fbf;
}