/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */
:root {
    /* Brand Colors */
    --clr-brand-primary: #f47105; /* Orange */
    --clr-brand-secondary: #027cdf; /* Blue */
    
    /* Light variants for subtle backgrounds */
    --clr-brand-primary-light: rgba(244, 113, 5, 0.1);
    --clr-brand-secondary-light: rgba(2, 124, 223, 0.1);
    
    /* Neutrals */
    --clr-bg-light: #f8f9fa;
    --clr-text-main: #2b2b2b;
    --clr-bg-dark: #121518;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--clr-text-main);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Outfit', sans-serif;
}

.section-padding {
    padding: 100px 0;
}

/* Utilities */
.text-brand-primary { color: var(--clr-brand-primary) !important; }
.text-brand-secondary { color: var(--clr-brand-secondary) !important; }
.bg-brand-primary { background-color: var(--clr-brand-primary) !important; }
.bg-brand-secondary { background-color: var(--clr-brand-secondary) !important; }
.bg-brand-primary-light { background-color: var(--clr-brand-primary-light) !important; }
.bg-brand-secondary-light { background-color: var(--clr-brand-secondary-light) !important; }

/* Custom Buttons */
.btn-brand-primary {
    background-color: var(--clr-brand-primary);
    color: white;
    border: 2px solid var(--clr-brand-primary);
    transition: all 0.3s ease;
}

.btn-brand-primary:hover {
    border: 2px solid var(--clr-brand-primary);
    background-color: white;
    color: var(--clr-brand-primary);
}

.btn-outline-brand-secondary {
    background-color: transparent;
    color: var(--clr-brand-secondary);
    border: 2px solid var(--clr-brand-secondary);
    transition: all 0.3s ease;
}

.btn-outline-brand-secondary:hover {
    background-color: var(--clr-brand-secondary);
    color: white;
}

.btn-brand-secondary {
    background-color: var(--clr-brand-secondary);
    color: white;
    border: 2px solid var(--clr-brand-secondary);
    transition: all 0.3s ease;
}

.btn-brand-secondary:hover {
    background-color: transparent;
    border: 2px solid var(--clr-brand-secondary);
    color: var(--clr-brand-secondary);
}

/* Navigation */
.glass-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.glass-nav.scrolled {
    padding-top: 10px;
    padding-bottom: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.nav-link {
    font-weight: 500;
    color: var(--clr-text-main);
    margin: 0 10px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--clr-brand-primary);
    transition: all 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

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

/* Hero Section */
.hero-section {
    min-height: calc(100vh - 100px);
    padding-top: 60px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, #ffffff 0%, #f4f7f6 100%);
    overflow: hidden;
}

.badge-custom {
    background-color: var(--clr-brand-primary-light);
    color: var(--clr-brand-primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
}

.hero-title {
    line-height: 1.1;
    letter-spacing: -1px;
}

.shape-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
    opacity: 0.4;
}

.shape-blob-1 {
    width: 300px;
    height: 300px;
    background: var(--clr-brand-primary);
    top: -50px;
    right: -50px;
    animation: float 8s ease-in-out infinite;
}

.shape-blob-2 {
    width: 250px;
    height: 250px;
    background: var(--clr-brand-secondary);
    bottom: -20px;
    left: -20px;
    animation: float 10s ease-in-out infinite reverse;
}

.floating-card {
    position: absolute;
    bottom: 30px;
    left: -30px;
    z-index: 2;
    animation: float-small 4s ease-in-out infinite;
}

/* Cards & Elements */
.transition-all {
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08) !important;
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--clr-brand-secondary-light);
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon-wrapper {
    background-color: var(--clr-brand-secondary);
}

.feature-card:hover .feature-icon-wrapper i {
    color: white !important;
}

.step-item{
    position: relative;
    z-index: 1;
}

.step-number {
    width: 50px;
    height: 50px;
    position: relative;
    z-index: 2;
}

.process-steps {
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 24px;
    height: 79%;
    width: 2px;
    background-color: rgba(0,0,0,0.1);
    z-index: 1;
}

/* CTA Banner */
.cta-banner {
    background-image: url('https://images.unsplash.com/photo-1493238792000-8113da705763?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.cta-banner .overlay {
    background-color: var(--clr-brand-secondary) !important; /* using the blue for depth */
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366; /* WhatsApp official green, stands out better for conversion than brand colors */
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    color: white;
    transform: scale(1.1);
    box-shadow: 0px 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-float .wa-tooltip {
    position: absolute;
    right: 75px;
    background: white;
    padding: 8px 15px;
    border-radius: 20px;
    color: var(--clr-text-main);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.whatsapp-float:hover .wa-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.whatsapp-float .wa-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 white;
}

/* Footer */
.bg-darker {
    background-color: rgba(0,0,0,0.2);
}

.footer-links a:hover {
    color: var(--clr-brand-primary) !important;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

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

/* Responsive Rules */
@media (max-width: 991.98px) {
    .display-4 { font-size: 2.8rem; }
    .display-5 { font-size: 2.2rem; }
    .hero-section {
        padding-top: 100px;
        text-align: center;
        padding-bottom: 50px;
    }
    .section-padding {
        padding: 60px 0;
    }
    .hero-text {
        margin-top: 40px;
    }
    .trust-indicators {
        justify-content: center;
    }
    .floating-card {
        bottom: -20px;
        left: 20px;
    }
    .process-steps::before {
        left: 24px;
        height: 75%;
    }
}

@media (max-width: 767.98px) {
    .display-4 { font-size: 2.3rem; }
    .display-5 { font-size: 2rem; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.25rem; }
    .lead { font-size: 1.1rem; }
    
    .section-padding {
        padding: 50px 0;
    }
    .hero-section {
        padding-top: 90px;
    }
}

@media (max-width: 575.98px) {
    .display-4 { font-size: 2rem; }
    .display-5 { font-size: 1.7rem; }
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.3rem; }
    .lead { font-size: 1rem; }
    p { font-size: 0.95rem; }
    
    .section-padding {
        padding: 40px 0;
    }
    
    .process-steps::before {
        left: 20px;
        height: 72%;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem !important;
    }
    
    /* Adjust spacing in the timeline for mobile */
    .process-steps .ms-4 {
        margin-left: 1rem !important;
        padding: 1.25rem !important;
    }
    
    /* Adjust hero buttons to be full width on mobile */
    .hero-section .d-flex.gap-3 {
        flex-direction: column !important;
    }
    .hero-section .btn {
        width: 100%;
        margin-bottom: 5px;
    }
    
    .whatsapp-float { bottom: 20px; right: 20px; width: 50px; height: 50px; font-size: 24px; }
}
