/* ------------------------- */
/*  Import Poppins Font      */
/* ------------------------- */
@import url('https://fonts.googleapis.com/css?family=Poppins&display=swap');

/* ------------------------- */
/*  Global Reset & Base Styles */
/* ------------------------- */
* {
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
body {
  margin: 0;
  padding: 0;
  background: url('img/continuous-bg.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #fff;
  text-align: center;
}

/* Ensure all buttons are square */
.btn {
  border-radius: 0 !important;
}

/* ------------------------- */
/*  Navbar Styles            */
/* ------------------------- */
.navbar {
  background: transparent;
  padding: 1rem 2rem;
}
.navbar .nav-link {
  color: #fff !important;
  font-size: 1rem;
  font-weight: 400;
  text-transform: uppercase;
  margin: 0 1rem;
}
.navbar-brand img {
  max-height: 50px;
}
header nav .nav-item:after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  transition: 0.3s;
  opacity: 0;
}
header nav .nav-item:hover:after {
  opacity: 1;
}

/* ------------------------- */
/*  Header / Hero Section    */
/* ------------------------- */
header {
  height: 100vh;
  width: 100%;
  background-color: transparent;
}
.header_inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 800px;
  padding-top: 14rem;
  padding-bottom: 14rem;
  font-size: 16px;
  color: #000;
}
.header_inner h1 {
  font-size: 60px;
  font-weight: 700; /* Bold heading */
  margin-bottom: 1rem;
}
.header_inner p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  font-weight: 400;
}
.header_inner .view {
  background-color: #fff;
  color: #3AAAD8;
  border: 2px solid #fff;
  border-radius: 0; /* Square buttons */
  padding: 10px 25px;
  font-size: 1.1rem;
  font-weight: 700;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.header_inner .view:hover {
  background-color: #3AAAD8;
  color: #fff;
  border: 1px solid #000;
}

/* ------------------------- */
/*  Section Styling          */
/* ------------------------- */

/* About Section styling is now applied to the #about container */
#about h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #222;  /* Dark text for legibility */
  font-weight: 700;
}
#about p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #333;  /* Dark text for legibility */
  font-weight: 400;
}
.about_section img {
  max-width: 100%;
  border-radius: 10px;
}

/* Blog Preview Section */
.blog_preview {
  padding: 4rem 1rem;
  background: rgba(0, 0, 0, 0.6);
}
.blog_preview h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #fff;
  font-weight: 700;
}
.blog_preview .card {
  margin-bottom: 2rem;
  border: none;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog_preview .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.blog_preview .card-img-top {
  height: 200px;
  object-fit: cover;
}
.blog_preview .card-body {
  background: #fff;
  color: #333;
  text-align: center;
}
.blog_preview .card-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #222 !important;
  font-weight: 700;
}
.blog_preview .card-text {
  font-size: 1rem;
  font-weight: 400;
}
.blog_preview .card-footer {
  background: transparent;
  border: none;
}

/* ------------------------- */
/*  Additional Component Styles */
/* ------------------------- */
.robots_section {
  padding-top: 5rem;
  text-align: center;
  color: #777;
}
.robots_section h2 {
  font-weight: 700;
  color: #222;
}
.box {
  text-align: center;
  box-shadow: 0 10px 30px rgba(212, 150, 255, 0.2);
  padding-top: 2rem;
  padding-left: 0;
  padding-right: 0;
}
.box:hover .details {
  background-image: linear-gradient(0deg, #828fff 0%, #d496ff 100%);
  border-color: #000;
  color: #fff;
  transition: 0.3s;
}
.text_wrap {
  width: 100%;
  background-color: #f9f9ff;
  color: #777;
  padding-bottom: 2rem;
}
::selection {
  background-color: #8a90ff;
  color: #fff;
}
.text_wrap h2 {
  font-size: 22px;
  font-weight: 700;
  color: #000;
}
.text_wrap a {
  background: #fff;
  padding: 0 1.5rem;
  color: #000;
}
.right_wrap h2 {
  font-weight: 700;
  color: #222;
}
.right_wrap {
  padding-top: 10rem;
  padding-right: 25rem;
  padding-left: 5rem;
  font-size: 15px;
}
@media (max-width: 1440px) {
  .right_wrap {
    padding-right: 15px;
    padding-left: 15px;
  }
}
.det {
  background-image: linear-gradient(0deg, #3AAAD8 0%, #3AAAD8 100%);
  border-color: #8a90ff;
  color: #fff;
  transition: 0.8s;
}
.left_wrap {
  padding-left: 0;
}
.det:hover {
  background: transparent;
  color: #000;
  border-color: #000;
  transition: 0.5s;
}
.about_us {
  padding-top: 10rem;
}
.smallText {
  color: #8a90ff;
  font-weight: 400;
}
.largeText {
  font-weight: 700;
  color: #222;
}
.darkText {
  font-weight: 700;
  color: #222;
  font-size: 15px;
}
.left_row {
  font-size: 14px;
  color: #777;
}
.right_row {
  position: relative;
  background: url('img/video-bg.jpg') no-repeat top center;
  background-size: cover;
  height: 330px;
}
.right_row a {
  color: #fff;
  text-align: center;
  font-size: 5rem;
  position: absolute;
  z-index: 1000;
}
.right_row a:hover {
  text-decoration: none;
  color: rgba(255,255,255,0.6);
}
.overlay {
  position: absolute;
  opacity: 0.8;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background-image: linear-gradient(0deg, #3AAAD8 0%, #d496ff 100%);
}
.card {
  cursor: pointer;
  margin-bottom: 2rem;
  border-radius: 0 !important;
}
.card:hover a {
  color: #8a90ff;
  transition: 0.3s;
}
.card-title a {
  font-size: 18px;
  text-decoration: none;
  color: #222;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}
.card-title a:hover {
  text-decoration: none;
}
.features h2,
.features h4 {
  color: #fff;
}
.features h4 {
  font-size: 18px;
}
.features {
  background: url('img/feature-bg.jpg') no-repeat top center;
  background-size: cover;
  padding-bottom: 6rem;
}
.card-text {
  color: #777;
  font-size: 0.8rem;
  font-weight: 400;
}

/* ------------------------- */
/*  Overrides for Headings and Cards  */
/* ------------------------- */
h5 {
  color: #222;
  font-weight: 700;
}
.card,
.card-body {
  background: #fff;
  color: #333;
}
.card-title {
  color: #222 !important;
  font-weight: 700;
}
.card-title a {
  color: #222;
  text-decoration: none;
}

/* ------------------------- */
/*  Specific Overrides for the About Section and Meet the Team Button  */
/* ------------------------- */
#about h2 {
  color: #222;
  font-weight: 700;
}
#about p {
  color: #333;
  font-weight: 400;
}
.btn.btn-primary {
  background-color: #3AAAD8;
  border: none;
  color: #fff;
  font-weight: 700;
}
.btn.btn-primary:hover {
  background-color: #2A8AC0;
}

/* ------------------------- */
/*  Footer Styles            */
/* ------------------------- */
.footer {
  background: url('img/footer-bg.jpg') no-repeat center center;
  background-size: cover;
  padding: 4rem 1rem;
  color: #fff;
}
.footer .partnerts {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}
.footer .partnerts img {
  max-width: 150px;
  filter: grayscale(100%);
  transition: filter 0.3s ease, transform 0.3s ease;
}
.footer .partnerts img:hover {
  filter: grayscale(0);
  transform: scale(1.05);
}
.footer p {
  font-size: 1rem;
}

/* ------------------------- */
/*  Responsive Media Query   */
/* ------------------------- */
@media (max-width: 768px) {
  .header_inner h1 {
    font-size: 2.5rem;
  }
  .header_inner p {
    font-size: 1rem;
  }
  .navbar .nav-link {
    font-size: 0.9rem;
  }
}
html {
  scroll-behavior: smooth;
}

/* ------------------------- */
/*  Minimalist Carousel Styling  */
/* ------------------------- */
.carousel-section {
  padding: 2rem 0;
  background: transparent;
}
.carousel-inner img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
}
.carousel-section { margin-top: 0 !important; }
/* ------------------------- */
/*  Blog Section (Header Blog Cards) */
/* ------------------------- */
.blog-container {
  margin-top: 50px;
}

.blog-card {
  background: #fff;
  color: #000;
  border-radius: 0; /* Square corners to match your style */
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.blog-card .card-body {
  padding: 15px;
  text-align: center; /* Center titles & buttons */
}

.blog-card h5 {
  font-weight: 700;
  color: #222;
  text-align: center;
  margin-bottom: 10px;
}

.btn.read {
  background-color: #3AAAD8;
  color: #fff;
  border-radius: 0;
  padding: 6px 18px;
  font-weight: 600;
  transition: 0.3s ease;
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-block;
  margin-top: 10px;
}

.btn.read:hover {
  background-color: #2A8AC0;
  color: #fff;
}

/* Remove white space between header and carousel */
.header {
  overflow: hidden; /* Prevents collapsing margins */
}

.header_inner h1 {
  margin: 0 0 30px 0;
}

#carousel,
.carousel-section {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Optional: Hide Carousel Controls for a cleaner look (Uncomment if desired) */
/*
.carousel-control-prev,
.carousel-control-next {
  display: none;
}
*/
/* Blog articles (no cards version) */
.blog-article {
  background: rgba(255, 255, 255, 0.9);
  color: #000;
  padding: 2rem;
  border-radius: 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  text-align: left;
}

.blog-article h2 {
  font-weight: 700;
  margin-bottom: 1rem;
}

.blog-article p {
  font-size: 1.1rem;
  line-height: 1.7;
}
.navbar.navbar-light,
.navbar.navbar-light.bg-light {
  background-color: #3AAAD8 !important;
  background-image: none !important;
  box-shadow: none !important;
}
.scroll-arrow {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 25px;
  height: 25px;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  animation: arrowBounce 1.6s infinite;
  z-index: 5;
}

@keyframes arrowBounce {
  0% {
    opacity: 0;
    transform: translateX(-50%) rotate(45deg) translate(0, 0);
  }
  40% {
    opacity: 1;
  }
  70% {
    transform: translateX(-50%) rotate(45deg) translate(6px, 6px);
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) rotate(45deg) translate(10px, 10px);
  }
}

