/* ========== Variables ========== */
:root {
    --primary-color: #0f3460;
    --primary-dark: #16213e;
    --primary-darker: #1a1a2e;
    --accent-color: #f88c0f;
    --light-color: #f8f9fa;
    --white: #ffffff;
    --text-color: #2c3e50;
    --text-light: #6c757d;
}

/* ========== Base Styles ========== */
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    padding-top: 70px;
    background-color: var(--white);
}

/* ========== Navbar ========== */
.navbar {
    background: linear-gradient(135deg, var(--primary-darker) 0%, var(--primary-dark) 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 2rem;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem !important;
}

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

.dropdown-menu {
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background: var(--white);
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: background-color 0.3s ease;
    color: var(--text-color);
}

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

/* ========== Social Media Icons ========== */
.social-icon {
    font-size: 1.25rem;
    padding: 0.5rem 0.75rem !important;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
}

.social-icon i {
    transition: color 0.3s ease;
}

.social-icon:has(.fa-whatsapp):hover i {
    color: #25D366;
}

.social-icon:has(.fa-instagram):hover i {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.social-icon:has(.fa-linkedin):hover i {
    color: #0077B5;
}

@media (max-width: 991px) {
    .navbar-nav.ms-auto {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .social-icon {
        display: inline-flex;
        margin: 0.25rem;
    }
}

/* ========== Hero Section ========== */
.hero-section {
    position: relative;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 80%, rgba(248, 140, 15, 0.08) 0%, transparent 50%);
    backdrop-filter: blur(2px);
    z-index: 1;
    animation: pulse 15s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: float 20s linear infinite;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

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

@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated-title {
    animation: fadeInUp 1s ease-out;
}

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

.animated-title span {
    display: inline-block;
    animation: slideDown 1.2s ease-out 0.3s both;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
}

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

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

/* ========== Service Cards ========== */
.span {
    color: #f88c0f;
}

.service-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(15, 52, 96, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(15, 52, 96, 0.1);
    position: relative;
    overflow: hidden;
} 

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.03), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 60px rgba(15, 52, 96, 0.15);
    border-color: var(--primary-color);
}

.service-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.08) 0%, rgba(15, 52, 96, 0.12) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    transform: rotate(360deg) scale(1.1);
}

.service-card .service-icon i {
    color: var(--primary-color) !important;
}

.service-card:hover .service-icon i {
    color: var(--white) !important;
}

.service-card h3 {
    color: var(--primary-darker) !important;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.service-card:hover::after {
    width: 100%;
}

/* ========== Counter Box ========== */
.counter-box {
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.counter-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.03), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.counter-box:hover::before {
    opacity: 1;
}

.counter-box:hover {
    transform: translateY(-5px);
}

.counter-box h2 {
    color: var(--primary-color);
    font-weight: 700;
}

.counter-box i {
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.counter-box:hover i {
    transform: scale(1.2);
    color: var(--primary-color);
}

/* ========== Buttons ========== */
.btn {
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 52, 96, 0.3);
}

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

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

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

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

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

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

.btn-orange {
    background: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-orange:hover {
    background: #e07d0a;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(248, 140, 15, 0.3);
}

.btn-orange:active,
.btn-orange:focus {
    background: #d17309;
    box-shadow: 0 4px 10px rgba(248, 140, 15, 0.4);
}

/* ========== Footer ========== */
footer {
    background: var(--primary-darker);
    color: var(--white);
    padding: 2rem 0;
}

footer p {
    margin: 0;
}

/* ========== CTA Final Section ========== */
.cta-final {
    background: linear-gradient(135deg, var(--primary-darker) 0%, var(--primary-dark) 50%, var(--primary-color) 100%);
    padding: 3.5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-final::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(248, 140, 15, 0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

.cta-final::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    color: var(--white);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.cta-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.cta-feature {
    display: flex;
    align-items: center;
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
}

.cta-feature i {
    color: var(--accent-color);
    font-size: 1.125rem;
    margin-right: 0.5rem;
}

.cta-actions {
    position: relative;
    z-index: 1;
}

.cta-actions .btn {
    font-size: 1rem;
    padding: 0.875rem 1.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.cta-actions .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.cta-actions .btn-outline-light {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.cta-actions .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

/* Responsive CTA */
@media (max-width: 991px) {
    .cta-title {
        font-size: 1.75rem;
    }
    
    .cta-subtitle {
        font-size: 0.95rem;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 0.875rem;
    }
    
    .cta-final {
        padding: 2.5rem 0;
    }
}

@media (max-width: 576px) {
    .cta-title {
        font-size: 1.5rem;
    }
    
    .cta-subtitle {
        font-size: 0.9rem;
    }
    
    .cta-actions .btn {
        font-size: 0.95rem;
        padding: 0.75rem 1.5rem;
    }
    
    .cta-final {
        padding: 2rem 0;
    }
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
    }
    
    .service-card {
        margin-bottom: 1.5rem;
    }
}

/* Floating Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Hover Lift Effect */
.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
}

/* Animated Title */
.animated-title {
    animation: fadeInUp 1s ease-out;
}

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

/* Custom Pills */
.nav-pills .nav-link {
    color: #6c757d;
    font-weight: 500;
    transition: all 0.3s;
}

.nav-pills .nav-link.active {
    background: linear-gradient(135deg, #0078d4 0%, #00bcf2 100%);
}

.nav-pills .nav-link:hover:not(.active) {
    background-color: #f8f9fa;
}

/* WhatsApp Widget Styles */
.wpp-widget {
    position: fixed;
    bottom: 20px;
    right: 25px;
    z-index: 999;
}

.wpp-float {
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.wpp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.wpp-float i {
    font-size: 32px;
    color: white;
}

.wpp-card {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 300px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.wpp-card.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.wpp-header {
    background: #25D366;
    color: white;
    padding: 15px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wpp-header span {
    font-weight: 600;
    font-size: 16px;
}

.wpp-header button {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
}

.wpp-body {
    padding: 20px;
}

.wpp-message {
    background: #f0f0f0;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #333;
}

.wpp-open {
    display: block;
    background: #25D366;
    color: white;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
}

.wpp-open:hover {
    background: #20BA5A;
    color: white;
}

/* Responsivo */
@media (max-width: 768px) {
    .wpp-widget {
        bottom: 15px;
        right: 15px;
    }
    
    .wpp-float {
        width: 55px;
        height: 55px;
    }
    
    .wpp-float i {
        font-size: 28px;
    }
    
    .wpp-card {
        width: 280px;
    }
}
