/* Business Growth Partners Custom CSS */

:root {
    --primary-color: #d4af37;
    --primary-light: #e6c758;
    --primary-dark: #b8941f;
    --secondary-color: #2a2a2a;
    --success-color: #2e7d32;
    --warning-color: #ed6c02;
    --info-color: #d4af37;
    --danger-color: #d32f2f;
    --light-color: #f8f9fa;
    --dark-color: #2a2a2a;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    --border-radius: 0.5rem;
    --transition: all 0.3s ease;
}

/* Global Styles */
body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Mobile-First Responsive Utilities */
.mobile-responsive {
    max-width: 100%;
    word-wrap: break-word;
}

/* Improved Touch Targets for Mobile */
.btn, .navbar-toggler, .form-control, .form-select {
    min-height: 44px;
    min-width: 44px;
}

/* Enhanced Mobile Navigation */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: white;
        padding: 1rem;
        margin-top: 0.5rem;
        border-radius: var(--border-radius);
        box-shadow: var(--shadow);
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
}

.bg-dark {
    background-color: var(--secondary-color) !important;
}

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

/* Custom Bootstrap Overrides */
.btn {
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-weight: 500;
    padding: 0.625rem 1.25rem;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-warning {
    background-color: var(--warning-color);
    border-color: var(--warning-color);
    color: white;
}

.btn-warning:hover {
    background-color: #e65100;
    border-color: #e65100;
    color: white;
}

.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

/* Mobile Responsive Typography */
@media (max-width: 767.98px) {
    .display-1 { font-size: 2.5rem; }
    .display-2 { font-size: 2.25rem; }
    .display-3 { font-size: 2rem; }
    .display-4 { font-size: 1.75rem; }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    .lead { font-size: 1.1rem; }
}

/* Enhanced Service Cards */
.service-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.service-card .service-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

/* Mobile-Optimized Feature Cards */
@media (max-width: 767.98px) {
    .service-card, .feature-card, .value-card {
        margin-bottom: 1.5rem;
        padding: 1.5rem;
    }
    
    .hero-section {
        padding: 3rem 0 !important;
    }
    
    .hero-section .display-3 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
}

/* Improved Contact Form */
.contact-form {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

/* Enhanced Footer */
.footer-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a1a1a 100%);
}

/* Social Media Icons */
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: var(--transition);
    margin: 0.25rem;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: scale(1.1);
}

/* Loading States and Performance */
.img-fluid {
    height: auto;
    max-width: 100%;
}

/* Accessibility Improvements */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 0 0 4px 4px;
}

.skip-link:focus {
    top: 0;
}

/* Print Styles */
@media print {
    .navbar, .sticky-bottom-cta, .social-links {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
}

.card:hover {
    box-shadow: var(--shadow);
}

/* Navigation */
.navbar {
    background-color: white !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-color) !important;
    margin: 0 0.5rem;
}

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

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
}

.dropdown-item {
    font-weight: 400;
    padding: 0.75rem 1rem;
}

.dropdown-item:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a1a1a 100%);
    min-height: 70vh;
    display: flex;
    align-items: center;
    border-bottom: 3px solid var(--primary-color);
    color: white;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

.min-vh-75 {
    min-height: 75vh;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: var(--border-radius);
    border: 1px solid #e9ecef;
    transition: var(--transition);
    height: 100%;
}

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

.service-icon i {
    transition: var(--transition);
}

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

/* Feature Cards */
.feature-item {
    padding: 1rem;
}

.feature-icon {
    opacity: 0.8;
}

/* Value Cards */
.value-card {
    transition: var(--transition);
}

.value-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.icon-circle {
    transition: var(--transition);
}

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

/* Country Cards */
.country-card {
    transition: var(--transition);
    cursor: pointer;
}

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

/* Testimonial Cards */
.testimonial-card {
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-2px);
}

.stars {
    font-size: 0.9rem;
}

/* Process Steps */
.process-step, .approach-step {
    margin-bottom: 2rem;
}

.step-icon, .step-number {
    transition: var(--transition);
}

.process-step:hover .step-icon,
.approach-step:hover .step-number {
    transform: scale(1.1);
}

/* Contact Form */
.contact-form {
    background: white;
}

.form-control:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 0.2rem rgba(13, 71, 161, 0.25);
}

.form-select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 0.2rem rgba(13, 71, 161, 0.25);
}

/* Contact Info */
.contact-item {
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 40px;
    text-align: center;
}

/* Business Hours */
.business-hours {
    background-color: var(--light-color);
    border: 1px solid #e9ecef;
}

.hours-list {
    font-size: 0.9rem;
}

/* Service Detail Pages */
.service-header {
    margin-bottom: 2rem;
}

.service-offerings ul {
    margin-bottom: 0;
}

/* Sticky Footer CTA */
.sticky-bottom-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Flash Messages */
.flash-messages {
    position: relative;
    z-index: 1040;
}

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

.social-links a {
    transition: var(--transition);
}

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

/* Newsletter Form */
.newsletter-signup .form-control {
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.newsletter-signup .btn {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* Accordion */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: var(--border-radius) !important;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.accordion-button {
    background-color: white;
    color: var(--dark-color);
    font-weight: 500;
    border: none;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

/* Badges */
.badge {
    font-weight: 500;
    border-radius: var(--border-radius);
    padding: 0.5rem 0.75rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding: 3rem 0;
        min-height: 50vh;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .service-card {
        margin-bottom: 1.5rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .sticky-bottom-cta {
        display: none !important;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-section .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .display-3 {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 1.75rem;
    }
}

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

/* Loading States */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Utilities */
.text-primary {
    color: var(--primary-color) !important;
}

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

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

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

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

/* Custom Spacing */
.py-6 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

.my-6 {
    margin-top: 4rem !important;
    margin-bottom: 4rem !important;
}

/* Hover Effects */
.btn-hover:hover {
    transform: translateY(-1px);
}

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

/* Professional Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

.lead {
    font-size: 1.125rem;
    font-weight: 400;
}

/* Focus States */
.btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(13, 71, 161, 0.25);
}

/* Professional Color Scheme */
.text-business {
    color: var(--primary-color);
}

.bg-business {
    background-color: var(--primary-color);
}

.border-business {
    border-color: var(--primary-color);
}

/* Service-specific colors for badges */
.badge.bg-primary { background-color: var(--primary-color) !important; }
.badge.bg-success { background-color: var(--success-color) !important; }
.badge.bg-warning { background-color: var(--warning-color) !important; color: white !important; }
.badge.bg-info { background-color: var(--info-color) !important; }
.badge.bg-secondary { background-color: #6c757d !important; }
.badge.bg-dark { background-color: var(--dark-color) !important; }
.badge.bg-danger { background-color: var(--danger-color) !important; }

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

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

.whatsapp-button:hover {
    background-color: #20ba5a;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    text-decoration: none;
}

.whatsapp-button i {
    line-height: 1;
}

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

/* Premium Gold Theme Enhancements */
.hero-section h1 {
    color: #000000 !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-weight: 700;
}

.hero-section .lead {
    color: #f8f9fa !important;
    opacity: 0.95;
}

.feature-card {
    border: 2px solid transparent;
    transition: all 0.4s ease;
}

.feature-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.2);
    transform: translateY(-8px);
}

.feature-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light)) !important;
    color: var(--secondary-color) !important;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.navbar-brand img {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2);
}

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

/* Footer premium styling */
footer {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a1a1a 100%) !important;
    border-top: 3px solid var(--primary-color);
}

footer h5, footer h6 {
    color: var(--primary-color) !important;
}

footer a:hover {
    color: var(--primary-light) !important;
}

/* Responsive adjustments for WhatsApp button */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-button {
        width: 55px;
        height: 55px;
        font-size: 26px;
    }
}