/* Custom CSS for Buckshot Technologies */

:root {
    --primary-color: #1a73e8;
    --secondary-color: #34a853;
    --dark-color: #202124;
    --light-color: #f8f9fa;
    --gradient-primary: linear-gradient(135deg, #1a73e8 0%, #4285f4 100%);
    --gradient-secondary: linear-gradient(135deg, #34a853 0%, #0f9d58 100%);
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    padding-top: 76px; /* Account for fixed navbar */
}

/* Custom Button Styles */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 12px 24px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-hover);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 24px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-hover);
}

/* Navigation */
.navbar {
    background: white !important;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.25rem;
    font-weight: 700;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 1rem;
    position: relative;
    transition: all 0.3s ease;
    color: #333 !important;
    padding: 0.5rem 0 !important;
}

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

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

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

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

.btn-outline-primary {
    border: 1px solid #ddd;
    color: #333;
    background: transparent;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.btn-outline-primary:hover {
    background: #f8f9fa;
    border-color: #ccc;
    color: #333;
}

.btn-primary {
    background: var(--primary-color);
    border: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1a237e 0%, #283593 50%, #3949ab 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 300;
    line-height: 1.1;
    color: white;
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
}

.btn-hero-primary {
    background: #1976d2;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    background: #1565c0;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Hero Visual Cards */
.hero-visual {
    position: relative;
    height: 500px;
}

.hero-cards {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-card {
    position: absolute;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    min-width: 120px;
    animation: float 6s ease-in-out infinite;
}

.hero-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.hero-card-1 {
    top: 20px;
    left: 50px;
    background: linear-gradient(135deg, #e91e63, #ad1457);
    color: white;
    animation-delay: -0.5s;
}

.hero-card-2 {
    top: 80px;
    right: 20px;
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: white;
    animation-delay: -1s;
}

.hero-card-3 {
    top: 180px;
    left: 20px;
    background: linear-gradient(135deg, #4caf50, #388e3c);
    color: white;
    animation-delay: -1.5s;
}

.hero-card-4 {
    top: 250px;
    right: 60px;
    background: linear-gradient(135deg, #2196f3, #1976d2);
    color: white;
    animation-delay: -2s;
}

.hero-card-5 {
    top: 350px;
    left: 80px;
    background: linear-gradient(135deg, #9c27b0, #7b1fa2);
    color: white;
    animation-delay: -2.5s;
}

.hero-card-6 {
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #00bcd4, #0097a7);
    color: white;
    animation-delay: -3s;
    z-index: 10;
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.hero-card-6 .card-icon {
    background: rgba(255, 255, 255, 0.9);
}

.card-icon i {
    font-size: 1.5rem;
}

.hero-card-6 .card-icon i {
    color: #00bcd4;
}

.card-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.hero-card span {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

/* Contact FAB */
.hero-contact-fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.btn-contact-fab {
    background: #1976d2;
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    box-shadow: 0 4px 16px rgba(25, 118, 210, 0.3);
    transition: all 0.3s ease;
}

.btn-contact-fab:hover {
    background: #1565c0;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(25, 118, 210, 0.4);
}

/* Page Header */
.page-header {
    background: var(--gradient-primary);
    padding: 120px 0 80px;
    margin-top: -76px;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M985.66,92.83C906.67,72,823.78,31,743.84,14.19c-82.26-17.34-168.06-16.33-250.45.39-57.84,11.73-114,31.07-172,41.86A600.21,600.21,0,0,1,0,27.35V120H1200V95.8C1132.19,118.92,1055.71,111.31,985.66,92.83Z" fill="white"/></svg>');
    background-size: cover;
}

/* Service Cards */
.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid #e9ecef;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h4 {
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-card p {
    color: #6c757d;
    line-height: 1.7;
}

/* Product Cards */
.product-card {
    background: white;
    border-radius: 20px;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

/* Featured Product Card */
.product-card-featured {
    background: white;
    border-radius: 24px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    overflow: hidden;
    padding: 3rem;
    text-align: center;
}

.product-card-featured:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.15);
}

.product-icon-large {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    border: 4px solid #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.product-title-large {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.product-badge-large {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), #1565c0);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2rem;
}

.product-description-large {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #6c757d;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.product-pricing-large {
    margin-bottom: 2rem;
}

.pricing-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.price-large {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-note {
    font-size: 1rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.product-actions-large {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Compact Product Card */
.product-card-compact {
    background: white;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    overflow: hidden;
    padding: 2rem;
    text-align: center;
    height: 100%;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
}

.product-card-compact:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.product-header-compact {
    margin-bottom: 1.5rem;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.product-icon-compact {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border: 3px solid #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.doc-icon-link {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 10;
}

.doc-icon-link:hover {
    background: var(--secondary-color);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.product-title-compact {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.product-badge-compact {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), #1565c0);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-badge-compact.coming-soon {
    background: linear-gradient(135deg, #ff9800, #f57c00);
}

.product-body-compact {
    margin-bottom: 1.5rem;
}

.product-description-compact {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #6c757d;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

.mapping-components {
    text-align: left;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    min-height: 220px;
    display: flex;
    flex-direction: column;
}

.mapping-components h6 {
    color: var(--dark-color);
    margin-bottom: 0.75rem;
}

.component-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.component-tag {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--primary-color);
    transition: all 0.3s ease;
}

.component-tag:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

.compliance-info {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.compliance-text {
    font-size: 0.85rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.4;
    text-align: center;
}

.product-footer-compact {
    border-top: 1px solid #e9ecef;
    padding-top: 1.5rem;
}

.product-pricing-compact {
    margin-bottom: 1rem;
    text-align: center;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.price-compact {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.25rem;
}

.price-note-compact {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.product-actions-compact {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.product-actions-compact .btn {
    flex: 1;
    min-width: 140px;
    font-weight: 500;
}

.product-header {
    padding: 2rem 2rem 1rem;
    text-align: center;
    position: relative;
}

.product-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.product-icon i {
    font-size: 2rem;
    color: white;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.product-badge.bg-warning {
    background: #ffc107 !important;
    color: #000 !important;
}

.product-badge.bg-info {
    background: #0dcaf0 !important;
}

.product-badge.bg-success {
    background: var(--secondary-color) !important;
}

.product-body {
    padding: 0 2rem 1rem;
}

.product-description {
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.product-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.product-features li {
    padding: 0.5rem 0;
    color: #495057;
    display: flex;
    align-items: center;
}

.product-footer {
    padding: 1rem 2rem 2rem;
    border-top: 1px solid #e9ecef;
    margin-top: auto;
}

.product-pricing {
    text-align: center;
    margin-bottom: 1.5rem;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.product-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.product-actions .btn {
    flex: 1;
    min-width: 120px;
}

/* Feature Section */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-item {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    color: var(--dark-color);
}

.feature-graphic i {
    font-size: 6rem;
    opacity: 0.8;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Footer */
footer {
    background: var(--dark-color) !important;
}

footer a:hover {
    color: var(--primary-color) !important;
    transition: color 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 120px 0 60px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-visual {
        display: none;
    }
    
    .navbar-nav {
        text-align: center;
        margin-top: 1rem;
    }
    
    .navbar .d-flex {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .hero-contact-fab {
        bottom: 1rem;
        right: 1rem;
    }
    
    .btn-contact-fab {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
    
    .service-card,
    .product-card {
        margin-bottom: 2rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .product-actions .btn {
        width: 100%;
    }
    
    .product-card-featured {
        padding: 2rem 1.5rem;
    }
    
    .product-title-large {
        font-size: 2.5rem;
    }
    
    .product-description-large {
        font-size: 1.1rem;
    }
    
    .product-actions-large {
        flex-direction: column;
        align-items: center;
    }
    
    .product-actions-large .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .product-card-compact {
        padding: 1.5rem 1rem;
        margin-bottom: 2rem;
    }
    
    .product-title-compact {
        font-size: 1.75rem;
    }
    
    .product-actions-compact {
        flex-direction: column;
    }
    
    .product-actions-compact .btn {
        width: 100%;
        min-width: auto;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 576px) {
    .product-icon-large {
        width: 80px;
        height: 80px;
    }
    
    .product-title-large {
        font-size: 2rem;
    }
    
    .price-large {
        font-size: 1.5rem;
    }
    
    .product-icon-compact {
        width: 60px;
        height: 60px;
    }
    
    .product-title-compact {
        font-size: 1.5rem;
    }
    
    .price-compact {
        font-size: 1.5rem;
    }
    
    .component-tag {
        font-size: 0.75rem;
        padding: 0.2rem 0.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn-hero-primary {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .navbar-brand span {
        font-size: 1rem;
    }
    
    .service-icon,
    .product-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i,
    .product-icon i {
        font-size: 1.5rem;
    }
}

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

/* Loading Animation */
.loading {
    animation: fadeIn 1s ease-in;
}

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #1557b0;
}

/* Contact Modal Styles */
.modal-backdrop {
    background-color: rgba(26, 115, 232, 0.1);
}

.modal-dialog {
    max-width: 420px;
}

.modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    background: white;
}

.modal-header {
    border-bottom: none;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1565c0 100%);
    color: white;
    padding: 1.25rem 1.5rem;
    text-align: center;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.modal-header .btn-close {
    filter: invert(1);
    opacity: 0.8;
    position: absolute;
    top: 0.75rem;
    right: 1rem;
}

.modal-header .btn-close:hover {
    opacity: 1;
}

.modal-body {
    padding: 1.5rem;
    text-align: center;
    background: white;
}

.contact-info {
    margin: 0;
}

.contact-info > div {
    margin: 1rem 0;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.contact-info strong {
    font-size: 0.9rem;
    color: var(--dark-color);
    display: block;
    margin-bottom: 0.5rem;
}

.contact-info a.btn {
    margin: 0.25rem 0;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    padding: 0.6rem 1.5rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(26, 115, 232, 0.2);
}

.contact-info a.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 115, 232, 0.3);
}

.contact-info a.btn i {
    font-size: 1rem;
}

.modal-footer {
    border-top: none;
    padding: 0.75rem 1.5rem 1.25rem;
    background: white;
}

.modal-footer .btn-secondary {
    background: #6c757d;
    border: none;
    padding: 0.5rem 2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.modal-footer .btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

/* Modal Animation */
.modal.fade .modal-dialog {
    transition: transform 0.4s ease-out;
    transform: scale(0.8) translateY(-50px);
}

.modal.show .modal-dialog {
    transform: scale(1) translateY(0);
}

/* Logo Carousel */
.logo-carousel-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 30px 0;
}

.logo-carousel {
    display: flex;
    -webkit-animation: scroll 30s linear infinite;
    -moz-animation: scroll 30s linear infinite;
    -o-animation: scroll 30s linear infinite;
    animation: scroll 30s linear infinite;
    width: calc(200% + 40px);
}

.logo-slide {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
    min-width: 180px;
}

.company-logo {
    max-height: 60px;
    max-width: 140px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.3s ease;
}

.logo-slide:hover .company-logo {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

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

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

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

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

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

/* About page specific styles */
.page-header {
    background: var(--gradient-primary);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><radialGradient id="a" cx="50%" cy="0%" r="100%"><stop offset="0%" stop-opacity=".1"/><stop offset="100%" stop-opacity="0"/></radialGradient></defs><rect width="100" height="20" fill="url(%23a)"/></svg>') repeat-x;
    opacity: 0.5;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

/* Contact info responsive */
@media (max-width: 576px) {
    .modal-dialog {
        max-width: 350px;
        margin: 1rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-title {
        font-size: 1.1rem;
    }
    
    .contact-info a.btn {
        font-size: 0.9rem;
        padding: 0.5rem 1.25rem;
    }
    
    .logo-slide {
        min-width: 150px;
        padding: 0 20px;
    }
    
    .company-logo {
        max-height: 50px;
        max-width: 120px;
    }
    
    .logo-carousel-container {
        padding: 20px 0;
    }
}