/**
 * SBBJ IT Solutions - Norway Stylesheet
 * Unique Theme: norway-fjord
 * Primary: #0284c7 | Accent: #06b6d4 | Secondary: #0f172a
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --secondary: #0f172a;
  --accent: #06b6d4;
  --accent-light: #e0f2fe;
  --bg-light: #f8fafc;
  --card-bg: #ffffff;
  --text-dark: #0f172a;
  --text-muted: #475569;
  --border-subtle: rgba(226, 232, 240, 0.85);
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 32px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 10px 25px rgba(2, 132, 199, 0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

/* CSS Reset & Defaults */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  background-color: #ffffff;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

p {
  text-align: justify;
  text-justify: inter-word;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--secondary);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Top Bar */
.top-bar {
  background: #0f172a;
  color: #94a3b8;
  font-size: 0.82rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.top-info-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
}

.top-info-item:hover {
  color: var(--accent);
}

.top-flag-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 10px;
  border-radius: 20px;
  font-weight: 500;
  color: #f1f5f9;
}

/* Header Sticky Wrapper */
.header-sticky-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.main-header {
  background: #ffffff;
  padding: 14px 0;
  transition: all 0.3s ease;
  border-bottom: 1px solid #f1f5f9;
}

.main-header.is-sticky {
  padding: 10px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: inline-block;
  line-height: 0;
}

.header-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-item {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
  position: relative;
  padding: 6px 0;
}

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

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.25s ease;
}

.nav-item:hover::after, .nav-item.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-quote-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #ffffff !important;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.header-quote-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  color: #1e293b;
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #082f49 60%, #042f2e 100%);
  color: #ffffff;
  padding: 80px 0 70px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 15% 25%, rgba(2, 132, 199, 0.12) 0%, transparent 40%),
                    radial-gradient(circle at 85% 75%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text-col {
  text-align: left;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(2, 132, 199, 0.12);
  border: 1px solid rgba(2, 132, 199, 0.35);
  color: #38bdf8;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 20px;
}

.hero-title {
  color: #ffffff;
  font-size: 2.75rem;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-title .text-primary-glow {
  color: #06b6d4;
  text-shadow: 0 0 20px rgba(2, 132, 199, 0.12);
}

.hero-title .text-light {
  color: #f8fafc;
}

.hero-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 28px;
  max-width: 620px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.btn-primary-glow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.96rem;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.12);
  transition: all 0.25s ease;
}

.btn-primary-glow:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.12);
}

.btn-glass-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.94rem;
  padding: 13px 24px;
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
}

.btn-glass-outline:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
}

.hero-trust-chips {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 10px;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: #94a3b8;
}

.trust-chip svg {
  color: var(--accent);
}

.hero-visual-col {
  position: relative;
}

.hero-card-preview {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.hero-card-preview img {
  border-radius: var(--radius-md);
  width: 100%;
  height: auto;
  box-shadow: var(--shadow-md);
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.hero-stat-box {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 12px;
  text-align: center;
}

.hero-stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
}

.hero-stat-label {
  font-size: 0.72rem;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

/* Sections Common */
section {
  padding: 70px 0;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.section-badge {
  display: inline-block;
  background: rgba(2, 132, 199, 0.12);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 30px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.2rem;
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Services Grid */
.services-section {
  background: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(2, 132, 199, 0.35);
  box-shadow: var(--shadow-glow);
}

.service-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(2, 132, 199, 0.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-card-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.service-card-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.service-features-list {
  list-style: none;
  border-top: 1px dashed var(--border-subtle);
  padding-top: 14px;
  margin-bottom: 18px;
}

.service-features-list li {
  font-size: 0.85rem;
  color: #334155;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-features-list li svg {
  color: var(--primary);
  flex-shrink: 0;
}

.service-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-link:hover {
  gap: 10px;
  color: var(--primary-hover);
}

/* Industries Section */
.industries-section {
  background: #ffffff;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.industry-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.industry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(2, 132, 199, 0.35);
}

.industry-card:hover::before {
  opacity: 1;
}

.industry-title {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--secondary);
}

.industry-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Process Section */
.process-section {
  background: var(--bg-light);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.process-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.process-step-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #06b6d4;
  opacity: 0.4;
  margin-bottom: 10px;
}

.process-card-title {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.process-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* FAQ Section */
.faq-section {
  background: #ffffff;
}

.faq-container-narrow {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: all 0.25s ease;
  background: #ffffff;
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 22px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--secondary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 16px;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: var(--primary);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 22px 20px;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.7;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
}

/* Consultation & Contact CTA */
.cta-banner {
  background: linear-gradient(135deg, #0f172a 0%, #082f49 60%, #042f2e 100%);
  color: #ffffff;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.cta-title {
  color: #ffffff;
  font-size: 2rem;
  line-height: 1.25;
  margin-bottom: 14px;
}

.cta-desc {
  font-size: 1rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 22px;
}

.cta-form-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 26px;
  backdrop-filter: blur(14px);
}

.cta-form-title {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 16px;
}

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

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.6);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.92rem;
  transition: all 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

.btn-submit-cta {
  width: 100%;
  padding: 13px;
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.12);
}

.btn-submit-cta:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

/* Footer */
.main-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 60px 0 30px;
  font-size: 0.92rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-logo-img {
  height: 44px;
  width: auto;
  margin-bottom: 16px;
}

.footer-about {
  line-height: 1.65;
  color: #94a3b8;
  margin-bottom: 18px;
}

.footer-col-title {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: #94a3b8;
}

.footer-contact-item svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.84rem;
}

/* Modal Dialog */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  padding: 30px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.modal-overlay.is-open .modal-box {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: #64748b;
}

.modal-title {
  font-size: 1.45rem;
  margin-bottom: 8px;
  color: var(--secondary);
}

.modal-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.field-validation-msg {
  color: #ef4444;
  font-size: 0.78rem;
  margin-top: 4px;
  display: none;
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .services-grid, .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Critical User Requirements for Mobile */
  .hero {
    padding: 44px 0 40px;
    text-align: left !important;
  }
  .hero-grid {
    text-align: left !important;
  }
  .hero-text-col {
    text-align: left !important;
  }
  .hero-badge-pill {
    margin-left: 0 !important;
    margin-right: auto !important;
    justify-content: flex-start !important;
  }
  .hero-title {
    font-size: 1.85rem !important;
    text-align: left !important;
    line-height: 1.24;
  }
  .hero-desc {
    font-size: 0.92rem;
    text-align: justify !important;
  }
  .hero-cta-row {
    justify-content: flex-start !important;
    align-items: flex-start !important;
    flex-direction: column;
    width: 100%;
  }
  .btn-primary-glow, .btn-glass-outline {
    width: 100%;
    justify-content: center;
  }
  .hero-trust-chips {
    justify-content: flex-start !important;
  }
  
  /* Reduced Headings & Spacing */
  section {
    padding: 46px 0;
  }
  .section-title {
    font-size: 1.55rem;
  }
  .section-subtitle {
    font-size: 0.92rem;
  }
  
  /* Single Column Grids on Mobile */
  .services-grid, .industries-grid, .process-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  
  /* Mobile Nav Drawer */
  .mobile-menu-btn {
    display: block;
  }
  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 999;
    border-top: 1px solid #f1f5f9;
  }
  .main-nav.active {
    transform: translateY(0);
  }
  .header-quote-btn {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.68rem !important;
  }
  .hero-stats-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .top-bar-container {
    justify-content: center;
    text-align: center;
  }
}
