body {
  font-family: "Montserrat", sans-serif;
  color: #333;
  overflow-x: hidden;
}

/* NAVBAR */
.navbar {
  background-color: #000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.navbar-brand {
  font-weight: 600;
  font-size: 1.25rem;
  color: #fff;
}
.navbar-nav .nav-link {
  color: #fff;
}

.cta-btn {
  background-color: #e63946; /* Accent color for CTA button */
  color: #fff;
  border: none;
  font-weight: 600;
  border-radius: 4px;
  padding: 0.5rem 1rem;
}
.cta-btn:hover {
  background-color: #d62839;
}

/* HERO */
.hero {
  background: #000 url("https://picsum.photos/1600/900?grayscale") center/cover
    no-repeat;
  color: #fff;
  padding: 6rem 1rem;
  text-align: left;
  position: relative;
}
.hero-overlay {
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}
.hero ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}
.hero li {
  margin: 0.25rem 0;
}
.hero .btn-hero {
  background-color: #e63946;
  border: none;
  color: #fff;
  font-weight: 600;
  border-radius: 4px;
  padding: 0.75rem 1.5rem;
  margin-top: 1.5rem;
}
.hero .btn-hero:hover {
  background-color: #d62839;
}
.hero h2 a {
  color: #e63946; /* Red colour matching your CTA buttons */
  text-decoration: underline; /* Optional: underline for better visibility */
}

.hero h2 a:hover {
  color: #d62839; /* Darker shade on hover, matching your buttons */
}

/* LOGOS SECTION */
.logos-section {
  background-color: #f8f9fa;
  padding: 2rem 1rem;
  text-align: center;
}
.logos-section img {
  max-height: 30px;
  opacity: 0.7;
  margin: 1rem;
  transition: opacity 0.2s ease;
}
.logos-section img:hover {
  opacity: 1;
}

/* ABOUT / SERVICES */
#about,
#services {
  padding: 3rem 1rem;
}
#services {
  background-color: #f8f9fa;
  padding: 3rem 1rem;
}

#about h2,
#services h2 {
  font-weight: 600;
  text-align: left;
  margin-bottom: 1rem;
}
.subtitle {
  font-size: 1.25rem;
  color: #555;
  margin-bottom: 2rem;
}

/* BLOG */
#blog {
  background-color: #f8f9fa; /* grey */
  padding: 3rem 1rem;
}

#blog h2 {
  margin-bottom: 2rem;
  text-align: left;
}

.blog-header {
  background-color: #f8f9fa;
  padding: 2rem 1rem;
  text-align: center;
}

.blog-header h1 {
  font-weight: 600;
}
.blog-content {
  padding: 2rem 1rem;
}
.back-link {
  margin-top: 2rem;
  display: inline-block;
}
/* Add spacing between ordered list items */
.blog-content ol li + li {
  margin-top: 1.5rem;
}

.blog-card {
  background-color: #fff;
  border: none;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}
.blog-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
}
.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.blog-card-body {
  padding: 1rem;
}
.blog-card-body h5 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.blog-card-body p {
  font-size: 0.95rem;
  color: #555;
}
.blog-card-body a {
  text-decoration: underline;
  color: #e63946;
  font-weight: 500;
}
/* Horizontal blog card layout override */
.blog-card-horizontal {
  display: flex;
  align-items: flex-start;
  /* Optional: you can also add a fixed width or max-width if desired */
  /* max-width: 700px; */
}

.blog-card-horizontal img {
  /* Override the default .blog-card img rules here */
  width: 100px !important;
  height: auto !important;
  object-fit: cover;
  margin: 0.75rem;
  border-radius: 4px; /* optional if you want slightly rounded corners */
}

.blog-header {
  background-color: #f8f9fa;
  padding: 2rem 1rem;
  text-align: center;
}
.blog-header h1 {
  font-weight: 600;
}
.blog-content {
  padding: 2rem 1rem;
}
/* Limit the width of blog header and content */
.blog-header .container,
.blog-content .container {
  max-width: 800px;
  margin: 0 auto;
}
.back-link {
  margin-top: 2rem;
  display: inline-block;
}
/* Spacing between ordered list items */
.blog-content ol li + li {
  margin-top: 1.5rem;
}
/* Spacing between unordered list items */
.blog-content ul li + li {
  margin-top: 1.5rem;
}
blockquote {
  border-left: 4px solid #ccc;
  padding-left: 1rem;
  color: #555;
  font-style: italic;
}

/* CONTACT */
#contact {
  padding: 3rem 1rem;
  background-color: #f8f9fa;
}
#contact h2 {
  text-align: left;
  margin-bottom: 1rem;
}
#contact p {
  color: #555;
  margin-bottom: 2rem;
}
#contact input,
#contact textarea {
  margin-bottom: 1rem;
  border-radius: 4px;
}
#contact button {
  background-color: #e63946;
  border: none;
  color: #fff;
  font-weight: 600;
  border-radius: 4px;
  padding: 0.75rem 1.5rem;
}
#contact button:hover {
  background-color: #d62839;
}

 /* PACKAGES SECTION */
 #packages {
  padding: 3rem 1rem;
}
#packages h2 {
  font-weight: 600;
  text-align: left;
  margin-bottom: 1rem;
}
.package-card {
  border: none;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
  background-color: #fff;
}
.package-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
}
/* Updated rule to style any element with the card-img-top class */
.package-card .card-img-top {
  width: 100%;
  height: 200px;
  border-bottom: 1px solid #000;
}
/* Make card body flex so the button stays at the bottom */
.package-card .card-body {
  display: flex;
  flex-direction: column;
  padding: 1rem;
}
.package-card .card-title {
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.package-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}
.package-card ul li {
  margin-bottom: 0.5rem;
}

.btn-primary {
  background-color: #e63946;
  border-color: #e63946;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: #d62839 !important;
  border-color: #d62839 !important;
}

/* FOOTER */
footer {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 1rem;
}
footer a {
  color: #e63946;
  margin: 0 0.5rem;
  text-decoration: none;
  font-weight: 500;
}
footer a:hover {
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero ul {
    margin: 1rem 0;
  }
}

.iframe-container {
  position: relative;
  width: 100%;
  margin-top: 0 !important;
  padding-top: 0 !important;
  overflow: hidden;
}

.iframe-container iframe {
  top: 0;
  width: 100%;
  border: none;
  height: 90vh; /* Default height for desktop */
}

.try-it-out-section {
  background-color: #706e6e;
  color: #fff;
  padding: 2rem;
  border-radius: 8px;
  margin-top: 2rem;
  text-align: center;
}

.try-it-out-section h3 {
  font-size: 1.75rem;
  font-weight: 600;
}

.try-it-out-section p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.try-it-out-btn {
  background-color: #fff;
  color: #e63946;
  border: none;
  font-weight: 600;
  border-radius: 4px;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.try-it-out-btn:hover {
  background-color: #f1f1f1;
  color: #e63946;
}

/* ABOUT / SERVICES */
#about,
#process,
#services {
  padding: 3rem 1rem;
}
#services {
  background-color: #f8f9fa;
  padding: 3rem 1rem;
}
/* SERVICE CARD - ensures links line up at the bottom */
.service-card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

#about h2,
#services h2,
#ai-search h2 {
  font-weight: 600;
  text-align: left;
  margin-bottom: 1rem;
}
.subtitle {
  font-size: 1.25rem;
  color: #555;
  margin-bottom: 2rem;
}

/* AI SEARCH SECTION */
#ai-search {
  padding: 3rem 1rem;
}
.ai-search-content {
  font-size: 1rem;
  color: #333;
}
.ai-search-content h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: 600;
}
.ai-search-content ul {
  list-style: disc;
  padding-left: 1
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
  .iframe-container iframe {
    min-height: 100vh; /* Adjust to full viewport height on mobile */
  }
}
