:root {
    --primary-color: #0F172B; /* Dark Navy Blue */
    --secondary-color: #f8fafc; /* Very light slate */
    --accent-color: #0086C4; /* Vibrant Sky Blue */
    --accent-glow: rgba(0, 134, 196, 0.4);
    --text-color: #334155; 
    --heading-color: #0F172B; 
    --bg-light: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-soft: 0 4px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px -4px rgba(15, 23, 42, 0.1), 0 10px 20px -4px rgba(15, 23, 42, 0.04);
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Sublte Pattern Backgrounds */
.bg-white {
    background-image: radial-gradient(#0086C4 0.5px, transparent 0.5px), radial-gradient(#0086C4 0.5px, #ffffff 0.5px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    background-attachment: fixed;
    background-color: #ffffff;
    opacity: 1;
}

.bg-light {
    background-image: linear-gradient(0deg, #f8fafc 24%, #f1f5f9 25%, #f1f5f9 26%, #f8fafc 27%, #f8fafc 74%, #f1f5f9 75%, #f1f5f9 76%, #f8fafc 77%);
    background-size: 50px 50px;
}

/* Preloader / Process Bar */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0F172B;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease-out;
}

.loader-bar {
    width: 250px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.loader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    animation: loadingProgress 1.2s infinite ease-in-out;
}

@keyframes loadingProgress {
    0% { left: -100%; }
    50% { left: 0%; }
    100% { left: 100%; }
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-light);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

h1 {
    letter-spacing: -0.03em;
}

/* Topbar */
.topbar {
    background: linear-gradient(135deg, var(--primary-color), #0f172a);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.topbar-info span {
    color: rgba(255, 255, 255, 0.9);
}

.topbar-social a {
    color: rgba(255, 255, 255, 0.8);
    margin-left: 18px;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.topbar-social a:hover {
    transform: translateY(-3px) scale(1.1);
    color: #fff;
}

/* Navbar */
.navbar {
    padding: 1rem 0;
    background: var(--glass-bg)!important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.4s ease;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03) !important;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 1.2rem;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: calc(100% - 2.4rem);
}

.nav-link:hover {
    color: var(--accent-color) !important;
    transform: translateY(-1px);
}

.nav-link.active {
    color: var(--accent-color) !important;
}

.dropdown-menu {
    border-radius: 16px;
    padding: 1rem;
    border: 1px solid rgba(0,0,0,0.05);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-hover);
    transform-origin: top;
    animation: dropdownPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes dropdownPop {
    from { opacity: 0; transform: scale(0.95) translateY(-10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.dropdown-item {
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.7rem 1.2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    color: var(--text-color);
}

.dropdown-item:hover {
    background-color: rgba(37, 99, 235, 0.05);
    color: var(--accent-color);
    transform: translateX(5px);
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
}

/* Hero Section - Simple Static Slider */
#heroCarousel {
    height: 400px;
    background: #fff;
    overflow: hidden;
    position: relative;
}

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

#heroCarousel .carousel-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    animation: none !important;
    transform: none !important;
    filter: none !important;
}

#heroCarousel .carousel-item::after {
    content: none !important;
    display: none !important;
}

#heroCarousel .carousel-item::before {
    content: none !important;
    display: none !important;
}

.carousel-caption {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 4rem 3rem;
    max-width: 800px;
    margin: 0 auto 10vh;
    animation: captionSlideUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    z-index: 10;
}

@keyframes captionSlideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Cards & Sections */
.section-padding {
    padding: 100px 0;
}

.card {
    border: none;
    border-radius: 24px;
    overflow: hidden;
    background: #ffffff;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    box-shadow: var(--shadow-soft);
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
}

.card-img-container {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.card-img-container::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    transition: background 0.4s ease;
    background: rgba(37, 99, 235, 0);
}

.card:hover .card-img-container::after {
    background: rgba(37, 99, 235, 0.1);
}

.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover .card-img-container img {
    transform: scale(1.08);
}

/* Service Cards Custom */
.secondary-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 15px !important;
}

.secondary-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(15, 23, 43, 0.1) !important;
}

.service-icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    border: 3px solid white;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.secondary-card:hover .service-icon-box {
    transform: scale(1.15) translateY(-5px);
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 25px var(--accent-glow) !important;
}

.icon-circle {
    transition: all 0.4s ease;
}

.icon-circle:hover {
    transform: scale(1.1) rotate(5deg);
    background: var(--accent-color) !important;
    color: white !important;
}

.icon-circle:hover i {
    animation: iconPulse 1s infinite alternate;
}

@keyframes iconPulse {
    from { transform: scale(1); }
    to { transform: scale(1.2); }
}

/* Client Card & Logo Styling */
.client-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    background: #ffffff !important;
    border: 1px solid rgba(0,0,0,0.03) !important;
}

.client-card:hover {
    transform: scale(1.08) !important;
    box-shadow: 0 10px 30px var(--accent-glow) !important;
    border-color: var(--accent-color) !important;
}

.client-logo {
    max-height: 80px;
    width: auto;
    object-fit: contain;
    transition: all 0.4s ease;
    filter: none; /* Removed grayscale */
    opacity: 0.85;
}

.client-card:hover .client-logo {
    opacity: 1;
    transform: scale(1.02);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    border: none;
    color: white;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px var(--accent-glow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--primary-color), #0f172a);
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px var(--accent-glow);
    color: white;
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    z-index: -2;
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color), var(--accent-color));
    background-size: 400%;
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50px;
}

.btn-primary:hover::after {
    opacity: 0.4;
    animation: buttonGlow 8s linear infinite;
}

@keyframes buttonGlow {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}

.btn-outline-primary {
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    font-weight: 600;
    padding: 0.7rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--accent-color);
    color: white;
    box-shadow: 0 8px 25px var(--accent-glow);
    transform: translateY(-3px);
}

/* Utilities & Accents */
.text-primary { color: var(--primary-color) !important; }
.text-accent { color: var(--accent-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.bg-accent { background-color: var(--accent-color) !important; }

.divider {
    border-radius: 5px;
    background: var(--accent-color) !important;
    opacity: 1 !important;
}

.transition-all { transition: all 0.3s ease; }

/* Page Header Banner */
.page-header {
    background: linear-gradient(rgba(15, 23, 43, 0.7), rgba(15, 23, 43, 0.7)), url('../uploads/2023/06/banner-slide-1-1-1.png');
    background-size: cover;
    background-position: center;
    padding: 70px 0 50px; /* Reduced vertical padding */
    color: #ffffff !important;
    margin-bottom: 0;
    position: relative;
}

.page-header h1 {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6) !important;
}

.breadcrumb-item a {
    color: var(--accent-color) !important;
    font-weight: 600;
}

.breadcrumb-item.active {
    color: #ffffff !important;
    opacity: 0.9;
}

/* Footer Additional Styles */
.footer-links li a {
    transition: all 0.3s ease;
}

.footer-links li a:hover {
    color: var(--accent-color) !important;
    padding-left: 8px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: var(--accent-color);
    transform: translateY(-5px) rotate(360deg);
    color: white !important;
    box-shadow: 0 5px 15px var(--accent-glow);
    border-color: transparent;
}

/* Global Icon Interactions */
.card i, .btn i, .feature-item i {
    transition: all 0.3s ease;
    display: inline-block;
}

.card:hover i:not(.bi-arrow-right), .btn:hover i, .feature-item:hover i {
    transform: scale(1.2) rotate(8deg);
    color: var(--accent-color) !important;
}

.experience-badge {
    animation: float 3s ease-in-out infinite;
}

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

/* Footer UI */
.footer {
    background: #0f172a !important;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, rgba(15, 23, 42, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.footer-links a {
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #60a5fa !important;
    transform: translateY(-2px);
}

.brightness-filter-white {
    filter: brightness(0) invert(1) grayscale(1);
    opacity: 1 !important;
    transition: opacity 0.3s ease;
    max-width: 100%;
}
.brightness-filter-white:hover {
    opacity: 1;
}

.contact-info-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    background: white !important;
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.08) !important;
}

.contact-info-card:hover .bg-primary {
    transform: scale(1.1) rotate(10deg);
    background: var(--accent-color) !important;
    box-shadow: 0 5px 15px var(--accent-glow);
}

/* Page Header Animation */
.page-header h1 {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Tweak */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        padding: 2rem;
        border-radius: 20px;
        box-shadow: var(--shadow-hover);
        margin-top: 1rem;
    }
}
/* Career Section & Application Form Refinement */
.career-bg {
    background: linear-gradient(rgba(248, 250, 252, 0.9), rgba(248, 250, 252, 0.9)), url('../uploads/2023/06/shutterstock_76002502.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.career-bg h2 {
    font-size: 2.2rem;
    font-weight: 700;
}

.career-bg .form-label {
    font-size: 0.8rem;
    color: var(--primary-color);
    margin-bottom: 5px;
    letter-spacing: 0.3px;
}

.career-bg .form-control, .career-bg .form-select {
    font-size: 0.9rem;
    padding: 0.75rem 1rem !important;
    border-radius: 12px !important;
}

.form-control:focus, .form-select:focus {
    box-shadow: 0 0 0 4px var(--accent-glow);
    background-color: #fff !important;
    border-color: var(--accent-color) !important;
}

/* Continuous Client Slider Refinement */
.client-slider-wrapper {
    overflow: hidden;
    padding: 30px 0;
    white-space: nowrap;
    position: relative;
}

.client-slider-inner {
    display: flex;
    animation: scrollLogos 50s linear infinite;
    width: max-content;
}

.client-logo-item {
    flex: 0 0 auto;
    width: 150px; /* Reduced from 180px */
    height: 80px;  /* Reduced from 100px */
    margin: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(15, 23, 42, 0.05);
    padding: 15px;
    transition: all 0.3s ease;
}

.client-logo-item:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 25px var(--accent-glow);
}

.client-logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .client-logo-item {
        width: 140px;
        height: 80px;
        margin: 0 10px;
    }
}
