/* Santos Organização Contábil - Premium Styling */

/* Variables - Light Theme Default */
:root {
    --primary-color: #1e3a8a;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary-color: #059669;
    --accent-color: #dc2626;
    --gold-color: #d97706;
    
    /* Light Theme Colors */
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-light: #f1f5f9;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Theme */
[data-theme="dark"] {
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --secondary-color: #10b981;
    --accent-color: #ef4444;
    --gold-color: #f59e0b;
    
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-light: #94a3b8;
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-light: #334155;
    --bg-white: #1e293b;
    --border-color: #334155;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: var(--transition);
}

html {
    scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }

.lead {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--text-secondary);
}

/* Buttons */
.btn {
    font-weight: 500;
    border-radius: 12px;
    padding: 12px 24px;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white !important;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white !important;
}

/* Navbar button specific styles */
.navbar .btn-primary {
    color: white !important;
    border: none;
}

.navbar .btn-primary:hover {
    color: white !important;
}

.navbar .btn-primary:focus,
.navbar .btn-primary:active {
    color: white !important;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-success:hover {
    background: linear-gradient(135deg, #047857 0%, #059669 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
    border-radius: 16px;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.2);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    padding: 1.2rem 0;
}



/* Theme Toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    margin-left: 1rem;
}

.theme-switch {
    position: relative;
    width: 60px;
    height: 30px;
    background: #e5e7eb;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid #d1d5db;
}

.theme-switch::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    background: #3b82f6;
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
}

.theme-switch.active::before {
    transform: translateX(30px);
}

.theme-switch::after {
    content: '🌙';
    position: absolute;
    top: 50%;
    left: 8px;
    transform: translateY(-50%);
    font-size: 12px;
    z-index: 1;
}

.theme-switch.active::after {
    content: '☀️';
    left: auto;
    right: 8px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    padding: 0.5rem 0;
}

.navbar-brand {
    color: #1e293b !important;
}

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

.navbar-brand .logo {
    height: 80px;
    width: auto;
    margin-right: 15px;
    border-radius: 12px;
}

.brand-text {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
}

.brand-santos {
    color: #3b82f6 !important;
}

/* Navbar Toggler (Hamburger Menu) */
.navbar-toggler {
    border: 2px solid #3b82f6;
    border-radius: 8px;
    padding: 6px 12px;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
    outline: none;
}

.navbar-toggler:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: #2563eb;
}

.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='%233b82f6' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 24px;
    height: 24px;
}

/* Dark theme adjustments */
[data-theme="dark"] .navbar-toggler {
    border-color: #60a5fa;
}

[data-theme="dark"] .navbar-toggler:hover {
    background: rgba(96, 165, 250, 0.1);
    border-color: #93c5fd;
}

[data-theme="dark"] .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='%2360a5fa' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile menu collapsed/expanded states */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        border-radius: 12px;
        margin-top: 0.5rem;
        padding: 1rem;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(10px);
    }

    [data-theme="dark"] .navbar-collapse {
        background: rgba(30, 41, 59, 0.98);
    }

    .navbar-collapse.show,
    .navbar-collapse.collapsing {
        border: 1px solid rgba(59, 130, 246, 0.2);
    }
}

/* Mobile nav links */
@media (max-width: 991.98px) {
    .nav-link {
        padding: 0.75rem 1rem;
        margin: 0.25rem 0;
        border-radius: 8px;
        text-align: center;
        background: rgba(59, 130, 246, 0.05);
        margin-bottom: 0.5rem;
    }
    
    .nav-link:hover {
        background: rgba(59, 130, 246, 0.1);
        transform: translateX(5px);
    }
    
    .navbar .btn-primary {
        display: none !important;
    }
}

.nav-link {
    font-weight: 500;
    color: var(--text-primary);
    transition: var(--transition);
    position: relative;
    margin: 0 8px;
}

.nav-link {
    color: #1e293b !important;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    background: var(--primary-color);
    transition: var(--transition);
}

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

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: var(--shadow-xl);
    z-index: 1000;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.whatsapp-float:hover {
    background: linear-gradient(135deg, #128c7e 0%, #25d366 100%);
    transform: scale(1.1);
    color: white;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-light) 100%);
    position: relative;
    overflow: hidden;
}



.hero-section::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 1000 1000"><defs><radialGradient id="b" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="%231e3a8a" stop-opacity="0.05"/><stop offset="100%" stop-color="%231e3a8a" stop-opacity="0"/></radialGradient></defs><circle cx="500" cy="500" r="500" fill="url(%23b)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-features {
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 500;
}

.feature-item i {
    font-size: 1.25rem;
    margin-right: 12px;
    width: 24px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-card {
    background: var(--bg-white);
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    transition: var(--transition);
}

.hero-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.hero-card .card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    padding: 2rem;
    text-align: center;
}

.hero-logo {
    height: 80px;
    width: auto;
    border-radius: 12px;
}

.hero-card .card-body {
    padding: 2rem;
    text-align: center;
}

.hero-card h3 {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.hero-card h4 {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.stats-row {
    display: flex;
    justify-content: space-around;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

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

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

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Sections */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

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

/* Services Section - Fixed Colors */
.services-section .section-title {
    color: #1f2937 !important;
}

.services-section .section-subtitle {
    color: #4b5563 !important;
}

/* About Section */
.about-section {
    padding: 5rem 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 16px;
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.value-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.value-item h5 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.value-item p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.about-image {
    position: relative;
    height: 500px;
    border-radius: 20px;
    background: var(--bg-white);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

.location-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.location-card::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 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.location-content {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
    padding: 2rem;
}

.location-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.location-content h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.75rem;
    font-weight: 700;
}

.location-content p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.location-info {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.location-info i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.location-features {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.location-feature {
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Services Section */
.services-section {
    padding: 5rem 0;
    background: var(--bg-secondary);
}



.service-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 2rem;
}

.service-card h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

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

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
}

.map-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    z-index: 10;
    max-width: 300px;
}



.map-overlay h4 {
    color: #1f2937 !important;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.map-overlay p {
    color: #4b5563 !important;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.contact-info-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    height: fit-content;
    border: 1px solid #e5e7eb;
}



.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.contact-item:last-of-type {
    border-bottom: none;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.whatsapp-icon {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.contact-details h5 {
    color: #1f2937 !important;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.contact-details p {
    color: #4b5563 !important;
    font-size: 0.875rem;
    line-height: 1.5;
}

.contact-info-card h4 {
    color: #1f2937 !important;
}

.contact-link {
    color: #3b82f6 !important;
    text-decoration: none;
    font-weight: 500;
}

.contact-link:hover {
    color: #2563eb !important;
    text-decoration: underline;
}

.cta-whatsapp {
    margin-top: 1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

.cta-section h3 {
    color: white;
    font-size: 2rem;
    font-weight: 700;
}

.cta-section .lead {
    color: rgba(255, 255, 255, 0.9);
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
}

.footer-logo {
    height: 60px;
    width: auto;
    border-radius: 8px;
}

.footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer .text-muted {
    color: #9ca3af !important;
}

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

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

.social-links a:hover {
    color: var(--primary-light) !important;
    transform: translateY(-2px);
}

/* Testimonials Section */
.testimonials-section {
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color)03, var(--secondary-color)03);
    opacity: 0.1;
}

#testimonialsCarousel {
    position: relative;
    z-index: 2;
    margin-bottom: 4rem;
}

.testimonial-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2.5rem;
    margin: 0 1rem;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

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

.testimonial-content {
    text-align: center;
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2rem;
    font-style: italic;
    position: relative;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    gap: 1rem;
}

.author-photo {
    flex-shrink: 0;
}

.author-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.author-img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.4);
}

.author-info h5 {
    margin: 0 0 0.5rem 0;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.author-info .company {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
}

.rating {
    display: flex;
    gap: 0.25rem;
}

.rating i {
    color: #ffd700;
    font-size: 1rem;
}

.company-logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    opacity: 0.8;
}

.carousel-control-prev {
    left: -25px;
}

.carousel-control-next {
    right: -25px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--primary-color);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
    background-size: 100%;
}

/* Carousel Indicators */
.carousel-indicators {
    bottom: -50px;
    margin-bottom: 0;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
    opacity: 0.6;
}

.carousel-indicators .active {
    background-color: var(--primary-color);
    opacity: 1;
    transform: scale(1.2);
}

/* Stats Cards */
.stat-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    color: var(--text-color);
    font-weight: 500;
    font-size: 1rem;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 0;
    }
    
    .navbar-brand .logo {
        height: 70px;
    }
    
    .brand-text {
        font-size: 1.2rem;
    }
    
    .brand-santos {
        color: #3b82f6 !important;
    }
    
    /* Hamburger menu adjustments */
    .navbar-toggler {
        border: 2px solid #3b82f6;
        padding: 4px 8px;
        margin-left: auto;
        order: 3;
    }
    
    .navbar-toggler-icon {
        width: 20px;
        height: 20px;
    }
    
    .theme-toggle {
        margin-left: 0.5rem;
        margin-right: 0.75rem;
        order: 2;
    }
    
    .navbar-nav .nav-item:last-child {
        margin-left: 0.5rem;
    }
    
    /* Ensure hamburger is visible */
    .navbar > .container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }
    
    .navbar-brand {
        order: 1;
        flex: 1;
    }
    
    .navbar-toggler {
        order: 3;
        z-index: 1000;
        position: relative;
    }
    
    .navbar-collapse {
        margin-top: 1rem;
        order: 4;
        flex-basis: 100%;
        width: 100%;
    }
    
    .navbar-collapse .theme-toggle {
        order: -1;
        margin-bottom: 1rem;
        justify-content: center;
    }
    
    .hero-section {
        padding-top: 120px;
        min-height: 100vh;
    }
    
    .hero-section .row {
        align-items: flex-start;
        padding-top: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-top: 1rem;
    }
    
    .hero-content {
        padding-top: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        margin-top: 2rem;
    }
    
    .hero-card {
        margin-top: 3rem;
        margin-bottom: 2rem;
    }
    
    .hero-section .row {
        gap: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
    
    .map-overlay {
        position: static;
        margin-bottom: 1rem;
        max-width: none;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    /* Testimonials Responsive */
    .testimonial-card {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .author-info {
        text-align: center;
        order: 2;
    }
    
    .author-photo {
        order: 1;
    }
    
    .author-img {
        width: 70px;
        height: 70px;
    }
    
    .company-logo {
        margin: 0 auto;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .carousel-control-prev {
        left: -20px;
    }
    
    .carousel-control-next {
        right: -20px;
    }
    
    #testimonialsCarousel {
        margin-bottom: 3.5rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 0.6rem 0;
    }
    
    .navbar-brand .logo {
        height: 60px;
    }
    
    .brand-text {
        font-size: 1.1rem;
    }
    
    .brand-santos {
        color: #3b82f6 !important;
    }
    
    /* Mobile hamburger adjustments */
    .navbar-toggler {
        border: 1.5px solid #3b82f6;
        padding: 3px 6px;
        margin-left: auto;
        order: 3;
        z-index: 1001;
    }
    
    .navbar-toggler-icon {
        width: 18px;
        height: 18px;
    }
    
    .navbar > .container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }
    
    .navbar-brand {
        order: 1;
        flex: 1;
    }
    
    .theme-toggle {
        margin-left: 0.4rem;
        margin-right: 1rem;
        order: 2;
    }
    
    .navbar-nav .nav-item:last-child {
        margin-left: 0.75rem;
    }
    
    .navbar-collapse {
        margin-top: 1.2rem;
        order: 4;
        flex-basis: 100%;
        width: 100%;
    }
    
    .navbar-collapse .theme-toggle {
        order: -1;
        margin-bottom: 1.2rem;
        justify-content: center;
    }
    
    .hero-section {
        padding-top: 130px;
        min-height: 100vh;
    }
    
    .hero-section .row {
        padding-top: 2.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-top: 1.5rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-top: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-content {
        margin-bottom: 3rem;
        padding-top: 1.5rem;
    }
    
    .hero-card {
        margin-top: 2rem;
        margin-bottom: 3rem;
    }
    
    .hero-cta {
        margin-top: 2.5rem;
        gap: 1rem;
    }
    
    .btn-lg {
        padding: 12px 24px;
        font-size: 1rem;
        width: 100%;
        max-width: 280px;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .contact-info-card {
        padding: 1.5rem;
    }
    
    /* Testimonials Mobile */
    .testimonial-card {
        padding: 1rem;
        margin: 0;
    }
    
    #testimonialsCarousel {
        margin-bottom: 3rem;
    }
    
    .author-img {
        width: 60px;
        height: 60px;
        border-width: 2px;
    }
    
    .testimonial-text {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .quote-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
}

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

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

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

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

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

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Selection */
::selection {
    background: var(--primary-light);
    color: white;
} 