:root {
    --primary-color: #141444;
    /* Exact Dark Navy */
    --secondary-color: #1a1a4a;
    /* Slightly lighter navy */
    --accent-color: #f8a400;
    /* Vibrant Yellow from Logo */
    --accent-glow: rgba(248, 164, 0, 0.4);
    --text-light: #ffffff;
    --text-muted: #cbd5e1;
    --glass-bg: rgba(20, 20, 68, 0.8);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    --section-padding: 100px;
}

/* Global Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: -0.5px;
}

.text-accent {
    color: var(--accent-color);
}

.text-muted {
    color: var(--text-muted) !important;
    opacity: 0.8;
}

.fw-800 {
    font-weight: 800;
}

.py-section {
    padding: var(--section-padding) 0;
}

.bg-dark-accent {
    background-color: #0d0d2a;
}

.bg-secondary-custom {
    background-color: var(--secondary-color);
}

.border-white-10 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.rounded-20 {
    border-radius: 20px;
}

.rounded-24 {
    border-radius: 24px;
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.bg-glass-dark {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.bg-accent {
    background-color: var(--accent-color) !important;
}

.rounded-tr-24 {
    border-top-right-radius: 24px;
}

.btn-sm {
    padding: 0.5rem 1.5rem;
    font-size: 0.75rem;
}

/* Buttons */
.btn-custom {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary-custom {
    background: var(--accent-color);
    color: var(--primary-color);
}

.btn-primary-custom:hover {
    background: transparent;
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--accent-glow);
}

.btn-outline-custom {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-light);
}

.btn-outline-custom:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-light);
    transform: translateY(-3px);
}

/* Navbar - Floating Pill */
.navbar {
    top: 25px;
    width: 90%;
    max-width: 1200px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 20, 68, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    padding: 0.8rem 1.5rem;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    top: 10px;
    background: rgba(20, 20, 68, 0.95);
    border-color: var(--accent-color);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    padding: 0.5rem 1.2rem !important;
    border-radius: 50px;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--accent-color) !important;
    background: rgba(248, 164, 0, 0.1);
}

/* Career Card Premium Style */
.career-card-premium {
    background: linear-gradient(135deg, rgba(26, 26, 74, 0.4) 0%, rgba(20, 20, 68, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1;
}

.career-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(248, 164, 0, 0.1), transparent 70%);
    z-index: -1;
    transition: var(--transition);
}

.career-card-premium:hover {
    transform: translateY(-12px) scale(1.01);
    border-color: var(--accent-color);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 20px rgba(248, 164, 0, 0.1);
}

.career-image-wrapper {
    width: 100%;
    height: 180px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.career-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.career-card-premium:hover .career-image-wrapper img {
    transform: scale(1.1);
}

.job-tag {
    font-size: 0.7rem;
    padding: 0.3rem 1rem;
    background: rgba(248, 164, 0, 0.1);
    color: var(--accent-color);
    border: 1px solid rgba(248, 164, 0, 0.1);
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 700;
}

.brand-logo {
    height: 70px;
    width: auto;
    object-fit: contain;
    border-radius: 30px;
}

/* Hero Section */
.hero-minimal {
    height: 100vh;
    position: relative;
    background: var(--primary-color);
    overflow: hidden;
}

.carousel-image {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    opacity: 0.4;
    filter: brightness(0.8);
}

.carousel-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--primary-color) 90%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

/* Service Cards - Bizcat Style */
.service-card-new {
    background: #11113a;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card-new:hover {
    background: var(--secondary-color);
    border-color: var(--accent-color);
    transform: translateY(-10px);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.5);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(248, 164, 0, 0.1);
    color: var(--accent-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.service-card-new:hover .icon-box {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: scale(1.1) rotate(10deg);
}

/* Testimonial Cards */
.testimonial-card {
    background: rgba(255, 255, 255, 0.02);
    transition: var(--transition);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: scale(1.02);
}

.italic {
    font-style: italic;
}

/* Contact Form */
.contact-form-glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
}

.form-control {
    background: rgb(255, 255, 255);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 12px;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-color);
    box-shadow: none;
    color: #fff;
}

/* Custom Utilities */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent-color);
    z-index: 9999;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    text-decoration: none;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

/* Custom Cursor (Bizcat feel often omits, but user liked it) */
.custom-cursor {
    width: 25px;
    height: 25px;
    border: 1px solid var(--accent-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.1s;
    mix-blend-mode: difference;
}

.custom-cursor-inner {
    width: 5px;
    height: 5px;
    background: var(--accent-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
}

/* Animation Overlay */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    z-index: 10001;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
}

.loader {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 1s infinite linear;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsiveness */
@media (max-width: 768px) {
    .navbar {
        width: 95%;
        top: 15px;
    }

    .display-2 {
        font-size: 2.8rem;
    }

    .py-section {
        padding: 60px 0;
    }

    .custom-cursor,
    .custom-cursor-inner {
        display: none;
    }
}