
/* Global styles */
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #ffffff;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
header {
  background: #ffffff;
  position: fixed;
  top: 40px; /* below the assets callout bar */
  width: 100%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 15;
}

header .logo {
  font-size: 1.6rem;
  font-weight: bold;
  color: #0a5fa3;
  margin: 0;
  padding: 15px 0;
}

header nav {
  float: right;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 15px 0;
  display: block;
}

.nav-links li a:hover {
  color: #0a5fa3;
}

/* Hero section */
.hero {
  position: relative;
  background-image: url('images/hero.jpg');
  background-size: cover;
  background-position: center;
  height: 400px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  margin-top: 120px; /* offset for assets callout and header */
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.45);
}

/* Callout inside hero for assets link */
.hero-assets-callout {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.9);
  padding: 8px 16px;
  border-radius: 20px;
  color: #0a5fa3;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  z-index: 3;
}

.hero-assets-callout .btn.small-btn {
  margin-top: 0;
}

.hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin-top: 0;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.btn {
  background: #0a5fa3;
  color: #fff;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: background 0.2s ease-in-out;
}

.btn:hover {
  background: #094a84;
}

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

section h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  text-align: center;
  color: #0a5fa3;
}

/* Services */
.services-grid {
  /* The services-grid acts as a container for rows; individual rows handle layout */
  display: block;
  margin: 0;
}

.service-item {
  background: #f7f9fc;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.service-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Service images */
.service-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  margin-bottom: 10px;
}

.service-item h3 {
  margin-top: 10px;
  margin-bottom: 10px;
  color: #0a5fa3;
}

.service-item p {
  font-size: 0.9rem;
}

/* Services layout rows */
.services-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .services-row {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

/* Why Work With Us */
.why-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.5;
}

.why-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
}

.why-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #0a5fa3;
  font-weight: bold;
}

/* Process */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.step {
  text-align: center;
}

.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0a5fa3;
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.step h3 {
  margin-bottom: 10px;
  color: #0a5fa3;
  font-size: 1.2rem;
}

.step p {
  font-size: 0.9rem;
  max-width: 300px;
  margin: 0 auto;
}

.step a {
  color: #0a5fa3;
  text-decoration: underline;
}

/* Portfolio columns and carousel styles */
.portfolio-columns {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.carousel-column {
  flex: 1;
  min-width: 300px;
  position: relative;
}

.carousel-column h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #0a5fa3;
  text-align: center;
}

.carousel {
  overflow: hidden;
}

.carousel .slide {
  display: none;
}

.carousel .before-after-images {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.carousel .before-after-images img {
  width: 48%;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.carousel .slide img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 95, 163, 0.8);
  color: #fff;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 1.2rem;
  z-index: 2;
}

.carousel-btn.prev {
  left: 5px;
}

.carousel-btn.next {
  right: 5px;
}

@media (max-width: 768px) {
  .portfolio-columns {
    flex-direction: column;
  }
  header nav {
    display: none;
  }
  header .logo {
    padding-left: 10px;
  }
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.pricing-item {
  background: #f7f9fc;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.pricing-item h3 {
  margin-bottom: 10px;
  color: #0a5fa3;
}

.pricing-item .price {
  margin-bottom: 10px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
}

.pricing-features li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.pricing-features li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #0a5fa3;
  font-weight: bold;
}

.pricing-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.btn.small-btn {
  padding: 8px 16px;
  font-size: 0.9rem;
}

.btn.secondary-btn {
  background: #e9f1f9;
  color: #0a5fa3;
  border: 1px solid #0a5fa3;
}

.btn.secondary-btn:hover {
  background: #d9e9f5;
}

/* Header assets callout */
.header-assets-callout {
  position: fixed;
  top: 0;
  width: 100%;
  background: #e9f4fc;
  padding: 8px 20px;
  text-align: center;
  color: #0a5fa3;
  font-size: 0.9rem;
  border-bottom: 1px solid #c5ddf1;
  z-index: 20;
}

.header-assets-callout p {
  margin: 0;
  display: inline;
}

.header-assets-callout .btn.small-btn {
  margin-left: 12px;
  margin-top: 0;
}

/* Pricing discount styles */
.original-price {
  text-decoration: line-through;
  color: #888;
  font-size: 1rem;
}

.discounted-price {
  color: #d9534f;
  font-size: 1.6rem;
  font-weight: bold;
}

/* Blog styles */
.blog-hero {
  background-color: #f7f9fc;
  padding: 60px 0;
  text-align: center;
}

.blog-hero h2 {
  margin: 0;
  font-size: 2rem;
  color: #0a5fa3;
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.blog-post {
  background: #f7f9fc;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  text-align: left;
}

.blog-post h3 {
  color: #0a5fa3;
  margin-bottom: 8px;
}

.blog-post p {
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.blog-post .read-more {
  color: #0a5fa3;
  font-weight: bold;
  text-decoration: none;
}

.blog-post .read-more:hover {
  text-decoration: underline;
}

/* Assets grid styles */
.asset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.asset-item {
  background: #f7f9fc;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  text-align: center;
}

.asset-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  margin-bottom: 15px;
}

.asset-item h3 {
  color: #0a5fa3;
  margin-bottom: 10px;
}

.asset-item p {
  font-size: 0.9rem;
  margin-bottom: 15px;
}

/* Service detail */
.detail-hero {
  background-color: #f7f9fc;
  padding: 60px 0;
  text-align: center;
}

.detail-hero h2 {
  margin: 0;
  font-size: 2rem;
  color: #0a5fa3;
}

.service-detail {
  max-width: 900px;
  margin: 0 auto;
}

.detail-images {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
  justify-content: center;
}

.detail-images img {
  flex: 1 1 45%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.service-detail ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.service-detail li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.service-detail li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #0a5fa3;
  font-weight: bold;
}

.service-detail .cta-buttons {
  margin-top: 30px;
  display: flex;
  justify-content: flex-start;
  gap: 15px;
}

/* Footer */
footer {
  background: #0a5fa3;
  color: #fff;
  padding: 20px 0;
  text-align: center;
  font-size: 0.9rem;
}
