/* Import Bootstrap Icons */
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css");

:root {
    --primary-color: #722F37; /* Maroon */
    --primary-darker: #5a252b;
    --secondary-color: #f8f9fa; /* Light gray */
    --light-gradient-start: #ffffff;
    --light-gradient-end: #f1f2f6; /* Very subtle light gray */
    --text-dark: #212529;
    --text-muted: #6c757d;
    --text-light: #ffffff;
    --border-color: #dee2e6;
    --shadow-sm: 0 .125rem .25rem rgba(0, 0, 0, .075);
    --shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, .175);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.7; /* Slightly increased line height */
    font-weight: 400; /* Default font weight */
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

.btn-outline-primary {
    --bs-btn-color: var(--primary-color);
    --bs-btn-border-color: var(--primary-color);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--primary-color);
    --bs-btn-hover-border-color: var(--primary-color);
    --bs-btn-focus-shadow-rgb: 114, 47, 55; /* RGB of #722F37 */
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--primary-color);
    --bs-btn-active-border-color: var(--primary-color);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: var(--primary-color);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--primary-color);
    --bs-gradient: none;
}

/* --- UTILITIES --- */

.bg-light-gradient {
    background: linear-gradient(180deg, var(--light-gradient-start) 0%, var(--light-gradient-end) 100%);
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600; /* Bolder headings */
}
.display-4 { font-weight: 700; }
.lead { font-weight: 400; } /* Standard weight for lead paragraphs */

/* --- LINKS & BUTTONS --- */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: var(--primary-darker);
    text-decoration: none; /* Often looks cleaner */
}

.btn {
    font-weight: 500;
    padding: 0.75rem 1.5rem; /* Slightly larger buttons */
    border-radius: 0.3rem; /* Consistent border radius */
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: var(--text-light) !important;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: var(--primary-darker) !important;
    border-color: var(--primary-darker) !important;
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-outline-primary:hover, .btn-outline-primary:focus, .btn-outline-primary:active {
    background-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

/* --- NAVBAR --- */
.navbar {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}
.navbar-brand {
    font-size: 1.6rem;
    font-weight: 700;
}
.navbar-logo { /* Add styles for your actual logo */
    height: 35px;
    width: auto;
}
/* Placeholder styling */
.logo-placeholder {
    display: inline-block;
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    border-radius: 50%;
    opacity: 0.5;
}

.nav-link {
    color: #555;
    font-weight: 500;
    transition: color 0.3s ease;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}
.nav-link:hover,
.nav-link.active {
     color: var(--primary-color) !important;
}
.nav-link.btn {
    padding: 0.5rem 1rem !important; /* Adjust button padding in nav */
}

/* --- SECTIONS --- */
section {
    padding-top: 90px;
    padding-bottom: 90px;
    overflow: hidden;
}

.section-title {
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px; /* Default bottom margin */
}
.section-title.fw-bold { font-weight: 700 !important; } /* Ensure title boldness */

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 10px auto 0; /* Center the line */
    opacity: 0.7;
}

.text-primary{
    color: #722F37 !important;
}
/* section#security,  {
    overflow: hidden;
} */
/* --- HERO SECTION --- */
.hero-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 240, 245, 0.95) 100%); /* Optional subtle pattern */
    background-color: #fff; /* Fallback */
    min-height: 90vh;
    padding-top: 120px; /* More padding due to fixed navbar */
}
.hero-section h1 {
    color: #333;
}
.hero-img { /* Style for your actual hero image */
    max-width: 100%;
    height: auto;
    animation: float 4s ease-in-out infinite; /* Subtle floating animation */
}
.hero-image-container {
    position: relative;
}
/* Example floating animation */
@keyframes float {
	0% { transform: translateY(0px); }
	50% { transform: translateY(-10px); }
	100% { transform: translateY(0px); }
}

/* --- ABOUT SECTION --- */
.about-placeholder {
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* --- HOW IT WORKS --- */
.step-card {
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow-sm);
}
.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}
.step-icon i {
    transition: transform 0.3s ease;
}
.step-card:hover .step-icon i {
    transform: scale(1.1);
}

/* --- PRODUCT CARDS --- */
.product-card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px; /* Apply border radius to card */
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow) !important;
}
.product-image-bg { /* Style for the image column background */
    background-color: var(--secondary-color);
    /* Or add a specific subtle pattern/gradient */
    /* background: linear-gradient(45deg, #f8f9fa, #e9ecef); */
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}
.product-img { /* Style for actual product images */
    max-height: 180px;
    width: auto;
    object-fit: contain;
}
.features-list li {
    margin-bottom: 6px;
    display: flex;
    align-items: flex-start;
}
.features-list li i {
    margin-top: 4px;
    flex-shrink: 0;
}

/* --- WHY CHOOSE US --- */
.why-choose-list li i {
    flex-shrink: 0; /* Prevent icon shrinking */
    margin-top: 5px; /* Align icon better */
}
.why-choose-list h5 {
    margin-bottom: 0.3rem !important;
}
.why-choose-placeholder {
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* --- SECURITY SECTION --- */
#security {
    /* Background color set inline */
    border-radius: 10px; /* Slightly rounded corners if desired */
    margin-left: auto; /* Center container effect (adjust as needed) */
    margin-right: auto;
    max-width: 1140px; /* Match container max-width */
    margin-top: -40px; /* Overlap slightly with section above */
    position: relative; /* Needed for potential z-index */
    z-index: 10;
    box-shadow: var(--shadow-lg);
}
#security p.lead {
    color: rgba(255,255,255,0.85);
}
#security .row > div {
    color: rgba(255,255,255,0.9);
}

/* --- INDUSTRIES SECTION --- */
.industry-item {
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex; /* Use flex for internal alignment */
    flex-direction: column; /* Stack icon and text */
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
}
.industry-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow) !important;
    border-color: var(--primary-color) !important;
}
.industry-item i {
    transition: transform 0.3s ease;
}
.industry-item:hover i {
     transform: scale(1.1);
}
/* Equal Height Fix: Applied h-100 to the card (.industry-item) and d-flex to the parent column in HTML */


/* --- CONTACT FORM --- */
.contact-card {
    background-color: #fff;
    border-radius: 8px;
}
.form-control {
    border: 1px solid #ced4da;
    padding: 0.75rem 1rem; /* Consistent padding */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(114, 47, 55, 0.25); /* Primary color focus */
}
/* Basic validation feedback styling */
.help-block.with-errors {
    color: #dc3545; /* Bootstrap danger color */
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

/* --- FOOTER --- */
.footer-dark {
    background-color: var(--primary-darker); /* Use darker shade */
    color: var(--text-light);
    padding-top: 2rem;
    padding-bottom: 2rem;
}
.footer-dark a {
     transition: color 0.3s ease;
}
.footer-dark a:hover {
    color: #fff !important; /* Brighter white on hover */
}

/* --- IMAGE PLACEHOLDERS (Update dimensions as needed) --- */
.img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
    color: #6c757d;
    border: 1px dashed #ced4da;
    width: 100%;
    min-height: 150px;
    background-color: #e9ecef; /* Default background */
}

.hero-placeholder { min-height: 350px; border-radius: 8px; }
.about-placeholder { min-height: 300px; }
.product-placeholder { min-height: 180px; height: 100%; border-radius: 0; border: none; background-color: transparent; /* Let parent bg show */}
.why-choose-placeholder { min-height: 350px; }
.industries-collage-placeholder { min-height: 180px; max-width: 700px; border-radius: 8px;}
.contact-support-placeholder { min-height: 120px; max-width: 400px; border-radius: 8px;}


/*  */
.product-card {
    box-shadow: 0 2px 20px #00000029 !important;
    cursor: pointer;
}

.product-card:hover {
    box-shadow: 0 0 20px #00000054 !important;
}
.contactInfo:hover {
    color: #fff !important;
}
.hamburger .line {
    width: 40px;
    height: 3px;
    background-color: #722f37;
    display: block;
    margin: 7px auto;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
  .hamburger:hover{
    cursor: pointer;
  }
  
  .is-active #hamburger-1 .line:nth-child(2){
    opacity: 0;
  }
  
  .is-active #hamburger-1 .line:nth-child(1){
    -webkit-transform: translateY(13px) rotate(45deg);
    -ms-transform: translateY(13px) rotate(45deg);
    -o-transform: translateY(13px) rotate(45deg);
    transform: translateY(11px) rotate(45deg);
  }
  
  .is-active #hamburger-1 .line:nth-child(3){
    -webkit-transform: translateY(-13px) rotate(-45deg);
    -ms-transform: translateY(-13px) rotate(-45deg);
    -o-transform: translateY(-13px) rotate(-45deg);
    transform:translateY(-10px) rotate(-45deg);
  }

  .hamburger {
    display: none;
  }
  a.nav-link.btn.btn-primary.text-white.ms-lg-3.px-3.contactInfo.active {
    color: #fff !important;
  }
/* --- RESPONSIVE ADJUSTMENTS --- */



/*****  Menu UnderliNe after 991px *********/
@media (min-width: 991.98px) {
div#navbarNav li.nav-item a.nav-link {
    padding: 0;
    margin: 0 10px;
    position: relative;
}

div#navbarNav li.nav-item a.nav-link:after {
    content: "";
    position: absolute;
    left: 0;
    width: 0;
    transition: all ease-in-out 0.3s 0s;
    bottom: 0;
    height: 2px;
    background: #722f37;
}

div#navbarNav li.nav-item a.nav-link:hover:after {
    width: 100%;
}
}

@media (max-width: 991.98px) {
    section { padding-top: 70px; padding-bottom: 70px; }
    #hero { text-align: center; min-height: auto; padding-top: 100px; padding-bottom: 50px; }
    .hero-placeholder { margin-top: 30px; height: auto; min-height: 250px; }
    .section-title::after { margin: 10px auto 0; }
    #about .text-center, #why-choose-us .order-lg-1 { margin-top: 40px; } /* Add margin to image cols */
    .product-image-bg { border-radius: 8px 8px 0 0; } /* Adjust radius on smaller screens */
    .product-card .row > div:last-child { border-top-left-radius: 0; border-bottom-left-radius: 8px; border-bottom-right-radius: 8px;} /* Adjust body radius */
     #security { margin-top: 0; border-radius: 0;} /* Remove overlap and radius */
     #contact .card { padding: 2rem !important; }


     /* Menu CSS */

    
    div#navbarNav ul.navbar-nav.ms-auto {
        margin: 0 !important;
        padding: 0 !important;
        flex-direction: column;
        text-align: center;
        font-size: 26px;
    }
    
    div#hamburger-1 {
        display: block;
        z-index: 1;
    }
    body.is-active {
        overflow: hidden;
    }
    div#navbarNav {
        position: fixed;
        top: 0;
        bottom: 0;
        right: 0;
        background:#fffffff7;
        display: flex
;
        align-items: center;
        justify-content: center;
        width: 100%;
        left: 100%;
        transition: all ease-in-out 0.3s;
        opacity: 0;
        visibility: hidden;
        flex-direction: column;
        gap: 30px;
    }
    
    div#navbarNav ul.navbar-nav.ms-auto {
        margin: 0 !important;
        padding: 0 !important;
        flex-direction: column;
        text-align: center;
        font-size: 22px;
    }
    
    div#hamburger-1 {
        display: block;
        z-index: 1;
    }
    
    .is-active div#navbarNav {
        left: 0;
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 767.98px) {
    h1.display-4 { font-size: 2.3rem; }
    h2.section-title { font-size: 1.8rem; }
    section { padding-top: 50px; padding-bottom: 50px; }
    .step-card, .industry-item { padding: 1.5rem !important; } /* Adjust padding */
    .display-4, .fs-1, .fs-2 { font-size: 2rem !important; } /* Scale down large icons */
    .product-placeholder { min-height: 150px; }
     #security .display-1 { font-size: 4rem !important; }


     .container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        padding-right: 20px;
        padding-left: 20px;
     }
}