/* style.css */

/* Global Colors and Typography Definitions */
:root {
    --primary-color: #0249a7;
    /* Deep Industrial Navy blue */
    --secondary-color: #134074;
    /* Medium Steel Navy */
    --orange-accent: #de0711;
    /* Vibrant Orange Accent */
    --light-bg: #f8f9fa;
    /* Crisp clean white background */
    --section-bg: #f0f4f8;
    /* Soft Gray-Blue section backdrop */
    --text-dark: #212529;
    /* Body Dark Text */
    --text-muted: #383838;
    /* Secondary muted descriptions */
    --fonts-primary: 'Montserrat', sans-serif;
    /* Clean industrial font weightings */
}

/* Base resets */
body {
    font-family: var(--fonts-primary);
    color: var(--text-dark);
    background-color: #ffffff;
    overflow-x: hidden;
}

.text-muted {
    color: var(--text-muted) !important;
}

/* Helpers & Utilities */
.text-primary-color {
    color: var(--primary-color) !important;
}

.text-orange {
    color: var(--orange-accent) !important;
}

.text-navy {
    color: var(--primary-color) !important;
}

.bg-light-section {
    background-color: var(--section-bg);
}

.font-size-xs {
    font-size: 11px !important;
}

.text-xs {
    font-size: 12px !important;
}

.word-break-all {
    word-break: break-all;
}

.client-logo {
    width: 100%;
    height: 100px;
    object-fit: contain;
}

/* Custom Buttons Styling */
.btn-orange {
    background: linear-gradient(90deg, #f30919 0%, #a00a0d 100%) !important;
    border-color: linear-gradient(90deg, #f30919 0%, #a00a0d 100%) !important;
    font-family: var(--fonts-primary);
    transition: all 0.3s ease;
}

.btn-orange:hover {
    background: linear-gradient(90deg, #a00a0d 0%, #f30919 100%) !important;
    transform: translateY(-2px);
}

.btn-navy {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    font-family: var(--fonts-primary);
    transition: all 0.3s ease;
}

.btn-navy:hover {
    background-color: var(--secondary-color) !important;
    transform: translateY(-2px);
}

.btn-outline-white {
    border: 2px solid #ffffff !important;
    background: transparent;
    font-family: var(--fonts-primary);
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    background: #ffffff !important;
    color: var(--primary-color) !important;
}

/* Header & Navigation tweaks */
.top-header {
    background-color: var(--primary-color);
}

.dropdown-menu-item:hover {
    background-color: var(--section-bg);
    color: var(--orange-accent) !important;
}

/* Hero Section with dark overlay structure over a conceptual blueprint/automation backdrop */
.hero-section {
    background: linear-gradient(90deg, rgb(0 0 0) 0%, rgb(0 0 0 / 20%) 100%), url(banner.jpg) no-repeat center center / cover;
    min-height: 85vh;
}

.form-card {
    border-top: 4px solid var(--orange-accent) !important;
}

/* Custom Responsive Flex Grid Grid for Ribbon */
@media (min-width: 768px) {
    .col-md-2-custom {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

/* About Grid */
.min-vh-40 {
    min-height: 320px;
}

/* Solution Box Elements */
.solution-mini-icon {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 10px 4px;
    background: #ffffff;
    transition: all 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.solution-mini-icon i {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.solution-mini-icon span {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-dark);
}

.solution-mini-icon:hover {
    border-color: var(--orange-accent);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

/* Value Props Styling */
.feature-box i {
    transition: transform 0.3s ease;
}

.feature-box:hover i {
    transform: scale(1.15);
}

/* Industry icon styles */
.industry-box {
    border: 1px solid transparent;
    padding: 15px 5px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    transition: all 0.3s ease;
}

.industry-box i {
    font-size: 1.75rem;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.industry-box span {
    font-size: 11px;
    font-weight: 600;
}

.industry-box:hover {
    border-color: var(--orange-accent);
    transform: translateY(-3px);
}

/* Process section connector line look */
@media (min-width: 768px) {
    .process-row::before {
        content: '';
        position: absolute;
        top: 35px;
        left: 12%;
        width: 76%;
        height: 2px;
        background-image: linear-gradient(to right, #ccc 50%, rgba(255, 255, 255, 0) 0%);
        background-position: bottom;
        background-size: 10px 1px;
        background-repeat: repeat-x;
        z-index: 0;
    }
}

.process-step {
    position: relative;
    z-index: 1;
}

/* Slider Overrides & Product Presentation styles */
.product-card {
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--orange-accent) !important;
    transform: scale(0.6);
    background: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.swiper-pagination-bullet-active {
    background: var(--orange-accent) !important;
}

/* Lower Call To Action Styling */
.cta-banner {
    background: linear-gradient(135deg, rgba(11, 37, 69, 0.95) 0%, rgba(19, 64, 116, 0.95) 100%),
        url('banner.jpg') no-repeat center center/cover;
}

.bg-dark-opacity {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Footer elements styling structure */
.footer-main {
    background-color: #05101e;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--orange-accent);
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    transition: background 0.2s ease;
}

.footer-socials a:hover {
    background: var(--orange-accent);
}

.footer-bottom-links a:hover {
    color: var(--orange-accent) !important;
}

/* Sticky Float Widgets */
.sticky-action-buttons {
    position: fixed;
    right: 20px;
    bottom: 30px;
    z-index: 1050;
}

.sticky-action-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 22px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: transform 0.2s ease;
}

.sticky-action-buttons a:hover {
    transform: scale(1.1);
    color: #fff;
}

.whatsapp-btn {
    background-color: #25d366;
}

.call-btn {
    background-color: var(--secondary-color);
}


/* services */
.service-card {
    position: relative;
    height: 380px;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .15);
}

.service-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .6s;
}

.service-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgb(0 0 0), rgba(10, 25, 42, .40), rgba(0, 0, 0, 0))
}

.service-content {
    position: absolute;
    left: 25px;
    right: 25px;
    bottom: 35px;
    color: #fff;
    z-index: 2;
}

.icon-box {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: #b01417;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 25px;
}

.service-content h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-content span {
    display: block;
    width: 60px;
    height: 3px;
    background: #b01417;
    margin-bottom: 18px;
}

.service-content p {
    color: #ddd;
    line-height: 1.5;
    margin: 0;
    font-size: 15px;
}

.service-card:hover .service-bg {
    transform: scale(1.08);
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
}

.swiper-pagination-bullet-active {
    background: #b01417;
}

.letter-spacing-2 {
    letter-spacing: 3px;
}

/* Breadcrumb Hero Banner */
.breadcrumb-banner {
    background-attachment: fixed;
    /* Parallax effect (optional) */
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    /* Adjust padding for height */
}

/* Dark Overlay to ensure light text is always readable */
.breadcrumb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    /* Adjust opacity (0.65) to make image darker or lighter */
    z-index: 0;
}

/* Customizing Bootstrap Breadcrumb Elements */
.breadcrumb-item+.breadcrumb-item::before {
    content: "\f105";
    /* FontAwesome Angle Right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.breadcrumb-item a:hover {
    color: var(--orange-accent) !important;
    /* Accent orange on hover */
    transition: color 0.2s ease-in-out;
}

/* Brand Orange Color */
.text-orange {
    color: var(--orange-accent) !important;
    /* Update with your exact orange hex code */
}

/* Open dropdown on hover for desktop screens (992px and above) */
@media (min-width: 992px) {
    .navbar .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0; /* Prevents awkward gap jumps */
        animation: fadeIn 0.2s ease-in-out; /* Optional smooth transition */
    }
}

/* Optional smooth animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Modal Overlay and Container */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1050;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.show {
  display: flex;
  opacity: 1;
}

.modal-content-wrapper {
  background-color: white;
  border-radius: 1rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  width: 90%;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform: translateY(-50px);
  opacity: 0;
}

.modal-overlay.show .modal-content-wrapper {
  transform: translateY(0);
  opacity: 1;
}

/* Modal Header */
.modal-header {
  background-color: #25D366;
  color: white;
  padding: 1rem;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h5 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 500;
}

.modal-header .close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

/* Modal Body */
.modal-body {
  padding: 1.5rem;
}

/* Form Styling */
.form-group {
  margin-bottom: 1rem;
}

.form-label {
  font-weight: 500;
  color: #4a4a4a;
  display: block;
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid #e0e0e0;
  padding: 0.75rem 1rem;
  box-sizing: border-box;
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.form-control:focus {
  outline: none;
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.btn-submit {
  background-color: #25d366;
  border: none;
  font-weight: bold;
  color: white;
  border-radius: 0.75rem;
  padding: 0.75rem 1.5rem;
  width: 100%;
  cursor: pointer;
  transition: transform 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

.btn-submit:hover {
  background-color: #128c7e;
  transform: translateY(-2px);
}

/* Corner Modal Specific Styles */
.corner-modal-overlay {
  justify-content: flex-end;
  align-items: flex-end;
  padding: 20px;
}

.corner-modal-overlay .modal-content-wrapper {
  width: 100%;
  max-width: 400px;
  transform: translateY(50px);
  margin: 0;
}

/* --- MOBILE RESPONSIVE STYLES --- */
@media (max-width: 768px) {
  .floating-contact-btn {
    bottom: 2rem;
    /* Space from the bottom on mobile */
    right: 1rem;
    /* Space from the right on mobile */
    gap: 0.75rem;
  }

  .floating-contact-btn>div,
  .floating-contact-btn>a {
    width: 50px;
    height: 50px;
  }

  .floating-contact-btn img {
    width: 35px;
  }
}