/* 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;
    padding-bottom: 0;
    margin-bottom: 0;
}

/* 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-content-row {
    padding-top: 0;
    padding-bottom: 8rem;
    transform: translateY(-5%);
}

/* Mobile and Tablet adjustments for hero content */
@media (max-width: 991px) {
    .hero-content-row {
        transform: translateY(-3%);
        padding-bottom: 6rem;
    }
}

@media (max-width: 768px) {
    .hero-content-row {
        transform: translateY(-2%);
        padding-bottom: 4rem;
    }
}

.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 Section */
.testimonials-section {
    position: relative;
    overflow: hidden;
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.testimonials-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/testimonial-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Mobile: Dark background, no image */
@media (max-width: 767px) {
    .testimonials-background {
        background-image: none;
    }
    
    .testimonials-overlay {
        background: rgba(0, 0, 0, 0.8);
    }
}

.testimonials-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.testimonials-section .container {
    position: relative;
    z-index: 3;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 100%;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(0, 194, 255, 0.5);
}

.testimonial-content {
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.testimonial-quote-icon {
    font-size: 4rem !important;
    color: rgba(255, 255, 255, 0.4) !important;
    display: block;
    margin-bottom: 1.5rem;
    line-height: 1;
}

.testimonial-quote p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 0;
    color: white;
    font-style: italic;
}

.testimonial-author {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
}

.testimonial-avatar {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: relative;
    background: rgba(0, 194, 255, 0.2);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-avatar-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 194, 255, 0.3);
    color: #333;
}

.author-info {
    flex-grow: 1;
    text-align: left;
}

.author-info h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    text-align: left;
}

.author-info p {
    font-size: 0.95rem;
    text-align: left;
}

/* Mobile responsiveness for testimonials */
@media (max-width: 991px) {
    .testimonial-card {
        padding: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .testimonial-quote p {
        font-size: 1rem;
    }
}

/* FAQ Accordion Styles */
.accordion {
    --bs-accordion-border-color: #e9ecef;
    --bs-accordion-border-radius: 12px;
    --bs-accordion-inner-border-radius: 12px;
    --bs-accordion-btn-active-icon: none;
    --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(0, 194, 255, 0.15);
}

.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 !important;
    background-color: white !important;
    color: var(--dark-color);
    font-weight: 700;
    font-size: 1.05rem;
    padding: 1.25rem 1.5rem;
    border: none !important;
    box-shadow: none !important;
    position: relative;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent !important;
}

.accordion-button::before {
    background-color: transparent !important;
    background: transparent !important;
}

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

.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);
    transition: none !important;
    animation: none !important;
    background-color: transparent !important;
}

.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: none !important;
    background-color: transparent !important;
    animation: none !important;
}

.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) !important;
    box-shadow: 0 0 0 0.25rem rgba(0, 194, 255, 0.15) !important;
    background: white !important;
    background-color: white !important;
    outline: none !important;
}

.accordion-button:focus:not(.collapsed) {
    background: linear-gradient(135deg, rgba(0, 194, 255, 0.05) 0%, rgba(233, 0, 202, 0.05) 100%) !important;
    background-color: transparent !important;
    box-shadow: 0 0 0 0.25rem rgba(0, 194, 255, 0.15) !important;
}

.accordion-button:active,
.accordion-button:focus:active,
.accordion-button:active:focus,
button.accordion-button:active,
button.accordion-button:focus:active,
.accordion-button.btn:active,
.accordion-button.btn:focus:active {
    background: white !important;
    background-color: white !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 0.25rem rgba(0, 194, 255, 0.15) !important;
    color: var(--dark-color) !important;
    -webkit-tap-highlight-color: transparent !important;
}

.accordion-button:active::after,
.accordion-button:focus:active::after,
.accordion-button:active:focus::after {
    background-color: transparent !important;
}

.accordion-button:active:not(.collapsed),
.accordion-button:focus:active:not(.collapsed),
.accordion-button:active:focus:not(.collapsed),
button.accordion-button:active:not(.collapsed),
button.accordion-button:focus:active:not(.collapsed) {
    background: linear-gradient(135deg, rgba(0, 194, 255, 0.05) 0%, rgba(233, 0, 202, 0.05) 100%) !important;
    background-color: transparent !important;
    box-shadow: 0 0 0 0.25rem rgba(0, 194, 255, 0.15) !important;
    color: var(--primary-color) !important;
}

.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;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Fallback: show background image normally if mask fails */
    background-color: rgba(0, 194, 255, 0.1);
    /* Mask image - will work on HTTP/HTTPS, may fail on file:// protocol */
    -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;
    display: block;
    /* Fallback opacity for when mask doesn't work */
    opacity: 0.9;
}

/* If mask fails, show a subtle overlay instead */
@supports not (mask-image: url('')) {
    .faq-masked-image::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('../images/pulse-ai-logomark.svg') center/contain no-repeat;
        opacity: 0.3;
        pointer-events: none;
    }
}

.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;
    }
}

/* Nucleus Laptop Full Width */
#products {
    position: relative;
    z-index: 1;
    overflow: visible;
}

.nucleus-laptop-fullwidth {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nucleus-laptop-frame {
    position: relative;
    width: 100%;
    height: auto;
}

.nucleus-laptop-img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
}

.nucleus-laptop-screen {
    position: absolute;
    top: 5%;
    left: 11%;
    width: 78%;
    height: 86%;
    overflow: hidden;
    z-index: 10;
    border-radius: 5px;
    background: #fff;
}

/* Background Content Layer */
.nucleus-screen-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    border-radius: 5px;
    background: #000;
}

.nucleus-bg-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.nucleus-bg-content.active {
    opacity: 1;
    visibility: visible;
}

.nucleus-bg-media {
    width: 107%;
    height: 107%;
    object-fit: contain;
    object-position: center top;
    display: block;
    transform: scale(1.07) translateY(-2%);
    margin: auto;
}

.nucleus-bg-content {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 2%;
}

.nucleus-bg-content img.nucleus-bg-media {
    object-fit: contain !important;
    object-position: center top;
    width: 101%;
    height: 101%;
    transform: scale(1.01) translateY(-2%);
    margin: auto;
}

.nucleus-bg-content video.nucleus-bg-media {
    object-fit: contain;
    object-position: center top;
    width: 107%;
    height: 107%;
    transform: scale(1.07) translateY(-8%);
    background: #000;
    margin: auto;
}

.nucleus-bg-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 194, 255, 0.1) 0%, rgba(233, 0, 202, 0.1) 100%);
}

/* Content Overlay */
.nucleus-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
    pointer-events: none;
    border-radius: 5px;
}

/* Text Content Overlay - behind text but not icon */
.nucleus-text-overlay {
    position: absolute;
    top: 20%;
    left: 0;
    width: 100%;
    height: 80%;
    z-index: 1;
    pointer-events: none;
    border-radius: 0 0 5px 5px;
}

/* Carousel Styles */
.nucleus-carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    z-index: 3;
}

.nucleus-carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
    overflow: hidden;
}

.nucleus-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow-y: auto;
}

.nucleus-carousel-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.nucleus-slide-content {
    width: 100%;
    text-align: center;
}

.nucleus-slide-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 4;
}

.nucleus-slide-icon i {
    font-size: 4rem;
    color: white !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(233, 0, 202, 1) 100%);
    box-shadow: 0 4px 20px rgba(0, 194, 255, 0.3);
}

.nucleus-slide-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.nucleus-slide-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
    color: white;
    background: rgba(0, 0, 0, 0.7);
    padding: 5px 20px;
    border-radius: 4px;
    display: inline-block;
}

.nucleus-slide-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 4px;
    display: inline-block;
}

.nucleus-slide-icp {
    background: rgba(0, 0, 0, 0.7);
    border-left: 3px solid var(--primary-color);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    display: inline-block;
    color: rgba(255, 255, 255, 0.9);
}

.nucleus-slide-icp strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* Carousel Controls */
.nucleus-carousel-controls {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.nucleus-carousel-dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(0, 194, 255, 0.5);
}

.nucleus-carousel-dot:hover {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Tablet: Adjust laptop screen positioning */
@media (max-width: 991px) and (min-width: 768px) {
    .nucleus-laptop-screen {
        top: 5%;
        left: 11%;
        width: 78%;
        height: 85%;
    }
    
    .nucleus-content-overlay {
        background: rgba(0, 0, 0, 0.55);
    }
    
    .nucleus-bg-content img.nucleus-bg-media {
        object-fit: contain;
    }
    
    .nucleus-bg-content video.nucleus-bg-media {
        object-fit: contain;
    }
    
    .nucleus-carousel-slide {
        padding: 1.5rem 1.25rem;
    }
    
    .nucleus-slide-icon {
        margin-bottom: 1rem;
    }
    
    .nucleus-slide-icon i {
        font-size: 3rem !important;
        color: white !important;
        width: 100px;
        height: 100px;
    }
    
    .nucleus-slide-header {
        margin-bottom: 1rem;
    }
    
    .nucleus-slide-header h3 {
        font-size: 1.4rem;
        line-height: 1.3;
    }
    
    .nucleus-slide-content p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    
    .nucleus-slide-icp {
        padding: 0.85rem 1rem;
        font-size: 0.9rem;
    }
    
    .nucleus-carousel-controls {
        bottom: 1rem;
        padding: 0.5rem 1rem;
        gap: 0.5rem;
    }
    
    .nucleus-carousel-dot {
        width: 10px;
        height: 10px;
    }
}

/* Mobile: Adjust laptop screen positioning */
@media (max-width: 767px) {
    .nucleus-laptop-fullwidth {
        padding: 0 0.25rem;
    }
    
    .nucleus-laptop-screen {
        top: 5%;
        left: 11%;
        width: 78%;
        height: 85%;
        border-radius: 3px;
    }
    
    .nucleus-content-overlay {
        background: rgba(0, 0, 0, 0.6);
    }
    
    .nucleus-bg-content img.nucleus-bg-media {
        object-fit: contain;
    }
    
    .nucleus-bg-content video.nucleus-bg-media {
        object-fit: contain;
    }
    
    .nucleus-screen-background {
        border-radius: 3px;
    }
    
    .nucleus-carousel-slide {
        padding: 1rem 0.75rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nucleus-slide-content {
        max-width: 100%;
    }
    
    .nucleus-slide-icon {
        display: none !important;
    }
    
    .nucleus-slide-header {
        margin-bottom: 0.75rem;
    }
    
    .nucleus-slide-header h3 {
        font-size: 1.1rem;
        line-height: 1.25;
        padding: 0 0.5rem;
    }
    
    .nucleus-slide-content p {
        font-size: 0.75rem;
        line-height: 1.5;
        margin-bottom: 0.75rem;
    }
    
    .nucleus-slide-icp {
        padding: 0.6rem 0.75rem;
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .nucleus-carousel-controls {
        bottom: 0.5rem;
        padding: 0.4rem 0.75rem;
        gap: 0.4rem;
        border-radius: 25px;
    }
    
    .nucleus-carousel-dot {
        width: 8px;
        height: 8px;
    }
    
    .nucleus-carousel-dot.active {
        transform: scale(1.3);
    }
}

/* Small Mobile: Extra small devices */
@media (max-width: 480px) {
    .nucleus-laptop-screen {
        top: 4.5%;
        left: 5%;
        width: 90%;
        height: 58%;
    }
    
    .nucleus-content-overlay {
        background: rgba(0, 0, 0, 0.65);
    }
    
    .nucleus-bg-content img.nucleus-bg-media {
        object-fit: contain;
    }
    
    .nucleus-bg-content video.nucleus-bg-media {
        object-fit: contain;
    }
    
    .nucleus-carousel-slide {
        padding: 0.75rem 0.5rem;
    }
    
    .nucleus-slide-icon {
        margin-bottom: 0.5rem;
    }
    
    .nucleus-slide-icon i {
        font-size: 1rem !important;
        color: white !important;
        width: 35px;
        height: 35px;
    }
    
    .nucleus-slide-header h3 {
        font-size: 1rem;
    }
    
    .nucleus-slide-content p {
        font-size: 0.8rem;
    }
    
    .nucleus-slide-icp {
        padding: 0.5rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .nucleus-carousel-controls {
        bottom: 0.4rem;
        padding: 0.35rem 0.6rem;
        gap: 0.35rem;
    }
    
    .nucleus-carousel-dot {
        width: 7px;
        height: 7px;
    }
}

/* 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;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.logo-rotator-section .container {
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
}

.logo-rotator {
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.logo-track {
    display: flex;
    animation: scroll 30s linear infinite;
    will-change: transform;
    width: fit-content;
}

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

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

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

/* 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;
    }
    
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-50%);
        }
    }
}

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

/* Hero Logo Rotator */
.hero-logo-rotator-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    padding: 0;
}

.hero-logo-rotator {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
    border-left: none;
    border-right: none;
    border-radius: 0;
    padding: 1.5rem 2rem;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.3);
    width: 100%;
}

.hero-logo-img {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

/* Mobile responsiveness for hero logo rotator */
@media (max-width: 768px) {
    .hero-section {
        overflow: visible;
        display: flex;
        flex-direction: column;
        min-height: auto;
    }
    
    .hero-section .container-fluid {
        flex: 0 0 auto;
        display: flex;
        flex-direction: column;
        order: 1;
        padding-bottom: 0;
    }
    
    .hero-logo-rotator-wrapper {
        padding: 0 !important;
        position: relative;
        bottom: 0;
        margin-top: 1.5rem;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
        width: 100%;
        order: 2;
        flex-shrink: 0;
        align-self: flex-end;
    }
    
    .hero-logo-rotator {
        padding: 1rem;
        width: 100%;
        margin-bottom: 0;
        border-bottom: none;
    }
    
    .hero-logo-rotator .text-center {
        margin-bottom: 0.5rem !important;
    }
    
    .hero-logo-rotator .logo-rotator {
        margin-bottom: 0;
        padding-bottom: 0;
    }
    
    .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);
}

/* KPI Cards */
.kpi-card {
    background: white;
    border-radius: 15px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.kpi-number {
    flex-shrink: 0;
    line-height: 1;
}

.kpi-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.kpi-card p {
    font-size: 1rem;
    line-height: 1.7;
}

/* Mobile responsiveness for KPI cards */
@media (max-width: 991px) {
    .kpi-card {
        margin-bottom: 1.5rem;
    }
    
    .kpi-number {
        margin-bottom: 1rem;
    }
    
    .kpi-card .d-flex {
        flex-direction: column;
    }
}

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

.cta-callout-btn {
    position: relative;
    z-index: 3 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
}

.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 .btn-outline-light,
.cta-callout-btn {
    background: transparent !important;
    color: white !important;
    border: 2px solid white !important;
    box-shadow: none !important;
    font-weight: 700;
    padding: 1.125rem 2.25rem;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.cta-callout .btn-outline-light:hover,
.cta-callout-btn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    border-color: white !important;
    box-shadow: none !important;
    transform: translateY(-2px);
}

.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);
}

.cta-callout h2,
.cta-callout .display-5 {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-callout .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;
    }
} 

.lead {
    font-size: 1.2rem;
    padding-bottom: 10px;
}

.py-6 {
    padding-top: 7rem !important;
    padding-bottom: 7rem !important;    
}