/* ===== SOLLAND IT - Main Stylesheet ===== */

:root {
  --primary: #1a3a5c;
  --primary-light: #2563a8;
  --accent: #e8531a;
  --text: #1f2937;
  --text-muted: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #0f172a;
  --border: #e5e7eb;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.12);
  --transition: 0.25s ease;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--primary);
  color: #fff;
  padding: 8px 0;
  font-size: 14px;
}
.top-bar .container {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  align-items: center;
}
.top-bar a {
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition);
}
.top-bar a:hover { color: #fff; }
.top-bar svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ===== NAVBAR ===== */
.navbar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}
.nav-brand img {
  width: 48px;
  height: 48px;
  border-radius: 6px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: background var(--transition), color var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--bg-alt);
  color: var(--primary-light);
}
.nav-links .btn-nav {
  background: var(--primary-light);
  color: #fff !important;
  margin-left: 8px;
  padding: 8px 18px;
}
.nav-links .btn-nav:hover {
  background: var(--primary);
}

/* Mobile menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--primary-light);
  color: #fff;
  border-color: var(--primary-light);
}
.btn-primary:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37,99,168,0.3);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}
.btn-secondary {
  background: transparent;
  color: var(--primary-light);
  border-color: var(--primary-light);
}
.btn-secondary:hover {
  background: var(--primary-light);
  color: #fff;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}
.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 640px;
  padding: 80px 0;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(37,99,168,0.6);
  color: #93c5fd;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
  border: 1px solid rgba(147,197,253,0.3);
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero h1 span { color: #93c5fd; }
.hero p {
  font-size: 18px;
  color: #cbd5e1;
  margin-bottom: 32px;
  max-width: 500px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: var(--primary);
  color: #fff;
  padding: 60px 0;
}
.page-hero h1 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.page-hero p {
  font-size: 18px;
  color: #93c5fd;
  max-width: 600px;
}

/* ===== SECTIONS ===== */
section { padding: 72px 0; }
.section-header {
  text-align: center;
  margin-bottom: 52px;
}
.section-header h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-header p {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto;
}
.section-label {
  display: inline-block;
  color: var(--primary-light);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.bg-alt { background: var(--bg-alt); }
.bg-dark { background: var(--bg-dark); color: #fff; }

/* ===== SERVICE CARDS ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
/* Home page: always 2×2 so the 4th card never orphans */
.services-grid-home {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
@media (max-width: 700px) {
  .services-grid-home {
    grid-template-columns: 1fr;
  }
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--primary-light);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px;
  height: 56px;
  background: #eff6ff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary-light);
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}
.service-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}
.service-card .link-more {
  color: var(--primary-light);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1.5px solid var(--primary-light);
  border-radius: var(--radius);
  align-self: flex-start;
  transition: all var(--transition);
  margin-top: auto;
}
.service-card .link-more svg { width: 14px; height: 14px; transition: transform var(--transition); }
.service-card .link-more:hover {
  background: var(--primary-light);
  color: #fff;
}
.service-card .link-more:hover svg { transform: translateX(3px); }

/* ===== PARTNERS ===== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}
.partner-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
}
.partner-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}
.partner-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ===== ABOUT STRIP ===== */
.about-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-strip img {
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.about-content h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
}
.about-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 16px;
}
.about-content .btn { margin-top: 8px; }

/* ===== PRICING CARDS ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  align-items: start;
}
.pricing-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
}
.pricing-card.featured {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 2px var(--primary-light), var(--shadow-md);
  transform: translateY(-8px);
}
.pricing-card .plan-name {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-light);
  margin-bottom: 8px;
}
.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}
.pricing-card .price-note {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
}
.pricing-card .features {
  text-align: left;
  margin-bottom: 28px;
}
.pricing-card .features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--text);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.pricing-card .features li:last-child { border-bottom: none; }
.pricing-card .features li::before {
  content: '✓';
  color: #16a34a;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.pricing-card .btn { width: 100%; justify-content: center; }

/* ===== FEATURE LIST ===== */
.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.feature-item {
  display: flex;
  gap: 16px;
}
.feature-item .fi-icon {
  width: 44px;
  height: 44px;
  background: #eff6ff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary-light);
}
.feature-item .fi-icon svg { width: 22px; height: 22px; }
.feature-item h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}
.feature-item p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
}
.contact-info p {
  color: var(--text-muted);
  margin-bottom: 28px;
}
.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.contact-detail svg {
  width: 22px;
  height: 22px;
  color: var(--primary-light);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-detail .label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 2px;
}
.contact-detail .value {
  font-size: 16px;
  color: var(--text);
  font-weight: 500;
}
.contact-detail .value a {
  color: var(--primary-light);
  transition: color var(--transition);
}
.contact-detail .value a:hover { color: var(--primary); }

/* Contact form */
.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow);
}
.contact-form h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(37,99,168,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { margin-top: 8px; width: 100%; justify-content: center; }
.form-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 10px;
  text-align: center;
}
.form-success {
  display: none;
  text-align: center;
  padding: 32px;
  color: #16a34a;
}
.form-success svg { width: 48px; height: 48px; margin: 0 auto 12px; }

/* ===== EMERGENCY CALLOUT ===== */
.emergency-banner {
  background: linear-gradient(135deg, #dc2626, #991b1b);
  color: #fff;
  padding: 48px 0;
  text-align: center;
}
.emergency-banner h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.emergency-banner p {
  color: #fecaca;
  font-size: 17px;
  margin-bottom: 24px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
/* Reusable price callout pill (used outside the banner too) */
.callout-price {
  display: inline-block;
  background: #fee2e2;
  color: #991b1b;
  border: 1.5px solid #fca5a5;
  border-radius: 100px;
  padding: 8px 20px;
  font-weight: 700;
  font-size: 16px;
  margin: 16px 0;
}

.emergency-banner .price-highlight {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 100px;
  padding: 6px 20px;
  font-weight: 700;
  margin-bottom: 24px;
  font-size: 16px;
}

/* ===== BLOG CARDS ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.blog-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.4;
}
.blog-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; flex-grow: 1; }
.blog-card .link-more {
  color: var(--primary-light);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1.5px solid var(--primary-light);
  border-radius: var(--radius);
  align-self: flex-start;
  margin-top: auto;
  white-space: nowrap;
  transition: all var(--transition);
}
.blog-card .link-more svg { width: 14px; height: 14px; transition: transform var(--transition); }
.blog-card .link-more:hover {
  background: var(--primary-light);
  color: #fff;
}
.blog-card .link-more:hover svg { transform: translateX(3px); }

/* ===== FOOTER ===== */
footer {
  background: var(--bg-dark);
  color: #94a3b8;
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .nav-brand {
  color: #fff;
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.social-links {
  display: flex;
  gap: 10px;
}
.social-links a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: all var(--transition);
}
.social-links a:hover {
  background: var(--primary-light);
  color: #fff;
}
.social-links svg { width: 16px; height: 16px; }
footer h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 16px;
}
footer ul li {
  margin-bottom: 10px;
}
footer ul li a {
  font-size: 14px;
  color: #94a3b8;
  transition: color var(--transition);
}
footer ul li a:hover { color: #fff; }
.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 14px;
}
.footer-contact svg {
  width: 16px; height: 16px;
  color: var(--primary-light);
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.footer-bottom a { color: #64748b; }
.footer-bottom a:hover { color: #fff; }

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.cta-section {
  background: var(--primary);
  color: #fff;
  padding: 72px 0;
  text-align: center;
}
.cta-section h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.cta-section p {
  color: #93c5fd;
  font-size: 17px;
  max-width: 500px;
  margin: 0 auto 32px;
}
.cta-section .btn-group {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 16px;
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    gap: 4px;
  }
  .nav-toggle { display: flex; }
  .navbar { position: relative; }
  .about-strip { grid-template-columns: 1fr; }
  .about-strip img { height: 280px; order: -1; }
  .about-content { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
}

@media (max-width: 600px) {
  section { padding: 52px 0; }
  .hero-content { padding: 60px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .contact-form { padding: 24px; }
}
