:root {
  --primary-color: #dc2b1c;
  --secondary-color: #d5b06b;
  --text-color: #310101;
  --background-color: #ffffff;
  --bg-overlay: rgba(0, 0, 0, 0.5);
  --hover-color: #ba2418;
  --light-gold-bg: #f7e9d3;
}
body {
  font-family: "Roboto", sans-serif;
  overflow-x: hidden;
  margin: 0px;
  padding: 0px;
}

/* Topbar */

.topbar {
  background: var(--primary-color);
  color: white;
  padding: 8px 20px;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  font-size: 15px;
}

.topbar-left a {
  color: white;
  margin-right: 15px;
  font-size: 18px; 
  text-decoration: none;
}

.topbar-left a:hover {
  text-decoration: underline;
}

.topbar-right a {
  color: white;
  text-decoration: none;
}

.topbar-right a:hover {
  text-decoration: underline;
}


/* Navbar */

.navbar {
  background: transparent;
  padding: 0;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  z-index: 1100;
}

.navbar.scrolled {
  background-color: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* .navbar-brand img {
  height: 90px;
} */

.navbar-brand .brand-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.navbar-brand img {
  height: 90px;
}

.brand-text {
  font-size: 2rem;
  font-weight: 700;
  margin-top: -15px;
  color:var(--hover-color);

}

/* Nav Links */
.navbar-nav {
  align-items: center;
  gap: 15px;
  flex-wrap: nowrap;
}

.navbar-nav .nav-link {
  color: var(--text-color, #000);
  font-weight: 700;
  padding: 30px 15px;
  font-size: 20px;
  transition: color 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color, #dc2b1c);
  background: transparent;
}

.group-dropdown {
  position: relative;
}

.dropdown-menu.mega-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  background: rgba(220, 43, 28, 0.85);
  border: none;
  border-radius: 0;
  padding: 0;
  margin: 0;
  min-width: 220px;
  max-width: 250px;
  z-index: 9999;
}

.group-dropdown:hover .dropdown-menu {
  display: block;
}


.dropdown-menu.left {
  left: 0;
}

.dropdown-menu.right {
  left: 20px;
}


.dropdown-menu .dropdown-item {
  color: #fff;
  font-size: 16px;
  padding: 10px 20px;
  font-weight: 400;
  transition: background 0.3s ease;
  white-space: normal;
}

.dropdown-menu .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Phone Section Styling */
.header-action-layout1 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
}

.header-action-layout1 .item-icon i {
  font-size: 30px;
  color: #007bff;
}

.header-action-layout1 .item-label {
  font-size: 14px;
  font-weight: 400;
  color: #6c757d !important;
  margin-bottom: 2px;
}

.header-action-layout1 .item-number {
  font-size: 16px;
  font-weight: 600 !important;
  color: #212529;
}


/* Banner Wrapper */
/* Slide-in animation */
@keyframes slideUpFade {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-caption h1,
.home-caption p {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.home-caption.animate h1 {
  animation: slideUpFade 0.8s ease-out forwards;
}

.home-caption.animate p {
  animation: slideUpFade 0.8s ease-out 0.2s forwards;
}

.home-banner {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.home-slide {
  height: 80vh;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.home-caption {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  text-align: center;
  color: white;
  z-index: 2;
  padding: 0 15px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.home-caption h1 {
  font-size: clamp(28px, 5vw, 60px);
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
}

.home-caption p {
  font-size: clamp(14px, 2.5vw, 20px);
  font-weight: 600;
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
}

.custom-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  z-index: 10;
}

.custom-carousel-arrow:first-of-type {
  left: 20px;
}

.custom-carousel-arrow:last-of-type {
  right: 20px;
}

.custom-carousel-icon {
  display: inline-block;
  background-color: var(--secondary-color);
  color: #fff;
  font-size: 24px;
  width: 45px;
  height: 45px;
  text-align: center;
  line-height: 45px;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.custom-carousel-icon:hover {
  background-color: var(--primary-color);
}


@media (max-width: 992px) {
  .home-slide {
    height: 70vh;
  }
  .home-caption {
    padding: 0 20px;
  }
}


@media (max-width: 576px) {
  .home-slide {
    height: 60vh;
    background-position: top center;
  }
  .home-caption h1 {
    font-size: 24px;
  }
  .home-caption p {
    font-size: 14px;
  }
  .custom-carousel-icon {
    width: 35px;
    height: 35px;
    font-size: 18px;
    line-height: 35px;
  }
}


/* About Us */
.about-section {
  padding: 60px 20px;
  background: #fff;
}

.about-container {
  max-width: 1200px;
  width: 90%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}

.about-text {
  flex: 1 1 55%;
}

.about-text .title {
  font-size: 40px;
  font-weight: 600;
  color: #002f6c;
  margin-bottom: 15px;
}

.title-hr {
  width: 60px;
  height: 4px;
  background-color: #ff9900;
  border: none;
  margin-bottom: 25px;
  border-radius: 2px;
}

.title-desc {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.8;
  color: #3d3d3d;
  letter-spacing: 0.6px;
  margin-bottom: 15px;
}

.hover-box {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  flex: 1 1 40%;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.hover-box:hover {
  transform: translateY(-5px);
}

.hover-box img {
  height: 350px;
  width: 100%;
  display: block;
  border-radius: 12px;
  /* object-fit: contain; */
}

.hover-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 47, 108, 0.85);
  padding: 20px;
  color: #fff;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  text-align: center;
}

.hover-box:hover .hover-content {
  transform: translateY(0);
}

.hover-content h3 {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 400;
}

.hover-content h3 a {
  color: #fff;
  text-decoration: none;
}

.hover-content p {
  font-size: 15px;
  font-weight: 300;
}

.read-more {
  display: inline-block;
  margin-top: 10px;
  font-weight: 500;
  color: #ffcc00;
  text-decoration: none;
}

.read-more:hover {
  color: #ffffff;
}

/* Services Slider */

.specialized-section {
  position: relative;
  background: url("./assests/service-bg.webp") no-repeat center center / cover;
  background-color: #002f6cd9;
  background-repeat: no-repeat;
  background-position: left top;
  background-size: auto;
  padding: 60px 20px;
  text-align: center;
  overflow: hidden;
  color: white;
}
/* 
.specialized-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 15, 88, 0.6);
  z-index: 1;
} */

.specialized-section h2 {
  font-size: 40px;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  font-weight: 500;
}

.service-title-hr {
  width: 80px;
  height: 4px;
  background-color: #fff;
  border: none;
  margin: 0 auto 40px;
  z-index: 2;
  position: relative;
}

.swiper {
  position: relative;
  z-index: 2;
  padding-bottom: 20px;
}

.swiper-slide {
  display: flex;
  justify-content: center;
}

.service-slide {
  width: 100%;
  max-width: 400px;
  height: 250px;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
}

.service-slide:hover {
  transform: scale(1.03);
}

.slide-caption {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(62, 15, 15, 0.6);
  color: #fff;
  padding: 15px 10px;
  transition: height 0.3s ease;
}

.short-text {
  font-weight: 600;
  font-size: 16px;
}

.full-text {
  display: none;
  font-weight: 400;
  font-size: 13px;
  margin-top: 5px;
  line-height: 1.4;
}

.service-slide:hover .full-text {
  display: block;
}

/* about services */
.abt-services-section {
  padding: 60px 20px;
  text-align: center;
}

.abt-services-section h2 {
  font-size: 36px;
  color: #002f6c;
  margin-bottom: 20px;
}

.about-services-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.sub-service-card {
  position: relative;
  width: 100%;
  max-width: 350px;
  height: 500px;
  background: #f7f7f7;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.sub-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.sub-service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.sub-service-card .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;

  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;

  transition: opacity 0.3s ease;
}

.overlay h3 {
  color: #fff;
  font-size: 25px;
  font-weight: 500;
  margin-bottom: 15px;
}
.overlay p {
  padding: 0 20px;
  text-align: center;
  color: #fff;
  font-size: 15px;
  font-weight: 300 !important;
}
.sub-service-card:hover .overlay {
  opacity: 1;
}

/* logo slider css */
.client-section {
  padding: 50px 0;
  background-color: #f7f7f7;
}

.client-section h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 20px;
}

.client-section h3 {
  text-align: center;
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 40px;
}

.client-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  justify-items: center;
}

.client-logos img {
  width: 100%;
  max-width: 200px;
  height: 200px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.client-logos img:hover {
  transform: scale(1.1);
}

.view-all-btn {
  display: block;
  width: 200px;
  margin: 40px auto;
  padding: 10px 20px;
  text-align: center;
  font-size: 18px;
  background-color: #ff6f61;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.view-all-btn:hover {
  background-color: #e15c52;
}
/* fotter css */

.site-footer {
  background: #f7e9d3;
  color: var(--text-color);
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 60px 30px 30px;
  max-width: 1920px;
  margin: auto;
}

.footer-column {
  flex: 1 1 200px;
  margin: 20px;
  min-width: 250px;
}

.footer-column h4 {
  font-size: 18px;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--primary-color);
}

.footer-column p,
.footer-column ul,
.footer-column li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-color);
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 8px;
}

.footer-column a {
  color: var(--text-color);
  text-decoration: none;
  display: inline-block;
  position: relative;
  padding-left: 20px;
  transition: all 0.3s ease;
}

.footer-column a i {
  position: absolute;
  left: 0;
  top: 3px;
  transition: transform 0.3s ease;
  color: var(--primary-color);
}

.footer-column a:hover {
  color: var(--hover-color);
}

.footer-column a:hover i {
  transform: translateX(5px);
}

.contact-info i {
  margin-right: 8px;
  color: var(--primary-color);
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-icons a {
  color: var(--primary-color);
  font-size: 22px;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: var(--hover-color);
}

.footer-bottom {
  background-color: #210000;
  font-size: 15px;
  color: #ffffff;
}
.footer-copyright a{
  text-decoration: none;
  color:var(--secondary-color);
}
.footer-copyright a:hover{
  text-decoration: none;
  color:var(--secondary-color);
}


/* Mobile Responsive */
@media (max-width: 1200px) {
.header-action-layout1 .item-number {
  font-size: 12px;
  font-weight: 600 !important;
  color: #212529;
}
.navbar-brand img {
    height: 70px;
}
.brand-text{
  font-size: 1.5rem;
}
}
@media (max-width: 1024px) {
  .client-logos {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 991px) {
  .topbar {
    font-size: 10px;
  }
  .gap-0-md-down {
    gap: 0 !important;
  }
  /* .navbar-brand img {
    height: 60px;
  } */
     .navbar-brand img {
    height: 60px;
  }
  .brand-text {
    font-size: 1.5rem;
  }

  .navbar-nav .nav-link {
    padding: 10px 10px;
  }

  .dropdown-menu {
    background: white;
    position: static;
    box-shadow: none;
    margin-top: 0 !important;
  }

  .dropdown-menu .dropdown-item {
    color: var(--text-color);
    padding: 8px 15px;
    font-size: 13px;
  }

  .dropdown-menu .dropdown-item:hover {
    background: var(--secondary-color);
    color: white;
  }
  .header-action-layout1 {
  margin-top: 10px;
  align-items: center;
}
  .about-container {
    flex-direction: column;
  }

  .about-text .title {
    font-size: 28px;
    text-align: center;
  }

  .title-desc {
    font-size: 15px;
    text-align: justify;
  }

  .hover-box {
    margin-top: 30px;
    width: 100%;
  }

  .hover-content {
    padding: 15px;
  }

  .read-more {
    margin-top: 15px;
  }
  .about-services-container {
    gap: 15px;
  }
  .sub-service-card {
    flex: 1 1 48%;
  }
}

@media (max-width: 768px) {
  .carousel-caption h1 {
    font-size: 30px;
  }
.footer-bottom p {
    font-size: 12px;
    padding: 0 15px;
  }
  .navbar {
    height: auto;
  }
/* 
  .navbar-brand img {
    height: 60px;
  } */
     .navbar-brand img {
    height: 60px;
  }
  .brand-text {
    font-size: 1.5rem;
  }
  .home-slide {
    height: 400px;
  }

  .home-caption h1 {
    font-size: 30px;
  }

  .home-caption p {
    font-size: 16px;
  }

  .custom-carousel-icon {
    width: 38px;
    height: 38px;
    font-size: 20px;
    line-height: 38px;
  }
  .service-card {
    width: 80%;
  }
  .client-logos {
    grid-template-columns: repeat(2, 1fr);
  }

  .view-all-btn {
    width: 180px;
    font-size: 16px;
  }
  .footer-container {
    flex-direction: column;
    padding: 40px 20px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .footer-bottom .powered {
    text-align: center;
  }
}

@media (max-width: 575px) {
  .sub-service-card {
    flex: 1 1 100%;
  }
}
@media (max-width: 480px) {
  .client-logos {
    grid-template-columns: 1fr;
  }

  .view-all-btn {
    width: 160px;
    font-size: 14px;
  }
}
