/* General Styles */
:root{
    --bs-primary-emphasis: #14125e;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
}

.btn-warning {
    --bs-btn-color: #000;
    --bs-btn-bg: #F39326;
    --bs-btn-border-color: #F39326;
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: #e98514;
    --bs-btn-hover-border-color: #ffc720;
    --bs-btn-focus-shadow-rgb: 217, 164, 6;
    --bs-btn-active-color: #000;
    --bs-btn-active-bg: #ffcd39;
    --bs-btn-active-border-color: #ffc720;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #000;
    --bs-btn-disabled-bg: #F39326;
    --bs-btn-disabled-border-color: #F39326;
}

/* Navbar Styles */
.navbar {
    padding: 0px 0;
    transition: all 0.3s ease;
}

.navbar-brand img.logo {
    height: 48px;
}

.nav-link {
    font-weight: 500;
    margin: 0 10px;
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #F39326;
    transition: width 0.3s ease;
}

.nav-link:hover:after {
    width: 100%;
}

/* Navigation active state */
.navbar-nav .nav-link.active {
    color: #F39326 !important;
    font-weight: 600;
    position: relative;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #F39326;
}

/* For dropdown items */
.navbar-nav .dropdown-item.active {
    color: #F39326 !important;
    background-color: rgba(0, 123, 255, 0.1);
}

/* Hero Section */
.hero-section {
    padding: 0px 0;
    background-color: #f8f9fa;
    margin-top: -76px; /* Compensate for fixed navbar */
}

.hero-section h1 {
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.feature-item {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #444;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Hero Carousel Styles */
.hero-slide {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-item {
    transition: transform 1.2s ease-in-out;
}

.carousel-item .feature-item {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.carousel-item h1 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.carousel-item .lead {
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    font-size: 1.4rem;
}

.carousel-indicators {
    bottom: 40px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
}

/* Services Section */
.service-card {
    padding: 20px;
    border-radius: 15px;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card img {
    border-radius: 10px;
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #1a1a1a;
}

/* Why Choose Us Section */
.feature-box {
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-box i {
    font-size: 2.5rem;
    color: var(--bs-primary-emphasis);
}

/* Clients Section */
.client-logo {
    opacity: 0.7;
    transition: opacity 0.3s ease;
    max-height: 100px;
    object-fit: contain;
}

.client-logo:hover {
    opacity: 1;
}

/* Footer */
.footer {
    background-color: #1a1a1a !important;
}

.footer h5 {
    color: #fff;
    margin-bottom: 20px;
}

.footer a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color:#F39326;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer-links a {
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #F39326 !important;
}

.social-links a {
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #F39326 !important;
}

.footer-contact a {
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #F39326 !important;
}

/* Buttons */
.btn-warning {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(132, 64, 1, 0.3);
}

/* Animations */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* Megamenu Styles */
.has-megamenu {
    position: static !important;
}

.megamenu {
    width: ;
    border: none;
    border-radius: 0;
    margin-top: 0;
    padding: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: block !important;
    transform: translateY(10px);
    border-radius: 1rem 0 1rem 0;
}

/* Logo size adjustment for mobile */
@media (max-width: 768px) {
    .navbar-brand .logo {
        max-height: 40px;
        width: auto;
    }

    .offcanvas-title .logo {
        max-height: 35px;
        width: auto;
    }
}

@media (min-width: 992px) {
    .has-megamenu:hover .megamenu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.menu-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: all 0.3s ease;
    align-items: center;
    
}

.menu-card:hover {
    transform: translateY(-5px);
}

.menu-img {
    width: 60px;
    height: 60px;
    float: left;
    margin-right: 20px;
    object-fit: cover;
    border-radius: 10px;
}

.menu-card h5 {
    font-size: 1rem;
    margin: 0;
    color: #333;
    text-align: left;
}

/* Offcanvas Styles */

.offcanvas .navbar-nav .nav-link {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.offcanvas .navbar-nav .dropdown-toggle::after {
    float: right;
    margin-top: 10px;
}

#servicesSubmenu {
    background: rgba(0,0,0,0.02);
    padding: 0.5rem 0;
}

#servicesSubmenu .nav-link {
    padding: 0.5rem 1rem;
    border-bottom: none;
    font-size: 0.9rem;
}

/* Hide desktop menu on mobile and vice versa */
@media (max-width: 991.98px) {
    .navbar-collapse.d-none.d-lg-block {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .navbar-toggler {
        display: none;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding: 60px 0;
    }
    
    .hero-image {
        margin-top: 40px;
    }
    
    .feature-box {
        margin-bottom: 30px;
    }
}

/* Intro Section Styles */
.intro-section {
    overflow: hidden;
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    color: #1a1a1a;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-item-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.feature-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.feature-item-card i {
    font-size: 1.5rem;
    color: var(--bs-primary-emphasis);
}

.intro-image-stack {
    position: relative;
    height: 500px;
    width: 100%;
}

.intro-image-stack img {
    position: absolute;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.intro-image-stack .img-1 {
    width: 70%;
    top: 0;
    right: 0;
    z-index: 3;
}

.intro-image-stack .img-2 {
    width: 60%;
    top: 20%;
    left: 0;
    z-index: 2;
}

.intro-image-stack .img-3 {
    width: 50%;
    bottom: 0;
    right: 20%;
    z-index: 1;
}

/* About Section Styles */
.about-section {
    position: relative;
    overflow: hidden;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.value-card i {
    font-size: 2rem;
    color: var(--bs-primary-emphasis);
    margin-bottom: 1rem;
}

.value-card h5 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.value-card p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.about-image-container {
    position: relative;
    padding: 2rem;
}

.about-image-wrapper {
    position: relative;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--bs-primary-emphasis);
    color: white;
    padding: 1.5rem;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,123,255,0.3);
}

.experience-badge .years {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.8rem;
    text-align: center;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .intro-image-stack {
        height: 400px;
        margin-top: 3rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-image-container {
        margin-top: 3rem;
    }
}

@media (max-width: 767.98px) {
    .values-grid {
        grid-template-columns: 1fr;
    }

    .experience-badge {
        width: 100px;
        height: 100px;
        padding: 1rem;
    }

    .experience-badge .years {
        font-size: 1.5rem;
    }

    .experience-badge .text {
        font-size: 0.7rem;
    }
}

/* Production Labor Service Page Styles */
.service-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
                url('../services Photo/production workers/interior-view-steel-factory.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0;
}

.min-vh-50 {
    min-height: 50vh;
}

.icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(0, 123, 255, 0.1);
}

.icon-box i {
    font-size: 28px;
}

/* Card hover effects */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Housekeeping Service Page Styles */
.housekeeping-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
                url('../img/services/housekeeping/full-shot-people-wearing-hazmat-suits.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0;
}

.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-card {
    background: white;
    border-radius: 10px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Manpower Services Page Styles */
.manpower-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
                url('../img/services/manpower/financial-managers-work.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0;
}

/* Security Services Page Styles */
.security-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
                url('../img/services/security/high-angle-guard-woman-watching-area.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0;
}

/* Shared Styles for Service Pages */
.feature-box {
    padding: 1.5rem;
    background: #fff;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-box .icon-box {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background-color: rgba(0, 123, 255, 0.1);
}

.feature-box .icon-box i {
    font-size: 24px;
    color: var(--bs-primary-emphasis);
}

.btn-primary {
    background-color: #F39326 !important;
    border-color: #F39326 !important;
}
.btn-primary:hover, .btn-primary:focus {
    background-color: #d87e13 !important;
    border-color: #d87e13 !important;
}

/* Form Styles */
.form-control {
  border-radius: 8px;
  border: 2px solid #e5e7eb;
  padding: 0.75rem 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

/* Dropdown Menu */
.dropdown-menu {
  border: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
}

.dropdown-item:hover {
  background-color: var(--light-color);
  color: var(--primary-color);
}

.icon-dark {
  color: #333333;
}

.btn-outline-orange {
  color: #F39326;
  border: 1px solid #F39326;
  background-color: transparent;
  transition: all 0.3s ease;
}

.btn-outline-orange:hover {
  background-color: #F39326;
  color: #fff;
}

.btn-outline-orange:hover .icon-dark {
  color: #fff;
}
