.page-header {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
}

.page-header h2 {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.page-header p {
  font-size: 1.1rem;
  color: #cbd5f5;
  max-width: 600px;
  margin: 0 auto;
}
.services {
  padding: 80px 0;
}

.service-block {
  margin-bottom: 100px;
}

.service-info {
  max-width: 700px;
  margin-bottom: 35px;
}

.service-info h3 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.service-info p {
  font-size: 1rem;
  color: #475569;
  line-height: 1.7;
}
.packages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.package-card {
  background: #ffffff;
  padding: 35px 30px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  transition: all 0.35s ease;
  position: relative;
}

.package-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.18);
}

.package-card h4 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.package-card p {
  color: #64748b;
  font-size: 0.95rem;
}

.package-card ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.package-card ul li {
  padding: 6px 0;
  color: #334155;
}

.price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
}
.package-card.popular {
  border: 2px solid #2563eb;
  transform: scale(1.05);
}

.package-card.popular::before {
  content: "Most Popular";
  position: absolute;
  top: -14px;
  right: 20px;
  background: #2563eb;
  color: #ffffff;
  font-size: 0.75rem;
  padding: 6px 14px;
  border-radius: 20px;
  box-shadow: 0 6px 15px rgba(37,99,235,0.4);
}
.service-block.dev h3 {
  color: #2563eb;
}

.service-block.marketing h3 {
  color: #16a34a;
}

.service-block.training h3 {
  color: #9333ea;
}
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 40px;
}

.footer-col h3,
.footer-col h4 {
  color: #ffffff;
  margin-bottom: 15px;
}

.footer-col p,
.footer-col li {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

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

.footer-col a:hover {
  color: #60a5fa;
}

.footer-col iframe {
  width: 100%;
  height: 200px;
  border-radius: 12px;
  border: none;
}

.footer-bottom {
  text-align: center;
  padding: 20px;
  background: #020617;
  margin-top: 40px;
}
@media (max-width: 768px) {
  .page-header h2 {
    font-size: 2rem;
  }

  .package-card.popular {
    transform: none;
  }
}
/* ===== Services Grid ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  padding: 4rem 0;
}

.service-box {
  background: #fff;
  padding: 2.2rem;
  border-radius: 16px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.service-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.service-box .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.view-btn {
  display: inline-block;
  margin-top: 1rem;
  color: #4f46e5;
  font-weight: 600;
}

/* ===== Modal ===== */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal-content {
  background: #fff;
  width: 90%;
  max-width: 700px;
  padding: 2.5rem;
  border-radius: 18px;
  animation: scaleIn 0.3s ease;
  position: relative;
}

@keyframes scaleIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 18px;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Packages */
.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.package {
  padding: 1.5rem;
  border-radius: 14px;
  background: #f9fafb;
  text-align: center;
}

.package.highlight {
  background: #4f46e5;
  color: #fff;
}

.modal-template {
  display: none;
}
.modal-template {
  padding: 30px;
  max-width: 900px;
  margin: auto;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.modal-template h3 {
  font-size: 28px;
  margin-bottom: 5px;
}

.subtitle {
  color: #666;
  margin-bottom: 30px;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.package {
  background: #ffffff;
  border-radius: 14px;
  padding: 25px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.package:hover {
  transform: translateY(-6px);
}

.package h4 {
  font-size: 22px;
  margin-bottom: 10px;
}

.price {
  display: block;
  font-size: 20px;
  font-weight: 600;
  color: #2563eb;
  margin-bottom: 15px;
}

.package ul {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-bottom: 20px;
}

.package ul li {
  margin-bottom: 10px;
  font-size: 14px;
}

.package small {
  color: #888;
}

.btn {
  background: #2563eb;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
}

.btn:hover {
  background: #1e4fd1;
}

.highlight {
  border: 2px solid #2563eb;
  transform: scale(1.05);
}

.highlight .primary {
  background: #16a34a;
}

.highlight .primary:hover {
  background: #12803b;
}
/* Popup container */
/* ===== Modal ===== */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal-content {
  background: #fff;
  width: 90%;
  max-width: 980px;
  padding: 2.5rem;
  border-radius: 18px;
  animation: scaleIn 0.3s ease;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  
}

@keyframes scaleIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 18px;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Template content */
.modal-template {
  display: none;
}


/* Inner popup box */
#smmContent > .modal-template {
  background: #f9fafb;
  width: 100%;
  max-width: 980px;
  max-height: 100%;
  overflow-y: auto; /* scroll inside if content is large */
  border-radius: 16px;
  padding: 30px;
  box-sizing: border-box;
}

/* Prevent horizontal overflow */
#smmContent * {
  max-width: 100%;
  box-sizing: border-box;
}

/* Mobile optimization */
@media (max-width: 768px) {
  #smmContent > .modal-template {
    padding: 20px 15px;
    border-radius: 12px;
  }
}
/* Full screen popup */


/* Close button */
.popup-close {
  position: fixed;
  top: 20px;
  right: 25px;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: #111;
  z-index: 10000;
}

/* Title */
#smmContent h3 {
  font-size: 28px;
  margin-bottom: 8px;
}

/* Subtitle */
#smmContent .subtitle {
  color: #555;
  margin-bottom: 30px;
  text-align: center;
}

/* Package grid */
.package-grid {
  width: 100%;
  max-width: 1100px;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

/* Package card */
.package {
  background: #f9fafb;
  padding: 25px;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
}

/* Highlight package */
.highlight {
  border: 2px solid #2563eb;
  transform: scale(1.04);
  
}

/* Price */
.price {
  display: block;
  font-size: 20px;
  font-weight: 600;
  color: #2563eb;
  margin-bottom: 15px;
}
/* Price in highlighted package */
.package.highlight .price {
  color: #ffffff;
}

/* Buttons */
.btn {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  background: #2563eb;
  color: white;
  border: none;
  cursor: pointer;
}

.primary {
  background: #16a34a;
}

/* Mobile safety */
@media (max-width: 768px) {
  #smmContent {
    padding-top: 70px;
  }

  .highlight {
    transform: none;
  }
}
/* Full screen popup */
/* Desktop & tablet: wider, flexible modal */




/* Close button */
.popup-close {
  position: fixed;
  top: 20px;
  right: 25px;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: #111;
  z-index: 10000;
}

/* Title */
#smmContent h3 {
  font-size: 28px;
  margin-bottom: 8px;
}

/* Subtitle */
#smmContent .subtitle {
  color: #555;
  margin-bottom: 30px;
  text-align: center;
}

/* Package grid */
.package-grid {
  width: 100%;
  max-width: 1100px;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

/* Package card */
.package {
  background: #f9fafb;
  padding: 25px;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
}

/* Highlight package */
.highlight {
  border: 2px solid #2563eb;
  transform: scale(1.04);
}

/* Price */
.price {
  display: block;
  font-size: 20px;
  font-weight: 600;
  color: #2563eb;
  margin-bottom: 15px;
}

/* Buttons */
.btn {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  background: #2563eb;
  color: white;
  border: none;
  cursor: pointer;
}

.primary {
  background: #16a34a;
}

/* Mobile safety */
@media (max-width: 768px) {
  #smmContent {
    padding-top: 70px;
  }

  .highlight {
    transform: none;
  }
}
.package-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
