/* Import Google Font with font-display: swap for better performance */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700;900&display=swap');

:root {
    --bs-primary-rgb: 30, 108, 222; /* Custom primary color */
    --bs-primary: #1e6cde;
}

body {
    font-family: 'Cairo', sans-serif;
    scroll-behavior: smooth;
}

/* ===== Performance: Navbar Scroll Effect ===== */
.navbar {
    transition: all 0.3s ease-in-out;
}

.navbar.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.98) !important;
}

.navbar-brand {
    color: var(--bs-primary) !important;
}

.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    transition: background-color 0.3s, transform 0.3s;
}

.btn-primary:hover {
    background-color: #1a5bb8;
    border-color: #1a5bb8;
    transform: translateY(-2px);
}

/* Hero Section (Marn Style) */
.hero-section-marn {
    background-color: #f8f9fa;
    padding: 6rem 0;
}

.hero-image-container {
    position: relative;
}

.hero-image {
    animation: float 4s ease-in-out infinite;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.hero-image:hover {
    animation-play-state: paused;
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Features Section */
.feature-icon {
    font-size: 3rem;
    color: var(--bs-primary);
    margin-bottom: 1rem;
}

.feature-card {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    border: 1px solid #dee2e6;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15);
}

/* Bundled Products HTML Visualization */
.bundle-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #dee2e6;
    width: 100%;
    max-width: 400px;
}

.main-product-box, .sub-product-box {
    background-color: #ffffff;
    border: 2px dashed #0d6efd;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-weight: bold;
    color: #0d6efd;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.main-product-box:hover, .sub-product-box:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.main-product-box {
    width: 60%;
    margin-bottom: 1rem;
}

.main-product-box i, .sub-product-box i {
    font-size: 2rem;
}

.sub-products-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.sub-product-box {
    border-style: solid;
    border-color: #6c757d;
    color: #495057;
    width: 100px;
    height: 100px;
    justify-content: center;
}

.sub-products-wrapper > .bi-plus-lg {
    font-size: 1.5rem;
    border: none;
    background: none;
    box-shadow: none;
    color: var(--bs-primary);
}

.sub-product-line {
    width: 2px;
    height: 30px;
    background-color: #adb5bd;
    margin-bottom: 1rem;
}

/* Supported Hardware Section */
.hardware-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid #dee2e6;
    transition: transform 0.3s, box-shadow 0.3s;
}

.hardware-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15);
}

.hardware-card img {
    max-height: 150px;
    object-fit: contain;
}

/* Partners Section */
.partner-logo-wrapper {
    width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.partner-logo {
    height: 60px;
    max-width: 150px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter 0.3s, opacity 0.3s, transform 0.3s;
}

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

/* Testimonials Section */
#testimonials {
    background-color: #f8f9fa;
}

.testimonial-card {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    max-width: 700px;
    margin: auto;
    text-align: center;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-weight: bold;
    color: var(--bs-primary);
}

#testimonialCarousel .carousel-control-prev-icon,
#testimonialCarousel .carousel-control-next-icon {
    background-color: var(--bs-primary);
    border-radius: 50%;
    padding: 1.2rem;
}

/* Target Sectors Section */
.sector-card {
    padding: 2rem;
    border: 1px solid #eee;
    border-radius: 15px;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.sector-card:hover {
    background-color: var(--bs-primary);
    color: white;
    border-color: var(--bs-primary);
}

.sector-card:hover i {
    color: white !important;
}

/* Testimonials Section */
#testimonials {
    background-color: #f8f9fa;
}

/* Final CTA Section */
.cta-section {
    background: linear-gradient(45deg, #1e6cde, #0d47a1);
    padding: 6rem 0;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    left: 20px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
    transition: all 0.3s ease;
}

.whatsapp-float i {
    color: #FFF;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 4px 4px 12px rgba(0,0,0,0.3);
    animation-play-state: paused;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: var(--bs-primary);
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #1a5bb8;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/* Footer */
.site-footer {
    background-color: #212529;
    color: #adb5bd;
    padding: 3rem 0 1rem 0;
    font-size: 0.9rem;
}

.site-footer h5 {
    color: white;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.site-footer a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s;
}

.site-footer a:hover {
    color: white;
}

.site-footer .list-unstyled li {
    margin-bottom: 0.5rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #343a40;
    color: white;
    font-size: 1.2rem;
    transition: background-color 0.3s, transform 0.3s;
}

.social-icon:hover {
    background-color: var(--bs-primary);
    transform: translateY(-2px);
    color: white;
}

a[b-zqz91b9pmc] {
    color: white;
}
