/* ============================================
   Lucerian Inc — Corporate Website Styles
   Theme based on reference template 23166
   ============================================ */

:root {
    --primary-gradient: linear-gradient(135deg, #1a4b8c 0%, #2c6cc0 100%);
    --secondary-gradient: linear-gradient(135deg, #0daa8e 0%, #1bd4b3 100%);
    --accent-color: #0daa8e;
    --accent-light: rgba(13, 170, 142, 0.1);
    --dark-blue: #0d2a5c;
    --light-gray: #f8fafc;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --card-shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.12);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Outfit', sans-serif;
    color: #555;
    line-height: 1.7;
    background-color: #fefefe;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--dark-blue);
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.6s, visibility 0.6s;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.loader {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.loader-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #fff;
    animation: spin 1s linear infinite;
}

.loader-circle:nth-child(2) {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    border-top-color: rgba(255, 255, 255, 0.8);
    animation: spin 1.2s linear infinite reverse;
}

.loader-circle:nth-child(3) {
    width: 50%;
    height: 50%;
    top: 25%;
    left: 25%;
    border-top-color: rgba(255, 255, 255, 0.6);
    animation: spin 1.5s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.preloader-text {
    color: #fff;
    font-weight: 500;
    letter-spacing: 1px;
    font-size: 1.1rem;
}

/* Scroll to Top */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary-gradient);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 5px 20px rgba(13, 170, 142, 0.4);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 18px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 12px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.6rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: flex;
    align-items: center;
}

.navbar-brand i,
.brand-logo {
    margin-right: 10px;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.navbar-brand i {
    font-size: 1.5rem;
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-logo-footer {
    width: 32px;
    height: 32px;
    vertical-align: middle;
    filter: brightness(1.2);
}

.nav-link {
    font-weight: 600;
    margin: 0 5px;
    color: var(--dark-blue) !important;
    position: relative;
    padding: 8px 12px !important;
    border-radius: 6px;
    transition: var(--transition);
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 3px;
    border-radius: 3px;
    background: var(--secondary-gradient);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.nav-link.active,
.nav-link:hover {
    color: #fff !important;
    background: var(--secondary-gradient);
}

.nav-link.active::after,
.nav-link:hover::after {
    transform: scaleX(1);
}

.navbar-toggler {
    border: none;
    padding: 0;
    font-size: 1.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Buttons */
.btn-primary {
    background: var(--secondary-gradient);
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    color: #fff !important;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(13, 170, 142, 0.4);
    background: var(--secondary-gradient);
    color: #fff !important;
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    color: #fff;
    transition: var(--transition);
}

.btn-outline-light:hover {
    background: #fff;
    color: var(--dark-blue);
    transform: translateY(-3px);
}

.btn-light {
    border-radius: 50px;
    padding: 15px 40px;
    font-weight: 600;
    color: var(--dark-blue);
    transition: var(--transition);
}

.btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Hero */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, rgba(26, 75, 140, 0.35) 0%, rgba(44, 108, 192, 0.3) 100%),
        url('https://images.unsplash.com/photo-1577412647305-991150c7d163?w=1920&q=80') center/cover fixed;
    color: #fff;
    padding: 180px 0 120px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-section h1 {
    color: #fff;
    font-size: 2.8rem;
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-section p {
    font-size: 1.15rem;
    margin-bottom: 35px;
    max-width: 600px;
    opacity: 0.92;
}

.hero-image {
    border: 8px solid rgba(255, 255, 255, 0.2);
}

/* Stats */
.stats-container {
    background: #fff;
    border-radius: 16px;
    padding: 50px 30px;
    margin-top: -60px;
    position: relative;
    z-index: 10;
    box-shadow: var(--card-shadow);
}

.stat-item {
    padding: 15px;
}

.stat-value {
    font-size: 2.8rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.95rem;
    color: #777;
    font-weight: 500;
    margin-top: 5px;
}

/* Sections */
.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--light-gray) !important;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.4rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--secondary-gradient);
    border-radius: 2px;
}

.section-title p {
    color: #777;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 20px auto 0;
}

/* Card Icon */
.card-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-color);
    transition: var(--transition);
    flex-shrink: 0;
}

/* About */
.about-badge h4 {
    color: var(--accent-color);
}

/* Service Cards */
.service-card {
    border: none;
    border-radius: 16px;
    padding: 35px 30px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    text-align: center;
    background: #fff;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-shadow-hover);
}

.service-card:hover .card-icon {
    background: var(--secondary-gradient);
    color: #fff;
}

.service-card h4 {
    margin: 20px 0 15px;
    font-size: 1.25rem;
}

.service-card p {
    color: #777;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.service-list {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 20px;
}

.service-list li {
    padding: 6px 0;
    color: #666;
    font-size: 0.9rem;
    position: relative;
    padding-left: 22px;
}

.service-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 0.8rem;
}

.card-link {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.card-link:hover {
    color: var(--dark-blue);
}

/* Product Cards */
.product-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    background: #fff;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
}

.product-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img {
    transform: scale(1.08);
}

.product-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--secondary-gradient);
    color: #fff;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-card .card-body {
    padding: 25px;
}

.product-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.product-card p {
    color: #777;
    font-size: 0.92rem;
    margin-bottom: 15px;
}

.product-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #999;
}

.product-meta i {
    color: var(--accent-color);
}

/* Process */
.process-step {
    padding: 30px 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    height: 100%;
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
}

.process-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 10px;
}

.process-icon {
    width: 70px;
    height: 70px;
    background: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--accent-color);
    transition: var(--transition);
}

.process-step:hover .process-icon {
    background: var(--secondary-gradient);
    color: #fff;
}

.process-step h5 {
    margin-bottom: 12px;
}

.process-step p {
    color: #777;
    font-size: 0.92rem;
}

/* Tech Badges */
.tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-badge {
    background: #fff;
    border: 2px solid var(--accent-light);
    color: var(--dark-blue);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.tech-badge:hover {
    background: var(--secondary-gradient);
    color: #fff;
    border-color: transparent;
}

/* Testimonials */
.testimonial-card {
    border: none;
    border-radius: 16px;
    padding: 35px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.testimonial-stars {
    color: #f5a623;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.testimonial-text {
    color: #666;
    font-style: italic;
    font-size: 0.95rem;
    flex-grow: 1;
    margin-bottom: 25px;
}

.testimonial-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

/* CTA */
.cta-section {
    background: var(--primary-gradient);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section h2 {
    color: #fff;
    font-size: 2.2rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto 30px;
}

/* Contact */
.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
}

.contact-form .form-control,
.contact-form .form-select {
    border: 2px solid #eee;
    border-radius: 10px;
    padding: 12px 16px;
    transition: var(--transition);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.contact-info-card {
    background: var(--light-gray);
    padding: 35px;
    border-radius: 16px;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--secondary-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-item h6 {
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.contact-item p {
    margin: 0;
    color: #666;
    font-size: 0.92rem;
}

.contact-item a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}

.hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hours-list li {
    color: #666;
    font-size: 0.92rem;
    padding: 3px 0;
}

/* Footer */
.footer {
    background: var(--dark-blue);
    color: rgba(255, 255, 255, 0.8);
    padding: 70px 0 30px;
}

.footer-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.footer-brand i {
    margin-right: 10px;
    color: var(--accent-color);
}

.footer h5 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.92rem;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    margin-right: 10px;
    transition: var(--transition);
    text-decoration: none;
}

.social-icons a:hover {
    background: var(--secondary-gradient);
    transform: translateY(-3px);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 40px 0 25px;
}

.copyright {
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 991px) {
    .hero-section h1 {
        font-size: 2.2rem;
    }

    .hero-section {
        padding: 140px 0 80px;
        text-align: center;
    }

    .hero-section p {
        margin-left: auto;
        margin-right: auto;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .stat-value {
        font-size: 2.2rem;
    }
}

@media (max-width: 767px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }

    .section-padding {
        padding: 70px 0;
    }

    .stats-container {
        margin-top: -40px;
        padding: 30px 15px;
    }

    .contact-form {
        padding: 25px;
    }

    .nav-link.active,
    .nav-link:hover {
        background: transparent;
        color: var(--accent-color) !important;
    }
}
