/* Peak DigitPro - Modern Accounting & Digital Platform Styling System */

:root {
    --primary-color: #0d3b66;
    --primary-dark: #092746;
    --primary-light: #1e56a0;
    --accent-color: #f4d35e;
    --accent-hover: #e0be47;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --bg-light: #f8fafc;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    --gradient-primary: linear-gradient(135deg, #0d3b66 0%, #1e56a0 100%);
    --gradient-accent: linear-gradient(135deg, #f4d35e 0%, #ee964b 100%);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* Navbar */
.navbar-custom {
    background: rgba(13, 59, 102, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    padding: 1rem 0;
}

.navbar-custom .navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.navbar-custom .navbar-brand span {
    color: var(--accent-color);
}

.navbar-custom .nav-link {
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    margin: 0 0.5rem;
    transition: var(--transition);
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: var(--accent-color);
}

.btn-accent {
    background: var(--gradient-accent);
    color: var(--primary-dark);
    font-weight: 600;
    border: none;
    padding: 0.6rem 1.4rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.btn-primary-custom {
    background: var(--gradient-primary);
    color: #ffffff;
    font-weight: 600;
    border: none;
    padding: 0.6rem 1.4rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: #ffffff;
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    background: var(--primary-dark);
}

.hero-slide {
    height: 75vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(9,39,70,0.9) 0%, rgba(13,59,102,0.65) 100%);
}

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

.hero-content h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.hero-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Feature Cards */
.feature-card {
    background: var(--card-bg);
    padding: 2.5rem 1.8rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(30,86,160,0.3);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: rgba(13,59,102,0.08);
    color: var(--primary-color);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    margin-bottom: 1.25rem;
    overflow: hidden;
    transition: var(--transition);
}

.feature-icon i {
    font-size: 1.85rem;
    line-height: 1;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--primary-color);
    color: var(--accent-color);
}

.feature-card:hover .feature-icon img {
    transform: scale(1.05);
}

/* Service Cards */
.service-card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.service-card-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.service-card-body {
    padding: 1.8rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Counter Badge */
.stat-box {
    background: var(--gradient-primary);
    color: #ffffff;
    padding: 2.5rem 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-color);
}

/* Footer */
.footer-custom {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.8);
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.footer-custom h5 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-custom h5::after {
    content: '';
    display: block;
    width: 35px;
    height: 3px;
    background: var(--accent-color);
    margin-top: 0.5rem;
    border-radius: 2px;
}

.footer-custom a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: var(--transition);
}

.footer-custom a:hover {
    color: var(--accent-color);
    padding-left: 4px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: #ffffff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--accent-color);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .hero-slide {
        height: 60vh;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
}

/* Floating WhatsApp Button */
.whatsapp-float-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.whatsapp-float-btn:hover {
    background-color: #128c7e;
    color: #ffffff;
    transform: scale(1.08) translateY(-4px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float-btn i {
    line-height: 1;
}

.whatsapp-float-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #092746;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.whatsapp-float-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent #092746;
}

.whatsapp-float-btn:hover .whatsapp-float-tooltip {
    opacity: 1;
    visibility: visible;
    right: 72px;
}

@media (max-width: 576px) {
    .whatsapp-float-btn {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
        font-size: 28px;
    }
    .whatsapp-float-tooltip {
        display: none;
    }
}

