/* 
 * Home Page Styles
 * Contains all styles specific to the home page
 */

/* Hero section */
.vh-70 {
  position: relative;
  overflow: hidden;
  /* color: #fff; */
}

.vh-70 h2 {
  /* font-size: 2rem; */
  font-weight: 700;
  margin-bottom: 1.5rem;
  /* color: #fff; */
}

.vh-70 p {
  /* font-size: 1.25rem; */
  margin-bottom: 2rem;
  max-width: 600px;
  /* color: #fff; */
}

.video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  /* filter: brightness(0.5); */
}

/* Typing animation container */
.typing-container {
  display: inline-block;
  /* color: #fff; */
  /* font-size: 3.5rem; */
  font-weight: 700;
}

/* Services section */
.home-services {
  padding: 5rem 0;
}

.home-services h2 {
  margin-bottom: 3rem;
  text-align: center;
  color: #0056b3;
}

.service-card {
  background-color: #fff;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  height: 100%;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card .service-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: #0056b3;
}

.service-card h3 {
  margin-bottom: 1rem;
  font-weight: 600;
  color: #333;
}

/* About section */
.home-about {
  background-color: #f8f9fa;
  padding: 5rem 0;
}

.home-about h2 {
  margin-bottom: 1.5rem;
  color: #0056b3;
}

.home-about p {
  margin-bottom: 2rem;
}

.about-image {
  max-width: 100%;
  border-radius: 0.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Stats section */
.home-stats {
  padding: 5rem 0;
  text-align: center;
}

.home-stats h2 {
  margin-bottom: 3rem;
  text-align: center;
  color: #0056b3;
}

.stat-item {
  margin-bottom: 2rem;
}

.stat-value {
  font-size: 3rem;
  font-weight: 700;
  color: #0056b3;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.25rem;
  color: #333;
}

/* Testimonials section */
.home-testimonials {
  background-color: #f8f9fa;
  padding: 5rem 0;
}

.home-testimonials h2 {
  margin-bottom: 3rem;
  text-align: center;
  color: #0056b3;
}

.testimonial-card {
  background-color: #fff;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  height: 100%;
}

.testimonial-card .quote {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  color: #333;
}

.testimonial-card .client {
  display: flex;
  align-items: center;
}

.testimonial-card .client-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 1rem;
}

.testimonial-card .client-info h5 {
  margin-bottom: 0.25rem;
  color: #333;
}

.testimonial-card .client-info p {
  color: #6c757d;
  margin-bottom: 0;
}

/* Featured case studies section */
.home-case-studies {
  padding: 5rem 0;
}

.home-case-studies h2 {
  margin-bottom: 3rem;
  text-align: center;
  color: #0056b3;
}

.case-study-card {
  background-color: #fff;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  height: 100%;
  transition: transform 0.3s ease;
}

.case-study-card:hover {
  transform: translateY(-10px);
}

.case-study-image {
  height: 200px;
  overflow: hidden;
}

.case-study-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.case-study-card:hover .case-study-image img {
  transform: scale(1.05);
}

.case-study-content {
  padding: 2rem;
}

.case-study-content h3 {
  margin-bottom: 1rem;
  font-weight: 600;
  color: #333;
}

.case-study-content .excerpt {
  margin-bottom: 1.5rem;
  color: #333;
}

/* Blog section */
.home-blog {
  background-color: #f8f9fa;
  padding: 5rem 0;
}

.home-blog h2 {
  margin-bottom: 3rem;
  text-align: center;
  color: #0056b3;
}

.blog-card {
  background-color: #fff;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  height: 100%;
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-10px);
}

.blog-image {
  height: 200px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-content {
  padding: 2rem;
}

.blog-content .blog-date {
  color: #6c757d;
  margin-bottom: 0.5rem;
}

.blog-content h3 {
  margin-bottom: 1rem;
  font-weight: 600;
  color: #333;
}

.blog-content .excerpt {
  margin-bottom: 1.5rem;
  color: #333;
}

/* CTA section */
.home-cta {
  background-color: #0056b3;
  color: #fff;
  padding: 5rem 0;
  text-align: center;
}

.home-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.home-cta p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.home-cta .btn-light {
  padding: 0.75rem 2rem;
  font-weight: 500;
}

/* Clients section */
.home-clients {
  padding: 5rem 0;
}

.home-clients h2 {
  margin-bottom: 3rem;
  text-align: center;
  color: #0056b3;
}

.client-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  margin-bottom: 2rem;
  padding: 1rem;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.client-logo:hover {
  filter: grayscale(0);
  opacity: 1;
}

.client-logo img {
  max-width: 100%;
  max-height: 100%;
}

/* Responsive styles */
@media (max-width: 991.98px) {
  .vh-70 h2, .typing-container {
    font-size: 2.5rem;
  }
  
  .vh-70 p {
    font-size: 1.1rem;
  }
  
  .stat-value {
    font-size: 2.5rem;
  }
  
  .home-cta h2 {
    font-size: 2rem;
  }
  
  .home-cta p {
    font-size: 1.1rem;
  }
}

@media (max-width: 767.98px) {
  .vh-70 h2, .typing-container {
    font-size: 2rem;
  }
  
  .vh-70 p {
    font-size: 1rem;
    color: #333; /* Darker text for better contrast on mobile */
  }
  
  .about-image {
    margin-top: 2rem;
  }
  
  .client-logo {
    height: 80px;
  }
  
  /* Override the container background on mobile */
  .vh-70 .container {
    /*background-color: rgba(255, 255, 255, 0.8);*/
    border-radius: 10px;
    padding: 20px;
  }
  
  /* Change text color for better contrast on mobile */
  .vh-70 h5 {
    color: #333;
  }
}

