:root {
    --primary-color: #1b4283; /* Darker blue from logo */
    --secondary-color: #0d2c5a; /* Even darker blue for depth */
    --accent-color: #3d74c4; /* Lighter blue accent from logo */
    --success-color: #28a745;
    --warning-color: #ffc107;  
    --danger-color: #dc3545;
    --light-color: #ffffff; /* Pure white */
    --light-bg-color: #f8f9fa; /* Very light gray for contrast sections */
    --dark-color: #212529;
    --body-font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --heading-font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --box-shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.05);
    --box-shadow-md: 0 10px 25px rgba(0, 0, 0, 0.1);
    --box-shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.15);
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 30px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .animated-element,
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    overflow-x: hidden;
    position: relative;
    background-color: var(--light-color) !important;
    color: var(--dark-color);
}

/* Hide-only-for-visual utility (keeps labels accessible) */
.visually-hidden {
    position: absolute !important;
    height: 1px; width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 600;
}

/* Preloader styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--light-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 120px;
    height: 120px;
}

.preloader-tagline {
    margin-top: 20px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeIn 2s ease forwards 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Tagline reveal animation for after preloader */
.tagline-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.tagline-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Logo animation in preloader */
.preloader-logo {
    width: 180px;
    margin-bottom: 15px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--box-shadow-sm);
    padding: 15px 0;
    transition: all var(--transition-fast);
    z-index: 100;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: var(--box-shadow-md);
}

.navbar-brand img {
    height: 45px; /* Slightly taller to match logo proportions */
    transition: height var(--transition-fast);
}

.navbar.scrolled .navbar-brand img {
    height: 40px;
}

.navbar-nav .nav-link {
    color: var(--primary-color);
    font-weight: 500;
    margin: 0 10px;
    transition: all var(--transition-fast);
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary-color);
    transition: width var(--transition-fast);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent-color);
}

/* Visible keyboard focus for accessibility */
.navbar-nav .nav-link:focus-visible,
.btn:focus-visible,
a:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
    border-radius: 6px;
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    margin-left: 10px;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-fast);
}

.theme-toggle:hover {
    background-color: rgba(27, 66, 131, 0.1); /* Matching primary color with transparency */
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1b4283, #0d2c5a);
    color: white;
    padding: 150px 0 110px;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 40px 40px;
    margin: 0 20px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../about.webp') center/cover no-repeat;
    opacity: 0.12;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-video-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Darker overlay to improve text contrast */
    background: linear-gradient(135deg, rgba(27, 66, 131, 0.88), rgba(13, 44, 90, 0.93));
}

.hero-video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.typed-text {
    color: var(--accent-color);
    font-weight: 700;
}

/* Hero CTA buttons polish */
.btn.btn-primary {
    box-shadow: var(--box-shadow-sm);
}
.btn.btn-primary:hover,
.btn.btn-outline-light:hover {
    box-shadow: var(--box-shadow-md);
}

/* Skip link for keyboard users */
.skip-link {
    position: absolute;
    left: -999px;
    top: -999px;
}
.skip-link:focus {
    left: 10px;
    top: 10px;
    background: #000;
    color: #fff;
    padding: 8px 12px;
    z-index: 10000;
    border-radius: 6px;
}

/* Buttons */
.btn {
    border-radius: var(--border-radius-xl);
    font-weight: 600;
    transition: all var(--transition-fast);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 25px;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-md);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    padding: 10px 25px;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-md);
}

.btn-outline-light:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-md);
}

/* Cards */
.card {
    border: none;
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-sm);
    transition: all var(--transition-medium);
    height: 100%;
    overflow: hidden;
    background: linear-gradient(to bottom right, #ffffff, #f8f9fa);
    border-left: 3px solid var(--primary-color);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-md);
}

.card-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(27, 66, 131, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all var(--transition-fast);
}

.card:hover .card-icon {
    background-color: var(--primary-color);
}

.card:hover .card-icon i {
    color: white;
}

.card-icon i {
    color: var(--primary-color);
    font-size: 30px;
    transition: all var(--transition-fast);
}

/* Titles */
.section-title {
    position: relative;
    margin-bottom: 50px;
    font-weight: 700;
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -15px;
    width: 70px;
    height: 3px;
    background-color: var(--accent-color);
    transition: width var(--transition-fast);
}

.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-title:hover::after {
    width: 100px;
}

/* Service Boxes */
.service-box {
    padding: 30px;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-medium);
    background-color: white;
    box-shadow: var(--box-shadow-sm);
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: linear-gradient(to bottom, #ffffff, #f8fbff);
    transition: all 0.3s ease;
}

.service-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform var(--transition-medium);
    z-index: -1;
}

.service-box:hover {
    background: linear-gradient(135deg, rgba(27, 66, 131, 0.05), rgba(61, 116, 196, 0.1));
}

.service-box:hover::before {
    transform: scaleY(1);
}

.service-box:hover {
    color: white;
}

.service-box:hover .service-icon i {
    color: white;
}

.service-icon {
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 40px;
    color: var(--primary-color);
    transition: all var(--transition-medium);
}

/* Stats Counters */
.counter-box {
    text-align: center;
    padding: 30px 0;
}

.counter-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1;
}

.counter-label {
    font-size: 1.1rem;
    color: #6c757d;
    font-weight: 500;
}

/* Testimonials */
.testimonial-swiper {
    padding-bottom: 60px;
}

.testimonial-card {
    text-align: center;
    padding: 30px;
    border-radius: var(--border-radius-md);
    background-color: white;
    box-shadow: var(--box-shadow-sm);
    transition: all var(--transition-medium);
    height: auto;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-md);
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 20px;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: #6c757d;
}

.client-name {
    font-weight: 600;
    color: var(--primary-color);
}

.client-position {
    font-size: 0.9rem;
    color: #6c757d;
}

.swiper-pagination-bullet {
    background-color: var(--primary-color);
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color);
}

/* Product Cards */
.product-card {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-sm);
    transition: all var(--transition-medium);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(27, 66, 131, 0.1), transparent);
    border-radius: 0 0 0 150px;
    transition: all var(--transition-medium);
    opacity: 0;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-md);
}

.product-card:hover::before {
    opacity: 1;
}

.product-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(27, 66, 131, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all var(--transition-medium);
}

.product-card:hover .product-icon {
    background-color: rgba(27, 66, 131, 0.2);
    transform: scale(1.1);
}

.product-icon i {
    color: var(--primary-color);
    font-size: 36px;
    transition: all var(--transition-medium);
}

.product-card h3 {
    margin-bottom: 15px;
    font-weight: 600;
    position: relative;
    display: inline-block;
    color: var(--primary-color);
}

.product-card h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width var(--transition-medium);
}

.product-card:hover h3::after {
    width: 100%;
}

/* Quote Form */
.quote-form {
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-md);
}

.form-control {
    padding: 12px 15px;
    border-radius: var(--border-radius-sm);
    border: 1px solid #e1e1e1;
    margin-bottom: 20px;
    transition: all var(--transition-fast);
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.price-range-container {
    margin-bottom: 20px;
}

.price-range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    font-size: 0.85rem;
    color: #6c757d;
}

/* Chatbot */
.chatbot-toggle {
    position: fixed;
    bottom: 20px;
    right: 80px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: var(--box-shadow-md);
    z-index: 99;
    transition: all var(--transition-fast);
}

.chatbot-toggle:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}

.chatbot-container {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 350px;
    height: 450px;
    background-color: white;
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-lg);
    z-index: 999;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-medium);
    transform: translateY(20px);
    opacity: 0;
    visibility: hidden;
}

.chatbot-container.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.chatbot-header {
    background-color: var(--primary-color);
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chatbot-body {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
}

.chatbot-footer {
    padding: 10px;
    border-top: 1px solid #e1e1e1;
    display: flex;
}

.chatbot-input {
    flex: 1;
    border: 1px solid #e1e1e1;
    border-radius: var(--border-radius-sm);
    padding: 8px 15px;
    margin-right: 10px;
}

.chatbot-send {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius-sm);
    padding: 8px 15px;
    cursor: pointer;
}

.chat-message {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.chat-message.user {
    align-items: flex-end;
}

.chat-message.bot {
    align-items: flex-start;
}

.chat-bubble {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 18px;
    margin-bottom: 5px;
}

.chat-message.user .chat-bubble {
    background-color: var(--primary-color);
    color: white;
    border-bottom-right-radius: 5px;
}

.chat-message.bot .chat-bubble {
    background-color: #f1f1f1;
    color: var(--dark-color);
    border-bottom-left-radius: 5px;
}

.chat-time {
    font-size: 0.7rem;
    color: #888;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 60px 0 20px;
    position: relative;
}

.footer-widget h3 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 600;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
    transition: width var(--transition-fast);
}

.footer-widget:hover h3::after {
    width: 60px;
}

.footer-contact-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.footer-contact-info i {
    margin-right: 10px;
    color: var(--accent-color);
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    text-decoration: none;
    transition: all var(--transition-fast);
    position: relative;
    padding-left: 15px;
}

.footer-links a::before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color);
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-links a:hover::before {
    color: white;
}

.footer-newsletter p {
    margin-bottom: 20px;
}

.footer-newsletter form {
    position: relative;
}

.footer-newsletter input {
    width: 100%;
    padding: 12px 60px 12px 15px;
    border: none;
    border-radius: var(--border-radius-xl);
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.footer-newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-newsletter button {
    position: absolute;
    right: 5px;
    top: 5px;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: var(--border-radius-xl);
    padding: 7px 15px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.footer-newsletter button:hover {
    background-color: var(--primary-color);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-social {
    margin-bottom: 20px;
}

.footer-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    line-height: 40px;
    margin: 0 5px;
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-md);
}

/* Live Status */
.status-indicators {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 30px;
}

.status-indicator {
    flex: 0 0 30%;
    margin-bottom: 20px;
    text-align: center;
    padding: 20px;
    border-radius: var(--border-radius-sm);
    background-color: white;
    box-shadow: var(--box-shadow-sm);
    transition: all var(--transition-fast);
}

.status-indicator:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-md);
}

.status-icon {
    font-size: 24px;
    margin-bottom: 15px;
}

.status-icon.operational {
    color: var(--success-color);
}

.status-icon.maintenance {
    color: var(--warning-color);
}

.status-icon.issue {
    color: var(--danger-color);
}

.status-indicator h5 {
    margin-bottom: 10px;
    color: var(--primary-color);
    font-weight: 600;
}

.status-indicator p {
    margin-bottom: 15px;
    font-weight: 500;
}

.uptime-chart {
    height: 10px;
    background-color: #f5f5f5;
    border-radius: 5px;
    overflow: hidden;
    margin: 15px 0 5px;
}

.uptime-bar {
    height: 100%;
    background-color: var(--success-color);
}

.status-indicator small {
    color: #6c757d;
    font-size: 0.8rem;
}

/* Pricing Calculator */
.calculator-container {
    background-color: white;
    border-radius: var(--border-radius-md);
    padding: 30px;
    box-shadow: var(--box-shadow-md);
}

.price-slider {
    width: 100%;
    margin-bottom: 20px;
}

.service-checkbox {
    margin-bottom: 15px;
}

.total-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 20px;
    text-align: center;
}

/* Language Selector */
.language-selector {
    position: relative;
    margin-left: 15px;
}

.language-toggle {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-fast);
}

.language-toggle:hover {
    background-color: rgba(27, 66, 131, 0.1);
}

.language-toggle img {
    width: 20px;
    height: 15px;
    margin-right: 5px;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--box-shadow-md);
    padding: 10px 0;
    min-width: 150px;
    z-index: 100;
    display: none;
}

.language-dropdown.show {
    display: block;
}

.language-item {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.language-item:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.language-item img {
    width: 20px;
    height: 15px;
    margin-right: 10px;
}

/* 3D Animation */
.model-viewer-container {
    width: 100%;
    height: 400px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--box-shadow-md);
}

/* Progress Bars */
.progress {
    height: 8px;
    border-radius: var(--border-radius-xl);
    background-color: rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
}

.progress-bar {
    background-color: var(--accent-color);
    border-radius: var(--border-radius-xl);
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #e9ecef;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: 5px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -13px;
    background-color: white;
    border: 4px solid var(--primary-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item.right::after {
    left: -13px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-sm);
}

.timeline-content h4 {
    margin-top: 0;
    color: var(--primary-color);
}

.timeline-content::after {
    content: '';
    position: absolute;
    border-width: 10px;
    border-style: solid;
    top: 15px;
}

.timeline-item.left .timeline-content::after {
    border-color: transparent transparent transparent white;
    right: -20px;
}

.timeline-item.right .timeline-content::after {
    border-color: transparent white transparent transparent;
    left: -20px;
}

/* Animations */
.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s ease;
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 1s ease;
}

.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

.reveal-down {
    opacity: 0;
    transform: translateY(-50px);
    transition: all 1s ease;
}

.reveal-active {
    opacity: 1;
    transform: translate(0, 0);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .navbar {
        padding: 10px 0;
    }

    .hero-section {
        padding: 120px 0 80px;
        margin: 0 15px;
        border-radius: 0 0 30px 30px;
    }

    .section-title {
        margin-bottom: 30px;
    }

    .counter-value {
        font-size: 2.5rem;
    }

    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item.right {
        left: 0;
    }

    .timeline-item.left::after,
    .timeline-item.right::after {
        left: 18px;
    }

    .timeline-item.left .timeline-content::after,
    .timeline-item.right .timeline-content::after {
        left: -20px;
        border-color: transparent white transparent transparent;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 60px;
        margin: 0 10px;
        border-radius: 0 0 25px 25px;
    }

    .section-spacing {
        padding: 40px 0;
    }

    .counter-box {
        margin-bottom: 30px;
    }

    .footer-widget {
        margin-bottom: 30px;
    }

    .product-card {
        margin-bottom: 30px;
    }

    .status-indicator {
        flex: 0 0 45%;
    }

    .chatbot-container {
        width: 300px;
        height: 400px;
        right: 10px;
    }
}

@media (max-width: 576px) {
    .status-indicator {
        flex: 0 0 100%;
    }

    .timeline-content {
        padding: 15px;
    }

    .chatbot-container {
        width: calc(100% - 20px);
        right: 10px;
    }
}

/* Section spacing */
.section-spacing {
    padding: 100px 0;
}

.bg-light-blue {
    background: linear-gradient(to bottom, rgba(61, 116, 196, 0.08), rgba(27, 66, 131, 0.05));
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(13, 44, 90, 0.95);
    color: white;
    padding: 15px 0;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.cookie-consent.show {
    transform: translateY(0);
}

/* Lottie animations */
.lottie-animation {
    width: 100%;
    height: 300px;
}

/* Status Indicators Specific Styling - Enhanced */
.card-service-status {
    background-color: white;
    border-radius: var(--border-radius-md);
    padding: 25px;
    box-shadow: var(--box-shadow-md);
    margin-bottom: 40px;
}

.card-service-status h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
}

.status-indicators {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.status-indicator {
    flex: 1 0 calc(33.33% - 20px);
    min-width: 200px;
    background-color: white;
    border-radius: var(--border-radius-md);
    padding: 20px;
    text-align: center;
    box-shadow: var(--box-shadow-sm);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.status-indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--success-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.8s ease;
}

.status-indicator.maintenance::before {
    background-color: var(--warning-color);
}

.status-indicator.issue::before {
    background-color: var(--danger-color);
}

.status-indicator:hover::before {
    transform: scaleX(1);
}

.status-indicator:hover {
    transform: translateY(-7px);
    box-shadow: var(--box-shadow-md);
}

.status-icon {
    font-size: 28px;
    margin-bottom: 15px;
    display: inline-block;
    padding: 15px;
    border-radius: 50%;
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
}

.status-icon.maintenance {
    background-color: rgba(255, 193, 7, 0.1);
    color: var(--warning-color);
}

.status-icon.issue {
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
}

.status-indicator h5 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--primary-color);
}

.status-indicator p {
    font-size: 0.95rem;
    margin-bottom: 15px;
    color: #495057;
    font-weight: 500;
}

.uptime-chart {
    height: 8px;
    background-color: #f5f5f5;
    border-radius: 10px;
    overflow: hidden;
    margin: 15px 0 8px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.uptime-bar {
    height: 100%;
    background-color: var(--success-color);
    border-radius: 10px;
    background-image: linear-gradient(45deg,
    rgba(255,255,255,0.15) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255,255,255,0.15) 50%,
    rgba(255,255,255,0.15) 75%,
    transparent 75%,
    transparent);
    background-size: 20px 20px;
    animation: progress-bar-stripes 1s linear infinite;
}

@keyframes progress-bar-stripes {
    from { background-position: 20px 0; }
    to { background-position: 0 0; }
}

.status-indicator small {
    display: block;
    margin-top: 5px;
    color: #6c757d;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Brand tagline style matching logo */
.brand-tagline {
    font-size: 0.85rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: -3px;
    font-weight: 600;
    display: block;
}

/* Logo shield styling */
.logo-shield {
    position: relative;
    display: inline-block;
}

.logo-shield::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    opacity: 0.1;
    border-radius: var(--border-radius-md);
    z-index: -1;
    transition: all var(--transition-medium);
    transform: scale(0);
}

.logo-shield:hover::before {
    transform: scale(1);
}

/* Particles Container */
.particle-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none; /* Make sure particles don't interfere with clicks */
}

/* Adjust the hero content z-index to appear above particles */
.hero-content {
    position: relative;
    z-index: 2;
}

/* Make sure hero section has position relative for proper stacking */
.hero-section {
    position: relative;
    overflow: hidden;
}

/* Adjust hero-video-container to be behind particles */
.hero-video-container {
    z-index: 0;
}

/* Floating Icons Animation */
.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none; /* Make sure icons don't interfere with clicks */
    overflow: hidden;
}

.floating-icon {
    position: absolute;
    top: var(--position-y, 50%);
    left: var(--position-x, 50%);
    font-size: 1.8rem;
    opacity: 0.4;
    color: var(--primary-color);
    animation: float var(--duration, 6s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
    filter: drop-shadow(0 0 5px rgba(61, 116, 196, 0.3));
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(5deg);
    }
    50% {
        transform: translateY(0px) rotate(0deg);
    }
    75% {
        transform: translateY(15px) rotate(-5deg);
    }
    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* Make icons more visible on dark backgrounds */
[data-theme="dark"] .floating-icon {
    opacity: 0.5;
    color: var(--accent-color);
    filter: drop-shadow(0 0 8px rgba(94, 156, 255, 0.4));
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .floating-icon {
        font-size: 1.4rem;
    }
}

@media (max-width: 576px) {
    /* Hide some floating icons on very small screens to reduce clutter */
    .floating-icon:nth-child(n+5) {
        display: none;
    }
}

/* Add this to your existing CSS */
.floating-icon i {
    animation: pulse 3s ease-in-out infinite alternate;
    animation-delay: calc(var(--delay) + 1s);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.2);
    }
}




/* Improved Mobile Responsiveness Fixes */

/* Base responsive adjustments */
@media (max-width: 992px) {
    .navbar {
        padding: 10px 15px; /* Added horizontal padding */
    }

    .navbar-brand img {
        height: 40px; /* Reduced logo size for medium screens */
    }

    .hero-section {
        padding: 90px 0 60px; /* Reduced padding */
    }

    .service-box,
    .product-card {
        margin-bottom: 30px; /* Add spacing between stacked elements */
    }

    /* Improve timeline for tablet */
    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item.right {
        left: 0;
    }

    .timeline-item.left::after,
    .timeline-item.right::after {
        left: 18px;
    }

    .timeline-item.left .timeline-content::after,
    .timeline-item.right .timeline-content::after {
        left: -20px;
        border-color: transparent white transparent transparent;
    }
}

@media (max-width: 768px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .navbar-brand img {
        height: 35px; /* Further reduced for small screens */
    }

    .hero-section {
        padding: 70px 0 40px; /* Further reduced padding */
        text-align: center; /* Center align hero content on mobile */
    }

    .hero-section h1 {
        font-size: 2rem; /* Smaller font for hero heading */
    }

    .hero-section p {
        font-size: 1rem; /* Smaller font for hero paragraph */
    }

    .btn {
        padding: 8px 20px; /* Smaller buttons */
        font-size: 0.9rem;
    }

    .section-spacing {
        padding: 40px 0; /* Reduced section spacing */
    }

    .section-title {
        font-size: 1.75rem; /* Smaller section titles */
        margin-bottom: 25px;
    }

    /* Fix stacking issues */
    .row [class*="col-"] {
        margin-bottom: 20px; /* Add space between stacked columns */
    }

    .row [class*="col-"]:last-child {
        margin-bottom: 0; /* Remove margin from last column */
    }

    /* Adjust footer widgets */
    .footer-widget {
        margin-bottom: 30px;
    }

    /* Fix status indicators to stack properly */
    .status-indicator {
        flex: 0 0 100%;
        margin-bottom: 15px;
    }

    /* Improve chatbot positioning */
    .chatbot-toggle {
        right: 20px;
        bottom: 20px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .chatbot-container {
        width: calc(100% - 40px); /* Full width minus margins */
        right: 20px;
        height: 400px;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 8px 15px; /* Even less padding */
    }

    .navbar-brand img {
        height: 30px; /* Even smaller logo */
    }

    .navbar-toggler {
        padding: 4px 8px; /* Smaller toggle button */
        font-size: 0.9rem;
    }

    .hero-section {
        padding: 90px 0 50px;
        margin: 0 5px;
        border-radius: 0 0 20px 20px;
    }

    .hero-section h1 {
        font-size: 1.75rem; /* Even smaller heading */
    }

    .section-title {
        font-size: 1.5rem;
    }

    /* Fix card and box layouts */
    .service-box,
    .product-card,
    .testimonial-card,
    .timeline-content {
        padding: 15px; /* Reduced padding inside boxes */
    }

    .card-icon,
    .product-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    /* Adjust counter boxes */
    .counter-value {
        font-size: 2rem;
    }

    .counter-label {
        font-size: 0.9rem;
    }

    /* Fix form elements */
    .form-control {
        padding: 10px;
    }

    .quote-form {
        padding: 20px;
    }

    /* Adjust footer */
    .footer {
        padding: 40px 0 20px;
    }

    .footer-widget h3 {
        font-size: 18px;
    }

    .footer-newsletter input {
        padding: 10px 60px 10px 12px;
    }

    /* Fix chatbot for very small screens */
    .chatbot-container {
        width: calc(100% - 20px);
        right: 10px;
        left: 10px;
        height: 350px;
    }

    .chat-bubble {
        max-width: 90%; /* Wider bubbles for small screens */
    }

    /* Improve floating elements */
    .floating-icon {
        font-size: 1.2rem; /* Smaller floating icons */
    }
}

/* Fix for hamburger menu toggle overlay */
@media (max-width: 992px) {
    .navbar-collapse {
        position: absolute;
        top: 56px; /* Adjust based on your navbar height */
        left: 0;
        right: 0;
        background-color: white;
        padding: 20px;
        box-shadow: var(--box-shadow-md);
        z-index: 1000;
    }

    .navbar-nav {
        margin-top: 15px;
    }

    .navbar-nav .nav-item {
        margin-bottom: 10px;
    }

    .navbar-nav .nav-link {
        padding: 8px 0;
    }
}

/* Fix for spacing issues in mobile status cards */
@media (max-width: 768px) {
    .status-indicators {
        display: block;
    }

    .status-indicator {
        width: 100%;
        margin-bottom: 15px;
    }

    .product-card,
    .service-box {
        height: auto; /* Remove fixed height for mobile */
    }
}

/* Additional fixes for very small screens */
@media (max-width: 360px) {
    .hero-section h1 {
        font-size: 1.5rem;
    }

    .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }

    .btn + .btn {
        margin-left: 0 !important; /* Override any margin between buttons */
    }

    .navbar-brand {
        max-width: 75%; /* Prevent logo from taking too much space */
    }

    .navbar-brand img {
        max-width: 100%; /* Ensure logo scales properly */
    }

    .footer-social a {
        width: 35px;
        height: 35px;
        line-height: 35px;
        margin: 0 3px;
    }
}

/* Fix for overflow issues */
body, html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

/* Improve touch targets on mobile */
@media (max-width: 768px) {
    .navbar-nav .nav-link,
    .footer-links a,
    .btn,
    .language-item,
    .footer-social a {
        padding: 10px; /* Increase touch target size */
    }

    .footer-links a {
        display: inline-block;
        margin-bottom: 15px;
    }
}

/* Fix for margin collapse on mobile */
@media (max-width: 576px) {
    .row {
        margin-left: -10px;
        margin-right: -10px;
    }

    .row > [class*="col-"] {
        padding-left: 10px;
        padding-right: 10px;
    }
}