/* InsuranceClouds Shared Stylesheet */

/* CSS Variables */
:root {
  --blue-dark: #0c6fa0;
  --blue-mid: #1a8fc4;
  --blue-light: #d4e9f5;
  --blue-pale: #f0f7fc;
  --dark: #1a2a3a;
  --mid: #4a6070;
  --border: #d0e4ef;
  --white: #fff;
}

/* Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Libre Franklin', 'Helvetica Neue', helvetica, arial, sans-serif;
  color: var(--dark);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
}

/* Navigation */
nav {
  background: var(--blue-dark);
  position: sticky;
  top: 0;
  z-index: 999;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  padding: 6px 0;
  flex-shrink: 0;
  min-width: 120px;
}

.nav-logo a {
  display: block;
  line-height: 0;
}

.nav-logo small {
  display: block;
  font-size: .55rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  opacity: .7;
}

.nav-logo-img {
  height: 48px;
  width: auto;
  display: block;
  border: 5px solid white;
  border-radius: 3px;
}

.nav-links {
  display: flex;
  gap: 0;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, .85);
  text-decoration: none;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .3px;
  text-transform: uppercase;
  padding: 20px 10px;
  display: block;
  transition: color .2s, background .2s;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .12);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}

/* Hero Section - Homepage */
.hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  background: url('/wp-content/uploads/2019/05/bg.jpg') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(12, 111, 160, .92), rgba(12, 111, 160, .80) 55%, rgba(12, 111, 160, .60));
}

.hero-content {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 70px 32px;
  color: #fff;
  display: flex;
  gap: 48px;
  align-items: center;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -.5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .4);
}

.hero-text p {
  font-size: 1.1rem;
  max-width: 520px;
  opacity: 1;
  margin-bottom: 30px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .5);
}

.hero-logo-wrap {
  flex-shrink: 0;
  text-align: center;
}

.hero-logo-img {
  max-width: 320px;
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .3);
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--white);
  color: var(--blue-dark);
  padding: 14px 36px;
  border-radius: 3px;
  text-decoration: none;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .5px;
  text-transform: uppercase;
  transition: background .2s, transform .15s;
}

.btn:hover {
  background: var(--blue-light);
  transform: translateY(-1px);
}

.btn-blue {
  background: var(--blue-mid);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .4);
  margin-left: 12px;
}

.btn-blue:hover {
  background: var(--blue-dark);
  color: #fff;
}

.btn-dark {
  background: var(--blue-dark);
  color: #fff;
}

.btn-dark:hover {
  background: #085880;
  color: #fff;
}

/* Intro Strip */
.intro-strip {
  background: var(--blue-dark);
  color: #fff;
  text-align: center;
  padding: 28px 24px;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: .5px;
  word-break: break-word;
  overflow-wrap: break-word;
}

.intro-strip span {
  opacity: .85;
  font-weight: 400;
}

/* Sections */
section {
  padding: 70px 24px;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 10px;
}

h2.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 14px;
  line-height: 1.2;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--mid);
  max-width: 740px;
  margin-bottom: 46px;
}

.divider {
  width: 56px;
  height: 3px;
  background: var(--blue-mid);
  margin: 14px 0 20px;
}

/* Overview Section */
#overview {
  background: var(--blue-pale);
}

.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.overview-text p {
  color: var(--mid);
  margin-bottom: 16px;
  font-size: .97rem;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue-mid);
  border-radius: 4px;
  padding: 28px 24px;
  transition: box-shadow .2s, transform .2s;
}

.card:hover {
  box-shadow: 0 8px 28px rgba(12, 111, 160, .12);
  transform: translateY(-2px);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 10px;
}

.card p {
  font-size: .93rem;
  color: var(--mid);
  line-height: 1.6;
}

/* Features Section */
#features {
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

.feature-check {
  width: 24px;
  height: 24px;
  background: var(--blue-mid);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-item span {
  font-size: .95rem;
  color: var(--dark);
}

.feature-item em {
  font-size: .8rem;
  color: var(--mid);
  font-style: normal;
  margin-left: 6px;
}

/* AI Section */
#ai {
  background: var(--blue-pale);
}

.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.ai-text p {
  color: var(--mid);
  margin-bottom: 14px;
  font-size: .97rem;
}

/* Downloads Section */
.download-section {
  background: #f7fbff;
  border-top: 1px solid var(--border);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.download-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: box-shadow .2s;
}

.download-card:hover {
  box-shadow: 0 4px 16px rgba(12, 111, 160, .1);
}

.dl-icon {
  font-size: 2.4rem;
  flex-shrink: 0;
}

.dl-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 4px;
}

.dl-info p {
  font-size: .85rem;
  color: var(--mid);
  margin-bottom: 10px;
}

/* CTA Strip */
.cta-strip {
  background: var(--blue-dark);
  color: #fff;
  text-align: center;
  padding: 56px 24px;
}

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

.cta-strip p {
  opacity: .85;
  margin-bottom: 28px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
footer {
  background: #061520;
  color: #6a8fa8;
  text-align: center;
  padding: 26px 24px;
  font-size: .83rem;
}

footer a {
  color: #8ab5cd;
  text-decoration: none;
}

footer a:hover {
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .overview-grid,
  .ai-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    padding: 40px 16px;
  }
  
  .hero-text h1 {
    font-size: 1.75rem;
  }
  
  .hero-text p {
    font-size: 1rem;
  }
  
  .hero-logo-img {
    max-width: 220px;
    margin: 0 auto;
  }
  
  .hero-logo-wrap {
    display: block;
    margin-top: 24px;
  }
  
  h2.section-title {
    font-size: 1.5rem;
  }
  
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--blue-dark);
    padding: 12px 16px;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, .15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
  }
  
  .nav-links.open {
    display: flex;
  }
  
  .nav-links a {
    padding: 12px 0;
  }
  
  .nav-inner {
    position: relative;
    padding: 0 12px;
  }
  
  .nav-logo {
    min-width: 0;
    flex: 1;
  }
  
  .hamburger {
    display: block;
    flex-shrink: 0;
  }
  
  .nav-logo-img {
    height: 48px;
    width: auto;
    display: block;
    border: 5px solid white;
    border-radius: 3px;
  }
  
  section {
    padding: 40px 16px;
  }
}


/* Services Pages */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 30px;
  transition: box-shadow .2s, transform .2s;
}

.service-card:hover {
  box-shadow: 0 8px 28px rgba(12, 111, 160, .12);
  transform: translateY(-2px);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 15px;
}

.service-card p {
  color: var(--mid);
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-card a {
  color: var(--blue-mid);
  text-decoration: none;
  font-weight: 600;
}

.service-card a:hover {
  color: var(--blue-dark);
}

/* Case Studies Pages */
.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.case-study-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}

.case-study-card:hover {
  box-shadow: 0 8px 28px rgba(12, 111, 160, .12);
  transform: translateY(-2px);
}

.case-study-header {
  background: var(--blue-dark);
  color: var(--white);
  padding: 30px;
}

.case-study-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.case-study-header p {
  opacity: 0.9;
}

.case-study-body {
  padding: 30px;
}

.case-study-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 25px;
}

.stat {
  text-align: center;
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue-mid);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--mid);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.read-more {
  display: inline-block;
  color: var(--blue-mid);
  text-decoration: none;
  font-weight: 600;
  margin-top: 15px;
}

.read-more:hover {
  color: var(--blue-dark);
}

/* Blog Pages */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}

.blog-card:hover {
  box-shadow: 0 8px 28px rgba(12, 111, 160, .12);
  transform: translateY(-2px);
}

.blog-card-content {
  padding: 30px;
}

.blog-card-date {
  font-size: 0.85rem;
  color: var(--mid);
  margin-bottom: 10px;
}

.blog-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 15px;
  line-height: 1.3;
}

.blog-card p {
  color: var(--mid);
  line-height: 1.6;
  margin-bottom: 20px;
}

.blog-card a {
  color: var(--blue-mid);
  text-decoration: none;
  font-weight: 600;
}

.blog-card a:hover {
  color: var(--blue-dark);
}

.blog-content {
  max-width: 800px;
  margin: 0 auto;
}

.blog-content h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 20px;
  line-height: 1.2;
}

.blog-meta {
  color: var(--mid);
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.blog-content h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark);
  margin-top: 40px;
  margin-bottom: 20px;
}

.blog-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  margin-top: 30px;
  margin-bottom: 15px;
}

.blog-content p {
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 20px;
}

.blog-content ul,
.blog-content ol {
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 20px;
  padding-left: 30px;
}

.blog-content li {
  margin-bottom: 10px;
}

.blog-content blockquote {
  border-left: 4px solid var(--blue-mid);
  padding-left: 20px;
  margin: 30px 0;
  font-style: italic;
  color: var(--dark);
}

/* Inner Pages Hero */
.hero-inner {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
  color: var(--white);
  padding: 80px 24px;
  text-align: center;
  min-height: auto;
}

.hero-inner h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 15px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .4);
}

.hero-inner p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.95;
}

@media (max-width: 768px) {
  .case-studies-grid {
    grid-template-columns: 1fr;
  }
  
  .case-study-stats {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
}
