/* MSJ Pro Services - Clean Modern Styles */
:root {
  --primary: #2558A7;
  --primary-dark: #1A3A6E;
  --primary-light: #3A6FC0;
  --white: #FFFFFF;
  --off-white: #F7F9FC;
  --gray-100: #F0F4F8;
  --gray-200: #E2E8F0;
  --gray-600: #4A5568;
  --gray-800: #1A202C;
  --shadow: 0 4px 20px rgba(37, 88, 167, 0.12);
  --shadow-lg: 0 10px 40px rgba(37, 88, 167, 0.15);
  --radius: 12px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header / Nav */
.header {
  background: var(--white);
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 52px;
  width: auto;
}

.logo-text {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--gray-800);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a.active::after,
.nav-links a:hover::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
}

.btn-white:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
}

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--primary);
  margin: 5px 0;
  border-radius: 2px;
  transition: var(--transition);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 80px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.hero-text p {
  font-size: 1.15rem;
  opacity: 0.92;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-box {
  background: var(--white);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.hero-logo-box img {
  width: 260px;
  height: auto;
}

/* Section common */
.section {
  padding: 80px 0;
}

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

.section-header h2 {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--gray-600);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* Services preview on home */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--transition);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 1.6rem;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 650;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.service-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.service-card .price {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.05rem;
}

/* Why us / features */
.features {
  background: var(--off-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.feature-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.feature-item h4 {
  font-size: 1.1rem;
  font-weight: 650;
  margin-bottom: 6px;
  color: var(--primary-dark);
}

.feature-item p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--gray-200);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.testimonial-card .stars {
  color: #F6AD55;
  font-size: 1.1rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testimonial-card p {
  font-style: italic;
  color: var(--gray-600);
  margin-bottom: 18px;
  font-size: 0.98rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.author-info strong {
  display: block;
  font-size: 0.95rem;
  color: var(--gray-800);
}

.author-info span {
  font-size: 0.85rem;
  color: var(--gray-600);
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  padding: 60px 0;
  text-align: center;
}

.cta-band h2 {
  font-size: 1.9rem;
  margin-bottom: 12px;
}

.cta-band p {
  opacity: 0.9;
  margin-bottom: 28px;
  font-size: 1.05rem;
}

/* Services page specific */
.pricing-table {
  overflow-x: auto;
  margin-top: 40px;
}

.pricing-table table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.pricing-table th {
  background: var(--primary);
  color: white;
  padding: 16px 20px;
  text-align: left;
  font-weight: 600;
}

.pricing-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-200);
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.pricing-table tr:hover td {
  background: var(--gray-100);
}

.service-detail {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 36px;
  margin-bottom: 28px;
}

.service-detail h3 {
  color: var(--primary-dark);
  font-size: 1.4rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-detail .price-tag {
  background: var(--primary);
  color: white;
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
}

.service-detail ul {
  margin: 16px 0 0 20px;
  list-style: disc;
  color: var(--gray-600);
}

.service-detail ul li {
  margin-bottom: 6px;
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.3rem;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
  align-items: flex-start;
}

.contact-item .icon {
  width: 44px;
  height: 44px;
  background: var(--gray-100);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 2px;
}

.contact-item span, .contact-item a {
  font-weight: 500;
  color: var(--gray-800);
}

.contact-form {
  background: var(--off-white);
  padding: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
}

.contact-form h3 {
  font-size: 1.3rem;
  color: var(--primary-dark);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--gray-800);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 88, 167, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.map-container {
  margin-top: 50px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Footer */
.footer {
  background: var(--primary-dark);
  color: white;
  padding: 50px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand img {
  height: 48px;
  margin-bottom: 16px;
  background: white;
  padding: 8px 12px;
  border-radius: 8px;
}

.footer-brand p {
  opacity: 0.85;
  font-size: 0.95rem;
  max-width: 280px;
}

.footer-contact {
  display: grid;
  gap: 6px;
  margin-top: 14px;
}

.footer-contact a {
  width: fit-content;
  font-size: 0.95rem;
  opacity: 0.9;
}

.footer-contact a:hover {
  color: #A0C4FF;
  opacity: 1;
}

.footer h4 {
  font-size: 1.05rem;
  margin-bottom: 16px;
  font-weight: 600;
}

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

.footer ul a {
  opacity: 0.85;
  font-size: 0.95rem;
}

.footer ul a:hover {
  opacity: 1;
  color: #A0C4FF;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 24px;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.75;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-visual {
    order: -1;
  }
  .hero-logo-box {
    padding: 28px;
  }
  .hero-logo-box img {
    width: 200px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }
  .nav-links.open {
    display: flex;
  }
  .hero-text h1 {
    font-size: 2.1rem;
  }
  .section {
    padding: 60px 0;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 50px 0 60px;
  }
  .hero-text h1 {
    font-size: 1.8rem;
  }
  .btn {
    padding: 11px 22px;
    font-size: 0.9rem;
  }
}
