/* Website Color codes */
:root {
    --primary-color: #0056b3;
    --secondary-color: #ffc107;
    --accent-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --text-dark: #2c3e50;
    --text-light: #34495e;
    --border-light: #eee;
    --primary: #2c3e50;
    --secondary: #e74c3c;
    --accent: #3498db;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --success: #2ecc71;
}

.container {
    max-width: 90% !important;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    padding-top: 0;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
}

.nav-container {
    position: sticky;
    top: 0;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* padding: 10px 0px; */
}

.main-nav {
    display: flex;
    list-style: none;
    margin-bottom: 0;
    padding-left: 0;
}

.nav-item {
    position: static;
}

.nav-link {
    display: block;
    padding: 15px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.nav-link i {
    margin-left: 5px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.nav-item:hover .nav-link i {
    transform: rotate(180deg);
}

.mega-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    display: none;
    padding: 25px 30px;
    z-index: 999;
    gap: 30px;
    border-top: 3px solid var(--primary-color);
    animation: fadeIn 0.3s ease;
}

.nav-item:hover .mega-menu {
    display: flex;
}

.categories {
    width: 250px;
    flex-shrink: 0;
    border-right: 1px solid var(--border-light);
    padding-right: 25px;
}

.categories ul {
    list-style: none;
    padding-left: 0;
}

.categories li {
    padding: 10px 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-size: 15px;
    color: #333;
}

.categories li:hover,
.categories li.active {
    background-color: #f0f3f8;
    color: var(--text-dark);
    font-weight: 600;
}

.arrow {
    font-size: 18px;
    color: #7f8c8d;
    font-weight: bold;
}

.submenu {
    flex: 1;
}

.submenu-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.submenu-content.active {
    display: block;
}

.submenu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px 30px;
}

.submenu-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.submenu-grid li {
    padding: 8px 0;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.2s;
    color: var(--text-light);
}

.submenu-grid li:hover {
    color: var(--primary-color);
}

/* Hamburger menu */
.hamburger {
    display: none;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
    font-size: 24px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Hero section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
        url("../assets/images/hero-section.png") no-repeat right center;
    background-size: cover;
    /* ensures full coverage */
    background-position: right center;
    /* background-color: #0056b3; */
    color: white;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* adjust based on layout needs */
    position: relative;
    margin: 0;
    padding: 0;
    width: 100%;
}


/* Wooden strip effect */
.hero-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    /* background: url('/wooden-texture.png') repeat-x; */
    background-size: cover;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.4) inset;
    z-index: -1000 !important;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-title span {
    display: block;
    font-size: 1.6rem;
    font-weight: 500;
    margin-top: 5px;
}

.btn-primary {
    background-color: var(--secondary-color);
    border: none;
    color: var(--dark-color);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #e0a800;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: var(--dark-color);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    font-weight: 600;
    padding: 10px 28px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 50px;
    color: var(--primary-color);
    font-size: 2.8rem;
    font-weight: 700;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 40%;
    height: 4px;
    background: var(--secondary-color);
    bottom: -15px;
    left: 0;
    border-radius: 2px;
}

/* Categories Section Styles */
/*.category-card {
    background: white;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: none;
    position: relative;
}

    .category-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: linear-gradient(90deg, var(--secondary), var(--accent));
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.3s ease;
    }

    .category-card:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    }

        .category-card:hover::before {
            transform: scaleX(1);
        }

.category-icon {
    height: 60px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.2);
}

.category-title {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.category-desc {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.category-btn {
    background: linear-gradient(to right, var(--primary), var(--accent));
    border: none;
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
}

.category-card:hover .category-btn {
    opacity: 1;
    transform: translateY(0);
}

.category-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}*/


/* New Category section*/
.category-title {
    background: linear-gradient(to right, var(--accent), var(--primary));
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    margin: 30px 0 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.logo-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    /* This controls the minimum space between cards */
    margin-bottom: 50px;
}

.category-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 15px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
    width: 180px;
    /* Fixed width for consistency */
}

@media (max-width: 768px) {
    .category-logo-item {
        width: calc(50% - 1rem);
        /* Two items per row on smaller screens */
    }
}

.category-logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.category-logo-img {
    width: 100px;
    height: 70px;
    object-fit: contain;
    /*filter: grayscale(30%);*/
    /* opacity: 0.85;*/
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.category-logo-item:hover .category-logo-img {
    filter: grayscale(0%);
    /*    opacity: 1;*/
}

.brand-name {
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    font-size: 0.95rem;
}

/* New Category Section End*/

/* Brands Mega Menu Styles */
.brands-header {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
    padding: 20px 0;
    /* This will center vertically in flex container */
    display: flex;
    align-items: center;
    justify-content: center;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
}

/* Fallback for older browsers */
@supports not (display: grid) {
    .brands-grid {
        display: flex;
        flex-wrap: wrap;
    }

    .brand-card {
        flex: 1 1 280px;
        margin: 10px;
    }
}

.brand-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.brand-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    margin-bottom: 15px;
}

.brand-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.brand-name {
    text-align: center;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.brand-products {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    flex-grow: 1;
}

.brand-products li {
    padding: 5px 0;
    border-bottom: 1px solid #f0f0f0;
}

.brand-products li:last-child {
    border-bottom: none;
}

.brand-products a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    display: block;
}

.brand-products a:hover {
    /* color: var(--primary-color); */
    color: var(--secondary-color);
    padding-left: 5px;
}

.view-all {
    text-align: center;
    margin-top: auto;
}

.view-all a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.view-all a:hover {
    color: var(--secondary-color);
}

/* Responsive adjustments for brands */
@media (max-width: 1200px) {
    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
        /* 3 columns on medium screens */
    }
}

@media (max-width: 992px) {
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on tablets */
    }
}

@media (max-width: 576px) {
    .nav-wrapper{
        padding: 10px 0px;
    }
    .brands-grid {
        grid-template-columns: 1fr;
        /* 1 column on mobile */
    }

    .brands-header {
        font-size: 1.5rem;
    }
}

/* Brand Section End */

.products-section {
    padding: 100px 0;
}

.product-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    background: white;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.product-img {
    height: 200px;
    object-fit: contain;
    width: 100%;
    padding: 20px;
    background: #f9f9f9;
}

.product-body {
    padding: 20px;
}

.product-title {
    color: var(--dark-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
    height: 100px;
    overflow: hidden;
}

.product-price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.product-rating {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.badge-primary {
    background-color: var(--primary-color);
}

.brands-section {
    padding: 80px 0;
    background: linear-gradient(rgba(0, 86, 179, 0.05), rgba(0, 86, 179, 0.05));
}

.features-section {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.feature-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
    border-bottom: 4px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 4px solid var(--primary-color);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Feature products section */
.products-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.product-list-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-list-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-list-image {
    height: 200px;
    /* background-color: var(--light); */
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding: 20px; */
    border-bottom: 1px solid var(--border-light);
}

.product-list-image img {
    max-width: 100%;
    max-height: 160px;
    object-fit: contain;
}

.product-list-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-list-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary);
}

.product-list-info p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.product-list-features {
    margin: 15px 0;
}

.product-list-features li {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 5px;
    list-style-type: none;
    padding-left: 15px;
    position: relative;
}

.product-list-features li:before {
    content: "•";
    color: var(--accent-color);
    position: absolute;
    left: 0;
}

.product-list-actions {
    margin-top: auto;
    padding-top: 15px;
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.btn-view-details {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    text-decoration: none;
}

.btn-view-details:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.enquiry-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    text-align: center;
    text-decoration: none;
}

.enquiry-btn:hover {
    background-color: var(--primary);
}


/* About Us Section Styles */
.about-section {
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: rgba(0, 86, 179, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.about-image-container {
    z-index: 1;
}

.about-image-container .main-image {
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
}

.about-image-container:hover .main-image {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.experience-badge {
    bottom: 30px;
    left: 30px;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3;
    border: 5px solid white;
    background: var(--primary-color);
}

.experience-badge .years {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.7rem;
    text-align: center;
    line-height: 1.1;
    margin-top: 5px;
}

.about-features .fas {
    font-size: 1.2rem;
    margin-top: 5px;
}

.stats-container .stat-item {
    padding: 15px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    min-width: 120px;
    text-align: center;
    transition: all 0.3s ease;
}

.stats-container .stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.newsletter-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), #003366);
    color: white;
}

.newsletter-input {
    padding: 15px 20px;
    border-radius: 4px;
    border: none;
    width: 100%;
    margin-right: 10px;
}

.footer {
    background-color: #0d2b4e;
    color: white;
    padding: 70px 0 0;
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
}

.footer-about {
    margin-bottom: 20px;
}

.footer-title {
    color: white;
    margin-bottom: 25px;
    position: relative;
    font-size: 1.2rem;
}

.footer-title:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
    bottom: -10px;
    left: 0;
}

.footer-links li {
    margin-bottom: 10px;
    list-style: none;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.footer-contact-icon {
    color: var(--secondary-color);
    margin-right: 15px;
    font-size: 1.1rem;
    margin-top: 3px;
}

.footer-bottom {
    padding: 20px 0;
    margin-top: 50px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--secondary-color);
    color: var(--dark-color);
    transform: translateY(-3px);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: var(--dark-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #e0a800;
    transform: translateY(-3px);
}

/* Animation classes */
.animate-up {
    animation: fadeInUp 1s ease;
}

.animate-delay-1 {
    animation-delay: 0.2s;
}

.animate-delay-2 {
    animation-delay: 0.4s;
}

.navbar-brand img {
    height: 30px;
    transform: scale(1.5);
    transition: all 0.3s ease;
}

/* Our Story Section Styles */
.our-story-section {
    position: relative;
    overflow: hidden;
}

.story-timeline {
    position: relative;
    padding: 30px 0;
}

.story-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    border-radius: 10px;
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 30px;
    position: relative;
    margin-bottom: 60px;
    width: 50%;
}

.timeline-item:nth-child(even) {
    align-self: flex-end;
    justify-content: flex-start;
    padding-left: 30px;
    padding-right: 0;
    left: 50%;
}

.timeline-date {
    position: absolute;
    top: 10px;
    right: -70px;
    background: var(--primary-color);
    color: white;
    padding: 10px 15px;
    border-radius: 20px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 86, 179, 0.3);
    z-index: 2;
}

.timeline-item:nth-child(even) .timeline-date {
    right: auto;
    left: -70px;
}

.timeline-content {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    width: 100%;
    position: relative;
}

.timeline-content::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -10px;
    width: 20px;
    height: 20px;
    background: white;
    transform: rotate(45deg);
}

.timeline-item:nth-child(even) .timeline-content::after {
    right: auto;
    left: -10px;
}

.timeline-content h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.story-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.story-icon {
    color: var(--primary-color);
}

/* Team Modal Styles */
#teamModal .modal-content {
    border-radius: 15px;
    overflow: hidden;
    border: none;
}

#teamModal .modal-header {
    background: var(--primary-color);
    color: white;
    border-bottom: none;
    padding: 20px 30px;
}

#teamModal .modal-title {
    font-weight: 700;
}

#teamModal .btn-close {
    filter: invert(1);
}

.team-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.team-img-container {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.team-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 86, 179, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-card:hover .team-img-container img {
    transform: scale(1.1);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: white;
    color: var(--primary-color);
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.team-info {
    padding: 20px;
}

.team-info h4 {
    color: var(--text-dark);
    margin-bottom: 5px;
}

.team-info .text-primary {
    color: var(--primary-color) !important;
    font-weight: 600;
    margin-bottom: 10px;
}

.team-info .small {
    color: var(--text-light);
    line-height: 1.5;
}

#teamModal .modal-footer {
    border-top: 1px solid var(--border-light);
    padding: 15px 30px;
}

.brand-carousel {
    position: relative;
    padding: 20px 0;
    overflow: hidden;
}

.logo-item {
    flex: 0 0 auto;
    width: 180px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.logo-img {
    max-width: 80%;
    max-height: 70px;
    filter: grayscale(30%);
    opacity: 0.85;
    transition: all 0.3s ease;
}

.logo-item:hover .logo-img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Owl Carousel Customization */
.owl-stage {
    display: flex;
    padding: 15px 0;
}

.owl-item {
    display: flex;
    justify-content: center;
}

.owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.brand-carousel:hover .owl-nav {
    opacity: 1;
    pointer-events: auto;
}

.owl-prev,
.owl-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    color: #333 !important;
    font-size: 18px !important;
}

.owl-prev:hover,
.owl-next:hover {
    background: #3498db !important;
    color: white !important;
}

.owl-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.brand-carousel:hover .owl-dots {
    opacity: 1;
}

.owl-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd !important;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.owl-dot.active {
    background: #3498db !important;
    transform: scale(1.2);
}

.instructions {
    text-align: center;
    margin-top: 20px;
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Hide controls when 6 or fewer items */
.hide-controls .owl-nav,
.hide-controls .owl-dots,
.hide-controls .instructions {
    display: none !important;
}

/* Gradient overlays for seamless effect */
.gradient-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    pointer-events: none;
    z-index: 2;
}

.gradient-left {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.gradient-right {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .header-links {
        display: none;
    }
}

@media (max-width: 992px) {
    .hamburger {
        display: block;
    }

    .main-nav {
        display: none;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-section {
        background: #0056b3;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding: 120px 0 80px;
        text-align: center;
    }

    .hero-title {
        font-size: 2.3rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .brand-logo {
        width: 40px;
        height: 40px;
    }

    .experience-badge {
        width: 100px;
        height: 100px;
    }

    .experience-badge .years {
        font-size: 1.5rem;
    }

    .experience-badge .text {
        font-size: 0.6rem;
    }

    .stats-container .stat-item {
        min-width: 100px;
        padding: 10px 15px;
    }

    .team-img-container {
        height: 200px;
    }

    .logo-item {
        height: 100px;
        margin: 0 10px;
    }

    .owl-prev,
    .owl-next {
        width: 35px;
        height: 35px;
    }

    .gradient-overlay {
        width: 60px;
    }
}

@media (max-width: 576px) {
    .navbar-brand img {
        height: 30px;
    }

    .hero-title {
        font-size: 2rem;
        text-align: center;
        margin-top: 20px;
        margin-bottom: 20px;
        padding: 0 15px;
    }

    .hero-subtitle {
        text-align: center;
        padding: 0 15px;
    }

    .hero-section .btn {
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }

    .logo-item {
        height: 90px;
    }
}

/* Media query adjustments */
@media (max-width: 992px) {
    .hamburger {
        display: block;
        margin-right: 15px;
    }

    .story-timeline::before {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 0;
    }

    .timeline-item:nth-child(even) {
        left: 0;
        padding-left: 70px;
    }

    .timeline-date {
        left: 0;
        right: auto;
    }

    .timeline-content::after {
        display: none;
    }
}

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


#siemens {
    background: #009999 !important;
}

#schneider {
    color: #43CF5D !important;
}

.APL {
    background: #0082c8;
    padding: 15px 0px 0px 0px;
}

.submenu-grid a {
    color: var(--dark-color);
    text-decoration: none;
}

.submenu-grid a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.categories a {
    color: var(--dark-color);
    text-decoration: none;
}


/* Sidebar styles */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1050;
}

.sidebar-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background: white;
    z-index: 1060;
    transition: left 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

.sidebar-menu.active {
    left: 0;
}

.sidebar-header {
    padding: 15px 20px;
    font-size: 18px;
    font-weight: 600;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* background-color: var(--primary-color, #2c3e50); */
    color: white;
}

.close-btn {
    cursor: pointer;
    font-size: 24px;
    font-weight: 300;
    color: #000;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-y: auto;
}

.sidebar-nav .nav-item {
    margin-bottom: 0;
    border-bottom: 1px solid var(--border-light, #e0e0e0);
}

.sidebar-nav .nav-link {
    padding: 15px 20px;
    font-weight: 500;
    color: var(--text-dark, #333);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.sidebar-nav .nav-link:hover {
    background-color: #f8f9fa;
    color: var(--primary-color, #2c3e50);
}

.sidebar-nav .nav-link.active {
    background-color: var(--light-color, #f0f4f8);
    color: var(--primary-color, #2c3e50);
}

.sidebar-nav .nav-link i {
    transition: transform 0.3s ease;
    font-size: 12px;
}

.sidebar-nav .nav-link.active i {
    transform: rotate(180deg);
}

/* Main categories container */
.main-categories-container {
    display: none;
    background-color: #f8f9fa;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.main-categories-container.active {
    display: block;
    max-height: 1000px;
    overflow-y: auto;
}

/* Submenu categories */
.submenu-category {
    border-bottom: 1px solid #e9ecef;
}

.submenu-category:last-child {
    border-bottom: none;
}

.submenu-category .nav-link {
    padding: 12px 20px 12px 30px;
    font-size: 14px;
}

/* Nested submenus */
.submenu-container.nested {
    display: none;
    background-color: #f0f4f8;
    padding-left: 15px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.submenu-container.nested.active {
    display: block;
    max-height: 500px;
    overflow-y: auto;
}

.submenu-container.nested ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.submenu-container.nested li {
    padding: 10px 15px 10px 25px;
    font-size: 13px;
    color: var(--text-light, #666);
    border-bottom: 1px solid #e9ecef;
}

.submenu-container.nested li:last-child {
    border-bottom: none;
}

.submenu-container.nested li a {
    color: var(--text-dark, #333);
    text-decoration: none;
    display: block;
    transition: color 0.2s ease;
}

.submenu-container.nested li a:hover {
    color: var(--primary-color, #2c3e50);
}

/* Regular navigation items (not in categories) */
.sidebar-nav>.nav-item:not(:first-child) {
    border-top: 1px solid var(--border-light, #e0e0e0);
}

.sidebar-nav>.nav-item:not(:first-child) .nav-link {
    padding: 15px 20px;
    font-weight: 500;
}