/* Custom CSS for Pulse AI */

:root {
    --primary-color: #00c2ff;
    --secondary-color: #e900ca;
    --dark-color: #414042;
    --light-color: #f8f9fa;
    --gradient-primary: linear-gradient(135deg, #00c2ff 0%, #e900ca 100%);
    --gradient-secondary: linear-gradient(135deg, #13b1fa 0%, #b62ad5 100%);
}

/* Global Styles */
body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    font-size: 0.9rem; /* Reduced from 1rem by 10% */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Text gradient */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.navbar {
    transition: all 0.3s ease;
    padding: 1.25rem 0;
    background: transparent;
    z-index: 1030;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Mobile navbar background */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(0, 0, 0, 0.9) !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 10px;
        margin-top: 1rem;
        padding: 1rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .navbar.scrolled .navbar-collapse {
        background: rgba(255, 255, 255, 0.95) !important;
        border: 1px solid rgba(0, 0, 0, 0.1);
    }
    
.navbar-nav {
    padding: 0.5rem 0;
    gap: 0.25rem;
}
    
.nav-item {
    margin: 0.25rem 0;
}
    
    .nav-link {
        padding: 0.75rem 1.25rem !important;
        border-radius: 8px;
        transition: all 0.3s ease;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-size: 0.85rem;
    }
    
    .nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateX(5px);
    }
    
    .navbar.scrolled .nav-link:hover {
        background: rgba(0, 194, 255, 0.1);
    }
}

.navbar-brand img {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

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

.navbar-logo {
    transition: all 0.3s ease;
    height: 60px !important; /* 50% bigger than original 40px */
    width: auto !important;
    max-height: none !important;
}

.navbar-brand {
    display: flex;
    align-items: center;
    padding: 4px;
    margin-right: 2rem;
}

.nav-link {
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 0.5rem 1.25rem !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.navbar.scrolled .nav-link {
    color: var(--dark-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.nav-link:hover {
    color: white !important;
}

.navbar.scrolled .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.navbar.scrolled .navbar-toggler {
    color: var(--dark-color);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    transition: all 0.3s ease;
}

.navbar.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23414042' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    background: #000;
}

/* Video Background */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Hero Background Image */
.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(8, 43, 54, 0.6) 50%, rgba(89, 11, 78, 0.6) 100%);
    z-index: 2;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 1.0) 0%, rgba(8, 43, 54, 0.7) 50%, rgba(89, 11, 78, 0.7) 100%);
    z-index: 2;
}

.hero-section .container,
.hero-section .container-fluid {
    position: relative;
    z-index: 3;
}

.hero-title {
    line-height: 1.1;
    letter-spacing: -0.02em;
    padding-top: 4rem;
}

/* ROI Calculator */
.roi-calculator {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.calculator-header h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 0.99rem; /* Reduced from 1.1rem by 10% */
}

.calculator-form .form-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 0.9rem;
}

.calculator-form .form-select:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 194, 255, 0.25);
    color: white;
}

.calculator-form .form-select option {
    background: #2c3e50;
    color: white;
}

.roi-results {
    margin: 1rem 0;
}

.result-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.result-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.result-content {
    flex: 1;
}

.result-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.15rem;
}

.result-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Case Studies */
.case-study-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.case-study-card:active {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.case-study-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-study-card:hover .case-study-image img {
    transform: scale(1.05);
}

.case-study-overlay {
    position: absolute;
    top: 1rem;
    left: 1rem;
}

.case-study-category {
    background: var(--gradient-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.case-study-content {
    padding: 1.5rem;
}

.case-study-content h4 {
    font-size: 1.17rem; /* Reduced from 1.3rem by 10% */
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.case-study-stats {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.stat {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 1.8rem; /* Reduced from 2rem by 10% */
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.72rem; /* Reduced from 0.8rem by 10% */
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Case Study Card Buttons */
.case-study-card .btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    border-width: 2px;
}

.case-study-card .btn-outline-primary:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 194, 255, 0.3);
}

/* Testimonials */
.testimonials-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    display: none;
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.testimonial.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-quote {
    margin-bottom: 2rem;
}

.testimonial-quote p {
    font-size: 1.17rem; /* Reduced from 1.3rem by 10% */
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: white;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-info h5 {
    font-size: 0.99rem; /* Reduced from 1.1rem by 10% */
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #dee2e6;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.testimonial-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.testimonial-dot:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

/* FAQ Accordion Styles */
.accordion {
    --bs-accordion-border-color: #e9ecef;
    --bs-accordion-border-radius: 12px;
    --bs-accordion-inner-border-radius: 12px;
}

.accordion-item {
    border: 1px solid #e9ecef;
    border-radius: 12px !important;
    margin-bottom: 1rem;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.accordion-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.accordion-item:not(:first-of-type) {
    border-top: 1px solid #e9ecef;
}

.accordion-button {
    background: white;
    color: var(--dark-color);
    font-weight: 700;
    font-size: 1.05rem;
    padding: 1.25rem 1.5rem;
    border: none;
    box-shadow: none;
    position: relative;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(0, 194, 255, 0.05) 0%, rgba(233, 0, 202, 0.05) 100%);
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2300c2ff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(180deg);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23414042'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.3s ease;
}

.accordion-button:hover {
    background: linear-gradient(135deg, rgba(0, 194, 255, 0.08) 0%, rgba(233, 0, 202, 0.08) 100%);
    color: var(--primary-color);
}

.accordion-button:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 194, 255, 0.15);
}

.accordion-body {
    padding: 1.5rem;
    color: #666;
    line-height: 1.7;
    font-size: 0.95rem;
}

.accordion-body p {
    margin-bottom: 1rem;
}

.accordion-body .bg-light {
    background: linear-gradient(135deg, rgba(0, 194, 255, 0.05) 0%, rgba(233, 0, 202, 0.05) 100%) !important;
    border-left: 3px solid var(--primary-color);
}

.accordion-body .text-primary {
    color: var(--primary-color) !important;
    font-weight: 700;
}

/* FAQ Image Container */
#about .row.g-4 {
    align-items: flex-start;
}

#about .col-lg-5 {
    display: flex;
    align-items: flex-start;
    height: fit-content;
}

.faq-image-container {
    position: relative;
    width: 100%;
}

.faq-image-wrapper {
    position: -webkit-sticky;
    position: sticky;
    top: 120px;
    padding-left: 2rem;
    width: 100%;
    align-self: flex-start;
    z-index: 1;
}

.faq-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.faq-image:hover {
    transform: scale(1.02);
}

.faq-masked-image {
    width: 100%;
    height: 800px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-mask-image: url('../images/pulse-ai-logomark.svg');
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-image: url('../images/pulse-ai-logomark.svg');
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    transition: transform 0.3s ease;
    border-radius: 15px;
}

.faq-masked-image:hover {
    transform: scale(1.02);
}

/* Mobile: Stack image below FAQ */
@media (max-width: 991px) {
    .faq-image-wrapper {
        position: relative !important;
        top: 0 !important;
        padding-left: 0;
        margin-top: 2rem;
        align-self: auto;
    }
    
    .faq-image {
        max-height: 400px;
        object-fit: cover;
    }
    
    .faq-masked-image {
        height: 400px;
    }
}

/* Differentiator Cards */
.differentiator-card {
    display: flex;
    align-items: flex-start;
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 194, 255, 0.1);
}

.differentiator-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.differentiator-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 194, 255, 0.1) 0%, rgba(233, 0, 202, 0.1) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    transition: all 0.3s ease;
}

.differentiator-card:hover .differentiator-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(0, 194, 255, 0.2) 0%, rgba(233, 0, 202, 0.2) 100%);
}

.differentiator-content {
    flex: 1;
}

.differentiator-title {
    font-size: 1.17rem; /* Reduced from 1.3rem by 10% */
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.differentiator-description {
    font-size: 0.81rem; /* Reduced from 0.9rem by 10% */
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.differentiator-metric {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.metric-number {
    font-size: 1.8rem; /* Reduced from 2rem by 10% */
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.metric-label {
    font-size: 0.72rem; /* Reduced from 0.8rem by 10% */
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
}

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

.service-card, .product-card {
    background: white;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

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

/* Feature Icons */
.feature-icon, .service-icon, .product-icon {
    transition: transform 0.3s ease;
}

.card:hover .feature-icon,
.service-card:hover .service-icon,
.product-card:hover .product-icon {
    transform: scale(1.1);
}

/* Value List */
.value-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.value-item {
    display: flex;
    align-items: flex-start;
    padding: 0.5rem 0;
}

.value-item i {
    margin-top: 0.25rem;
    flex-shrink: 0;
}

/* Buttons */
.btn {
    font-weight: 700;
    padding: 0.875rem 1.75rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    border: none;
    text-transform: none;
}

.btn-xl {
    padding: 1.125rem 2.25rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 12px;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 194, 255, 0.3);
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 194, 255, 0.4);
    color: white;
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 194, 255, 0.3);
    color: white;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    font-weight: 700;
    padding: 0.875rem 1.75rem;
}

.btn-outline-primary:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 194, 255, 0.3);
}

.btn-outline-primary:active {
    transform: translateY(0);
    color: white;
}

.btn-light {
    background: white;
    color: var(--primary-color);
    font-weight: 700;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: #f8f9fa;
    color: var(--primary-color);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    background: transparent;
    font-weight: 700;
    padding: 0.875rem 1.75rem;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

/* Contact Form */
.form-control {
    padding: 0.675rem 0.9rem; /* Reduced from 0.75rem 1rem by 10% */
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 0.81rem; /* Reduced from 0.9rem by 10% */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 194, 255, 0.25);
}

/* Contact Info */
.contact-info {
    font-size: 0.95rem;
}

.contact-info i {
    width: 20px;
}

/* Social Links */
.social-links a {
    transition: transform 0.3s ease;
    display: inline-block;
    -webkit-tap-highlight-color: transparent;
}

.social-links a:hover {
    transform: translateY(-2px);
}

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

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

/* Section Animations */
section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-secondary);
}

/* Print Styles */
@media print {
    .navbar,
    .btn,
    .social-links {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }
}

/* Performance Optimizations */
* {
    box-sizing: border-box;
}

/* Reduce motion for users who prefer it */
@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;
    }
}

/* Focus styles for accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Logo Rotator */
.logo-rotator-section {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.logo-rotator {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.logo-track {
    display: flex;
    animation: scroll 30s linear infinite;
    width: calc(200% + 2rem);
}

.logo-item {
    flex: 0 0 auto;
    margin-right: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.logo-item:hover {
    opacity: 1;
}

.logo-img {
    max-height: 60px;
    max-width: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.logo-item:hover .logo-img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.logo-rotator:hover .logo-track {
    animation-play-state: paused;
}

/* Mobile responsiveness for logo rotator */
@media (max-width: 768px) {
    .logo-track {
        animation-duration: 20s;
    }
    
    .logo-item {
        margin-right: 2.5rem;
    }
    
    .logo-img {
        max-height: 40px;
        max-width: 120px;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .logo-track {
        animation: none;
    }
    
    .logo-track {
        transform: translateX(0);
    }
}

/* Hero Logo Rotator */
.hero-logo-rotator {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hero-logo-img {
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.hero-logo-img:hover {
    filter: brightness(0) invert(1);
    opacity: 1;
    transform: scale(1.05);
}

/* Mobile responsiveness for hero logo rotator */
@media (max-width: 768px) {
    .hero-logo-rotator {
        padding: 1rem;
        margin-top: 2rem;
    }
    
    .hero-logo-img {
        max-height: 35px;
        max-width: 100px;
    }
} 

/* Product Cards */
.product-card {
    background: white;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.product-icon {
    transition: transform 0.3s ease;
}

.product-card:hover .product-icon {
    transform: scale(1.1);
}

/* Product Videos */
.product-videos {
    margin-top: 1.5rem;
}

.product-videos video {
    border: 1px solid #e9ecef;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.product-videos video:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 194, 255, 0.15);
}

.product-videos .small {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6c757d;
}

/* Contact Options */
.contact-option {
    background: white;
    border-radius: 15px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    height: 100%;
}

.contact-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.contact-option i {
    transition: transform 0.3s ease;
}

.contact-option:hover i {
    transform: scale(1.1);
}

/* CTA Navigation */
.nav-link.cta-nav {
    background: var(--gradient-primary) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    border-radius: 8px;
    padding: 0.65rem 1.5rem !important;
    font-weight: 700 !important;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.nav-link.cta-nav::after {
    display: none !important;
    content: none !important;
}

.nav-link.cta-nav,
.nav-link.cta-nav:link,
.nav-link.cta-nav:visited,
.nav-link.cta-nav:active,
.nav-link.cta-nav:hover,
.nav-link.cta-nav:focus {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: var(--gradient-primary) !important;
    background-clip: border-box !important;
    -webkit-background-clip: border-box !important;
}

.nav-link.cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 194, 255, 0.4);
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.navbar.scrolled .nav-link.cta-nav,
.navbar.scrolled .nav-link.cta-nav:hover,
.navbar.scrolled .nav-link.cta-nav:focus {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: var(--gradient-primary) !important;
    background-clip: border-box !important;
    -webkit-background-clip: border-box !important;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
}

/* Feature Box */
.feature-box {
    background: white;
    border-radius: 15px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.feature-box i {
    transition: transform 0.3s ease;
}

.feature-box:hover i {
    transform: scale(1.1);
}

/* Result Box */
.result-box {
    background: white;
    border-radius: 15px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    height: 100%;
}

.result-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

/* CTA Callout Sections */
.cta-callout {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.cta-callout::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.05) 100%);
    z-index: 1;
}

.cta-callout-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.cta-callout-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.cta-callout-box .btn-light {
    background: white;
    color: var(--primary-color);
    font-weight: 700;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    padding: 1.125rem 2.25rem;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.cta-callout-box .btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: #f8f9fa;
    color: var(--primary-color);
}

.cta-callout-box h3 {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-callout-box .lead {
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

/* Mobile responsiveness for CTA callouts */
@media (max-width: 768px) {
    .cta-callout-box {
        padding: 2.5rem 1.5rem !important;
    }
    
    .cta-callout-box h3 {
        font-size: 1.75rem;
    }
    
    .cta-callout-box .lead {
        font-size: 1rem;
    }
} 