/* General Body and Typography */
body {
    font-family: 'Arial', sans-serif;
    /* A common, readable sans-serif font */
    color: #333;
    background-color: #f8f9fa;
    /* Light grey background for the whole page */
    overflow-x: hidden;
    /* Prevent horizontal scroll due to floating buttons */
    text-align: justify;
}

/* Navbar Customizations */
.navbar {
    border-bottom: 1px solid #e0e0e0;
    height: 10vh;
    padding-top: 0;
    padding-bottom: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .04);
    /* Subtle shadow for depth */
}

.navbar-brand img {
    height: 10vh;
    width: auto;
    /* Adjust logo height */
}



.navbar-nav .nav-link {
    color: black !important;
    /* #fff #333 Darker link color */
    font-weight: 600;
    margin-right: 3vh;
    /* Space between links */
    padding: 5px 0;
    /* 10px Adjust padding for height control of links */
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #007bff !important;
    /* #ED8209 Blue hover/active color */
}

.navbar-nav .nav-link.active {
    /* Optional: #ED8209 Add an underline or border for active state */
    border-bottom: 2px solid #007bff;
}

.navbar-nav .btn-primary {
    background-color: #007bff;
    /* #ED8209 Bootstrap primary blue */
    border-color: #007bff;
    border-radius: 5px;
    /* Slightly rounded corners */
    padding: 8px 20px;
    font-weight: 500;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.navbar-nav .btn-primary:hover {
    background-color: #0056b3;
    /* #eab308 */
    border-color: #0056b3;
}

/* Desktop only: show dropdown on hover */
@media (min-width: 992px) {
  .nav-item.dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0.25rem;
    z-index: 1050;
  }
}

/* Mobile menu background */
@media (max-width: 991.98px) {
  .custom-navbar .navbar-collapse {
    background-color: rgba(0, 0, 0, 0.85); /* dark transparent background */
    border-radius: 8px;
    padding: 10px 15px;
  }

  .custom-navbar .navbar-nav .nav-link {
    color: #fff !important; /* white text */
    font-weight: 600;
    margin: 5px 0;
    transition: color 0.3s ease;
  }

  .custom-navbar .navbar-nav .nav-link:hover,
  .custom-navbar .navbar-nav .nav-link.active {
    color: #007bff!important; /* gold/yellow highlight on hover */
  }

  .custom-navbar .btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    color: #fff;
  }

  /* Optional: darken dropdown background */
  .custom-navbar .dropdown-menu {
    background-color: rgba(0, 0, 0, 0.9);
    border: none;
  }

  .custom-navbar .dropdown-item {
    color: #fff;
  }

  .custom-navbar .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #007bff;
  }
}

/* Page Hero Section (Banner with Title and Breadcrumb) */
.page-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://via.placeholder.com/1500x400?text=Industrial+Tools') no-repeat center center;
    background-size: cover;
    height: 80vh;
    /* Fixed height for the banner */
    position: relative;
}

.page-hero h1 {
    font-size: 3.5rem;
    /* Large, bold title */
    color: white;
}

.page-hero p.lead {
    font-size: 1.2rem;
    color: #ddd;
    /* Lighter text for breadcrumb */
}

/*
.page-hero {
  margin-top: -10vh;  /* height of your navbar 
} */


/* ===== Carousel ===== */
.page-hero {
  position: relative;
  width: 100%;
  height: 100vh; /* full screen height */
  overflow: hidden;
}

.carousel,
.carousel-inner,
.carousel-item,
.carousel-img {
  width: 100%;
  height: 100%;
}

.carousel-img {
  object-fit: cover; /* ensures full coverage */
  object-position: center center;
  background-color: #000; /* fallback for image load */
}

/* Caption styling */
.carousel-caption {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 6px;
  padding: 1rem 1.5rem;
}

/* Remove unwanted space/gap */
.carousel-item {
  background-color: #000; /* avoids gray strip */
}

/* Mobile adjustments */
@media (max-width: 991.98px) {
  .page-hero {
    height: 70vh; /* smaller screens: 70% of viewport */
  }
  .carousel-caption h5 {
    font-size: 1.25rem;
  }
  .carousel-caption p {
    font-size: 0.9rem;
  }
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
    background-color: yellow;
    /* Color of next and prev icon color in square of carousel */
}



/* About Us Content Section */
.about-content {
    background-color: #fff;

    padding-top: 5rem;
    /* More padding top */
    padding-bottom: 5rem;
    /* More padding bottom */
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    position: relative;
    padding-bottom: 10px;
    /* Space for underline */
}

.section-title::after {
    content: '';
    position: absolute;
    left: 33%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80vh;
    height: 3px;
    background-color: #007bff;
    /* Blue underline */
    border-radius: 2px;
}

.about-content p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-content p strong {
    color: #007bff;
    /* Highlight Goal Line Ventures name */
}

.read-more {
    margin-top: 20px;
}

/*  Why Choose Us Section */

.choose-us-section {
  position: relative;
  z-index: 10;
  margin-top: -105vh; /* pulls it upward to overlap the carousel */
}

.choose-us {
  background-color: #0056b3; /* blue background */
  color: #fff;
  padding: 40px 40px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 4px 25px rgba(0,0,0,0.3);
  position: relative;
  max-width: 500px;
  margin-left: 110vh; /* move right why choose section. */
  margin-right: auto;
}

.choose-us h2 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 20px;
}

.choose-us p {
  color: #fff; /* #e0e0e0*/
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.choose-us ul {
  list-style-type: none;
  padding: 0;
  columns: 1; /* two-column list for desktop */
  column-gap: 2rem;
}

.choose-us ul li::before {
  content: "✔ ";
  color: #fff; /* #ffd700*/
  font-weight: bold;
}

.choose-us .btn {
  border: none;
  font-weight: 600;
}

/* Mobile adjustments */
@media (max-width: 991.98px) {
  .choose-us-section {
    margin-top: 0; /* disable overlap on small screens */
  }

  .choose-us {
    padding: 25px;
    border-radius: 8px;
  }

  .choose-us ul {
    columns: 1; /* single column on mobile */
  }
}

/* Out Team section*/
/* Container */
.our-team {
    align-items: center;
    /* vertical alignment */
    justify-content: center;
    /* center horizontally */
    /* padding: 50px 20px; space inside section */
    background: #f9f9f9;
    /* gap: 30px; space between image and text */
}

/* Right Side (Content) */
.our-team-content {
    flex: 1.2;
    padding-left: 15vh;
    padding-right: 15vh;
    /* padding-top: 20px; */
    padding-bottom: 30px;
}

/* Heading */
.our-team-title {
    color: #333;
    
    font-weight: 600;
    text-align: center;
    /* font-size: 2.5rem; margin-bottom: 20px; you can change to center/right/left */
}

/* Paragraphs */
.our-team-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

/*  COMPANY PROFILE edit*/
.company-profile {
    background-color: white;
    padding-top: 40px;
    padding-left: 15vh;
    padding-right: 15vh;
    padding-bottom: 30px;
}

.profile-image {
    max-width: 100%;
    height: 90%;
}

/* adding Our product section */

.card {
    background-color: #2c2c2c;
    border: none;
}

.card-img-top {
    height: 130px;
    object-fit: cover;
}

.card-body1 {
    padding: 0.09 rem;
}

.card-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    /* White color for visibility */
}

@media (min-width: 768px) {
  .col-md-4 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (max-width: 991.98px) {
  .touch-row {
    flex-direction: column;
    padding: 1rem;
  }
  .contact-info {
    border-right: none;
    padding-bottom: 1rem;
  }
}


/*  Get in Touch With Us  */
.touch-row {
    display: flex;
    padding: 50px;
}

.contact-info {
    background-color: #ffffff;
    padding-left: 100px;
    padding-top: 50px;
    border-right: 1px solid #dee2e6;
    width: 50%;

}

.map-responsive {
  position: relative;
  overflow: hidden;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  border-radius: 10px;
}

.map-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Responsive behavior */
@media (max-width: 991.98px) {
  .touch-row {
    flex-direction: column;
    align-items: center;
  }

  .contact-info, .form-section {
    width: 100%;
  }

  .map-responsive {
    padding-bottom: 70vh; /* Map covers 70% of viewport height on mobile */
  }

  .form-section {
    margin-top: 20px;
    padding: 20px;
  }
}

.form-section {
    padding: 20px;
    background-color: #44617F;
    /* #343a40; */
    color: white;
    width: 50%;
}

.form-section h5 {
    color: white;
}

.btn-primary {
    background-color: #007bff;
    border: none;
}

.btn-primary:hover {
    background-color: #0056b3;
}

/* maps */
.map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio (height / width = 9 / 16 = 0.5625) */
    position: relative;
    height: 0;
}

.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}



/* Modal Pop-up Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 350px;
    /* Reduced width for a smaller box */
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.modal-header {
    border-bottom: none;
}

.modal-footer {
    border-top: none;
}



/* Last Footer section */

.footer {
    background-color: #44617F;
    color: #ffffff;
    padding: 3rem 0;
    text-align: left;
}

.footer .fcontainer-fluid {
    width: 100%;
}

.footer h5 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.footer p,
.footer li {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: #007bff;
    /* #fcd34d; */
}

.footer .fcontact-info div {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.footer .fcontact-info .bi {
    font-size: 1.25rem;
    margin-right: 1rem;
    color: #ffffff;
}

/* Social icons section */
.social-icons-footer div {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.social-icons-footer a {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.social-icons-footer a:hover {
    color: #007bff;
    /* #fcd34d; */
}

.social-icons-footer .bi {
    font-size: 1.5rem;
    margin-right: 0.75rem;
}

.copyright {
    background-color: #f8f9fa;
    text-align: center;
    padding: 1rem;
    font-size: 0.875rem;
    color: #6c757d;
    max-height: 20px;
}