/*====================================================================
 MINDSTREAM ORGANIZATION
 Production Stylesheet v2.0
 Section 01 : FOUNDATION
 Compatible With:
 - WordPress
 - Blocksy Theme
 - Elementor
 - Fluent Forms
=====================================================================*/

/*===============================
GOOGLE FONTS
================================*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/*===============================
ROOT VARIABLES
================================*/
:root {
  /* Brand */
  --ms-primary: #0D8B81;
  --ms-primary-dark: #06645D;
  --ms-primary-light: #14B8A6;

  --ms-secondary: #17375E;
  --ms-secondary-light: #285785;

  --ms-accent: #32C5B4;

  --ms-success: #2E9D57;
  --ms-warning: #F4A300;
  --ms-danger: #D64045;

  --ms-bg: #F7FBFC;
  --ms-bg-light: #FCFDFE;
  --ms-white: #ffffff;

  --ms-heading: #0F172A;
  --ms-text: #334155;
  --ms-muted: #64748B;

  --ms-border: #E2E8F0;

  --ms-shadow-xs: 0 2px 8px rgba(0,0,0,.04);
  --ms-shadow-sm: 0 6px 20px rgba(0,0,0,.06);
  --ms-shadow-md: 0 15px 40px rgba(0,0,0,.08);
  --ms-shadow-lg: 0 25px 60px rgba(0,0,0,.12);

  --ms-radius-xs: 8px;
  --ms-radius-sm: 12px;
  --ms-radius: 18px;
  --ms-radius-lg: 28px;
  --ms-radius-xl: 40px;

  --ms-container: 1320px;

  --ms-transition: .35s ease;
  --ms-transition-fast: .2s ease;

  --header-height: 90px;
}

/*===============================
RESET
================================*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ms-text);
  background: var(--ms-bg-light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/*===============================
TYPOGRAPHY
================================*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--ms-heading);
  line-height: 1.2;
  margin-bottom: 20px;
}

h1 { font-size: clamp(42px, 6vw, 68px); }
h2 { font-size: clamp(34px, 5vw, 48px); }
h3 { font-size: 30px; }
h4 { font-size: 24px; }
h5 { font-size: 20px; }
h6 { font-size: 18px; }

p {
  margin-bottom: 22px;
  color: var(--ms-text);
}

small { font-size: .875rem; }
strong { font-weight: 700; }

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*===============================
CONTAINER
================================*/
.container,
.ct-container {
  max-width: 1320px;
  margin: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/*===============================
SECTION
================================*/
section {
  position: relative;
  padding: 100px 0;
}

.section-title {
  margin-bottom: 60px;
  text-align: center;
}

.section-title span {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 50px;
  background: #E8F8F6;
  color: var(--ms-primary);
  font-weight: 600;
  margin-bottom: 15px;
}

.section-title h2 {
  margin-bottom: 15px;
}

.section-title p {
  max-width: 820px;
  margin: auto;
}

/*===============================
GRID
================================*/
.ms-grid {
  display: grid;
  gap: 30px;
}

.ms-grid-2 { grid-template-columns: repeat(2, 1fr); }
.ms-grid-3 { grid-template-columns: repeat(3, 1fr); }
.ms-grid-4 { grid-template-columns: repeat(4, 1fr); }

/*===============================
BUTTONS
================================*/
.ms-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: 50px;
  background: linear-gradient(135deg, #0D8B81, #14B8A6);
  color: #fff;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--ms-transition);
  box-shadow: 0 12px 30px rgba(13,139,129,.25);
}

.ms-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 40px rgba(13,139,129,.35);
}

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

.ms-btn-outline:hover {
  background: var(--ms-primary);
  color: #fff;
}

/*===============================
CARDS
================================*/
.ms-card {
  background: #fff;
  padding: 35px;
  border-radius: 20px;
  box-shadow: var(--ms-shadow-sm);
  transition: var(--ms-transition);
  border: 1px solid rgba(0,0,0,.04);
  height: 100%;
}

.ms-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--ms-shadow-lg);
}

/*===============================
IMAGE
================================*/
.ms-img {
  overflow: hidden;
  border-radius: 20px;
}

.ms-img img {
  transition: 1s;
}

.ms-img:hover img {
  transform: scale(1.08);
}

/*===============================
SPACING
================================*/
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-50 { margin-top: 50px; }
.mt-60 { margin-top: 60px; }

.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mb-50 { margin-bottom: 50px; }
.mb-60 { margin-bottom: 60px; }

.pt-100 { padding-top: 100px; }
.pb-100 { padding-bottom: 100px; }

/*===============================
BACKGROUND HELPERS
================================*/
.bg-primary {
  background: var(--ms-primary);
  color: #fff;
}

.bg-light {
  background: var(--ms-bg);
}

.bg-white {
  background: #fff;
}

.bg-gradient {
  background: linear-gradient(135deg, #0D8B81, #17375E);
  color: #fff;
}

/*===============================
TEXT
================================*/
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-primary { color: var(--ms-primary); }
.text-muted { color: var(--ms-muted); }

/*===============================
SHADOW
================================*/
.shadow-sm { box-shadow: var(--ms-shadow-sm); }
.shadow-md { box-shadow: var(--ms-shadow-md); }
.shadow-lg { box-shadow: var(--ms-shadow-lg); }

/*===============================
BORDER RADIUS
================================*/
.radius { border-radius: var(--ms-radius); }
.radius-lg { border-radius: var(--ms-radius-lg); }

/*===============================
ANIMATION BASE
================================*/
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: .8s;
}

.fade-up.active {
  opacity: 1;
  transform: none;
}

/*===============================
SELECTION
================================*/
::selection {
  background: var(--ms-primary);
  color: #fff;
}

/*===============================
SCROLLBAR
================================*/
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-thumb {
  background: var(--ms-primary);
  border-radius: 20px;
}

::-webkit-scrollbar-track {
  background: #EDF5F6;
}

/*===============================
ACCESSIBILITY
================================*/
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 3px solid rgba(13,139,129,.25);
  outline-offset: 3px;
}
