/* Navbar Adjustments */
.section {
    margin: 0;
    padding: 0;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    background-color: #001f3d; /* Dark Blue */
    height: 60px;
}

.navbar .nav-item:hover::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background-color: gold;
}

.navbar .navbar-brand img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}

.navbar .d-flex img {
    margin-right: 20px;
    margin-left: 10px;
}

.navbar-nav .nav-link {
    font-size: 24px; /* Adjust size as needed */
}

/* Carousel Background Images */
.carousel-inner {
    position: relative;
    height: 100vh; /* Full viewport height */
    width: 100%;
    overflow: hidden; 
}

.carousel-item {
    height: 100%;
}

.carousel-background {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.carousel-content img {
    max-width: 150px;
    margin-bottom: 2px;
}

.carousel-content h2,
.carousel-content p {
    color: #fff;
}

/* Consolidated Carousel Sections */
#carousel-section {
    background-image: url('https://allimgb.ams3.cdn.digitaloceanspaces.com/lawfirm/Alpha1.webp');
    background-size: cover;
    background-position: center;
    height: 100vh;
    padding: 0;
    margin: 0;
    background-color: #000; /* Black fallback */
}

.second-section {
    background-image: url('https://allimgb.ams3.cdn.digitaloceanspaces.com/lawfirm/bck4474.webp');
    background-size: cover;
    background-position: center;
    height: 100vh;
    padding: 0;
    margin: 0;
    background-color: #440000; /* Dark red */
}

.second-section h1.section-title {
    color: #bf9b30;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}
.third-section {
    background-image: url('https://allimgb.ams3.cdn.digitaloceanspaces.com/lawfirm/lightbck2.webp');
    background-size: cover;
    background-position: center;
    height: 100vh;
    padding: 0;
    margin: 0;
    background-color: #440000; /* Dark red */
}

.third-section h1.section-title {
    color: #bf9b30;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 5px;
}

/* Removed redundant styles */
#third-carousel-section ul.cards {
    background-color: transparent;
}




.fifth_section {
  background-image: url("https://allimgb.ams3.cdn.digitaloceanspaces.com/lawfirm/bckgrnd.webp");
  display: flex; /* Enable flexbox */
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.fifth_image {
  width: 50%; /* Increase width to cover more space */
  height: 100%; /* Ensure it takes full height */
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  float: right;
  background-image: url("https://allimgb.ams3.cdn.digitaloceanspaces.com/lawfirm/rightIm3.webp");
  display: block;
}

.fifth_text {
  background-image: url("https://allimgb.ams3.cdn.digitaloceanspaces.com/lawfirm/bckgrnd.webp");
  box-sizing: border-box;
  float: left;
  margin-left: -100%;
  padding: 2em;
  width: 100%;
  border: 0px solid pink;
  text-align: justify;

}


/* Removed redundant styles */
#second-carousel-section ul.cards {
    background-color: transparent;
}



@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,500,300,700);

* {
  font-family: Open Sans;
}

xxxxsection {
  width: 100%;
  display: inline-block;
  background: #333;
  height: 50vh;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  text-decoration: underline;
}

.footer-distributed{
	background: #666;
	box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.12);
	box-sizing: border-box;
	width: 100%;
	text-align: left;
	font: bold 16px sans-serif;
	padding: 55px 50px;
}

.footer-distributed .footer-left,
.footer-distributed .footer-center,
.footer-distributed .footer-right{
	display: inline-block;
	vertical-align: top;
}

/* Footer left */

.footer-distributed .footer-left{
	width: 40%;
}

/* The company logo */

.footer-distributed h3{
	color:  #ffffff;
	font: normal 36px 'Open Sans', cursive;
	margin: 0;
}

.footer-distributed h3 span{
	color:  lightseagreen;
}

/* Footer links */

.footer-distributed .footer-links{
	color:  #ffffff;
	margin: 20px 0 12px;
	padding: 0;
}

.footer-distributed .footer-links a{
	display:inline-block;
	line-height: 1.8;
  font-weight:400;
	text-decoration: none;
	color:  inherit;
}

.footer-distributed .footer-company-name{
	color:  #222;
	font-size: 14px;
	font-weight: normal;
	margin: 0;
}

/* Footer Center */

.footer-distributed .footer-center{
	width: 35%;
}

.footer-distributed .footer-center i{
	background-color:  #33383b;
	color: #ffffff;
	font-size: 25px;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	text-align: center;
	line-height: 42px;
	margin: 10px 15px;
	vertical-align: middle;
}

.footer-distributed .footer-center i.fa-envelope{
	font-size: 17px;
	line-height: 38px;
}

.footer-distributed .footer-center p{
	display: inline-block;
	color: #ffffff;
  font-weight:400;
	vertical-align: middle;
	margin:0;
}

.footer-distributed .footer-center p span{
	display:block;
	font-weight: normal;
	font-size:14px;
	line-height:2;
}

.footer-distributed .footer-center p a{
	color:  lightseagreen;
	text-decoration: none;;
}

.footer-distributed .footer-links a:before {
  content: "|";
  font-weight:300;
  font-size: 20px;
  left: 0;
  color: #fff;
  display: inline-block;
  padding-right: 5px;
}

.footer-distributed .footer-links .link-1:before {
  content: none;
}

.link-1 {
 color: #F7E488;
}

/* Footer Right */

.footer-distributed .footer-right{
	width: 20%;
}

.footer-distributed .footer-company-about{
	line-height: 20px;
	color:  #92999f;
	font-size: 13px;
	font-weight: normal;
	margin: 0;
}

.footer-distributed .footer-company-about span{
	display: block;
	color:  #ffffff;
	font-size: 14px;
	font-weight: bold;
	margin-bottom: 20px;
}

.footer-icons a i {
    font-family: "Font Awesome 6 Free"; /* Ensures correct icon font */
    font-weight: 900;
    color: #ffffff; /* Ensure icons are white */
    font-size: 20px; /* Adjust size if needed */
}

.footer-distributed .footer-icons{
	margin-top: 25px;
}

.footer-distributed .footer-icons a{
	display: inline-block;
	width: 35px;
	height: 35px;
	cursor: pointer;
	background-color:  #33383b;
	border-radius: 2px;

	font-size: 20px;
	color: #ffffff;
	text-align: center;
	line-height: 35px;

	margin-right: 3px;
	margin-bottom: 5px;
}

/* If you don't want the footer to be responsive, remove these media queries */

@media (max-width: 880px) {

	.footer-distributed{
		font: bold 14px sans-serif;
	}

	.footer-distributed .footer-left,
	.footer-distributed .footer-center,
	.footer-distributed .footer-right{
		display: block;
		width: 100%;
		margin-bottom: 40px;
		text-align: center;
	}

	.footer-distributed .footer-center i{
		margin-left: 0;
	}

}
/* Section margin fixes */
section { 
    margin: 0;
}


@keyframes slides {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.qsn_logos {
  overflow: hidden;
  padding: 30px 0px;
  white-space: nowrap;
  position: relative;
}

.qsn_logos:before, .logos:after {
  position: absolute;
  top: 0;
  content: '';
  width: 250px;
  height: 100%;
  z-index: 2;
}

.qsn_logos:before {
  left: 0;
  background: linear-gradient(to left, rgba(255,255,255,0), rgb(255, 255, 255));
}

.qsn_logos:after {
  right: 0;
  background: linear-gradient(to right, rgba(255,255,255,0), rgb(255, 255, 255));
}

.qsn_logo_items {
  display: inline-block;
  animation: 35s slides infinite linear;
}

.qsn_logos:hover .qsn_logo_items {
  animation-play-state: paused;
}

.qsn_logo_items img{
  height: 100px;
}
