/* Company Colors & Modern Variables */
:root {
    /* Core Brand Colors */
    --primary-orange: #FF6B00; /* More vibrant orange */
    --secondary-orange: #FF8C00;
    --dark-orange: #E65100;
    
    /* Modern Palette */
    --primary-dark: #0F172A; /* Deep blue-gray for backgrounds */
    --secondary-dark: #1E293B; /* Lighter blue-gray for cards */
    --accent-blue: #3B82F6; /* Tech blue for accents */
    --accent-purple: #8B5CF6; /* For gradients */
    
    /* Neutrals */
    --white: #FFFFFF;
    --light-gray: #F8FAFC;
    --text-primary: #1E293B;
    --text-secondary: #64748B;
    --text-light: #94A3B8;
    
    /* Effects */
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    
    /* Spacing */
    --navbar-height: 115px;
}

/* Global Styles */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--light-gray);
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-orange);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-orange);
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--light-gray);
    border-top: 5px solid var(--primary-orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Navigation */
.navbar {
    background: #FFFFFF !important;
    backdrop-filter: none;
    transition: all 0.4s ease;
    padding: 15px 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav-link {
    font-weight: 600;
    color: var(--text-primary) !important;
    font-size: 1.05rem;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1.2rem !important;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-orange) !important;
}

.nav-link::after {
    display: none; /* Remove underline */
}

/* Custom Navigation Badge Logic */
.carousel-slide-counter {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    z-index: 10;
}

.carousel-control-prev, .carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
    margin: 0 20px;
}

.carousel-control-prev:hover, .carousel-control-next:hover {
    background: rgba(255,255,255,0.4);
    opacity: 1;
}

.carousel-indicators {
    display: none; /* Hide default indicators */
}

/* Carousel Caption Override */
.carousel-caption-custom {
    text-align: left;
    left: 10%;
    top: 50%; /* Center vertically */
    transform: translateY(-50%);
    width: 60%;
    z-index: 2; /* Ensure it's above the overlay */
}

.badge-custom {
    background-color: var(--primary-orange);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-align: left;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-subtitle {
    text-align: left;
    margin-left: 0;
    font-size: 1.35rem;
    max-width: 650px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* Buttons */
.btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--secondary-orange) 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.4);
    background: linear-gradient(135deg, var(--secondary-orange) 0%, var(--primary-orange) 100%);
}

.btn-outline-light {
    border-width: 2px;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-orange);
    transform: translateY(-3px);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    padding-top: var(--navbar-height); /* Added padding to prevent navbar overlap */
}

.carousel, .carousel-inner, .carousel-item {
    height: 100%;
}

.carousel-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 10s ease;
}

.carousel-item.active .carousel-background {
    transform: scale(1.1);
}

.bg-gradient-1 {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
}

.bg-gradient-2 {
    background: linear-gradient(135deg, #0F2027, #203A43, #2C5364);
}

.bg-gradient-3 {
    background: linear-gradient(135deg, #11998e, #38ef7d);
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    /* Dot pattern overlay */
    background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 30px 30px;
}

.carousel-caption-custom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 80%;
    z-index: 10;
    color: white;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Section Common */
.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.text-primary {
    color: var(--primary-orange) !important;
}

.ls-2 {
    letter-spacing: 2px;
}

/* Cards (Glassmorphism) */
.glass-card {
    background: var(--white);
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-orange), var(--secondary-orange));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.glass-card:hover::before {
    transform: scaleX(1);
}

/* New Service Card Styling */
.service-card-new {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #E5E7EB; /* Light gray border */
    position: relative;
    overflow: hidden;
}

.service-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-color: rgba(255, 107, 0, 0.3);
}

.service-icon-new {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FFF3E0; /* Light orange background */
    border-radius: 12px; /* Rounded square */
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.service-card-new:hover .service-icon-new {
    background-color: #FF6B00;
    color: white !important;
}

.service-card-new:hover .service-icon-new i {
    color: white !important;
}

.border-light-gray {
    border-color: #E5E7EB !important;
}

.bullet-orange {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #FF6B00;
    border-radius: 2px; /* Rounded square bullet */
    flex-shrink: 0;
}

/* Tech Cards */
.tech-card {
    background: var(--white);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.tech-card::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.05) 0%, rgba(255, 107, 0, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-orange);
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.1);
}

.tech-card:hover::after {
    opacity: 1;
}

/* Dark Tech Card Variant */
.bg-dark-glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.border-glass {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Products */
.product-card {
    border: none;
    border-radius: 20px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.product-header {
    position: relative;
}

.ribbon-wrapper {
    width: 85px;
    height: 88px;
    overflow: hidden;
    position: absolute;
    top: -3px;
    right: -3px;
}

.ribbon {
    font-size: 10px;
    font-weight: bold;
    color: #FFF;
    text-transform: uppercase;
    text-align: center;
    line-height: 20px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    width: 100px;
    display: block;
    background: #79A70A;
    background: linear-gradient(#F70505 0%, #8F0808 100%);
    box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
    position: absolute;
    top: 19px;
    right: -21px;
}

/* Testimonials */
.testimonial-card {
    transition: all 0.3s ease;
}

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

.testimonial-card-modern {
    background: #fff;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1;
    overflow: hidden;
}

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

.quote-icon-bg {
    position: absolute;
    top: 10px;
    right: 20px;
    z-index: 0;
}

.quote-icon-bg i {
    color: var(--bs-primary);
    opacity: 0.1 !important;
}

.ls-1 {
    letter-spacing: 1px;
}

/* Footer */
footer {
    background: var(--primary-dark);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: var(--primary-orange);
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(50px);
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary-orange);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
}

/* Animations */
.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Location Cards */
.location-card-new {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #E5E7EB;
}

.location-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.hq-card {
    border: 2px solid #FF6B00; /* Highlight HQ */
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.1);
}

.hq-badge {
    position: absolute;
    top: -12px;
    left: 20px;
    background-color: #FF6B00;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(255, 107, 0, 0.3);
}

.border-orange-light {
    border: 1px solid rgba(255, 107, 0, 0.15);
}

.icon-square-sm {
    width: 32px;
    height: 32px;
}

/* Form Styles */
.form-label {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.form-control:focus, .form-select:focus {
    border-color: #FF6B00;
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

/* Stats Cards */
.stats-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

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

/* About Section Feature Cards */
.feature-card {
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

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

.feature-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-icon-circle {
    width: 70px;
    height: 70px;
    transition: all 0.3s ease;
    background-color: #FFF3E0; /* Peach/Soft Orange Background */
}

.bg-orange-light {
    background-color: #FFF3E0;
}

.text-orange {
    color: #FF6B00;
}

/* Industry Leaders Section Styling */
.bg-cream {
    background-color: #FDFBF7; /* Light cream/off-white */
}

.text-dark {
    color: #1A1F2C !important;
}

.text-orange {
    color: #FF6B00 !important;
}

.stats-box {
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 107, 0, 0.1) !important; /* Subtle orange border */
}

.stats-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 107, 0, 0.1) !important;
}

.stats-box h2 {
    font-size: 2.5rem;
    letter-spacing: -1px;
}

.feature-detail-card {
    background-color: #F8FAFC; /* Light gray fallback */
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.bg-light-gray {
    background-color: #F1F5F9;
}

.feature-detail-card:hover {
    background-color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-left: 4px solid #FF6B00;
}
