﻿:root {
    --primary-color: #2563eb;
    --danger-color: #dc2626;
    --success-color: #16a34a;
    --warning-color: #f59e0b;
    --info-color: #0ea5e9;
    --dark-color: #1f2937;
    --light-color: #f8fafc;
    --border-radius: 12px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
}

/* Navigation Styles */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95) !important;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

    .navbar-brand:hover {
        transform: scale(1.05);
    }

.nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

    .nav-link:hover, .nav-link.active {
        color: var(--primary-color) !important;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 50%;
        background-color: var(--primary-color);
        transition: all 0.3s ease;
        transform: translateX(-50%);
    }

    .nav-link:hover::after, .nav-link.active::after {
        width: 80%;
    }

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8fafc 0%, #fbfcfe 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgba(220, 38, 38, 0.08) 0%, transparent 50%), radial-gradient(circle at 60% 20%, rgba(22, 163, 74, 0.06) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(1deg);
    }
}

.hero-badge {
    animation: fadeInUp 1s ease-out;
}

.hero-dashboard-preview {
    animation: fadeInRight 1s ease-out 0.3s both;
}

.dashboard-mockup {
    background: white;
    border: 1px solid rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .dashboard-mockup:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-lg);
    }

/* Stats Section */
.stat-item {
    transition: transform 0.3s ease;
}

    .stat-item:hover {
        transform: translateY(-5px);
    }

/* Industry Cards */
.industry-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

    .industry-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
        transition: left 0.5s ease;
    }

    .industry-card:hover::before {
        left: 100%;
    }

    .industry-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-lg);
    }

.icon-circle {
    transition: all 0.3s ease;
}

.industry-card:hover .icon-circle {
    transform: scale(1.1);
}

/* Feature Cards */
.feature-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(255,255,255,0.1) 100%);
        transform: translateX(-100%);
        transition: transform 0.5s ease;
    }

    .feature-card:hover::before {
        transform: translateX(100%);
    }

    .feature-card:hover {
        transform: translateY(-15px) scale(1.02);
        box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    }

/* Solution Section */
.solution-content {
    animation: fadeInLeft 1s ease-out;
}

.solution-image {
    animation: fadeInRight 1s ease-out;
}

.dashboard-preview {
    transition: all 0.3s ease;
}

    .dashboard-preview:hover {
        transform: scale(1.05);
        box-shadow: var(--shadow-lg);
    }

/* Footer */
footer {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

.footer-links a:hover {
    color: var(--primary-color) !important;
    transform: translateX(5px);
    transition: all 0.3s ease;
}

.social-links a {
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}

    .social-links a:hover {
        background: var(--primary-color);
        transform: translateY(-3px);
    }

/* Form Styles */
.form-control {
    border-radius: var(--border-radius);
    border: 1px solid #d1d5db;
    transition: all 0.3s ease;
}

    .form-control:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    }

.footer-form .form-control::placeholder {
    color: rgba(255,255,255,0.6);
}

/* Button Styles */
.btn {
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
}

    .btn:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow);
    }

.btn-lg {
    padding: 12px 32px;
    font-size: 1.1rem;
}

/* Swiper Slider Styles */
.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    height: auto;
}

/* Custom Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    box-shadow: var(--shadow);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
    z-index: 10;
    margin-top: 0 !important;
}

.swiper-button-next {
    right: -25px !important;
}

.swiper-button-prev {
    left: -25px !important;
}

    .swiper-button-next:after,
    .swiper-button-prev:after {
        display: none;
    }

    .swiper-button-next i,
    .swiper-button-prev i {
        font-size: 1.5rem;
        font-weight: bold;
    }

    .swiper-button-next:hover,
    .swiper-button-prev:hover {
        background: var(--primary-color);
        color: white;
        transform: translateY(-50%) scale(1.1) !important;
    }

/* Position adjustments for different sliders */
.industries-next,
.industries-prev,
.features-next,
.features-prev,
.solutions-next,
.solutions-prev {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin-top: 0 !important;
}

/* === For laptops/desktops (≥992px) === */
@media (min-width: 992px) {
    .industries-next,
    .features-next,
    .solutions-next {
        right: -65px !important;
    }

    .industries-prev,
    .features-prev,
    .solutions-prev {
        left: -65px !important;
    }
}

/* === For tablets & mobile (<992px) === */
@media (max-width: 991.98px) {
    .industries-next,
    .features-next,
    .solutions-next {
        right: 10px !important; /* inside the container */
    }

    .industries-prev,
    .features-prev,
    .solutions-prev {
        left: 10px !important; /* inside the container */
    }
}

/* Slider specific styles */
.industries-slider .swiper-slide {
    height: auto;
    min-height: 400px;
}

.features-slider .swiper-slide {
    height: auto;
    min-height: 320px;
}

.solutions-slider .swiper-slide {
    min-height: 500px;
}

/* Feature cards center alignment */
.feature-card .feature-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
}

/* Product Page Specific Styles */
.product-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

    .product-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-lg);
    }

.product-image {
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-features .badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

.solution-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.08);
}

    .solution-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
    }

.pricing h4 {
    margin-bottom: 0;
}

.features-list {
    max-height: 150px;
}

.video-stats {
    margin-bottom: 1.5rem;
}

.video-preview {
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Table Styles */
.table-responsive {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.table-bordered th,
.table-bordered td {
    border: 1px solid #dee2e6;
    vertical-align: middle;
}

.table-primary th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

/* Products Slider Specific */
.products-next,
.products-prev {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin-top: 0 !important;
}

.products-next {
    right: -65px !important;
}

.products-prev {
    left: -65px !important;
}

/* Magnetic Tracker Section */
.magnetic-stats {
    margin-bottom: 1.5rem;
}

.magnetic-preview {
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Basic Trackers Slider */
.basic-trackers-next,
.basic-trackers-prev {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin-top: 0 !important;
}

.basic-trackers-next {
    right: -65px !important;
}

.basic-trackers-prev {
    left: -65px !important;
}

/* Responsive adjustments for basic trackers */
@media (max-width: 768px) {
    .basic-trackers-next {
        right: -20px !important;
    }

    .basic-trackers-prev {
        left: -20px !important;
    }
}

@media (max-width: 576px) {
    .basic-trackers-next {
        right: -15px !important;
    }

    .basic-trackers-prev {
        left: -15px !important;
    }
}

/* Responsive adjustments for products */
@media (max-width: 768px) {
    .products-next {
        right: -20px !important;
    }

    .products-prev {
        left: -20px !important;
    }

    .product-card {
        margin-bottom: 20px;
    }

    .solution-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .products-next {
        right: -15px !important;
    }

    .products-prev {
        left: -15px !important;
    }

    .table-responsive {
        font-size: 0.875rem;
    }
}

/* Autoplay pause on hover */
.swiper:hover .swiper-slide {
    animation-play-state: paused;
}

/* Smooth transitions */
.swiper-slide {
    transition: transform 0.3s ease;
}

/* Hide scrollbars */
.swiper-wrapper {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

    .swiper-wrapper::-webkit-scrollbar {
        display: none;
    }

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-section {
        text-align: center;
        padding: 60px 0;
    }

    .display-4 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .display-4 {
        font-size: 2rem;
    }

    .hero-features {
        justify-content: center;
        text-align: center;
    }

    .feature-card {
        margin-bottom: 20px;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .stat-item h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .display-4 {
        font-size: 1.8rem;
    }

    .btn-lg {
        padding: 10px 24px;
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

        .hero-buttons .btn {
            width: 100%;
            max-width: 250px;
        }
}

/* Utility Classes */
.rounded-4 {
    border-radius: 1rem !important;
}

.shadow-sm {
    box-shadow: var(--shadow) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .navbar, .hero-section, footer {
        display: none !important;
    }
}

/* WhatsApp Chat Widget */
.whatsapp-chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

/* Chat Box Styles */
.chat-box {
    width: 320px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: 70px;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

    .chat-box.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }

.chat-header {
    background: #075E54;
    color: white;
    padding: 15px 20px;
    border-radius: 20px 20px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .chat-header .avatar {
        width: 40px;
        height: 40px;
        background: #25D366;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
    }

    .chat-header h6 {
        color: white;
        font-weight: 600;
    }

    .chat-header small {
        color: #B8E6B8;
        font-size: 12px;
    }

.close-chat {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background 0.2s;
}

    .close-chat:hover {
        background: rgba(255, 255, 255, 0.1);
    }

.chat-body {
    flex: 1;
    padding: 20px;
    background: #ECE5DD;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    display: flex;
    margin-bottom: 10px;
}

.support-message {
    justify-content: flex-start;
}

.user-message {
    justify-content: flex-end;
}

.message-content {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 15px;
    position: relative;
}

.support-message .message-content {
    background: white;
    border-bottom-left-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.user-message .message-content {
    background: #DCF8C6;
    border-bottom-right-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.message-content p {
    margin: 0 0 5px 0;
    font-size: 14px;
    line-height: 1.4;
    color: #303030;
}

.message-content small {
    font-size: 11px;
    color: #666;
    opacity: 0.7;
}

.chat-footer {
    padding: 15px 20px;
    background: white;
    border-radius: 0 0 20px 20px;
    border-top: 1px solid #E0E0E0;
}

    .chat-footer .input-group {
        display: flex;
        /*gap: 10px;*/
    }
.social-links a{
    text-decoration:none;
}
.chat-footer .form-control {
    border: 1px solid #E0E0E0;
    border-radius: 25px;
    padding: 8px 15px;
    font-size: 14px;
    flex: 1;
}

        .chat-footer .form-control:focus {
            border-color: #25D366;
            box-shadow: 0 0 0 0.2rem rgba(37, 211, 102, 0.25);
        }

    .chat-footer .btn {
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #25D366;
        border-color: #25D366;
        padding: 0;
    }

        .chat-footer .btn:hover {
            background: #128C7E;
            border-color: #128C7E;
        }

/* WhatsApp Button */
.whatsapp-btn {
    display: flex;
    align-items: center;
    background: #25D366;
    color: white;
    padding: 0px 12px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 12px;
    border: none;
    cursor: pointer;
}

    .whatsapp-btn:hover {
        background: #128C7E;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
        text-decoration: none;
    }

    .whatsapp-btn i {
        font-size: 24px;
        margin-right: 8px;
    }

.chat-text {
    white-space: nowrap;
    opacity: 1;
    transition: all 0.3s ease;
}

/* Animations */
@keyframes whatsappPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.whatsapp-btn {
    animation: whatsappPulse 2s infinite;
}

    .whatsapp-btn:hover,
    .chat-box.active + .whatsapp-btn {
        animation: none;
    }

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .whatsapp-chat-widget {
        bottom: 15px;
        right: 7%;
    }

    .chat-box {
        width: 280px;
        height: 350px;
        bottom: 60px;
    }

    .whatsapp-btn {
        padding: 10px 14px;
        font-size: 14px;
    }

        .whatsapp-btn i {
            font-size: 20px;
            margin-right: 6px;
        }

    .chat-text {
        display: none;
    }

    .whatsapp-btn {
        border-radius: 50%;
        width: 50px;
        height: 50px;
        justify-content: center;
        padding: 0;
    }

        .whatsapp-btn i {
            margin-right: 0;
        }
}

@media (max-width: 480px) {
    .chat-box {
        width: calc(100vw - 30px);
        right: -5px;
        height: 300px;
    }

    .whatsapp-btn {
        width: 45px;
        height: 45px;
    }

        .whatsapp-btn i {
            font-size: 18px;
        }
}

/* Scrollbar Styles for Chat Body */
.chat-body::-webkit-scrollbar {
    width: 4px;
}

.chat-body::-webkit-scrollbar-track {
    background: transparent;
}

.chat-body::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

    .chat-body::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 0, 0, 0.3);
    }
