/**
* Template Name: BizLand
* Updated: Mar 10 2024 with Bootstrap v5.3.3
* Template URL: https://bootstrapmade.com/bizland-bootstrap-business-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Open Sans", sans-serif;
  color: #444444;
  background: #3e4e71;
  padding-top: 86px; /* Adjust if your header height changes */
}

a {
  color: #3e4e71;
  text-decoration: none;
}

a:hover {
  color: #3b8af2;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Roboto", sans-serif;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #fff;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #3e4e71;
  border-top-color: #e2eefd;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #3e4e71;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #3284f1;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Top Bar
--------------------------------------------------------------*/
#topbar {
  background: #3e4e71;
  height: 40px;
  font-size: 14px;
  transition: all 0.5s;
  color: #fff;
  padding: 0;
}

#topbar .contact-info i {
  font-style: normal;
  color: #fff;
}

#topbar .contact-info i a,
#topbar .contact-info i span {
  padding-left: 5px;
  color: #fff;
}

#topbar .contact-info i a {
  line-height: 0;
  transition: 0.3s;
  transition: 0.3s;
}

#topbar .contact-info i a:hover {
  color: #fff;
  text-decoration: underline;
}

#topbar .social-links a {
  color: rgba(255, 255, 255, 0.7);
  line-height: 0;
  transition: 0.3s;
  margin-left: 20px;
}

#topbar .social-links a {
  font-size: 2em;
  margin: 0 10px;
  display: inline-block;
  transition: transform 0.2s, color 0.2s;
  color: #3e4e71;
  text-decoration: none;
}

#topbar .social-links a:hover {
  transform: scale(1.2);
  color: #222c44;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #fff;
  transition: all 0.5s;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

#header.fixed-top {
  height: 70px;
}

#header .logo {
  font-size: 30px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.8px;
  font-family: "Poppins", sans-serif;
}

#header .logo a {
  color: #222222;
}

#header .logo a span {
  color: #3e4e71;
}

#header .logo img {
  max-height: 70px;
}

/* Logo sizing and alignment for mobile */
#header .logo {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  height: 60px;
}

#header .logo img {
  max-height: 85px;
  width: auto;
  height: auto;
  display: block;
}

@media (max-width: 900px) {
  #header .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-left: 8px;
    padding-right: 8px;
    height: 60px;
  }
  #header .logo {
    margin: 0;
    padding: 0;
    height: 60px;
  }
  #header .logo img {
  max-height: 100px;
    width: auto;
    height: auto;
  }
}

.scrolled-offset {
  margin-top: 70px;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar>ul>li {
  white-space: nowrap;
  padding: 10px 0 10px 28px;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3px;
  font-size: 15px;
  font-weight: 600;
  color: #222222;
  white-space: nowrap;
  transition: 0.3s;
  position: relative;
}

.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar>ul>li>a:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -6px;
  left: 0;
  background-color: #3e4e71;
  visibility: hidden;
  width: 0px;
  transition: all 0.3s ease-in-out 0s;
}

.navbar a:hover:before,
.navbar li:hover>a:before,
.navbar .active:before {
  visibility: visible;
  width: 100%;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
  color: #3e4e71;
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 28px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  font-weight: 400;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover>a {
  color: #3e4e71;
}

.navbar .dropdown:hover>ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover>ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover>ul {
    left: -100%;
  }
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: #222222;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

.mobile-nav-toggle.bi-x {
  color: #fff;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(9, 9, 9, 0.9);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: #222222;
}

.navbar-mobile>ul>li {
  padding: 0;
}

.navbar-mobile a:hover:before,
.navbar-mobile li:hover>a:before,
.navbar-mobile .active:before {
  visibility: hidden;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
  color: #3e4e71;
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
  margin: 15px;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover>a {
  color: #3e4e71;
}

.navbar-mobile .dropdown>.dropdown-active {
  display: block;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 100vh;
  background: none !important; /* Remove old background */
  position: relative;
  min-height: 100vh;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

/* Remove the old #hero:before overlay */
#hero:before {
  display: none !important;
}

/* Diagonal split backgrounds */
.hero-diagonal {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  overflow: hidden;
  z-index: 1;
}

.hero-left, .hero-right {
  position: relative;
  min-height: 100vh;
  z-index: 1;
}

/* Make the diagonal cut sharper and the images touch the thin line */
.hero-left {
  background: url('../img/before.jpg') center center/cover no-repeat;
  clip-path: polygon(0 0, 100% 0, 100.7% 100%, 0 100%);
  z-index: 1;
}

.hero-right {
  background: url('../img/after.jpg') center center/cover no-repeat;
  clip-path: polygon(2.3% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 1;
}

/* Thin diagonal line exactly between the images */
.hero-diagonal-line {
  position: absolute;
  top: 86px; /* Height of your header */
  left: 50%;
  width: 3px;
  height: calc(100% - 86px);
  background: linear-gradient(to bottom, #fff 0%, #3e4e71 100%);
  z-index: 3;
  transform: skew(-20deg);
  margin-left: -1.5px; /* Center the line on the split */
  pointer-events: none;
}

.btn-get-started,
.btn-watch-video {
  background: #fff !important;
  color: #3e4e71 !important;
  border: none;
  border-radius: 4px;
  padding: 12px 32px;
  font-weight: 700;
  font-size: 1.1em;
  margin-right: 18px;
  box-shadow: 0 2px 12px rgba(62,78,113,0.10);
  transition: background 0.2s, color 0.2s;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  pointer-events: auto;
}

.btn-get-started:hover,
.btn-watch-video:hover {
  background: #3e4e71 !important;
  color: #fff !important;
  text-decoration: none;
}

.btn-watch-video span:first-child {
  font-size: 1.1em;
  margin-right: 11px;
  color: inherit;
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}

.section-bg {
  background-color: #f6f9fe;
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 13px;
  letter-spacing: 1px;
  font-weight: 700;
  padding: 8px 20px;
  margin: 0;
  background: #e7f1fd;
  color: #3e4e71;
  display: inline-block;
  text-transform: uppercase;
  border-radius: 50px;
}

.section-title h3 {
  margin: 15px 0 0 0;
  font-size: 32px;
  font-weight: 700;
}

.section-title h3 span {
  color: #000;
}

.section-title p {
  margin: 15px auto 0 auto;
  font-weight: 600;
}

@media (min-width: 1024px) {
  .section-title p {
    width: 50%;
  }
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 20px 0;
  background-color: #f1f6fe;
  min-height: 40px;
}

.breadcrumbs h2 {
  font-size: 24px;
  font-weight: 300;
  margin: 0;
}

@media (max-width: 992px) {
  .breadcrumbs h2 {
    margin: 0 0 10px 0;
  }
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.breadcrumbs ol li+li {
  padding-left: 10px;
}

.breadcrumbs ol li+li::before {
  display: inline-block;
  padding-right: 10px;
  color: #6c757d;
  content: "/";
}

@media (max-width: 768px) {
  .breadcrumbs .d-flex {
    display: block !important;
  }

  .breadcrumbs ol {
    display: block;
  }

  .breadcrumbs ol li {
    display: inline-block;
  }
}

/*--------------------------------------------------------------
# Featured Services
--------------------------------------------------------------*/
.featured-services .icon-box {
  padding: 30px;
  position: relative;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 29px 0 rgba(68, 88, 144, 0.12);
  transition: all 0.3s ease-in-out;
  border-radius: 8px;
  z-index: 1;
}

.featured-services .icon-box::before {
  content: "";
  position: absolute;
  background: #cbe0fb;
  right: 0;
  left: 0;
  bottom: 0;
  top: 100%;
  transition: all 0.3s;
  z-index: -1;
}

.featured-services .icon-box:hover::before {
  background: #3e4e71;
  top: 0;
  border-radius: 0px;
}

.featured-services .icon {
  margin-bottom: 15px;
}

.featured-services .icon i {
  font-size: 48px;
  line-height: 1;
  color: #3e4e71;
  transition: all 0.3s ease-in-out;
}

.featured-services .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}

.featured-services .title a {
  color: #111;
}

.featured-services .description {
  font-size: 15px;
  line-height: 28px;
  margin-bottom: 0;
}

.featured-services .icon-box:hover .title a,
.featured-services .icon-box:hover .description {
  color: #fff;
}

.featured-services .icon-box:hover .icon i {
  color: #fff;
}

/* Diagonal split for Featured Services */
.featured-services-diagonal {
  display: flex;
  min-height: 350px;
  position: relative;
  overflow: hidden;
}

.fs-image {
  flex: 0 0 30%;
  background: url('../img/1.jpg') center center/cover no-repeat;
  position: relative;
  z-index: 1;
}

.fs-content {
  flex: 0 0 70%;
  background: #fff;
  padding: 40px 5vw 40px 5vw;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

/* Thin diagonal line between image and content */
.featured-services-diagonal::before {
  content: "";
  position: absolute;
  left: 30%;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(
    to bottom right,
    transparent 0%,
    #3e4e71 40%,
    #3e4e71 60%,
    transparent 100%
  );
  transform: skewY(-10deg);
  z-index: 3;
}

/* Responsive for mobile */
@media (max-width: 900px) {
  .featured-services-diagonal {
    flex-direction: column;
    min-height: 0;
  }
  .fs-image, .fs-content {
    flex: 1 1 100%;
    min-height: 180px;
  }
  .featured-services-diagonal::before {
    display: none;
  }
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about .content h3 {
  font-weight: 600;
  font-size: 26px;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 35px;
}

.about .content ul li:first-child {
  margin-top: 35px;
}

.about .content ul i {
  background: #fff;
  box-shadow: 0px 6px 15px rgba(16, 110, 234, 0.12);
  font-size: 24px;
  padding: 20px;
  margin-right: 15px;
  color: #3e4e71;
  border-radius: 50px;
}

.about .content ul h5 {
  font-size: 18px;
  color: #555555;
}

.about .content ul p {
  font-size: 15px;
}

.about .content p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Skills
--------------------------------------------------------------*/
.skills .progress {
  height: 60px;
  display: block;
  background: none;
  border-radius: 0;
}

.skills .progress .skill {
  padding: 0;
  margin: 0 0 6px 0;
  text-transform: uppercase;
  display: block;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  color: #222222;
}

.skills .progress .skill .val {
  float: right;
  font-style: normal;
}

.skills .progress-bar-wrap {
  background: #e2eefd;
  height: 10px;
}

.skills .progress-bar {
  width: 1px;
  height: 10px;
  transition: 0.9s;
  background-color: #3e4e71;
}

/*--------------------------------------------------------------
# Counts
--------------------------------------------------------------*/
.counts {
  padding: 70px 0 60px;
}

.counts .count-box {
  padding: 30px 30px 25px 30px;
  width: 100%;
  position: relative;
  text-align: center;
  background: #f1f6fe;
}

.counts .count-box i {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  background: #3e4e71;
  color: #fff;
  width: 56px;
  height: 56px;
  line-height: 0;
  border-radius: 50px;
  border: 5px solid #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.counts .count-box span {
  font-size: 36px;
  display: block;
  font-weight: 600;
  color: #062b5b;
}

.counts .count-box p {
  padding: 0;
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
}

.counts-row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.count-box {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(62, 78, 113, 0.10);
  padding: 32px 24px 24px 24px;
  text-align: center;
  min-width: 180px;
  max-width: 220px;
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s;
}

.count-box:hover {
  transform: translateY(-6px) scale(1.04);
}

.count-icon {
  font-size: 2.5em;
  margin-bottom: 14px;
  display: block;
}

.count-number,
.purecounter {
  font-size: 2.5em;
  font-weight: bold;
  color: #3e4e71;
  margin-bottom: 8px;
  display: block;
  line-height: 1.1;
}

.count-box p {
  margin: 0;
  color: #444;
  font-size: 1.1em;
  font-weight: 500;
}

@media (max-width: 900px) {
  .counts-row {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .count-box {
    max-width: 90vw;
  }
}

/*--------------------------------------------------------------
# Clients
--------------------------------------------------------------*/
.clients {
  padding: 15px 0;
  text-align: center;
}

.clients img {
  max-width: 45%;
  transition: all 0.4s ease-in-out;
  display: inline-block;
  padding: 15px 0;
}

.clients img:hover {
  transform: scale(1.15);
}

@media (max-width: 768px) {
  .clients img {
    max-width: 40%;
  }
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .icon-box {
  text-align: center;
  border: 1px solid #e2eefd;
  padding: 80px 20px;
  transition: all ease-in-out 0.3s;
  background: #fff;
}

.services .icon-box .icon {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  background: #f1f6fe;
  border-radius: 4px;
  border: 1px solid #deebfd;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: ease-in-out 0.3s;
}

.services .icon-box .icon i {
  color: #3b8af2;
  font-size: 28px;
  transition: ease-in-out 0.3s;
}

.services .icon-box h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 24px;
}

.services .icon-box h4 a {
  color: #222222;
  transition: ease-in-out 0.3s;
}

.services .icon-box p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .icon-box:hover {
  border-color: #fff;
  box-shadow: 0px 0 25px 0 rgba(16, 110, 234, 0.1);
}

.services .icon-box:hover h4 a,
.services .icon-box:hover .icon i {
  color: #3e4e71;
}

.services .icon-box:hover .icon {
  border-color: #3e4e71;
}

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials {
  padding: 80px 0;
  background: url("../img/testimonials-bg.jpg") no-repeat;
  background-position: center center;
  background-size: cover;
  position: relative;
}

.testimonials::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
}

.testimonials .section-header {
  margin-bottom: 40px;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  text-align: center;
  color: #fff;
}

.testimonials .testimonial-item .testimonial-img {
  width: 100px;
  border-radius: 50%;
  border: 6px solid rgba(255, 255, 255, 0.15);
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: #fff;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: #ddd;
  margin: 0 0 15px 0;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: rgba(255, 255, 255, 0.4);
  font-size: 26px;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 auto 15px auto;
  color: #eee;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.5);
  opacity: 1;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #3e4e71;
}

@media (min-width: 992px) {
  .testimonials .testimonial-item p {
    width: 80%;
  }
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio #portfolio-flters {
  padding: 0;
  margin: 0 auto 15px auto;
  list-style: none;
  text-align: center;
  border-radius: 50px;
  padding: 2px 15px;
}
#portfolio::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(185, 177, 177, 0.6); /* Optional: overlay for readability */
  z-index: 2;
}
#portfolio::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(62, 78, 113, 0.85); /* Strong overlay for background only */
  z-index: 1;
}

/* Make sure the content is above the overlay */
#portfolio > .container {
  position: relative;
  z-index: 2;
  /* No opacity here! */
}

.portfolio-slide img {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(62, 78, 113, 0.18);
  padding: 8px;
  width: 100%;
  max-height: 400px;
  object-fit: cover;
}
.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 10px 15px 8px 15px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: #444444;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
  color: #3e4e71;
}

.portfolio #portfolio-flters li:last-child {
  margin-right: 0;
}

.portfolio .portfolio-item {
  margin-bottom: 30px;
}

.portfolio .portfolio-item .portfolio-info {
  opacity: 0;
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  background: rgba(255, 255, 255, 0.1);
  padding: 15px;
}

.portfolio .portfolio-item .portfolio-info h4 {
  font-size: 18px;
  color: #fff;
  font-weight: 600;
  color: #222222;
}

.portfolio .portfolio-item .portfolio-info p {
  color: #555555;
  font-size: 14px;
  margin-bottom: 0;
}

.portfolio .portfolio-item .portfolio-info .preview-link,
.portfolio .portfolio-item .portfolio-info .details-link {
  position: absolute;
  right: 40px;
  font-size: 24px;
  top: calc(50% - 18px);
  color: #3c3c3c;
}

.portfolio .portfolio-item .portfolio-info .preview-link:hover,
.portfolio .portfolio-item .portfolio-info .details-link:hover {
  color: #3e4e71;
}

.portfolio .portfolio-item .portfolio-info .details-link {
  right: 10px;
}

.portfolio .portfolio-item .portfolio-links {
  opacity: 0;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 3;
  position: absolute;
  transition: all ease-in-out 0.3s;
}

.portfolio .portfolio-item .portfolio-links a {
  color: #fff;
  margin: 0 2px;
  font-size: 28px;
  display: inline-block;
  transition: 0.3s;
}

.portfolio .portfolio-item .portfolio-links a:hover {
  color: #6ba7f5;
}

.portfolio .portfolio-item:hover .portfolio-info {
  opacity: 1;
  bottom: 20px;
}

/*--------------------------------------------------------------
# Portfolio Details
--------------------------------------------------------------*/
.portfolio-details {
  padding-top: 40px;
}

.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #3e4e71;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #3e4e71;
}

.portfolio-details .portfolio-info {
  padding: 30px;
  box-shadow: 0px 0 30px rgba(34, 34, 34, 0.01);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
}

/*--------------------------------------------------------------
# Team
--------------------------------------------------------------*/
.team {
  padding: 60px 0;
}

.team .member {
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0px 2px 15px rgba(16, 110, 234, 0.15);
}

.team .member .member-img {
  position: relative;
  overflow: hidden;
}

.team .member .social {
  position: absolute;
  left: 0;
  bottom: 30px;
  right: 0;
  opacity: 0;
  transition: ease-in-out 0.3s;
  text-align: center;
}

.team .member .social a {
  transition: color 0.3s;
  color: #222222;
  margin: 0 3px;
  padding-top: 7px;
  border-radius: 4px;
  width: 36px;
  height: 36px;
}

.team .member .social a:hover {
  background: #3b8af2;
}

.team .member .social i {
  font-size: 18px;
}

.team .member .member-info {
  padding: 25px 15px;
}

.team .member .member-info h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 18px;
  color: #222222;
}

.team .member .member-info span {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: #aaaaaa;
}

.team .member .member-info p {
  font-style: italic;
  font-size: 14px;
  line-height: 26px;
  color: #777777;
}

.team .member:hover .social {
  opacity: 1;
  bottom: 15px;
}

.team-row {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 40px;
}

.team-member {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 400px;
}

.member-img img {
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(62, 78, 113, 0.12);
}

.member-info {
  margin-top: 18px;
  text-align: center;
}

.member-info h4 {
  margin: 0 0 6px 0;
  font-size: 1.3em;
  color: #3e4e71;
  font-weight: bold;
}

.member-info span {
  display: block;
  color: #444;
  font-size: 1em;
  margin-bottom: 2px;
}

@media (max-width: 900px) {
  .team-row {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }
  .team-member {
    max-width: 90vw;
  }
}

/*--------------------------------------------------------------
# Pricing
--------------------------------------------------------------*/
.pricing .box {
  padding: 20px;
  background: #fff;
  text-align: center;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.12);
  border-radius: 5px;
  position: relative;
  overflow: hidden;
}

.pricing .box h3 {
  font-weight: 400;
  margin: -20px -20px 20px -20px;
  padding: 20px 15px;
  font-size: 16px;
  font-weight: 600;
  color: #777777;
  background: #f8f8f8;
}

.pricing .box h4 {
  font-size: 36px;
  color: #3e4e71;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  margin-bottom: 20px;
}

.pricing .box h4 sup {
  font-size: 20px;
  top: -15px;
  left: -3px;
}

.pricing .box h4 span {
  color: #bababa;
  font-size: 16px;
  font-weight: 300;
}

.pricing .box ul {
  padding: 0;
  list-style: none;
  color: #444444;
  text-align: center;
  line-height: 20px;
  font-size: 14px;
}

.pricing .box ul li {
  padding-bottom: 16px;
}

.pricing .box ul i {
  color: #3e4e71;
  font-size: 18px;
  padding-right: 4px;
}

.pricing .box ul .na {
  color: #ccc;
  text-decoration: line-through;
}

.pricing .btn-wrap {
  margin: 20px -20px -20px -20px;
  padding: 20px 15px;
  background: #f8f8f8;
  text-align: center;
}

.pricing .btn-buy {
  background: #3e4e71;
  display: inline-block;
  padding: 8px 35px 10px 35px;
  border-radius: 4px;
  color: #fff;
  transition: none;
  font-size: 14px;
  font-weight: 400;
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  transition: 0.3s;
}

.pricing .btn-buy:hover {
  background: #3b8af2;
}

.pricing .featured h3 {
  color: #fff;
  background: #3e4e71;
}

.pricing .advanced {
  width: 200px;
  position: absolute;
  top: 18px;
  right: -68px;
  transform: rotate(45deg);
  z-index: 1;
  font-size: 14px;
  padding: 1px 0 3px 0;
  background: #3e4e71;
  color: #fff;
}

/*--------------------------------------------------------------
# Frequently Asked Questions
--------------------------------------------------------------*/
.faq {
  padding: 60px 0;
}

.faq .faq-list {
  padding: 0;
  list-style: none;
}

.faq .faq-list li {
  border-bottom: 1px solid #d4e5fc;
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.faq .faq-list .question {
  display: block;
  position: relative;
  font-family: #3e4e71;
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
  padding-left: 25px;
  cursor: pointer;
  color: #0d58ba;
  transition: 0.3s;
}

.faq .faq-list i {
  font-size: 16px;
  position: absolute;
  left: 0;
  top: -2px;
}

.faq .faq-list p {
  margin-bottom: 0;
  padding: 10px 0 0 25px;
}

.faq .faq-list .icon-show {
  display: none;
}

.faq .faq-list .collapsed {
  color: black;
}

.faq .faq-list .collapsed:hover {
  color: #3e4e71;
}

.faq .faq-list .collapsed .icon-show {
  display: inline-block;
  transition: 0.6s;
}

.faq .faq-list .collapsed .icon-close {
  display: none;
  transition: 0.6s;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
  color: #444444;
  text-align: center;
  box-shadow: 0 0 30px rgba(214, 215, 216, 0.3);
  padding: 20px 0 30px 0;
}

.contact .info-box i {
  font-size: 32px;
  color: #3e4e71;
  border-radius: 50%;
  padding: 8px;
  border: 2px dotted #b3d1fa;
}

.contact .info-box h3 {
  font-size: 20px;
  color: #777777;
  font-weight: 700;
  margin: 10px 0;
}

.contact .info-box p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.contact .php-email-form {
  box-shadow: 0 0 30px rgba(214, 215, 216, 0.4);
  padding: 30px;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br+br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form .form-group {
  margin-bottom: 20px;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: #3e4e71;
}

.contact .php-email-form input {
  padding: 10px 15px;
}

.contact .php-email-form textarea {
  padding: 12px 15px;
}

.contact .php-email-form button[type=submit] {
  background: #3e4e71;
  border: 0;
  padding: 10px 30px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
  background: #3b8af2;
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: #fff;
  padding: 0 0 30px 0;
  color: #444444;
  font-size: 14px;
  background: #f1f6fe;
}

#footer .footer-newsletter {
  padding: 50px 0;
  background: #f1f6fe;
  text-align: center;
  font-size: 15px;
}

#footer .footer-newsletter h4 {
  font-size: 24px;
  margin: 0 0 20px 0;
  padding: 0;
  line-height: 1;
  font-weight: 600;
}

#footer .footer-newsletter form {
  margin-top: 30px;
  background: #fff;
  padding: 6px 10px;
  position: relative;
  border-radius: 4px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.06);
  text-align: left;
}

#footer .footer-newsletter form input[type=email] {
  border: 0;
  padding: 4px 8px;
  width: calc(100% - 100px);
}

#footer .footer-newsletter form input[type=submit] {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 20px;
  background: #3e4e71;
  color: #fff;
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

#footer .footer-newsletter form input[type=submit]:hover {
  background: #0d58ba;
}

#footer .footer-top {
  padding: 60px 0 30px 0;
  background: #fff;
}

#footer .footer-top .footer-contact {
  margin-bottom: 30px;
}

#footer .footer-top .footer-contact h3 {
  font-size: 24px;
  margin: 0 0 15px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 700;
}

#footer .footer-top .footer-contact h3 span {
  color: #3e4e71;
}

#footer .footer-top .footer-contact p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Roboto", sans-serif;
  color: #777777;
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: bold;
  color: #444444;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: #3e4e71;
  font-size: 18px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: #777777;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
  text-decoration: none;
  color: #3e4e71;
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #3e4e71;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 4px;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
  background: #3b8af2;
  color: #fff;
  text-decoration: none;
}

#footer .copyright {
  text-align: center;
  float: left;
}

#footer .credits {
  float: right;
  text-align: center;
  font-size: 13px;
  color: #444444;
}

@media (max-width: 768px) {

  #footer .copyright,
  #footer .credits {
    float: none;
    text-align: center;
    padding: 2px 0;
  }
}

@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700|Roboto:400,700|Poppins:400,700&display=swap');

.training-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 18px;
}

.training-item {
  background: #120550;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(62, 78, 113, 0.10);
  padding: 18px 16px 12px 16px;
  text-align: center;
  min-width: 180px;
  max-width: 220px;
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.training-icon {
  display: block;
  margin-bottom: 10px;
}

.training-item h5 {
  font-size: 1em;
  color: #ffffff;
  margin: 0;
  font-weight: 600;
}

/* Service List Layout */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.service-item {
  position: relative;
  width: 350px;
  height: 250px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
  display: flex;
  align-items: flex-end;
}

.service-overlay {
  background: rgba(62, 78, 113, 0.4); /* semi-transparent overlay for readability */
  color: #fff;
  padding: 30px 20px 20px 20px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.service-overlay h4 {
  margin: 0 0 10px 0;
  font-size: 1.5em;
  font-weight: bold;
}

.service-overlay p {
  margin: 0;
  font-size: 1em;
}

@media (max-width: 900px) {
  .service-list {
    flex-direction: column;
    align-items: center;
  }
  .service-item {
    width: 90vw;
    max-width: 400px;
  }
}

/* Portfolio slider styles */
.portfolio-slider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 40px 0;
}

.portfolio-slides {
  display: flex;
  overflow: hidden;
  width: 80vw;
  max-width: 800px;
  position: relative;
  transition: transform 0.5s;
}

.portfolio-slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.portfolio-slide img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(62, 78, 113, 0.12);
}

.portfolio-prev,
.portfolio-next {
  background: #3e4e71;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.5em;
  cursor: pointer;
  transition: background 0.2s;
}

.portfolio-prev:hover,
.portfolio-next:hover {
  background: #222c44;
}

@media (max-width: 600px) {
  .portfolio-slides {
    width: 98vw;
  }
  .portfolio-slide img {
    max-height: 220px;
  }
}

/*--------------------------------------------------------------
# Clients Section with Background Image
--------------------------------------------------------------*/
.clients-bg {
  background: url('../img/hero.jpg') center center/cover no-repeat;
  position: relative;
  padding: 60px 0;
}

.clients-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(62, 78, 113, 0.2); /* Optional: dark overlay for readability */
  z-index: 1;
}

.clients-heading {
  color: #fff;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
  font-size: 2.2em;
  letter-spacing: 1px;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 2;
}

.client-block {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(62, 78, 113, 0.10);
  transition: transform 0.2s;
}

.client-block:hover {
  transform: scale(1.05);
}

.client-block img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
}

/*--------------------------------------------------------------
# Contact Icons Section
--------------------------------------------------------------*/
.contact-icons-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  margin: 40px 0 0 0;
  flex-wrap: wrap;
}

.contact-icon-block {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(62, 78, 113, 0.10);
  padding: 30px 24px 20px 24px;
  text-align: center;
  min-width: 220px;
  max-width: 260px;
  flex: 1 1 220px;
  transition: transform 0.2s;
}

.contact-icon-block:hover {
  transform: translateY(-6px) scale(1.04);
}

.contact-icon {
  font-size: 2.5em;
  display: block;
  margin-bottom: 12px;
}

.contact-icon-block h3 {
  margin: 0 0 8px 0;
  color: #3e4e71;
  font-size: 1.1em;
  font-weight: bold;
}

.contact-icon-block p {
  margin: 0;
  color: #444;
  font-size: 1em;
  word-break: break-all;
}

.contact-icon-block a {
  color: inherit;
  text-decoration: none;
}

.contact-icon-block a:hover {
  color: #3e4e71;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .contact-icons-row {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
}

/* Portfolio section with background image */
#portfolio {
  position: relative;
  background: url('../img/about_.jpg') center center/cover no-repeat;
  z-index: 1;
}

#portfolio::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(62, 78, 113, 0.85); /* Strong overlay for background only */
  z-index: 1;
}

/*--------------------------------------------------------------
# Corner Logo
--------------------------------------------------------------*/
.corner-logo {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  background: rgba(255,255,255,0.85);
  border-radius: 12px;
  padding: 8px 12px;
  box-shadow: 0 2px 12px rgba(62,78,113,0.10);
  transition: opacity 0.3s;
}
.corner-logo img {
  max-width: 70px;
  max-height: 70px;
  display: block;
}
@media (max-width: 600px) {
  .corner-logo {
    right: 8px;
    bottom: 8px;
    padding: 4px 6px;
  }
  .corner-logo img {
    max-width: 44px;
    max-height: 44px;
  }
}

.portfolio-categories {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.portfolio-category {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(62, 78, 113, 0.10);
  padding: 36px 32px 24px 32px;
  text-align: center;
  min-width: 180px;
  max-width: 220px;
  font-size: 1.2em;
  color: #3e4e71;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.portfolio-category:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 8px 32px rgba(62, 78, 113, 0.18);
  color: #222c44;
}

.category-icon {
  font-size: 2.5em;
  margin-bottom: 12px;
}

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

.gallery-item {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(62, 78, 113, 0.10);
  transition: transform 0.2s, box-shadow 0.2s;
}

.gallery-item:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 32px rgba(62, 78, 113, 0.18);
}

.gallery-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.hero-diagonal {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  overflow: hidden;
}

.hero-left, .hero-right {
  position: relative;
  min-height: 100vh;
}

.hero-left {
  background: url('../img/before.jpg') center center/cover no-repeat;
  clip-path: polygon(0 0, 100% 0, 100.7% 100%, 0 100%);
  z-index: 1;
}

.hero-right {
  background: url('../img/after.jpg') center center/cover no-repeat;
  clip-path: polygon(2.3% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 1;
}

.hero-content {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none; /* disables pointer events for the wrapper */
}
.hero-content .container {
  position: relative;
  display: inline-block;
  background: rgba(239, 240, 241, 0.39); /* improved semi-transparent filter */
  border-radius: 18px;
  padding: 40px 32px;
  box-shadow: 0 4px 32px rgba(30,40,60,0.10);
  color: #0d085f;
  text-shadow: 0 2px 8px rgba(30,40,60,0.25);
  pointer-events: auto; /* enables pointer events for content */
}

/* Second diagonal section styles */
.second-diagonal {
  grid-template-columns: 65% 35%;
  background: #fff;
  margin-top: 0;
  min-height: 70vh;
}

.second-content {
  background: #fff;
  padding: 48px 32px 48px 8vw;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 0 0 0 0;
}

.second-diagonal-image {
  position: relative;
  z-index: 1;
  /* Different diagonal cut: top left to bottom right */
  clip-path: polygon(0 0, 100% 10%, 100% 100%, 0 90%);
  background: url('../img/proofing/d13.jpg') center center/cover no-repeat;
  min-height: 400px;
  height: 100%;
}

@media (max-width: 900px) {
  .second-diagonal {
    grid-template-columns: 1fr;
  }
  .second-diagonal-image {
    display: none;
  }
  .second-content {
    padding: 32px 8vw;
  }
}

/* Third diagonal section styles */
.third-diagonal {
  grid-template-columns: 65% 35%;
  background: #fff;
  margin-top: 0;
  min-height: 70vh;
}

.third-content {
  background: #fff;
  padding: 48px 32px 48px 8vw;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.third-diagonal-image {
  position: relative;
  z-index: 1;
  /* Unique diagonal cut for the third section */
  clip-path: polygon(0 0, 100% 0, 100% 90%, 10% 100%);
  background: url('../img/proofing/d7.jpg') center center/cover no-repeat;
  min-height: 400px;
  height: 100%;
}

@media (max-width: 900px) {
  .third-diagonal {
    grid-template-columns: 1fr;
  }
  .third-diagonal-image {
    display: none;
  }
  .third-content {
    padding: 32px 8vw;
  }
}

/*--------------------------------------------------------------
# Pool Section
--------------------------------------------------------------*/
.pool-diagonal {
  grid-template-columns: 65% 35%;
  background: #fff;
  min-height: 70vh;
  display: grid;
}
.pool-content {
  background: #fff;
  padding: 48px 32px 48px 8vw;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pool-diagonal-image {
  position: relative;
  z-index: 1;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 10% 100%);
  background: url('../img/pool/p5.jpg') center center/cover no-repeat;
  min-height: 400px;
  height: 100%;
}

/* Wall Painting Diagonal */
.wall-diagonal {
  grid-template-columns: 65% 35%;
  background: #fff;
  min-height: 70vh;
  display: grid;
}
.wall-content {
  background: #fff;
  padding: 48px 32px 48px 8vw;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.wall-diagonal-image {
  position: relative;
  z-index: 1;
  /* Different diagonal cut */
  clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 90%);
  background: url('../img/pool/p4.jpg') center center/cover no-repeat;
  min-height: 400px;
  height: 100%;
}

/* Roof Coating Diagonal */
.roof-diagonal {
  grid-template-columns: 65% 35%;
  background: #fff;
  min-height: 70vh;
  display: grid;
}
.roof-content {
  background: #fff;
  padding: 48px 32px 48px 8vw;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.roof-diagonal-image {
  position: relative;
  z-index: 1;
  /* Another unique diagonal cut */
  clip-path: polygon(0 0, 100% 0, 100% 85%, 15% 100%);
  background: url('../img/pool/r4.jpg') center center/cover no-repeat;
  min-height: 400px;
  height: 100%;
}

@media (max-width: 900px) {
  .pool-diagonal, .wall-diagonal, .roof-diagonal {
    grid-template-columns: 1fr;
  }
  .pool-diagonal-image, .wall-diagonal-image, .roof-diagonal-image {
    display: none;
  }
  .pool-content, .wall-content, .roof-content {
    padding: 32px 8vw;
  }
}

/*--------------------------------------------------------------
# Industrial and Flooring Epoxy Sections
--------------------------------------------------------------*/
/* Industrial Flooring Epoxy Diagonal */
.industrial-diagonal {
  grid-template-columns: 65% 35%;
  background: #fff;
  min-height: 70vh;
  display: grid;
}
.industrial-content {
  background: #fff;
  padding: 48px 32px 48px 8vw;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.industrial-diagonal-image {
  position: relative;
  z-index: 1;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 15% 100%);
  background: url('../img/epoxy/in12.jpg') center center/cover no-repeat;
  min-height: 400px;
  height: 100%;
}

/* Flooring Epoxy Diagonal */
.flooring-diagonal {
  grid-template-columns: 65% 35%;
  background: #fff;
  min-height: 70vh;
  display: grid;
}
.flooring-content {
  background: #fff;
  padding: 48px 32px 48px 8vw;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.flooring-diagonal-image {
  position: relative;
  z-index: 1;
  clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 90%);
  background: url('../img/epoxy/fl9.jpg') center center/cover no-repeat;
  min-height: 400px;
  height: 100%;
}

@media (max-width: 900px) {
  .industrial-diagonal, .flooring-diagonal {
    grid-template-columns: 1fr;
  }
  .industrial-diagonal-image, .flooring-diagonal-image {
    display: none;
  }
  .industrial-content, .flooring-content {
    padding: 32px 8vw;
  }
}

/*--------------------------------------------------------------
# Scope of Work Section
--------------------------------------------------------------*/
.scope-of-work-section {
  padding: 0;
  margin: 0;
  background: #fff;
}
.scope-slider-wrapper {
  width: 100vw;
  max-width: 100vw;
  overflow: hidden;
  position: relative;
  margin: 0;
  padding: 0;
}
.scope-slider {
  display: flex;
  transition: transform 0.7s cubic-bezier(.77,0,.18,1);
  width: 100vw;
  height: 60vw;
  max-height: 70vh;
}
.scope-slide {
  min-width: 100vw;
  height: 60vw;
  max-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scope-slide img {
  width: 100vw;
  height: 60vw;
  max-height: 70vh;
  object-fit: cover;
  display: block;
}
@media (max-width: 900px) {
  .scope-slider, .scope-slide, .scope-slide img {
    height: 50vw;
    max-height: 40vh;
  }
}
@media (max-width: 600px) {
  .scope-slider, .scope-slide, .scope-slide img {
    height: 60vw;
    max-height: 35vh;
  }
  .section-title h2, .section-title h3 {
    font-size: 1.3rem;
  }
}

/* Header and Navbar Responsive Layout */
#header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100vw;
  padding-left: 12px;
  padding-right: 12px;
  box-sizing: border-box;
}

.logo {
  margin-right: auto;
  display: flex;
  align-items: center;
}

.navbar {
  display: flex;
  align-items: center;
  position: relative;
  margin-left: auto;
}

.mobile-nav-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  margin-left: 1rem;
  order: 2;
  background: none;
  border: none;
}

@media (max-width: 900px) {
  #header .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-left: 8px;
    padding-right: 8px;
    height: 60px;
  }
  #header .logo {
    margin: 0;
    padding: 0;
    height: 60px;
  }
  #header .logo img {
    max-height: 34px;
    width: auto;
    height: auto;
  }
  .navbar {
    margin-left: 0;
  }
  .mobile-nav-toggle {
    display: inline-block;
    font-size: 2rem;
    cursor: pointer;
    margin-left: 1rem;
    background: none;
    border: none;
  }
  /* Hamburger menu and mobile nav styles */
  .navbar ul {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 60px;
    right: 0;
    left: auto;
    z-index: 999;
    padding: 1.5rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    width: 200px;
  }
  .navbar.navbar-mobile ul {
    display: flex !important;
  }
}

/* Prevent horizontal scroll and zoomed-out look on mobile */
html, body {
  width: 100vw;
  max-width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
}

body {
  font-size: 16px;
  margin: 0;
  padding: 0;
}

/* Make all sections and containers fit mobile screens */
section, .container {
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  padding-left: 8px;
  padding-right: 8px;
}

/* Images and sliders full width on mobile */
img, .scope-slide img, .portfolio-slide img {
  max-width: 100vw;
  width: 100vw;
  height: auto;
  display: block;
}

/* Remove unwanted margins/paddings on mobile */
@media (max-width: 600px) {
  .section-title h2, .section-title h3 {
    font-size: 1.1rem;
  }
  .hero-content .container {
    padding: 20px 6px;
  }
  .scope-slider, .scope-slide, .scope-slide img {
    height: 60vw;
    max-height: 35vh;
  }
}