/* ====================================
   MODERN DESCOMPLICA REGULATÓRIO STYLES
   ==================================== */

/* CSS Variables */
:root {
    /* Colors */
    --primary-color: #1e3a8a;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary-color: #f59e0b;
    --accent-color: #10b981;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --white: #ffffff;
    --light-bg: #f8fafc;
    --dark-bg: #0f172a;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    --gradient-secondary: linear-gradient(135deg, #f59e0b 0%, #fb7185 100%);
    --gradient-accent: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
    
    /* Typography */
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 25px 60px rgba(0, 0, 0, 0.2);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* Force light theme */
    color-scheme: light !important;
    /* Prevent forced dark mode colors */
    forced-color-adjust: none !important;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    /* Ensure body has a consistent background */
    background-color: var(--white) !important;
    color-scheme: light !important;
    /* Prevent forced dark mode colors */
    forced-color-adjust: none !important;
}

/* Force light theme overrides for all elements */
* {
    color-scheme: light !important;
    forced-color-adjust: none !important;
}

/* Override forced colors in dark mode */
@media (prefers-color-scheme: dark) {
    html, body, div, span, applet, object, iframe,
    h1, h2, h3, h4, h5, h6, p, blockquote, pre,
    a, abbr, acronym, address, big, cite, code,
    del, dfn, em, img, ins, kbd, q, s, samp,
    small, strike, strong, sub, sup, tt, var,
    b, u, i, center,
    dl, dt, dd, ol, ul, li,
    fieldset, form, label, legend,
    table, caption, tbody, tfoot, thead, tr, th, td,
    article, aside, canvas, details, embed,
    figure, figcaption, footer, header, hgroup,
    menu, nav, output, ruby, section, summary,
    time, mark, audio, video {
        background-color: var(--white) !important;
        color: var(--text-dark) !important;
        forced-color-adjust: none !important;
    }
    
    /* Special handling for the hero section to maintain its design */
    .hero-section {
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%) !important;
        forced-color-adjust: none !important;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.80);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

/* Navbar Toggle Button - Hidden on desktop, visible on mobile */
.navbar-toggler {
    display: none;
    visibility: hidden;
    opacity: 0;
    border: none;
    padding: 0.5rem;
    background-color: rgba(30, 58, 138, 0.1);
    border-radius: var(--radius-sm);
    z-index: 1051;
    margin-right: 15px;
    max-width: 44px;
    box-sizing: border-box;
    position: relative;
}

/* DESKTOP: Force hide navbar toggle on larger screens */
@media (min-width: 769px) {
    .navbar-toggler {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
}

.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='rgba%2830, 58, 138, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 24px;
    height: 24px;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.80);
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0;
}

.navbar-brand img {
    transition: all 0.3s ease;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-dark);
    margin: 0 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
    background: rgba(30, 58, 138, 0.1);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

/* Buttons */
.btn {
    border-radius: var(--radius-md);
    font-weight: 600;
    padding: 12px 32px;
    border: none;
    transition: all 0.3s ease;
    text-transform: none;
    font-size: 16px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 15px 35px rgba(30, 58, 138, 0.4);
    color: var(--white);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::after {
    width: 300px;
    height: 300px;
}

.btn-outline-primary {
    border: 2px solid transparent;
    color: var(--white);
    background: linear-gradient(135deg, #064e3b 0%, #1e40af 100%);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, #047857 0%, #1d4ed8 100%);
    color: var(--white);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 15px 35px rgba(6, 78, 59, 0.4);
}

.btn-outline-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-outline-primary:hover::after {
    width: 300px;
    height: 300px;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    /* Ensure proper background regardless of system theme */
    background-color: transparent !important;
    color-scheme: light !important;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Background Image Layer with Blur Effect */
.hero-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/hero.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(2px);
    opacity: 0.40;
    z-index: 1;
}

/* Dark overlay to maintain readability */
.hero-image-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.7) 0%, rgba(30, 41, 59, 0.6) 50%, rgba(51, 65, 85, 0.5) 100%);
    z-index: 2;
}

.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 3;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.1), rgba(16, 185, 129, 0.1));
    animation: floatShape 8s ease-in-out infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.shape-3 {
    width: 300px;
    height: 300px;
    bottom: 10%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 10%;
    animation-delay: 6s;
}

@keyframes floatShape {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) rotate(0deg);
        opacity: 0.3;
    }
    25% { 
        transform: translateY(-20px) translateX(10px) rotate(90deg);
        opacity: 0.5;
    }
    50% { 
        transform: translateY(-40px) translateX(-10px) rotate(180deg);
        opacity: 0.7;
    }
    75% { 
        transform: translateY(-20px) translateX(5px) rotate(270deg);
        opacity: 0.5;
    }
}

.bg-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(59, 130, 246, 0.6);
    border-radius: 50%;
    animation: particleFloat 6s linear infinite;
}

.particle:nth-child(1) {
    left: 20%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    left: 40%;
    animation-delay: 1s;
}

.particle:nth-child(3) {
    left: 60%;
    animation-delay: 2s;
}

.particle:nth-child(4) {
    left: 80%;
    animation-delay: 3s;
}

.particle:nth-child(5) {
    left: 90%;
    animation-delay: 4s;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 1;
    }
    10% {
        opacity: 1;
        transform: translateY(90vh) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateY(10vh) scale(1);
    }
    100% {
        transform: translateY(-10vh) scale(0);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    padding-top: 100px;
}

.hero-badge {
    display: inline-block;
    background: var(--gradient-accent);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: slideInUp 1s ease;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    animation: titleFloatIn 1.2s ease 0.2s both;
    color: var(--white);
    transform-origin: center;
}

@keyframes titleFloatIn {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    60% {
        opacity: 0.8;
        transform: translateY(-5px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    max-width: 600px;
    animation: slideInUp 1s ease 0.4s both;
}

.hero-buttons {
    margin-bottom: 3rem;
    animation: slideInUp 1s ease 0.6s both;
    position: relative;
    z-index: 4;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    z-index: 10;
    max-width: 500px;
    margin: 0 auto;
}

.slider-container {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 3rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-xl);
    min-height: 300px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease;
    padding: 3rem 2rem;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
}

.slide-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: 32px;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.slide h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--white);
    font-family: var(--font-display);
}

.slide p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 400px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--white);
    transform: scale(1.2);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-light);
    animation: bounce 2s infinite;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-light);
    border-radius: 20px;
    margin: 0 auto 10px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--text-light);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(16px); opacity: 0; }
}

/* Features Section */
.features-section {
    background: var(--white);
    padding: var(--section-padding);
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 32px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

/* About Section */
.about-section {
    background: var(--light-bg);
    padding: var(--section-padding);
}

/* About Section Title - Left aligned on desktop, centered on mobile */
.about-section .section-title {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    max-width: none;
}

/* Mobile responsive - center all text elements on small screens */
@media (max-width: 767.98px) {
    .about-section .section-title {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        max-width: 800px;
    }
    
    .about-section .section-badge {
        display: block;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        width: fit-content;
    }
    
    .about-section .lead {
        text-align: center;
    }
    
    .about-section .about-content {
        text-align: center;
    }
    
    .about-section .about-features {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .about-section .about-feature {
        flex-direction: column;
        text-align: center;
        align-items: center;
        max-width: 300px;
    }
    
    .about-section .feature-icon-small {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

.section-badge {
    display: inline-block;
    background: var(--gradient-accent);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.feature-icon-small {
    width: 40px;
    height: 40px;
    background: var(--gradient-accent);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--white);
    font-size: 16px;
    flex-shrink: 0;
}

.founders-text {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
    margin-top: 2rem;
    font-style: italic;
}

.about-image-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.about-image-container img {
    transition: transform 0.3s ease;
}

.about-image-container:hover img {
    transform: scale(1.05);
}

/* Services Section */
.services-section {
    background: var(--white);
    padding: var(--section-padding);
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.service-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.02);
}

.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-card.featured:hover {
    transform: scale(1.02) translateY(-8px);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: 28px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-list {
    list-style: none;
    margin: 1.5rem 0;
}

.service-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.service-list i {
    color: var(--accent-color);
    margin-right: 0.5rem;
    font-size: 14px;
}

/* Contact Section */
.contact-section {
    background: var(--light-bg);
    padding: var(--section-padding);
}

/* CTA Section */
.cta-section {
    min-height: 70vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #064e3b 0%, #065f46 50%, #047857 100%);
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.cta-animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.cta-bg-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
    animation: floatShape 8s ease-in-out infinite;
}

.cta-shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.cta-shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.cta-shape-3 {
    width: 300px;
    height: 300px;
    bottom: 10%;
    left: 20%;
    animation-delay: 4s;
}

.cta-shape-4 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 10%;
    animation-delay: 6s;
}

.cta-bg-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cta-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(16, 185, 129, 0.6);
    border-radius: 50%;
    animation: particleFloat 6s linear infinite;
}

.cta-particle:nth-child(1) {
    left: 20%;
    animation-delay: 0s;
}

.cta-particle:nth-child(2) {
    left: 40%;
    animation-delay: 1s;
}

.cta-particle:nth-child(3) {
    left: 60%;
    animation-delay: 2s;
}

.cta-particle:nth-child(4) {
    left: 80%;
    animation-delay: 3s;
}

.cta-particle:nth-child(5) {
    left: 90%;
    animation-delay: 4s;
}

.cta-content {
    position: relative;
    z-index: 3;
    text-align: center;
}

.cta-badge {
    display: inline-block;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: slideInUp 1s ease;
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    animation: titleFloatIn 1.2s ease 0.2s both;
    color: var(--white);
    transform-origin: center;
}

.text-gradient-green {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 4s ease-in-out infinite;
}

.cta-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: slideInUp 1s ease 0.4s both;
}

.cta-buttons {
    animation: slideInUp 1s ease 0.6s both;
    position: relative;
    z-index: 4;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* WhatsApp Button */
.btn-whatsapp {
    background: #25d366;
    border: 2px solid #25d366;
    color: var(--white);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background: #22c55e;
    border-color: #22c55e;
    color: var(--white);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-whatsapp:hover::after {
    width: 300px;
    height: 300px;
}

/* Outline White Button */
.btn-outline-white {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: var(--white);
    background: transparent;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    color: var(--white);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.2);
}

.btn-outline-white::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-outline-white:hover::after {
    width: 300px;
    height: 300px;
}

.contact-form-container {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-md);
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.contact-info {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    height: fit-content;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--white);
    font-size: 20px;
}

/* Contact Info Horizontal Layout */
.contact-info-horizontal {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    gap: 2rem;
}

.contact-item-horizontal {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.contact-item-horizontal .contact-icon {
    margin-right: 0;
    margin-bottom: 1rem;
}

.contact-item-horizontal .contact-details h5 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-item-horizontal .contact-details p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Footer */
.footer-section {
    background: var(--dark-bg);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content h5,
.footer-links h6,
.footer-contact h6 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--white);
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    padding-top: 2rem;
    color: #9ca3af;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 28px;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    text-decoration: none;
    box-sizing: border-box;
    max-width: 60px;
    max-height: 60px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: var(--white);
    box-shadow: var(--shadow-xl);
    text-decoration: none;
}

@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); }
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    color: var(--white);
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Force constraints to prevent horizontal scroll */
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        position: relative !important;
    }
    
    /* Navbar Mobile Fixes */
    .navbar {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
    
    .navbar .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }
    
    .navbar-toggler {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Mobile Menu Content Centering */
    .navbar-collapse {
        text-align: center;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        border-radius: var(--radius-md);
        margin-top: 1rem;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
    
    .navbar-nav {
        align-items: center;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .navbar-nav .nav-link {
        text-align: center;
        padding: 0.75rem 1.5rem;
        margin: 0.25rem 0;
        border-radius: var(--radius-md);
        background: rgba(30, 58, 138, 0.05);
    }
    
    .navbar-nav .btn {
        margin-top: 1rem;
        width: 80%;
        text-align: center;
    }
    
    /* WhatsApp Button Mobile Fix */
    .whatsapp-float {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 1050;
        bottom: 20px !important;
        right: 20px !important;
        width: 55px !important;
        height: 55px !important;
        font-size: 24px;
        box-sizing: border-box !important;
        max-width: 55px !important;
        max-height: 55px !important;
    }
    
    .hero-title {
        font-size: 2.75rem;
        text-align: center;
    }
    
    .hero-description {
        font-size: 1.2rem;
        text-align: center;
    }
    
    .hero-content {
        padding-top: 140px;
        text-align: center;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-slider {
        margin-top: 1rem;
        margin-bottom: 2rem;
    }
    
    .slider-container {
        padding: 2rem 1.5rem;
        min-height: 250px;
    }
    
    .slide-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .slide h3 {
        font-size: 1.5rem;
    }
    
    .slide p {
        font-size: 1rem;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    /* Service Cards - Center content on mobile */
    .service-card {
        text-align: center;
    }
    
    .service-icon {
        margin-left: auto;
        margin-right: auto;
    }
    
    .service-card h3 {
        text-align: center;
    }
    
    .service-card p {
        text-align: center;
    }
    
    .service-list {
        text-align: center;
    }
    
    .service-list li {
        justify-content: center;
    }
    
    /* CTA Section Mobile */
    .cta-section {
        min-height: 60vh;
        padding: 4rem 0;
    }
    
    .cta-title {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .cta-description {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* CTA Background shapes mobile */
    .cta-bg-shape {
        opacity: 0.5;
    }
    
    .cta-shape-1 {
        width: 100px;
        height: 100px;
    }
    
    .cta-shape-2 {
        width: 80px;
        height: 80px;
    }
    
    .cta-shape-3 {
        width: 150px;
        height: 150px;
    }
    
    .cta-shape-4 {
        width: 60px;
        height: 60px;
    }
    
    /* Footer - Center all content on mobile */
    .footer-content,
    .footer-links,
    .footer-contact {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-bottom .col-md-6 {
        text-align: center !important;
    }
    
    .bg-shape {
        opacity: 0.5;
    }
    
    .shape-1 {
        width: 100px;
        height: 100px;
    }
    
    .shape-2 {
        width: 80px;
        height: 80px;
    }
    
    .shape-3 {
        width: 150px;
        height: 150px;
    }
    
    .shape-4 {
        width: 60px;
        height: 60px;
    }
}



@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem;
        text-align: center;
    }
    
    .hero-description {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .hero-content {
        padding-top: 150px;
        text-align: center;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin-right: 0 !important;
    }
    
    .hero-slider {
        margin-top: 0.5rem;
        margin-bottom: 3rem;
    }
    
    .slider-container {
        padding: 1.5rem 1rem;
        min-height: 200px;
    }
    
    .slide-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .slide h3 {
        font-size: 1.25rem;
    }
    
    .slide p {
        font-size: 0.9rem;
    }
    
    .feature-card,
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .contact-form-container,
    .contact-info {
        padding: 2rem 1.5rem;
    }
    
    .contact-info-horizontal {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .contact-item-horizontal {
        width: 100%;
    }
    
    /* CTA Section Small Mobile */
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    .cta-buttons .btn {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
}