:root {
    --primary-color: #313b6e;
    --bs-primary: #313b6e;
    --bs-primary-rgb: 49, 59, 110;
    --accent-color: #f0ad4e;
    --text-dark: #1a1a1a;
    --text-muted: #6c757d;
    --light-bg: #f8f9fa;
    --transition-base: all 0.3s ease;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    background-color: #fff;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--primary-color);
}

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

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

.text-gradient {
    background: linear-gradient(45deg, #f0ad4e, #ffc107);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navbar */
.main-navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    transition: var(--transition-base);
}

.main-navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-link {
    font-weight: 600;
    color: var(--primary-color) !important;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 1rem !important;
}

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

/* Hero Section */
.hero {
    min-height: 85vh;
    background: radial-gradient(circle at top left, #4d5b9e 0, #313b6e 40%, #1a1f3d 100%);
    position: relative;
    margin-top: 0;
    padding-top: 80px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../assets/images/pattern.png');
    /* Optional texture */
    opacity: 0.1;
    z-index: 1;
}

/* Buttons */
.btn-pill {
    border-radius: 50px;
}

.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
    padding: 0.8rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary:hover {
    background-color: #e0a800;
    border-color: #e0a800;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(240, 173, 78, 0.4);
}

.btn-outline-light {
    padding: 0.8rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-outline-light:hover {
    color: var(--primary-color);
    background-color: #fff;
    transform: translateY(-2px);
}

/* Cards */
.service-card,
.product-card {
    transition: var(--transition-base);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.icon-box {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background-color: rgba(49, 59, 110, 0.05);
    transition: var(--transition-base);
}

.service-card:hover .icon-box {
    background-color: var(--primary-color);
    color: #fff !important;
}

.service-card:hover .icon-box i {
    color: #fff !important;
}

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

.bg-white-10 {
    background-color: rgba(255, 255, 255, 0.1);
}

/* About Image */
.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Clients */
.grayscale-wrapper img {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition-base);
    max-height: 60px;
    max-width: 160px;
    /* Prevent very wide logos from taking too much space */
}

.grayscale-wrapper img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Form */
.form-control {
    padding: 1rem;
}

.form-control:focus {
    box-shadow: none;
    background-color: #fff !important;
    border: 1px solid var(--primary-color) !important;
}

/* Responsive */
@media (min-width: 768px) {
    .border-end-md {
        border-right: 1px solid rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 991px) {
    .hero {
        text-align: center;
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 60px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .lead {
        margin-left: auto;
        margin-right: auto;
    }

    .hero .d-flex {
        justify-content: center;
        flex-wrap: wrap;
    }

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

    .about-image {
        margin-bottom: 2rem;
    }

    .experience-badge {
        padding: 1rem !important;
        right: 0;
        left: auto !important;
        bottom: -20px !important;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }

    .btn-lg {
        width: 100%;
        display: block;
        margin-bottom: 0.5rem;
    }

    .hero .d-flex {
        flex-direction: column;
        gap: 0.5rem !important;
    }

    .product-card,
    .service-card {
        text-align: center;
    }

    .product-card {
        flex-direction: column !important;
        text-align: center;
    }

    .product-card .flex-shrink-0 {
        margin-right: 0 !important;
        margin-bottom: 1rem;
    }

    .navbar-toggler {
        color: var(--primary-color);
        font-size: 1.5rem;
    }
}

/* Hero Image Animation */
.hero-img {
    width: 135%;
    max-width: none;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
    margin-bottom: -120px;
    margin-left: -15%;
    position: relative;
    z-index: 10;
}

.floating-anim {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translate(0, 0px);
    }

    50% {
        transform: translate(0, 15px);
    }

    100% {
        transform: translate(0, -0px);
    }
}

.bg-gradient-primary {
    background: radial-gradient(circle at top left, #4d5b9e 0, #313b6e 40%, #1a1f3d 100%);
}

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