:root {
    --primary-orange: #F26F21;
    --dark-charcoal: #2D2D2D;
    --light-gray: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-charcoal);
}

.text-orange { color: var(--primary-orange); }
.bg-orange { background-color: var(--primary-orange); }

/* Top Bar */
.top-bar {
    background-color: var(--dark-charcoal);
    color: white;
    font-size: 14px;
}
.top-bar a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
}
.top-bar a:hover { color: var(--primary-orange); }
.social-icons a { margin-left: 15px; }

/* Navigation */
.nav-link {
    font-weight: 600;
    color: var(--dark-charcoal) !important;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 10px 15px !important;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary-orange) !important;
}

.btn-primary {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
}
.btn-primary:hover {
    background-color: #d65d1a;
    border-color: #d65d1a;
}
/* Enable Hover for Desktop (above 1200px for your xl navbar) */
@media (min-width: 1200px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0; /* Remove gap so it doesn't close when moving mouse */
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        transition: all 0.3s ease;
    }

    .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
    }
}

/* Dropdown Item Styling */
.dropdown-item {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--dark-charcoal);
    transition: 0.2s;
}

.dropdown-item:hover {
    background-color: rgba(242, 111, 33, 0.05);
    color: var(--primary-orange);
}

/* Remove the arrow icon if you want a cleaner look (optional) */
.dropdown-toggle::after {
    vertical-align: middle;
    margin-left: 5px;
    border-top-color: var(--primary-orange);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 60vh;
    min-height: 315px;
    overflow: hidden;
    display: flex;
    align-items: center;
}
#heroVideo {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
    object-fit: cover;
}
/* Hero Section Dark Shadow Overlay */
.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    /* Creating a radial and linear shadow mix for depth */
    background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.8) 100%);
    display: flex;
    align-items: center;
    z-index: 1;
}

.hero-section .container {
    z-index: 2;
    position: relative;
}

/* Typing Cursor Animation */
.cursor {
    color: var(--primary-orange);
    animation: blink 0.7s infinite;
    font-weight: 300;
    margin-left: 5px;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Ensure the text stays bold and orange */
.text-orange {
    color: #F26F21 !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
/* Sections */
.section-title {
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-orange);
}
.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.cts-section {
    background: linear-gradient(rgba(242, 111, 33, 0.9), rgba(242, 111, 33, 0.9)), url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-attachment: fixed;
}

/* Footer */
.footer {
    background-color: var(--dark-charcoal);
    color: #eee;
}
.footer h5 {
    color: var(--primary-orange);
    margin-bottom: 20px;
}
.footer a {
    color: #ccc;
    text-decoration: none;
    line-height: 2;
}
.brightness-0 { filter: brightness(0) invert(1); }

/* AI Section Styling */
.ai-capabilities {
    background-color: #ffffff;
}

.ai-block {
    background: #fff;
    border-radius: 15px;
    border: 1px solid #eee;
    transition: all 0.3s ease-in-out;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ai-icon-wrapper {
    font-size: 2.5rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 15px;
}

/* Color Combinations */
.card-ml .ai-icon-wrapper { color: #f26f21; background: rgba(242, 111, 33, 0.1); } /* Nexora Orange */
.card-robotics .ai-icon-wrapper { color: #6f42c1; background: rgba(111, 66, 193, 0.1); } /* Purple */
.card-nlp .ai-icon-wrapper { color: #0dcaf0; background: rgba(13, 202, 240, 0.1); } /* Cyan/Teal */
.card-analytics .ai-icon-wrapper { color: #0d6efd; background: rgba(13, 110, 253, 0.1); } /* Blue */

/* Hover Effects */
.ai-block:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.card-ml:hover { border-bottom: 4px solid #f26f21; }
.card-robotics:hover { border-bottom: 4px solid #6f42c1; }
.card-nlp:hover { border-bottom: 4px solid #0dcaf0; }
.card-analytics:hover { border-bottom: 4px solid #0d6efd; }

.ai-block h5 {
    font-size: 1.1rem;
    color: #2D2D2D;
}

.tracking-wider {
    letter-spacing: 2px;
}

/* Breadcrumb Area */
.breadcrumb-area {
    background: linear-gradient(rgba(45, 45, 45, 0.9), rgba(45, 45, 45, 0.9)), 
                url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
     background-attachment: fixed; /* Optional: adds a nice parallax effect */
    padding: 100px 0;
}

.breadcrumb-item a {
    color: #fff;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--primary-orange);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #fff;
}

/* About Image Stack */
.about-img-stack {
    position: relative;
    padding: 20px;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: 0;
    padding: 20px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Dark Charcoal Background */
.bg-dark-charcoal {
    background-color: #2D2D2D;
}

/* Why Us Cards */
.why-card {
    border-radius: 12px;
    border: none;
}

.why-card:hover {
    transform: translateY(-10px);
    background-color: var(--primary-orange) !important;
}

.why-card:hover .why-icon i,
.why-card:hover h5,
.why-card:hover p {
    color: #fff !important;
}

.transition {
    transition: all 0.3s ease;
}

.mission-card {
    transition: transform 0.3s ease;
}

.mission-card:hover {
    transform: scale(1.02);
}


/*blogs*/

/* Home Page Blog Styling */
.blog-home-card {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
}

.blog-home-card .card-img-top {
    transition: transform 0.5s ease;
}

.blog-home-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.1) !important;
}

.blog-home-card:hover .card-img-top {
    transform: scale(1.1);
}

.bg-orange {
    background-color: #F26F21 !important;
}

.stretched-link::after {
    /* Ensures the entire card is clickable */
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    content: "";
}