:root {
    --primary-color: #0079a5;
    --secondary-color: #1e6a7d;
    --accent-color: #ff6b35;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

.text-primary {
    --bs-text-opacity: 1;
    color: #054a51 !important;
}

/* Preloader Styles */

/*
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.preloader-logo {
    width: 150px;
    height: 150px;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.preloader-text {
    font-size: 24px;
    font-weight: bold;
    margin-top: 20px;
    text-align: center;
}

.preloader-text span {
    display: inline-block;
    opacity: 0;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

*/

/* Preloader Styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.preloader-container {
    text-align: center;
}

.preloader-logo {
    width: 200px;
    height: auto;
    margin-bottom: 20px;
}

.preloader-text {
    font-size: 24px;
    font-weight: bold;
    color: #078ca7;
    margin-top: 20px;
}

.preloader-text span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
}

/* Animation for logo elements */
.preloader-logo #Lifebox_Yellow {
    animation: fadeIn 0.5s 0.1s forwards, float 3s 0.1s infinite ease-in-out;
}

.preloader-logo #Lifebox_Light_Red {
    animation: fadeIn 0.5s 0.2s forwards, float 3s 0.2s infinite ease-in-out;
}

.preloader-logo #Lifebox_Dark_Green {
    animation: fadeIn 0.5s 0.3s forwards, float 3s 0.3s infinite ease-in-out;
}

.preloader-logo #Lifebox_Light_Green {
    animation: fadeIn 0.5s 0.4s forwards, float 3s 0.4s infinite ease-in-out;
}

.preloader-logo #Lifebox_Red {
    animation: fadeIn 0.5s 0.5s forwards, float 3s 0.5s infinite ease-in-out;
}

.preloader-logo #X1,
.preloader-logo #X2 {
    animation: fadeIn 0.5s 0.6s forwards;
}

.preloader-logo #L {
    animation: fadeIn 0.5s 0.7s forwards;
}

.preloader-logo #I {
    animation: fadeIn 0.5s 0.8s forwards;
}

.preloader-logo #F {
    animation: fadeIn 0.5s 0.9s forwards;
}

.preloader-logo #E {
    animation: fadeIn 0.5s 1.0s forwards;
}

.preloader-logo #B {
    animation: fadeIn 0.5s 1.1s forwards;
}

.preloader-logo #O {
    animation: fadeIn 0.5s 1.2s forwards;
}

.preloader-logo #Lifebox_Strapline path {
    animation: fadeIn 0.5s 1.3s forwards;
}

/* Text animation */
.preloader-text span:nth-child(1) {
    color: #ec3627;
    animation: fadeInUp 0.5s 1.4s forwards;
}

.preloader-text span:nth-child(2) {
    color: #078ca7;
    animation: fadeInUp 0.5s 1.5s forwards;
}

.preloader-text span:nth-child(3) {
    color: #f2ea60;
    animation: fadeInUp 0.5s 1.6s forwards;
}

.preloader-text span:nth-child(4) {
    color: #078ca7;
    animation: fadeInUp 0.5s 1.7s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Navbar Styles */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #0079a7ed !important;
    /*background-color: var(--primary-color) !important;*/
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.47);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding-top: 5px;
    padding-bottom: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 600;
}

.navbar-brand .logo-text {
    margin-left: 10px;
    font-size: 1.2rem;
}

.logo-text span {
    color: white;
}

.logo-text span:first-child {
    color: #ff6b35;
}

.logo-text span:nth-child(3) {
    color: #ffd166;
}

.nav-link {
    display: block;
    font-weight: 500;
    margin: 0 8px;
    position: relative;
    padding: var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);
    font-size: var(--bs-nav-link-font-size);
    font-weight: var(--bs-nav-link-font-weight);
    color: #fff790;
    text-decoration: none;
    background: 0 0;
    border: 0;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: white;
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.nav-link:hover:after {
    width: 100%;
}

.navbar-toggler {
    border: none;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 121, 165, 0.8), rgba(0, 121, 165, 0.0)),
        url('https://images.unsplash.com/photo-1576091160550-2173dba999ef?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80') no-repeat center center/cover;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    max-width: 700px;
}

.hero-buttons .btn {
    margin-right: 15px;
    margin-bottom: 15px;
    padding: 12px 25px;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: #e05a2b;
    border-color: #e05a2b;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: #e05a2b;
    border-color: #e05a2b;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

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

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #001b24;
    margin-bottom: 15px;
}

.section-title p {
    color: #001b24;
    max-width: 700px;
    margin: 0 auto;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin: 20px auto;
}

.feature-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--light-color);
}

.about-img {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-img img {
    width: 100%;
    transition: transform 0.5s ease;
}

.about-img:hover img {
    transform: scale(1.05);
}

.about-content {
    padding-left: 30px;
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 20px;
    color: #6c757d;
}

/* System Components Section */
.components {
    padding: 100px 0;
    background: white;
}

.component-tabs {
    margin-bottom: 40px;
}

.nav-pills .nav-link {
    padding: 12px 25px;
    margin: 0 10px 10px 0;
    border-radius: 50px;
    font-weight: 500;
    color: var(--dark-color);
    background: var(--light-color);
    transition: all 0.3s ease;
}

.nav-pills .nav-link.active {
    background: var(--primary-color);
    color: white;
}

.nav-pills .nav-link:hover:not(.active) {
    background: rgba(0, 121, 165, 0.1);
}

.tab-content {
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.component-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.component-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.component-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.component-text h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.component-text p {
    color: #6c757d;
    margin-bottom: 0;
}

/* Screenshots Slider */
.screenshots {
    padding: 100px 0;
    background: var(--light-color);
}

.swiper {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 400px;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-slide:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Countdown Section */
.countdown-section {
    padding: 100px 0;
    background: linear-gradient(rgba(0, 121, 165, 0.0), rgba(0, 121, 165, 0.9)),
        url('https://images.unsplash.com/photo-1579684385127-1ef15d508118?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80') no-repeat center center/cover;
    color: white;
    text-align: center;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 20px;
    min-width: 100px;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.countdown-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.countdown-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #f4eb60;
}

.contact-info {
    margin-bottom: 40px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-info-text h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.contact-info-text p {
    color: #6c757d;
    margin-bottom: 0;
}

.contact-form {
    background: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-control {
    height: 50px;
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

textarea.form-control {
    height: auto;
    min-height: 150px;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: white;
    padding: 70px 0 20px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
}

.footer-logo-text {
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 10px;
}

.footer-logo-text span:first-child {
    color: #ff6b35;
}

.footer-logo-text span:nth-child(3) {
    color: #ffd166;
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #ff6b47;
    border-radius: 50%;
    color: white;
    margin-right: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.7);
}

/* Modal Styles */
.modal-notice {
    border-radius: 10px;
    overflow: hidden;
    border: none;
}

.modal-notice .modal-header {
    background: var(--primary-color);
    color: white;
    border-bottom: none;
}

.modal-notice .modal-title {
    font-weight: 600;
}

.modal-notice .modal-body {
    padding: 30px;
}

.modal-notice .modal-footer {
    border-top: none;
    background: #f8f9fa;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark-color);
    color: white;
    padding: 20px;
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-consent p {
    margin-bottom: 15px;
}

.cookie-consent .btn {
    margin-right: 10px;
}

.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-.5 * var(--bs-gutter-x));
    margin-left: calc(-.5 * var(--bs-gutter-x));
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .about-content {
        padding-left: 0;
        margin-top: 30px;
    }

    .footer-links {
        margin-bottom: 30px;
    }
}

@media (max-width: 767.98px) {
    .hero {
        height: auto;
        padding: 100px 0;
    }

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

    .section-title h2 {
        font-size: 2rem;
    }

    .countdown {
        flex-wrap: wrap;
    }

    .countdown-item {
        min-width: 80px;
        padding: 15px;
    }

    .countdown-number {
        font-size: 2rem;
    }
}

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

    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-right: 0;
    }

    .nav-pills .nav-link {
        display: block;
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .swiper-slide {
        width: 280px;
        height: 280px;
    }
}