/* Root Colors */
:root {
    --primary-blue: #95242f;
    --primary-green: #28a745;
    --primary-white: #ffffff;
}

/* Body */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    cursor: url('../img/cursor/yellow-crane.png'), auto;

}
a{
   cursor: url('../img/cursor/yellow-crane.png'), pointer;
}
/* Navbar */
.navbar {
    background-color: var(--primary-blue);
    --bs-navbar-padding-y: 1.2rem !important;
}
.navbar .nav-link {
    color: var(--primary-black) !important;
    font-weight: 500;
        margin: 0px 50px 0px 0px
}
.navbar .nav-link:hover {
    color: #022e2d !important;
}
.navbar .navbar-brand img.logo {
    max-height: 30px;
}
.navbar .social-icons a {
    color: var(--primary-white);
    margin-left: 15px;
    font-size: 1.2rem;
}
.navbar .social-icons a:hover {
    color: var(--primary-green);
}

/* Hero Banner */
.hero-banner {
    min-height: 80vh;
    /* background: linear-gradient(135deg, var(--primary-blue), var(--primary-green)); */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 50px 20px;
}
/* .hero-banner h1 {
    font-size: 3rem;
    font-weight: 700;
} */
/* .hero-banner p {
    font-size: 1.3rem;
    margin-bottom: 20px;
} */
/* .btn-green {
    background-color: var(--primary-green);
    color: var(--primary-white);
    border: none;
} */
/* .btn-green:hover {
    background-color: #1e7a32;
} */

/* Services Flip Cards */
.flip-card {
    background-color: transparent;
    perspective: 1000px;
}
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 200px;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}
.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}
.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.flip-card-front {
    background-color: #f6f6f6;
    color:#022e2d;
    
}
.flip-card-back {
    background-color: #f6f6f6;
    color: #022e2d;
    transform: rotateY(180deg);
}
.flip-card-back i {
    color:#95242f;
    font-size: 4rem;
    margin-bottom: 10px;
}

/* Business Segments Cards */
.card-segment {
    perspective: 1000px;
    margin-bottom: 30px;
}
.card-front, .card-back {
    background-color: var(--primary-blue);
    border-radius: 10px;
    color: var(--primary-white);
    padding: 40px 20px;
    backface-visibility: hidden;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    position: relative;
}
.card-front i {
    color:#28a745;
    font-size: 4rem;
    margin-bottom: 15px;
}
.card-segment:hover .card-front {
    transform: rotateY(180deg);
}
.card-segment:hover .card-back {
    transform: rotateY(0deg);
}
.card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-green);
    transform: rotateY(-180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Vision, Mission, Values */
.vision-mission-values .vmv-card {
    background-color: var(--primary-white);
    border-radius: 10px;
    padding: 30px 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.vision-mission-values .vmv-card i {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}
.vision-mission-values .vmv-card h3 {
    margin-bottom: 10px;
}
.vision-mission-values .vmv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 8px 20px rgba(0,0,0,0.2);
}

/* About Section */
#about {
    padding: 60px 20px;
}
#about h2 {
    color: #022e2d;
    margin-bottom: 30px;
}
#about p {
    font-size: 1rem;
}

/* Footer */
footer {
    background-color: #022e2d;
    color: var(--primary-white);
    padding-top: 50px;
}
footer h5 {
    margin-bottom: 20px;
}
footer a {
    color: var(--primary-white);
    text-decoration: none;
}
footer a:hover {
    color: var(--primary-green);
}
footer .footer-logo {
       max-width: 200px;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 992px) {
    .navbar .social-icons {
        display: none !important;
    }
}
@media (max-width: 768px) {
    .hero-banner h1 {
        font-size: 2.2rem;
    }
    .hero-banner p {
        font-size: 1rem;
    }
    .flip-card-inner, .flip-card-front, .flip-card-back {
        height: 180px;
    }
}
@media (max-width: 576px) {
    .hero-banner {
        padding: 40px 15px;
    }
    .card-front, .card-back {
        padding: 30px 10px;
    }
}
/* About Us Section */
.about-us-section {
    background-color: var(--primary-white);
}
.about-us-section h2 {
    color: #022e2d;
    font-weight: 700;
    margin-bottom: 15px;
}
.about-us-section p {
    color: #022e2d;
}
.about-card {
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
        height: 360px;
}
.about-card i {
    font-size: 2.5rem;
    color: #95242f;
}
.about-card h4 {
    margin: 15px 0;
    color: #022e2d;
}
.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* Contact Us Section */
.contact-us-section {
    background-color:#0f1634;
    color: var(--primary-white);
}
.contact-us-section h2 {
    color: var(--primary-white);
    font-weight: 700;
}
.contact-us-section p {
    color: #f0f0f0;
}
.contact-info {
    background-color: rgba(255,255,255,0.05);
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.contact-info i {
    font-size: 2rem;
    color: #95242f;
}
.contact-info h5 {
    margin-top: 10px;
    margin-bottom: 10px;
}
.contact-info p {
    margin: 0;
}
.contact-info:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

/* Contact Form */
.contact-form .form-control {
    border-radius: 10px;
    border: none;
    padding: 12px 15px;
    margin-bottom: 15px;
}
.contact-form .form-control:focus {
    outline: none;
    box-shadow: 0 0 0 2px #95242f;
}
.contact-form button.btn-green {
    background-color:#95242f;
    color: var(--primary-white);
    font-weight: 600;
    transition: background 0.3s;
}
.contact-form button.btn-green:hover {
    background-color: #9a343e;
}

/* Responsive */
@media (max-width: 768px) {
    .about-card, .contact-info {
        margin-bottom: 20px;
    }
}
/* Business Segments Section */
.business-segments {
  background-color: #0f1634; /* Dark navy background */
  padding: 80px 0;
}

.business-segments h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 50px;
  color: #5466f9; /* Heading color */
}

/* Flip Card Styling */
.card-segment {
  perspective: 1000px;
  cursor: pointer;
  border-radius: 15px;
  margin: 0 auto;
}

.card-segment .card-front,
.card-segment .card-back {
  position: relative;
  width: 100%;
  height: 220px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  backface-visibility: hidden;
  transition: transform 0.6s ease, box-shadow 0.6s ease;
  padding: 20px;
  text-align: center;
}

.card-segment .card-front {
  background-color:transparent; 
  border: 1px solid white;
  color: #fff;
}

.card-segment .card-front i {
  font-size: 40px;
  margin-bottom: 15px;
  color:#95242f;
}

.card-segment .card-back {
  background-color: #fff; /* White back */
  color: #022e2d;
  position: absolute;
  top: 0;
  left: 0;
  transform: rotateY(180deg);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.card-segment .card-back h4 {
  margin-bottom: 10px;
  font-weight: 600;
}

.card-segment .card-back p {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Flip Effect */
.card-segment:hover .card-front {
  transform: rotateY(180deg);
}

.card-segment:hover .card-back {
  transform: rotateY(0deg);
}

/* Responsive */
@media (max-width: 992px) {
  .card-segment .card-front,
  .card-segment .card-back {
    height: 200px;
  }
}

@media (max-width: 576px) {
  .business-segments h2 {
    font-size: 2rem;
  }
  .card-segment .card-front,
  .card-segment .card-back {
    height: 180px;
    padding: 15px;
  }
  .card-segment .card-front i,
  .card-segment .card-back i {
    font-size: 32px;
  }
}
/* Hero Banner with Background Image */
.hero-banner {
  background-image: url('../img/gallery/background1.png'); /* Replace with your image */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* background-color: rgba(162, 163, 168, 0.7);  */
  background-blend-mode: overlay;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 0 20px;
  color: #fff;
  overflow: hidden;
}

/* Animation keyframes */
@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Apply animation to headings and text */
.hero-banner h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  animation: fadeSlideUp 1s ease-out forwards;
  animation-delay: 0.3s;
  opacity: 0;
}

.hero-banner p {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: #fff;
  animation: fadeSlideUp 1s ease-out forwards;
  animation-delay: 0.6s;
  opacity: 0;
}

.btn-green {
  background-color: #95242f;
  color: #fff;
  border: none;
  padding: 12px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  opacity: 0;
  animation: fadeSlideUp 1s ease-out forwards;
  animation-delay: 0.9s;
}

.btn-green:hover {
  background-color: #9a343e;
  text-decoration: none;
  color: #fff;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-banner h1 {
    font-size: 2.5rem;
  }
  .hero-banner p {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .hero-banner h1 {
    font-size: 2rem;
  }
  .hero-banner p {
    font-size: 1rem;
  }
  .btn-green {
    padding: 10px 25px;
    font-size: 1rem;
  }
}
.about-section {
  background-color: #f8f9fa; /* light background */
  color: #333;
}

.about-section h2 {
  font-weight: 700;
}

.about-section p {
  font-size: 1.1rem;
  line-height: 1.7;
}

.about-section .about-img img {
  max-width: 100%;
  width: 500px;
    height: 300px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.about-section .about-img img:hover {
  transform: scale(1.05);
}

.btn-green {
  background-color: #95242f;
  color: #fff;
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-green:hover {
  background-color: #9a343e;
  text-decoration: none;
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .about-section h2 {
    font-size: 2rem;
  }
  .about-section p {
    font-size: 1rem;
  }
}
.dropdown-submenu {
  position: relative;
}

/* .dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-left: 0.1rem;
  margin-right: 0.1rem;
} */
/* .dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: 0;
} */
.social-icons a {
    color: #fff; /* white icons */
    margin-left: 15px;
    font-size: 18px;
}

.social-icons a:hover {
    color: #ffd700; /* optional hover color */
}
.logo {
    max-height: 65px !important;
    width: 200px !important;
    /* width: auto; */
}

/* Optional shadow for better separation from content */
.navbar.fixed-top {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Add spacing so content isn't hidden behind the navbar */
body {
    padding-top: 80px; /* adjust based on navbar height */
}

/* Optional: keep dropdown icons black */
.dropdown-menu .dropdown-item i {
    color: black;
}
.services-header {
    position: relative;
    background-image: url('../img/gallery/background.png'); /* your image path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 300px; /* adjust height */
    display: flex;
    align-items: center;
}
.services-detail-header {
    position: relative;
    /* background-image: url('../img/gallery/background.png');  */
    background-color: rgb(73, 71, 71);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 300px; /* adjust height */
    display: flex;
    align-items: center;
}

.services-header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* dark overlay for readability */
    z-index: 1;
}

.services-header .container {
    position: relative;
    z-index: 2;
}
.service-card {
    position: relative;
    background-image: url('{{asset("img/services/industrial-bg.jpg")}}'); /* optional background image */
    background-size: cover;
    background-position: center;
    border: 1px solid #95242f;
    border-radius: 10px;
    overflow: hidden;
    Color:#022e2d;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-detail-card {
    position: relative;
    /* background-image: url('{{asset("img/services/industrial-bg.jpg")}}'); */
    background-color: rgb(60, 60, 60);
    background-size: cover;
    background-position: center;
    border: 1px solid #95242f;
    border-radius: 10px;
    overflow: hidden;
    Color:#022e2d;
    transition: transform 0.3s, box-shadow 0.3s;
}
.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 244, 244, 0.4); /* optional overlay */
    z-index: 1;
}

.service-card .card-body {
    position: relative;
    z-index: 2;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.service-card .service-img {
    width: 200px; /* adjust as needed */
    height: 200px;
    object-fit: cover;
    border-radius: 2%; /* optional for circular images */
}
.service-details {
  background-color: #f9f9f9;
}

.service-details ul li {
  font-size: 16px;
  color: #333;
}

.service-details i {
  font-size: 18px;
}

/* Multi-level dropdown positioning */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-left: 0.1rem;
  margin-top: 0;
}

/* Optional: fade animation */
.dropdown-menu {
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}

.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
}

/* Adjust nested dropdowns near screen edge (flip to left) */
.dropdown-submenu .dropdown-menu.dropdown-menu-end {
  right: 100%;
  left: auto;
}

/* Social icon spacing */
.social-icons a {
  margin-left: 10px;
  font-size: 1.2rem;
}
/* Hover underline effect for top-level menu */
.navbar-nav .nav-link {
  position: relative;
  color: #000;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 3px; /* thickness of line */
  background-color: #022e2d; /* change color here (e.g. red, #f39c12, etc.) */
  transition: width 0.3s ease;
  border-radius: 2px;
}

.navbar-nav .nav-link:hover {
  color: #007bff; /* optional: change text color on hover */
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}



.dropdown-menu .dropdown-item {
    border-bottom: 1px solid #95242f !important; /* light grey line */
}

/* Remove line for last item */
.dropdown-menu .dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-submenu .dropdown-item {
    border-bottom: 1px solid #e0e0e0; /* light grey line */
}

/* Remove line for last item */
.dropdown-submenu .dropdown-item:last-child {
    border-bottom: none;
}