/* Custom CSS Variables */
:root {
    --primary: 207 70% 59%; /* #4A90E2 - Blue Primary from logo */
    --secondary: 220 14% 96%; /* #F8FAFC - Light Gray */
    --accent: 16 100% 50%; /* #FF4500 - Orange Accent from logo */
    --dark: 210 24% 16%; /* #1E293B - Dark Gray */
    --light: 0 0% 100%; /* #FFFFFF - White */
    --text: 215 16% 47%; /* #64748B - Text Gray */
    --border: 220 13% 91%; /* #E2E8F0 - Border Gray */
    --success: 142 76% 36%; /* #16A34A - Green */
    --warning: 38 92% 50%; /* #EAB308 - Yellow Warning */
    --danger: 0 84% 60%; /* #EF4444 - Red */
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: hsl(var(--text));
    background-color: hsl(var(--light));
}

/* Custom Bootstrap Overrides */
.btn-primary {
    background-color: hsl(var(--primary));
    border-color: hsl(var(--primary));
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: hsl(var(--accent));
    border-color: hsl(var(--accent));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.btn-outline-primary {
    color: hsl(var(--primary));
    border-color: hsl(var(--primary));
}

.btn-outline-primary:hover {
    background-color: hsl(var(--primary));
    border-color: hsl(var(--primary));
}

.text-primary {
    color: hsl(var(--primary)) !important;
}

.bg-primary {
    background-color: hsl(var(--primary)) !important;
}

/* Header Styles */
.header-section {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.top-bar {
    font-size: 0.875rem;
}

.top-bar a {
    transition: color 0.3s ease;
}

.top-bar a:hover {
    color: hsl(var(--primary)) !important;
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: hsl(var(--dark)) !important;
    text-decoration: none;
}

.brand-text {
    margin-left: 0.5rem;
    color: hsl(var(--primary));
}

.nav-link {
    font-weight: 500;
    color: hsl(var(--text)) !important;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem !important;
}

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, hsl(var(--primary) / 0.9), hsl(var(--accent) / 0.9)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><rect fill="%23f8f9fa" width="1000" height="1000"/><g><circle fill="%23dee2e6" cx="200" cy="200" r="100"/><circle fill="%23dee2e6" cx="800" cy="800" r="150"/><circle fill="%23dee2e6" cx="900" cy="200" r="80"/></g></svg>');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-top: 120px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.1);
    width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: white;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: hsl(var(--dark));
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: hsl(var(--text));
    max-width: 600px;
    margin: 0 auto;
}

/* Partners Section */
.partner-card {
    background: white;
    border: 2px solid hsl(var(--border));
    border-radius: 12px;
    padding: 2rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.partner-logo {
    font-size: 1.25rem;
    font-weight: 600;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, hsl(var(--dark)), hsl(var(--text)));
}

.stat-item {
    text-align: center;
}

.stat-circle {
    width: 120px;
    height: 120px;
    border: 3px solid hsl(var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background: rgba(14, 165, 233, 0.1);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: hsl(var(--primary));
}

.stat-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Company Info Section */
.company-info-section {
    padding: 5rem 0;
}

.company-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.company-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)));
    padding: 1.5rem;
    border-radius: 10px;
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    background: hsl(var(--secondary));
    border-radius: 8px;
    transition: all 0.3s ease;
}

.detail-item:hover {
    background: hsl(var(--primary) / 0.1);
    transform: translateX(5px);
}

/* Products Section */
.product-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid hsl(var(--border));
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: hsl(var(--primary));
}

.product-image {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: hsl(var(--secondary));
    border-radius: 12px;
    display: inline-block;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: hsl(var(--dark));
    margin-bottom: 1rem;
}

.product-description {
    color: hsl(var(--text));
    margin-bottom: 1rem;
    line-height: 1.6;
}

.product-price {
    font-size: 1.125rem;
    color: hsl(var(--primary));
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* Feature Cards */
.feature-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid hsl(var(--border));
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: hsl(var(--primary));
}

.feature-icon {
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: hsl(var(--dark));
    margin-bottom: 1rem;
}

.feature-description {
    color: hsl(var(--text));
    line-height: 1.6;
}

/* Industry Cards */
.industry-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid hsl(var(--border));
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: hsl(var(--primary));
}

.industry-icon {
    margin-bottom: 1rem;
}

.industry-name {
    font-weight: 600;
    color: hsl(var(--dark));
    margin: 0;
}

/* Quote Section */
.quote-section {
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)));
}

.quote-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.quote-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.quote-features {
    list-style: none;
    padding: 0;
}

.quote-features li {
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.quote-form {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.quote-form .form-control,
.quote-form .form-select {
    border: 2px solid hsl(var(--border));
    border-radius: 8px;
    padding: 0.75rem;
    transition: border-color 0.3s ease;
}

.quote-form .form-control:focus,
.quote-form .form-select:focus {
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 0.2rem rgba(14, 165, 233, 0.25);
}

/* Footer Styles */
.footer-section {
    background: linear-gradient(135deg, hsl(var(--dark)), hsl(220 13% 15%));
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-menu {
    list-style: none;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 0.5rem;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: hsl(var(--primary));
}

.footer-social {
    margin-top: 1.5rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: hsl(var(--primary));
    color: white;
    border-radius: 50%;
    text-decoration: none;
    margin-right: 0.75rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: hsl(var(--accent));
    transform: translateY(-3px);
    color: white;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.8);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: hsl(var(--primary));
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    background: #20b954;
    transform: scale(1.1);
    color: white;
}

@keyframes pulse {
    0% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1); }
    100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
}

/* Product Gallery Styles */
.product-gallery {
    max-height: 400px;
    overflow-y: auto;
    padding: 1rem;
    background: hsl(var(--secondary));
    border-radius: 12px;
    border: 1px solid hsl(var(--border));
}

.product-gallery::-webkit-scrollbar {
    width: 6px;
}

.product-gallery::-webkit-scrollbar-track {
    background: hsl(var(--secondary));
}

.product-gallery::-webkit-scrollbar-thumb {
    background: hsl(var(--primary));
    border-radius: 3px;
}

.mini-product-card {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid hsl(var(--border));
    transition: all 0.3s ease;
    cursor: pointer;
}

.mini-product-card:hover {
    border-color: hsl(var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.15);
}

.mini-product-card:last-child {
    margin-bottom: 0;
}

.mini-product-image {
    width: 60px;
    height: 60px;
    background: hsl(var(--secondary));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.mini-product-content h6 {
    font-size: 0.9rem;
    font-weight: 600;
    color: hsl(var(--dark));
    margin-bottom: 0.25rem;
}

.mini-product-content p {
    font-size: 0.8rem;
    color: hsl(var(--text));
    margin-bottom: 0.5rem;
}

.mini-product-price {
    font-size: 0.85rem;
    font-weight: 600;
    color: hsl(var(--primary));
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons .btn {
        padding: 0.75rem 1.5rem;
        margin-bottom: 0.5rem;
        display: block;
        width: 100%;
    }
    
    .hero-buttons .btn:last-child {
        margin-bottom: 0;
    }
    
    .stat-circle {
        width: 100px;
        height: 100px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .quote-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .product-card,
    .feature-card {
        padding: 1.5rem;
    }
    
    .partner-card {
        height: 80px;
        padding: 1rem;
    }
    
    .quote-form {
        margin: 0 -15px;
    }
}

/* Loading Animation */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid hsl(var(--primary));
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Scroll to Top Button */
/*.scroll-top {*/
/*    position: fixed;*/
/*    bottom: 100px;*/
/*    right: 30px;*/
/*    width: 50px;*/
/*    height: 50px;*/
/*    background: hsl(var(--primary));*/
/*    color: white;*/
/*    border: none;*/
/*    border-radius: 50%;*/
/*    cursor: pointer;*/
/*    opacity: 0;*/
/*    visibility: hidden;*/
/*    transition: all 0.3s ease;*/
/*    z-index: 999;*/
/*}*/

/*.scroll-top.visible {*/
/*    opacity: 1;*/
/*    visibility: visible;*/
/*}*/

/*.scroll-top:hover {*/
/*    background: hsl(var(--accent));*/
/*    transform: translateY(-3px);*/
/*}*/

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

::-webkit-scrollbar-track {
    background: hsl(var(--secondary));
}

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

::-webkit-scrollbar-thumb:hover {
    background: hsl(var(--accent));
}

/* Hide product icons in dropdown */
.dropdown-menu-products .mini-product-image {
    display: none;
}
